-
Notifications
You must be signed in to change notification settings - Fork 355
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
Problems compiling 'Blink' project #137
Comments
This is an issue with a breaking change on the PIC linker. I recommend
using an older version.
…On Thu, Jan 11, 2018 at 12:32 AM, GenericWorkName ***@***.***> wrote:
I've been trying to compile the 'Blinky' code example for a while now.
After setting up MPLAB with the XC16 compiler (which, according to
microchip, is equivalent to the X30) I get the following compilation (or
linkage) erorr:
Options have been disabled due to restricted license Visit
http://www.microchip.com/MPLABXCcompilers to purchase a new key.
"/opt/microchip/xc16/v1.33/bin/xc16-gcc" -o dist/IOIO0021/production/blink.production.elf
build/IOIO0021/production/main.o -mcpu=24FJ128DA106 -omf=elf
-DXPRJ_IOIO0021=IOIO0021 -no-legacy-libc -Wl,--local-stack,,--defsym=__
MPLAB_BUILD=1,,--script="../common/dummy.gld",--no-check-
sections,--data-init,--pack-data,--handles,--isr,--no-gc-
sections,--fill-upper=0,--stackguard=16,--no-force-link,
--smart-io,--memorysummary,dist/IOIO0021/production/
memoryfile.xml,-T../blapi/app_IOIO0021.gld /opt/microchip/xc16/v1.33/bin/bin/../bin/elf-ld:
Warning: linker script did not specify CRT_STARTMODE file, default:
crt_start_mode_normal dummy.gld.01:1269: undefined symbol__reset'
referenced in expression
make[2]: *** [dist/IOIO0021/production/blink.production.hex] Error 255
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
nbproject/Makefile-IOIO0021.mk:135: recipe for target
'dist/IOIO0021/production/blink.production.hex' failed
make[2]: Leaving directory '/home/user/ioio/clones/ioio/firmware/blink'
nbproject/Makefile-IOIO0021.mk:90: recipe for target '.build-conf' failed
make[1]: Leaving directory '/home/user/ioio/clones/ioio/firmware/blink'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
BUILD FAILED (exit value 2, total time: 962ms)
`
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#137>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA9Y2K1WDstAZYjvthHyEHZaTns9mEelks5tJccPgaJpZM4Raey->
.
|
I have install XC16 compiler v2.0.0, v1.7.0, v1.6.0, v1.4.1, v1.3.3, v1.3.0, and v1.2.0. |
@ytai |
I guess not. @ytai lost the interest. We only can help ourself |
@hannesa2 |
You mean this http://www.circuitsforfun.com/pymcu.html ? Sorry, I can't help you |
@Cherish-Gww not sure what you are looking to do, but if you are just looking to use python with a microcontroller, you can try micropython. There are plenty of boards out there that can run this (e.g. Seeed Studio Xiao). |
@topherbuckley |
@Cherish-Gww is this a past use case of the IOIOBoard? I'm not familiar with such a use case and not sure if the IOIOBoard would be your best choice for such an application. Again, I'd recommend looking at other boards like the Seeed Studio Xiao as this has such an API built in already. |
@topherbuckley |
I've been trying to compile the 'Blinky' code example for a while now.
After setting up MPLAB with the XC16 compiler (which, according to microchip, is equivalent to the X30) I get the following compilation (or linkage) erorr:
Options have been disabled due to restricted license Visit http://www.microchip.com/MPLABXCcompilers to purchase a new key. "/opt/microchip/xc16/v1.33/bin/xc16-gcc" -o dist/IOIO0021/production/blink.production.elf build/IOIO0021/production/main.o -mcpu=24FJ128DA106 -omf=elf -DXPRJ_IOIO0021=IOIO0021 -no-legacy-libc -Wl,--local-stack,,--defsym=__MPLAB_BUILD=1,,--script="../common/dummy.gld",--no-check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,--memorysummary,dist/IOIO0021/production/memoryfile.xml,-T../blapi/app_IOIO0021.gld /opt/microchip/xc16/v1.33/bin/bin/../bin/elf-ld: Warning: linker script did not specify CRT_STARTMODE file, default: crt_start_mode_normal dummy.gld.01:1269: undefined symbol
__reset' referenced in expressionmake[2]: *** [dist/IOIO0021/production/blink.production.hex] Error 255
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
nbproject/Makefile-IOIO0021.mk:135: recipe for target 'dist/IOIO0021/production/blink.production.hex' failed
make[2]: Leaving directory '/home/user/ioio/clones/ioio/firmware/blink'
nbproject/Makefile-IOIO0021.mk:90: recipe for target '.build-conf' failed
make[1]: Leaving directory '/home/user/ioio/clones/ioio/firmware/blink'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
BUILD FAILED (exit value 2, total time: 962ms)
`
The text was updated successfully, but these errors were encountered: