Skip to content

Problems compiling 'Blink' project #137

Description

@GenericWorkName

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)
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions