mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-25 04:48:31 +00:00
ee016e605c
* Consolidate variant scripts * Rename Marlin-local boards * Simplify variants where possible * Rename variants * CHITU_F103 and MEEB_3DP: Maple platform `platformio-build-stm32f1.py` uses the 'board' name, not 'board_build.variant' so folder names match 'board' and not `board_build.variant`.
44 lines
1011 B
INI
44 lines
1011 B
INI
#
|
|
# Marlin Firmware
|
|
# PlatformIO Configuration File
|
|
#
|
|
|
|
#################################
|
|
# #
|
|
# DUE Architecture #
|
|
# #
|
|
#################################
|
|
|
|
#
|
|
# Due (Atmel SAM3X8E ARM Cortex-M3)
|
|
#
|
|
# - RAMPS4DUE
|
|
# - RADDS
|
|
#
|
|
[env:DUE]
|
|
platform = atmelsam
|
|
board = due
|
|
src_filter = ${common.default_src_filter} +<src/HAL/DUE> +<src/HAL/shared/backtrace>
|
|
|
|
[env:DUE_USB]
|
|
platform = atmelsam
|
|
extends = env:DUE
|
|
board = dueUSB
|
|
|
|
#
|
|
# Archim SAM
|
|
#
|
|
[common_DUE_archim]
|
|
platform = atmelsam
|
|
extends = env:DUE
|
|
board = marlin_archim
|
|
build_flags = ${common.build_flags}
|
|
-DARDUINO_SAM_ARCHIM -DARDUINO_ARCH_SAM -D__SAM3X8E__ -DUSBCON
|
|
board_build.variants_dir = buildroot/share/PlatformIO/variants/
|
|
extra_scripts = ${common.extra_scripts}
|
|
Marlin/src/HAL/DUE/upload_extra_script.py
|
|
|
|
[env:DUE_archim]
|
|
platform = ${common_DUE_archim.platform}
|
|
extends = common_DUE_archim
|