Closed rei-vilo closed 12 years ago
Thanks, this well help. There are a lot of changes in this pull request - a lot of people find it easier to merge small changes. I will work through your bug fixes and enhancements and try to split them up into some logical commits. This way it will be easier to follow what was fixed or changed.
Sorry for the large commit: all changes are linked.
Main changes makefile: new file chipKIT.mk: BOARD and LDSCRIPT read from boards.txt, EXTRA_CPPFLAGS adapted Arduino.mk: build target added, screen and osascript instead of stty, test with CORE_AS_SRCS for .S, echo information
Another possible missing action
pic32-bin2hex -a build-cli/Blink.cpp.elf
Build logs comparison MPIDE and this makefile build logs: comparison
Jan 26, 2012 release b - makefile: Arduino / chipKIT switch
Bugs
For chipKIT board, build and upload work but the sketch doesn't run on the board: no blinking LED
I suspect missing files not taken into account by the makefile but used by MPIDE:
cpp-startup.S crti.S crtn.S
chipKIT-application-32MX360F512L.ld chipKIT-application-32MX440F512H.ld chipKIT-application-32MX460F512L.ld chipKIT-MAX32-application-32MX795F512L.ld chipKIT-UNO32-application-32MX320F128L.ld
from /Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/cores/pic32/