1 Reply Latest reply on Jul 13, 2018 5:25 AM by riya

    RTC is not initialized if define WICED_DISABLE_MCU_POWERSAVE?

    axel.lin_1746341

      In WICED/platform/MCU/STM32F4xx/peripherals/platform_mcu_powersave.c:

      The code in platform_init_mcu_infrastructure() is very strange.

      platform_rtc_init() is guarded by #ifndef WICED_DISABLE_MCU_POWERSAVE,

      which means RTC is not initialized if define WICED_DISABLE_MCU_POWERSAVE.

       

      i.e Define WICED_ENABLE_MCU_RTC does not work if WICED_DISABLE_MCU_POWERSAVE is set.

      This looks like a bug.