Hello.
I am writing an SBL program for AM5716.
I want to implement the following functions.
-When SBL starts, wait for UART input for 5 seconds.
-When there is any input, the function [A] is executed.
-If a timeout occurs, the function [B] is executed.
Use the UART_scanFmt function to wait for UART input.
Definition -> C:\ti\pdk_am57xx_1_0_15\packages\ti\drv\uart\UART_stdio.h
Use the select function for timeout processing.
However, when I use the select function, I get the following error:
-----
C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/board/idkAM571x/sbl_main.c:135: undefined reference to `select'
-----
#include <sys/select.h>
Is the above not enough?
Do I need to link any libraries?
How does it link?
Thank you.