Skip to content

Commit

Permalink
Fix for issue chipKIT32#615: Add define to allow sketches/library to …
Browse files Browse the repository at this point in the history
…know what IDE they're compiled under.
  • Loading branch information
EmbeddedMan committed Oct 10, 2015
1 parent 8468e59 commit 4401501
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hardware/pic32/platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ library.core.path=./hardware/pic32/cores/pic32
library.path=./hardware/pic32/libraries
ldscript=chipKIT-BL-mega.ld
ldcommon=chipKIT-application-COMMON.ld
compiler.define= -DMPIDEVER=16777998 -DMPIDE=150
compiler.define= -DMPIDEVER=16777998 -DMPIDE=150 -DIDE=Arduino
build.variant=Default_100
build.extra_flags=
core.header=WProgram.h
Expand Down
2 changes: 1 addition & 1 deletion hardware/pic32/platforms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ pic32.library.core.path=./hardware/pic32/cores/pic32
pic32.library.path=./hardware/pic32/libraries
pic32.ldscript=chipKIT-BL-mega.ld
pic32.ldcommon=chipKIT-application-COMMON.ld
pic32.compiler.define=::-DMPIDEVER=16778024::-DMPIDE=150::
pic32.compiler.define=::-DMPIDEVER=16778024::-DMPIDE=150::-DIDE=MPIDE::
pic32.build.variant=Default_100
pic32.core.header=WProgram.h

0 comments on commit 4401501

Please sign in to comment.