Fix Archim 2 build for PIO
This commit is contained in:
parent
65f6a373b0
commit
723d4d6f61
@ -454,7 +454,7 @@
|
|||||||
#elif MB(ARCHIM1)
|
#elif MB(ARCHIM1)
|
||||||
#include "sam/pins_ARCHIM1.h" // SAM3X8E env:DUE env:DUE_debug
|
#include "sam/pins_ARCHIM1.h" // SAM3X8E env:DUE env:DUE_debug
|
||||||
#elif MB(ARCHIM2)
|
#elif MB(ARCHIM2)
|
||||||
#include "sam/pins_ARCHIM2.h" // SAM3X8E env:DUE env:DUE_debug
|
#include "sam/pins_ARCHIM2.h" // SAM3X8E env:DUE_archim env:DUE_archim_debug
|
||||||
#elif MB(ALLIGATOR)
|
#elif MB(ALLIGATOR)
|
||||||
#include "sam/pins_ALLIGATOR_R2.h" // SAM3X8E env:DUE env:DUE_debug
|
#include "sam/pins_ALLIGATOR_R2.h" // SAM3X8E env:DUE env:DUE_debug
|
||||||
#elif MB(ADSK)
|
#elif MB(ADSK)
|
||||||
|
@ -206,6 +206,25 @@ build_flags = ${common.build_flags}
|
|||||||
-funwind-tables
|
-funwind-tables
|
||||||
-mpoke-function-name
|
-mpoke-function-name
|
||||||
|
|
||||||
|
#
|
||||||
|
# Archim SAM
|
||||||
|
#
|
||||||
|
[env:DUE_archim]
|
||||||
|
platform = atmelsam
|
||||||
|
board = due
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/DUE>
|
||||||
|
build_flags = ${common.build_flags}
|
||||||
|
-DARDUINO_SAM_ARCHIM -DARDUINO_ARCH_SAM -D__SAM3X8E__ -DUSBCON
|
||||||
|
|
||||||
|
[env:DUE_archim_debug]
|
||||||
|
# Used when WATCHDOG_RESET_MANUAL is enabled
|
||||||
|
platform = atmelsam
|
||||||
|
board = due
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/DUE>
|
||||||
|
build_flags = ${common.build_flags}
|
||||||
|
-DARDUINO_SAM_ARCHIM -DARDUINO_ARCH_SAM -D__SAM3X8E__ -DUSBCON
|
||||||
|
-funwind-tables -mpoke-function-name
|
||||||
|
|
||||||
#
|
#
|
||||||
# NXP LPC176x ARM Cortex-M3
|
# NXP LPC176x ARM Cortex-M3
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user