[riot-notifications] [RIOT-OS/RIOT] drivers/sx127x: remove ZTIMER_USEC dependency (#15030)

Francisco notifications at github.com
Thu Jul 1 14:18:27 CEST 2021


> @jia200x can you sneak in this patch:
> 
> ```diff
> diff --git a/cpu/fe310/include/periph_cpu.h b/cpu/fe310/include/periph_cpu.h
> index d2593b1af0..6ce2c99660 100644
> --- a/cpu/fe310/include/periph_cpu.h
> +++ b/cpu/fe310/include/periph_cpu.h
> @@ -167,12 +167,8 @@ typedef struct {
>  #define RTT_MIN_FREQUENCY   (1U)                    /* in Hz */
>  
>  #ifndef RTT_FREQUENCY
> -#ifdef MODULE_PERIPH_RTC
> -#define RTT_FREQUENCY       (RTT_MIN_FREQUENCY)     /* in Hz */
> -#else
>  #define RTT_FREQUENCY       (RTT_MAX_FREQUENCY)     /* in Hz */
>  #endif
> -#endif
>  
>  /**
>   * @brief   Initialization of the clock
> diff --git a/sys/ztimer/Makefile.include b/sys/ztimer/Makefile.include
> index 57c795bc82..6640f20b00 100644
> --- a/sys/ztimer/Makefile.include
> +++ b/sys/ztimer/Makefile.include
> @@ -8,7 +8,7 @@ endif
>  # might not be the most optimized for conversion guarantees that ztimer_periph_rtt
>  # will have a capable backend.
>  ifneq (,$(filter ztimer_periph_rtt,$(USEMODULE)))
> -  ifneq (,$(filter stm32 nrf52 sam% kinetis efm32,$(CPU)))
> +  ifneq (,$(filter stm32 nrf52 sam% kinetis efm32 fe310,$(CPU)))
>      RTT_FREQUENCY ?= RTT_MAX_FREQUENCY
>      CFLAGS += -DRTT_FREQUENCY=$(RTT_FREQUENCY)
>    endif
> ```

That will fix the failing build, please put them in two separate commits.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15030#issuecomment-872198241
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210701/4de6adbc/attachment.htm>


More information about the notifications mailing list