Hi.
I'm going to manage exception with my own routine, so I added
HwiM3.excHandlerFunc = "&BoardExceptionHandler";
HwiM3.busFaultFunc = "&Board_FAULT_BUS";
//HwiM3.hardFaultFunc = "&Board_FAULT_HARD";
//HwiM3.memFaultFunc = "&Board_FAULT_MPU";
//HwiM3.nullIsrFunc = "&BoardFAULTDefault";
//HwiM3.debugMonFunc = "&Board_FAULT_DEBUG";
//HwiM3.nmiFunc = "&Board_Fault_NMI";
HwiM3.svCallFunc = "&Board_FAULT_SVCALL";
into my cfg file.
But when I compile I get the following error:
"c:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: ../cpu_board.cfg'
'Invoking: XDCtools'
"c:/ti/xdctools_3_25_04_88/xs" --xdcpath="c:/ti/tirtos_1_21_00_09/packages;c:/ti/tirtos_1_21_00_09/products/bios_6_37_00_20/packages;c:/ti/tirtos_1_21_00_09/products/ipc_3_10_01_11/packages;c:/ti/tirtos_1_21_00_09/products/ndk_2_23_01_01/packages;c:/ti/tirtos_1_21_00_09/products/uia_1_04_00_06/packages;c:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C129XNCZAD -r debug -c "c:/ti/ccsv6/tools/compiler/arm_5.1.6" --compileOptions "-g --optimize_with_debug" "../cpu_board.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring cpu_board.xem4f from package/cfg/cpu_board_pem4f.cfg ...
clem4f package/cfg/cpu_board_pem4f.c ...
"package/cfg/cpu_board_pem4f.c", line 2100: error: identifier "Board_FAULT_BUS" is undefined
"package/cfg/cpu_board_pem4f.c", line 2106: error: identifier "Board_FAULT_SVCALL" is undefined
2 errors detected in the compilation of "package/cfg/cpu_board_pem4f.c".
I see that the extern declaration is not present in cpu_board_perm4f.c as per BoardExceptionHandler, any suggestion?
Thanks in advance,
Marco C