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.

AM4376: GPIO port build error

Part Number: AM4376
Other Parts Discussed in Thread: SYSBIOS

Hello,

I am using below example project. using TI RTOS with AM4376.

UART_BasicExample_idkAM437x_armTestProject

i have ported GPIO driver to it.

i have modified am437x_app_idkam437x.cfg file and added GPIO driver module.

/* Load the uart package */
var UartPackage = xdc.loadPackage('ti.drv.uart');
UartPackage.Settings.enableProfiling = true;

/* Load the I2C package required by board */
var socType="am437x";
var I2C = xdc.loadPackage('ti.drv.i2c');
I2C.Settings.socType = socType;

/* Load the gpio package */
var GPIOPackage = xdc.loadPackage('ti.drv.gpio');
/*GPIOPackage.Settings.enableProfiling = true;*/

I have also added all the necessary library and include path to directory.

I have added GPIO_SOC.c file in project but during build i am facing below error.

Description Resource Path Location Type
'GPIO_FxnTable_v1' undeclared here (not in a function); did you mean 'GPIO_FxnTable_s'? GPIO_soc.c /UART_BasicExample_idkAM437x_armTestProject line 110 C/C++ Problem

complete build log is below.


**** Clean-only build of configuration Debug for project UART_BasicExample_idkAM437x_armTestProject ****

"C:\\ti\\ccs1040\\ccs\\utils\\bin\\gmake" -k -j 12 clean -O

DEL /F "UART_BasicExample_idkAM437x_armTestProject.hex" "configPkg\linker.cmd" "configPkg\compiler.opt" "UART_BasicExample_idkAM437x_armTestProject.out"
DEL /F "GPIO_soc.o" "UART_soc.o" "main_uart_test.o"
DEL /F "GPIO_soc.d" "UART_soc.d" "main_uart_test.d"
RMDIR /S/Q "configPkg\"
Could Not Find C:\ti\pdk_am437x_1_0_17\packages\MyExampleProjects\UART_BasicExample_idkAM437x_armTestProject\Debug\UART_BasicExample_idkAM437x_armTestProject.hex
Could Not Find C:\ti\pdk_am437x_1_0_17\packages\MyExampleProjects\UART_BasicExample_idkAM437x_armTestProject\Debug\UART_BasicExample_idkAM437x_armTestProject.out
Finished clean

**** Build Finished ****

**** Build of configuration Debug for project UART_BasicExample_idkAM437x_armTestProject ****

"C:\\ti\\ccs1040\\ccs\\utils\\bin\\gmake" -k -j 12 all -O

Building file: "C:/ti/pdk_am437x_1_0_17/packages/ti/drv/uart/test/am437x/armv7/bios/am437x_app_idkam437x.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_55_02_22_core/xs" --xdcpath="C:/ti/bios_6_76_03_01/packages;C:/ti/pdk_am437x_1_0_17/packages;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A9F -p ti.platforms.evmAM437X -r debug -c "C:/ti/ccs1040/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32" "C:/ti/pdk_am437x_1_0_17/packages/ti/drv/uart/test/am437x/armv7/bios/am437x_app_idkam437x.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring am437x_app_idkam437x.xa9fg from package/cfg/am437x_app_idkam437x_pa9fg.cfg ...
SoC Type is am437x
SoC Type is
generating custom ti.sysbios library makefile ...
Linking with library ti.board:./lib/idkAM437x/a9/release/ti.board.aa9fg
Linking with library ti.drv.gpio:./lib/a9/release/ti.drv.gpio.aa9fg
Linking with library ti.drv.i2c:./lib/am437x/a9/release/ti.drv.i2c.aa9fg
Linking with library ti.drv.uart:./lib/a9/release/ti.drv.uart.profiling.aa9fg
Linking with library ti.osal:./lib/tirtos/a9/release/ti.osal.aa9fg
Linking with library ti.utils.profiling:./lib/a9/release/ti.utils.profiling.aa9fg
Linking with library ti.csl:./lib/am437x/a9/release/ti.csl.aa9fg
Starting build of library sources ...
making C:/ti/pdk_am437x_1_0_17/packages/ti/drv/uart/test/am437x/armv7/bios/src/sysbios/sysbios.aa9fg ...
Build of libraries done.
cla9fg package/cfg/am437x_app_idkam437x_pa9fg.c ...
Finished building: "C:/ti/pdk_am437x_1_0_17/packages/ti/drv/uart/test/am437x/armv7/bios/am437x_app_idkam437x.cfg"

Building file: "C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c"
Invoking: GNU Compiler
"C:/ti/ccs1040/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437X -DidkAM437x -DBUILDCFG_MOD_UART -DBUILDCFG_MOD_GPIO -I"C:/ti/pdk_am437x_1_0_17/packages/ti/board" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/starterware/include/am43xx" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/starterware/include" -I"C:/ti/pdk_am437x_1_0_17/packages/MyExampleProjects/UART_BasicExample_idkAM437x_armTestProject" -I"C:/ti/ccs1040/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/drv/uart" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio" -I"C:/ti/ccs1040/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/src" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/src/v0" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/src/v1" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -finstrument-functions -MMD -MP -MMD -MP -MF"GPIO_soc.d_raw" -MT"GPIO_soc.o" @"configPkg/compiler.opt" -o"GPIO_soc.o" "C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c"
subdir_rules.mk:9: recipe for target 'GPIO_soc.o' failed
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:53:1: error: unknown type name 'GPIO_v1_hwAttrs_list'
GPIO_v1_hwAttrs_list GPIO_v1_hwAttrs = {
^~~~~~~~~~~~~~~~~~~~
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:54:5: warning: braces around scalar initializer
{
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:54:5: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:56:8: warning: excess elements in scalar initializer
128,
^~~
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:56:8: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:57:8: warning: excess elements in scalar initializer
129,
^~~
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:57:8: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:58:8: warning: excess elements in scalar initializer
0,
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:58:8: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:59:8: warning: excess elements in scalar initializer
0
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:59:8: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:61:5: warning: braces around scalar initializer
{
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:61:5: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:64:8: warning: excess elements in scalar initializer
130,
^~~
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:64:8: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:65:8: warning: excess elements in scalar initializer
131,
^~~
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:65:8: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:66:8: warning: excess elements in scalar initializer
0,
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:66:8: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:67:8: warning: excess elements in scalar initializer
0
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:67:8: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:61:5: warning: excess elements in scalar initializer
{
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:61:5: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:69:5: warning: braces around scalar initializer
{
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:69:5: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:72:8: warning: excess elements in scalar initializer
64,
^~
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:72:8: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:73:8: warning: excess elements in scalar initializer
65,
^~
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:73:8: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:74:8: warning: excess elements in scalar initializer
0,
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:74:8: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:75:8: warning: excess elements in scalar initializer
0
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:75:8: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:69:5: warning: excess elements in scalar initializer
{
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:69:5: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:77:5: warning: braces around scalar initializer
{
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:77:5: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:80:8: warning: excess elements in scalar initializer
94,
^~
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:80:8: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:81:8: warning: excess elements in scalar initializer
95,
^~
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:81:8: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:82:8: warning: excess elements in scalar initializer
0,
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:82:8: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:83:8: warning: excess elements in scalar initializer
0
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:83:8: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:77:5: warning: excess elements in scalar initializer
{
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:77:5: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:85:5: warning: braces around scalar initializer
{
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:85:5: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:88:8: warning: excess elements in scalar initializer
138,
^~~
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:88:8: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:89:8: warning: excess elements in scalar initializer
139,
^~~
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:89:8: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:90:8: warning: excess elements in scalar initializer
0,
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:90:8: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:91:8: warning: excess elements in scalar initializer
0
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:91:8: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:85:5: warning: excess elements in scalar initializer
{
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:85:5: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:93:6: warning: braces around scalar initializer
{
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:93:6: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:96:8: warning: excess elements in scalar initializer
180,
^~~
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:96:8: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:97:8: warning: excess elements in scalar initializer
181,
^~~
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:97:8: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:98:8: warning: excess elements in scalar initializer
0,
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:98:8: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:99:8: warning: excess elements in scalar initializer
0
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:99:8: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:93:6: warning: excess elements in scalar initializer
{
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:93:6: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:102:5: warning: braces around scalar initializer
{ 0,0,0,0,0 },
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:102:5: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:102:11: warning: excess elements in scalar initializer
{ 0,0,0,0,0 },
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:102:11: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:102:13: warning: excess elements in scalar initializer
{ 0,0,0,0,0 },
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:102:13: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:102:15: warning: excess elements in scalar initializer
{ 0,0,0,0,0 },
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:102:15: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:102:17: warning: excess elements in scalar initializer
{ 0,0,0,0,0 },
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:102:17: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:102:5: warning: excess elements in scalar initializer
{ 0,0,0,0,0 },
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:102:5: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:103:5: warning: braces around scalar initializer
{ 0,0,0,0,0 },
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:103:5: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:103:11: warning: excess elements in scalar initializer
{ 0,0,0,0,0 },
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:103:11: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:103:13: warning: excess elements in scalar initializer
{ 0,0,0,0,0 },
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:103:13: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:103:15: warning: excess elements in scalar initializer
{ 0,0,0,0,0 },
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:103:15: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:103:17: warning: excess elements in scalar initializer
{ 0,0,0,0,0 },
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:103:17: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:103:5: warning: excess elements in scalar initializer
{ 0,0,0,0,0 },
^
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:103:5: note: (near initialization for 'GPIO_v1_hwAttrs')
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c:110:10: error: 'GPIO_FxnTable_v1' undeclared here (not in a function); did you mean 'GPIO_FxnTable_s'?
&GPIO_FxnTable_v1,
^~~~~~~~~~~~~~~~
GPIO_FxnTable_s
gmake: *** [GPIO_soc.o] Error 1
Building file: "C:/ti/pdk_am437x_1_0_17/packages/ti/drv/uart/soc/am437x/UART_soc.c"
Invoking: GNU Compiler
"C:/ti/ccs1040/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437X -DidkAM437x -DBUILDCFG_MOD_UART -DBUILDCFG_MOD_GPIO -I"C:/ti/pdk_am437x_1_0_17/packages/ti/board" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/starterware/include/am43xx" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/starterware/include" -I"C:/ti/pdk_am437x_1_0_17/packages/MyExampleProjects/UART_BasicExample_idkAM437x_armTestProject" -I"C:/ti/ccs1040/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/drv/uart" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio" -I"C:/ti/ccs1040/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/src" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/src/v0" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/src/v1" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -finstrument-functions -MMD -MP -MMD -MP -MF"UART_soc.d_raw" -MT"UART_soc.o" @"configPkg/compiler.opt" -o"UART_soc.o" "C:/ti/pdk_am437x_1_0_17/packages/ti/drv/uart/soc/am437x/UART_soc.c"
Finished building: "C:/ti/pdk_am437x_1_0_17/packages/ti/drv/uart/soc/am437x/UART_soc.c"

Building file: "C:/ti/pdk_am437x_1_0_17/packages/ti/drv/uart/test/src/main_uart_test.c"
Invoking: GNU Compiler
"C:/ti/ccs1040/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437X -DidkAM437x -DBUILDCFG_MOD_UART -DBUILDCFG_MOD_GPIO -I"C:/ti/pdk_am437x_1_0_17/packages/ti/board" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/starterware/include/am43xx" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/starterware/include" -I"C:/ti/pdk_am437x_1_0_17/packages/MyExampleProjects/UART_BasicExample_idkAM437x_armTestProject" -I"C:/ti/ccs1040/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/drv/uart" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio" -I"C:/ti/ccs1040/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/soc/am437x" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/src" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/src/v0" -I"C:/ti/pdk_am437x_1_0_17/packages/ti/drv/gpio/src/v1" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -finstrument-functions -MMD -MP -MMD -MP -MF"main_uart_test.d_raw" -MT"main_uart_test.o" @"configPkg/compiler.opt" -o"main_uart_test.o" "C:/ti/pdk_am437x_1_0_17/packages/ti/drv/uart/test/src/main_uart_test.c"
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/uart/test/src/main_uart_test.c: In function 'Board_initUART':
C:/ti/pdk_am437x_1_0_17/packages/ti/drv/uart/test/src/main_uart_test.c:538:5: warning: implicit declaration of function 'PRCMModuleEnable'; did you mean 'Task_Module_name'? [-Wimplicit-function-declaration]
PRCMModuleEnable(42U, uartTestInstance + 1U, 0U);
^~~~~~~~~~~~~~~~
Task_Module_name
Finished building: "C:/ti/pdk_am437x_1_0_17/packages/ti/drv/uart/test/src/main_uart_test.c"

gmake: Target 'all' not remade because of errors.

**** Build Finished ****

Kindly guide.

regards,

Vrund