3 Replies Latest reply on Oct 30, 2017 7:00 PM by axel.lin_1746341

    SDK-5.1.0: Build failure if defined( WICED_ENABLE_MCU_RTC ) && !defined( WICED_DISABLE_MCU_POWERSAVE )

    axel.lin_1746341

      WICED/platform/MCU/STM32F4xx/peripherals/platform_rtc.c:78:71: error: unknown type name 'wiced_rtc_time_t'

      static void              add_second_to_time                         ( wiced_rtc_time_t* time );

                                                                             ^

      WICED/platform/MCU/STM32F4xx/peripherals/platform_rtc.c:79:71: error: unknown type name 'wiced_rtc_time_t'

      static void              subtract_second_from_time                  ( wiced_rtc_time_t* time );

                                                                             ^

      WICED/platform/MCU/STM32F4xx/peripherals/platform_rtc.c:445:33: error: unknown type name 'wiced_rtc_time_t'

      static void add_second_to_time( wiced_rtc_time_t* time )

                                       ^

      WICED/platform/MCU/STM32F4xx/peripherals/platform_rtc.c:529:40: error: unknown type name 'wiced_rtc_time_t'

      static void subtract_second_from_time( wiced_rtc_time_t* time )

                                              ^

      WICED/platform/MCU/STM32F4xx/peripherals/platform_rtc.c: In function 'compensate_time_error':

      WICED/platform/MCU/STM32F4xx/peripherals/platform_rtc.c:620:13: warning: implicit declaration of function 'add_second_to_time' [-Wimplicit-function-declaration]

                   add_second_to_time(&saved_rtc_time);

                   ^

      WICED/platform/MCU/STM32F4xx/peripherals/platform_rtc.c:628:13: warning: implicit declaration of function 'subtract_second_from_time' [-Wimplicit-function-declaration]

                   subtract_second_from_time(&saved_rtc_time);

                   ^

      make[1]: *** [build/ingics.ble_wifi_ota-FreeRTOS-LwIP-IGS02/Modules/WICED/platform/MCU/STM32F4xx/peripherals/platform_rtc.o] Error 1

      make[1]: *** Waiting for unfinished jobs....

      make: *** [main_app] Error 2