diff --git a/hardware/pic32/platform.txt b/hardware/pic32/platform.txt index ceef731d5..37d814239 100644 --- a/hardware/pic32/platform.txt +++ b/hardware/pic32/platform.txt @@ -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 diff --git a/hardware/pic32/platforms.txt b/hardware/pic32/platforms.txt index e556f2de9..88d2762a8 100644 --- a/hardware/pic32/platforms.txt +++ b/hardware/pic32/platforms.txt @@ -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