This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/PROCESSOR-SDK-AM437X: UART_HwAttrs table

Part Number: PROCESSOR-SDK-AM437X
Other Parts Discussed in Thread: AM4376

Tool/software: TI-RTOS

Hi,

The UART_init() function requires a table of type UART_HwAttrs. This table is defined in several files named UART_soc.c located in the UART driver´s folders. Actually there is one UART_soc.c file for each soc.

The c:\ti\pdk_am437x_1_0_7\packages\ti\drv\uart\soc\am437x\UART_soc.c has 6 entries.

My board that has an AM4376 uses 2 UARTs only.

My question is whether the UART_HwAttrs table of my project/board has to have all 6 entries. If no, do you recommend creating my own UART_soc.c in my projetc folder (ex. UARD_<board>.c)?

Installed itens:
CCS 7.2
GCC ARM Compiler 4.9.3
processor_sdk_rtos_am437x  4.00.00.04
am437x PDK v1.0.7
bios 6.46.05.55
xdctools 3.32.02.25_core

regards,

Marcio.