chipKIT® Development Platform

Inspired by Arduino™

Max32 with Arduino-Makefile

Created Sun, 17 Nov 2013 18:25:52 +0000 by arturcieslak1


arturcieslak1

Sun, 17 Nov 2013 18:25:52 +0000

Hi,

I have problem with compiling even simplest sketches (I'm using [url]https://github.com/sudar/Arduino-Makefile[/url]) Here's error log: [url]http://ix.io/93v[/url] What I should do? MPIDE version: mpide-0023-linux32-20130817-test

Edit: works with mpide-0023-linux-20120903


majenko

Sun, 17 Nov 2013 21:59:38 +0000

/home/gjm/.mpide/hardware/pic32/compiler/pic32-tools/bin/pic32-gcc -T/home/gjm/.mpide/hardware/pic32/cores/pic32/chipKIT-application-32MX795F512.ld -mprocessor=32MX795F512L -Wl,--gc-sections -Os    -o build-mega_pic32/BlinkChipKIT.elf build-mega_pic32/BlinkChipKIT.o build-mega_pic32/libcore.a  -lc -lm

You seem to be missing a -T entry there. You need to have

-T /home/gjm/.mpide/hardware/pic32/cores/pic32/chipKIT-application-COMMON.ld

in the linking command somewhere.