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.

TMDXIDK437X: PDK - pinmux

Expert 1130 points

Part Number: TMDXIDK437X

Hi,

I have an issue with editing the pinmux file :

I edit the pinmux file idkevm_config.pinmux  and replace the files (am43xx_idkevm_pinmux_data.c and  am43xx_pinmux.h

with the new files.
than I tried to build the PDK.
when doing so I got a compilation failure.
please help
# Compiling skAM437x:am437x:a9host:release:board: src/skAM437x/skAM437x_pinmux.c
C:/ti/gcc-arm-none-eabi-7-2018-q2-update/bin/arm-none-eabi-gcc -MD -MF C:/ti/pdk_am437x_1_0_16/packages/ti/binary/ti/board/board/obj/skAM437x/a9/release/little/.deps/skAM437x_pinmux.P -DMAKEFILE_BUILD -Wimplicit -Wall -Wunused -Wunknown-pragmas -ffunction-sections  -mlong-calls -fdata-sections -c -mcpu=cortex-a9 -g -mtune=cortex-a9 -march=armv7-a -mfpu=neon -mfloat-abi=hard -mabi=aapcs -mapcs-frame -D__ARMv7 -Werror -O2 -s -DNDEBUG -DAM43XX_FAMILY_BUILD -Dam437x -DBUILDCFG_MOD_UART -DBUILDCFG_MOD_GPIO  -DBUILDCFG_MOD_I2C -DBUILDCFG_MOD_MCSPI -DBUILDCFG_MOD_QSPI -DBUILDCFG_MOD_PRU_ETH -DBUILDCFG_MOD_MMCSD  -DBUILDCFG_MOD_CPSW -DBUILDCFG_MOD_PWMSS -DBUILDCFG_MOD_DSS -DBUILDCFG_MOD_USB -DBUILDCFG_MOD_GPMC -DBUILDCFG_MOD_DCAN -DBUILDCFG_MOD_MCASP -DBUILDCFG_MOD_VPFE -DBUILDCFG_MOD_MDIO -DBUILDCFG_MOD_DMTIMER -DBUILDCFG_MOD_EDMA3CC -DBUILDCFG_MOD_EDMA3TC -DBUILDCFG_MOD_RTC -DBUILDCFG_MOD_WDT -DBUILDCFG_MOD_ADC -DBUILDCFG_MOD_PRU_ICSS    -DSOC_AM437x -DskAM437x=skAM437x -IC:/ti/gcc-arm-none-eabi-7-2018-q2-update/arm-none-eabi/include -IC:/ti/gcc-arm-none-eabi-7-2018-q2-update/arm-none-eabi/include/newlib-nano -I. -Isrc -Isrc/skAM437x -Isrc/skAM437x/device -Isrc/skAM437x/include -IC:/ti/pdk_am437x_1_0_16/packages/ti/starterware/include -IC:/ti/pdk_am437x_1_0_16/packages/ti/starterware/include/hw -IC:/ti/pdk_am437x_1_0_16/packages/ti/starterware/board -IC:/ti/pdk_am437x_1_0_16/packages/ti/starterware/device -IC:/ti/pdk_am437x_1_0_16/packages/ti/starterware/include/utils -IC:/ti/pdk_am437x_1_0_16/packages/ti/starterware/utils -IC:/ti/pdk_am437x_1_0_16/packages/ti/starterware/soc -IC:/ti/pdk_am437x_1_0_16/packages/ti/starterware/board/am43xx -IC:/ti/pdk_am437x_1_0_16/packages/ti/starterware/soc/am43xx -IC:/ti/pdk_am437x_1_0_16/packages/ti/starterware/include/am43xx -IC:/ti/pdk_am437x_1_0_16/packages/ti/starterware/include/am43xx/am437x -IC:/ti/pdk_am437x_1_0_16/packages/ti/starterware/include/armv7a -IC:/ti/pdk_am437x_1_0_16/packages/ti/starterware/soc/armv7a -IC:/ti/pdk_am437x_1_0_16/packages/ti/starterware/soc/am43xx/am437x -IC:/ti/pdk_am437x_1_0_16/packages -IC:/ti/edma3_lld_2_12_05_30E/packages -IC:/ti/pdk_am437x_1_0_16/packages/ti/csl -I/apps/apps_nonbam/inc -I/ -I/common   -o C:/ti/pdk_am437x_1_0_16/packages/ti/binary/ti/board/board/obj/skAM437x/a9/release/skAM437x_pinmux.oa9fg src/skAM437x/skAM437x_pinmux.c
src/skAM437x/skAM437x_pinmux.c: In function 'PINMUXModuleConfig':
src/skAM437x/skAM437x_pinmux.c:113:19: error: 'gEvmskPinmuxData' undeclared (first use in this function); did you mean 'pPinmuxData'?
     pPinmuxData = gEvmskPinmuxData;
                   ^~~~~~~~~~~~~~~~
                   pPinmuxData

src/skAM437x/skAM437x_pinmux.c:113:19: note: each undeclared identifier is reported only once for each function it appears in
gmake[11]: *** [C:/ti/pdk_am437x_1_0_16/packages/ti/build/makerules/rules_a9.mk:140: C:/ti/pdk_am437x_1_0_16/packages/ti/binary/ti/board/board/obj/skAM437x/a9/release/skAM437x_pinmux.oa9fg] Error 1
gmake[11]: Leaving directory 'C:/ti/pdk_am437x_1_0_16/packages/ti/board'
gmake[10]: *** [C:/ti/pdk_am437x_1_0_16/packages/ti/build/comp_top.mk:381: board] Error 2
gmake[10]: Leaving directory 'C:/ti/pdk_am437x_1_0_16/packages/ti/board'
gmake[9]: *** [C:/ti/pdk_am437x_1_0_16/packages/ti/build/comp_top.mk:166: little_lib] Error 2
gmake[9]: Leaving directory 'C:/ti/pdk_am437x_1_0_16/packages/ti/board'
gmake[8]: *** [C:/ti/pdk_am437x_1_0_16/packages/ti/build/comp_top.mk:163: a9host_lib] Error 2
gmake[8]: Leaving directory 'C:/ti/pdk_am437x_1_0_16/packages/ti/board'
gmake[7]: *** [C:/ti/pdk_am437x_1_0_16/packages/ti/build/comp_top.mk:157: skAM437x_lib] Error 2
gmake[7]: Leaving directory 'C:/ti/pdk_am437x_1_0_16/packages/ti/board'
gmake[6]: *** [makefile:226: board_lib] Error 2
gmake[6]: Leaving directory 'C:/ti/pdk_am437x_1_0_16/packages'
gmake[5]: *** [makefile:91: skAM437x_all_libs] Error 2
gmake[5]: Leaving directory 'C:/ti/pdk_am437x_1_0_16/packages'
gmake[4]: *** [all_libs_boards_dep_file:7: skAM437x_all_libs_ser] Error 2
gmake[4]: Leaving directory 'C:/ti/pdk_am437x_1_0_16/packages'
gmake[3]: *** [makefile:138: all_libs_boards_ser_start] Error 2
gmake[3]: Leaving directory 'C:/ti/pdk_am437x_1_0_16/packages'
gmake[2]: *** [makefile:77: am437x_all_libs] Error 2
gmake[2]: Leaving directory 'C:/ti/pdk_am437x_1_0_16/packages'
gmake[1]: *** [all_libs_dep_file:3: am437x_all_libs_ser] Error 2
gmake[1]: Leaving directory 'C:/ti/pdk_am437x_1_0_16/packages'
gmake: *** [makefile:138: all_libs_ser_start] Error 2