Skip to content
This repository was archived by the owner on Nov 26, 2020. It is now read-only.

Jan 26, 2012 release b - makefile: Arduino / chipKIT switch #6

Closed
wants to merge 1 commit into from
Closed

Conversation

rei-vilo
Copy link

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/

Jan 26, 2012 release b - makefile: Arduino / chipKIT switch
@peplin
Copy link
Owner

peplin commented Jan 26, 2012

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.

@rei-vilo
Copy link
Author

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

@rei-vilo
Copy link
Author

Merged with Issue 7.

@rei-vilo rei-vilo closed this Jan 27, 2012
peplin pushed a commit that referenced this pull request Jul 2, 2013
Compile and include libraries from the sketchbook folder
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants