- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have already noted this issue and raised a ticket regarding the same. Thanks for bringing it to our notice and providing a workaround as well.
Another workaround for the same issue is to include the header file wiced_platform.h, inside wiced_rtc_time.c, for STM32F4xx platforms where the typecasting is already done.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Still hit the same compile error in sdk-6.0.0.
It's so strange that even you know how to fix it, you don't fix it in new sdk release.