I am developing a project based on wifi connection for use mqtt and the use of UARTs Fast and low (stdio) for control and communication with other devices.
It's all running properly, but to make an enhacement on the control of FASTUART, I decided to use a timer (based on rtos) to managed timeouts when a reception starts and flush the ring buffer when a timeout is trigger before a full frame has been received on the fastuart.
With this addition, when I use the make target "kits.CYW954907AEVAL1F.MyProject-CYW954907AEVAL1F-FreeRTOS-LwIP-debug download" next information is printed on console with the ERRORS:
Building Bootloader waf.bootloader-NoOS-NoNS-CYW954907AEVAL1F-P101-SoC.43909 Building Serial Flash Loader App build/waf.sflash_write-NoOS-CYW954907AEVAL1F-P101-SoC.43909/libraries/Uart_43909_Library_CYW954907AEVAL1F.a(platform_uart.o): In function `Timer_Control_FASTUART_CallBack': C:\WICED-Studio-6.6\43xxx_Wi-Fi/WICED/platform/MCU/BCM4390x/peripherals/uart/platform_uart.c:2672: undefined reference to `wiced_rtos_stop_timer' C:\WICED-Studio-6.6\43xxx_Wi-Fi/WICED/platform/MCU/BCM4390x/peripherals/uart/platform_uart.c:2681: undefined reference to `wiced_rtos_deinit_timer' build/waf.sflash_write-NoOS-CYW954907AEVAL1F-P101-SoC.43909/libraries/Uart_43909_Library_CYW954907AEVAL1F.a(platform_uart.o): In function `uart_seci_process_irq': C:\WICED-Studio-6.6\43xxx_Wi-Fi/WICED/platform/MCU/BCM4390x/peripherals/uart/platform_uart.c:2261: undefined reference to `wiced_rtos_stop_timer' C:\WICED-Studio-6.6\43xxx_Wi-Fi/WICED/platform/MCU/BCM4390x/peripherals/uart/platform_uart.c:2264: undefined reference to `wiced_rtos_deinit_timer' C:\WICED-Studio-6.6\43xxx_Wi-Fi/WICED/platform/MCU/BCM4390x/peripherals/uart/platform_uart.c:2288: undefined reference to `wiced_rtos_init_timer' C:\WICED-Studio-6.6\43xxx_Wi-Fi/WICED/platform/MCU/BCM4390x/peripherals/uart/platform_uart.c:2290: undefined reference to `wiced_rtos_start_timer' collect2.exe: error: ld returned 1 exit status make.exe: *** [build/waf.sflash_write-NoOS-CYW954907AEVAL1F-P101-SoC.43909/binary/waf.sflash_write-NoOS-CYW954907AEVAL1F-P101-SoC.43909.elf] Error 1 make.exe: *** [main_app] Error 2 tools/makefiles/wiced_apps.mk:416: recipe for target 'sflash_write_app' failed make.exe: *** [sflash_write_app] Error 2 make.exe: *** Waiting for unfinished jobs....
I use the timer on the file "platform_uart.c" and its functions are declared via #include "wiced_rtos.h".