Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building MultiBlink Against CC3200 Fails #14

Open
rei-vilo opened this issue Dec 21, 2017 · 1 comment
Open

Building MultiBlink Against CC3200 Fails #14

rei-vilo opened this issue Dec 21, 2017 · 1 comment
Assignees
Labels

Comments

@rei-vilo
Copy link
Member

rei-vilo commented Dec 21, 2017

With CC3200 EMT boards package 1.0.0 on Energia 1.8.6E19, building the MultiBlink example against CC3200 fails at link.

Linking everything together...
"~/Library/Energia15/packages/energia/tools/arm-none-eabi-gcc/4.8.4-20140725/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -nostartfiles -nostdlib -Os -Wl,--gc-sections "-T~/Library/Energia15/packages/energia/hardware/cc3200emt/1.0.0/cores/cc3200/cc3200.ld" "-Wl,-Map,/var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/arduino_build_722728/MultiBlink.ino.map"  -o "/var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/arduino_build_722728/MultiBlink.ino.elf" "-L/var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/arduino_build_722728" -Wl,--check-sections -Wl,--cref -Wl,--gc-sections -Wl,--entry=ResetISR -Wl,--unresolved-symbols=report-all -Wl,--warn-common -mthumb -mcpu=cortex-m4 -mfloat-abi=soft -mabi=aapcs -Wl,--start-group "/var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/arduino_build_722728/sketch/MultiBlink.ino.cpp.o" "/var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/arduino_build_722728/core/core.a" -Wl,--end-group "~/Library/Energia15/packages/energia/hardware/cc3200emt/1.0.0/system/driverlib/libdriverlib.a" -lm -lc -lgcc

/var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/arduino_build_722728/core/core.a(main.cpp.o): In function `main':
~/Library/Energia15/packages/energia/hardware/cc3200emt/1.0.0/cores/cc3200/main.cpp:39: undefined reference to `setup'
~/Library/Energia15/packages/energia/hardware/cc3200emt/1.0.0/cores/cc3200/main.cpp:42: undefined reference to `loop'
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board CC3200-LAUNCHXL (80MHz) EMT.
@rei-vilo
Copy link
Member Author

Compiling the same example on Energia 0101E0017 completes successfully.

armlink MultiBlink.obj main.obj
/Applications/IDE/Energia-17.app/Contents/Resources/Java/hardware/tools/lm4f/bin/arm-none-eabi-gcc -Os @"/Applications/IDE/Energia-17.app/Contents/Resources/Java/hardware/emt/ti/runtime/wiring/cc3200/compiler.opt" -nostartfiles -Wl,--no-wchar-size-warning -Wl,-static -Wl,--gc-sections -L"/Applications/IDE/Energia-17.app/Contents/Resources/Java/hardware/common" -L"/Applications/IDE/Energia-17.app/Contents/Resources/Java/hardware/tools/lm4f/lib"  MultiBlink.obj  main.obj    -Wl,-T"/Applications/IDE/Energia-17.app/Contents/Resources/Java/hardware/emt/ti/runtime/wiring/cc3200/linker.cmd" -L/Applications/IDE/Energia-17.app/Contents/Resources/Java/hardware/emt/ti/runtime/wiring/cc3200 -L/Applications/IDE/Energia-17.app/Contents/Resources/Java/hardware/emt/ti/runtime/wiring/cc3200/variants/CC3200_LAUNCHXL -L/Applications/IDE/Energia-17.app/Contents/Resources/Java/hardware/emt -mcpu=cortex-m4 -march=armv7e-m -L/Applications/IDE/Energia-17.app/Contents/Resources/Java/hardware/cc3200emt/variants/CC3200_LAUNCHXL -L/Applications/IDE/Energia-17.app/Contents/Resources/Java/hardware/common/libs  /Applications/IDE/Energia-17.app/Contents/Resources/Java/hardware/cc3200emt/cores/cc3200emt/driverlib/libdriverlib.a  -lstdc++ -lgcc -lc -lm -lnosys -Wl,-Map=MultiBlink.cpp.map -o MultiBlink.cpp.elf
Creating MultiBlink.cpp.bin
Binary sketch size: 26480 bytes (of a 262144 byte maximum)
>>>> Done <<<<

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants