Creating a SYS/BIOS project w/NDK support (SWI example) - quick summary of the project…
Target Processor AM3359 (AM335x Starter Kit) / SYS/BIOS 6.34.2.18 / NDK 2.22.3.20 / NSP 1.10.2.09
CCS 5.3 - new project...
- Created a new SYS/BIOS project using the SWI example
- Added in the NDK (& NSP)
- Enabled TCP, UDP, and NAT transport layer objects
- Enabled IP, ICMP Network layer objects
- Enabled EMAC Data Link layer objects
- Tried to build… here’s the result.
**** Build of configuration Debug for project swiExample_SK_AM3358_CortexA ****
"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
'Building file: ../swi.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_24_06_63/xs" --xdcpath="C:/ti/bios_6_34_02_18/packages;C:/ti/ndk_2_22_03_20/packages;C:/ti/nsp_1_10_02_09/packages;C:/ti/ccsv5/ccs_base;C:/ti/xdctools_3_24_06_63/packages/ti/platforms/skAM3358/package;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.A8Fnv -p ti.platforms.evmAM3359 -r debug -c "C:/ti/ccsv5/tools/compiler/arm_5.0.4" --compileOptions "-g --optimize_with_debug" "../swi.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring swi.xea8fnv from package/cfg/swi_pea8fnv.cfg ...
clea8fnv package/cfg/swi_pea8fnv.c ...
'Finished building: ../swi.cfg'
' '
'Building file: ../swi.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv5/tools/compiler/arm_5.0.4/bin/armcl" -mv7A8 --code_state=32 --abi=eabi -me -g --include_path="C:/ti/ccsv5/tools/compiler/arm_5.0.4/include" --define=am3358 --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="swi.pp" --cmd_file="./configPkg/compiler.opt" "../swi.c"
'Finished building: ../swi.c'
' '
'Building target: swiExample_SK_AM3358_CortexA.out'
'Invoking: ARM Linker'
"C:/ti/ccsv5/tools/compiler/arm_5.0.4/bin/armcl" -mv7A8 --code_state=32 --abi=eabi -me -g --define=am3358 --diag_warning=225 --display_error_number --diag_wrap=off -z --stack_size=0x800 -m"swiExample_SK_AM3358_CortexA.map" --heap_size=0x800 -i"C:/ti/ccsv5/tools/compiler/arm_5.0.4/lib" -i"C:/ti/ccsv5/tools/compiler/arm_5.0.4/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --rom_model -o "swiExample_SK_AM3358_CortexA.out" -l"./configPkg/linker.cmd" "./swi.obj" -l"libc.a"
<Linking>
undefined first referenced
symbol in file
--------- ----------------
NIMUDeviceTable C:\ti\ndk_2_22_03_20\packages\ti\ndk\stack\lib\stk_nat_ppp_pppoe.aea8fnv<nimu.oea8fnv>
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "swiExample_SK_AM3358_CortexA.out" not built
>> Compilation failure
gmake: *** [swiExample_SK_AM3358_CortexA.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
The best I could find on the E2E site or elsewhere was the board support package is supposed to have the transport layer stuff for the NIMUDeviceTable… Alas, I’m not sure where to find that. Is there a working example of NDK based project somewhere for download?
Thanks,
Mike