2021-04-02 02:53:19 +00:00
|
|
|
#
|
|
|
|
# Marlin Firmware
|
|
|
|
# PlatformIO Configuration File
|
|
|
|
#
|
|
|
|
|
|
|
|
#################################
|
|
|
|
# #
|
|
|
|
# LPC176x Architecture #
|
|
|
|
# #
|
|
|
|
#################################
|
|
|
|
|
|
|
|
#
|
|
|
|
# NXP LPC176x ARM Cortex-M3
|
|
|
|
#
|
|
|
|
[common_LPC]
|
|
|
|
platform = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.3.zip
|
2021-07-12 01:45:47 +00:00
|
|
|
platform_packages = framework-arduino-lpc176x@^0.2.8
|
2021-04-02 02:53:19 +00:00
|
|
|
board = nxp_lpc1768
|
|
|
|
lib_ldf_mode = off
|
|
|
|
lib_compat_mode = strict
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
Marlin/src/HAL/LPC1768/upload_extra_script.py
|
|
|
|
src_filter = ${common.default_src_filter} +<src/HAL/LPC1768> +<src/HAL/shared/backtrace>
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
Servo
|
2021-04-26 01:55:15 +00:00
|
|
|
custom_marlin.USES_LIQUIDCRYSTAL = arduino-libraries/LiquidCrystal@~1.0.7
|
2021-04-02 02:53:19 +00:00
|
|
|
custom_marlin.NEOPIXEL_LED = Adafruit NeoPixel=https://github.com/p3p/Adafruit_NeoPixel/archive/1.5.0.zip
|
|
|
|
build_flags = ${common.build_flags} -DU8G_HAL_LINKS -IMarlin/src/HAL/LPC1768/include -IMarlin/src/HAL/LPC1768/u8g
|
|
|
|
# debug options for backtrace
|
|
|
|
#-funwind-tables
|
|
|
|
#-mpoke-function-name
|
|
|
|
|
|
|
|
#
|
|
|
|
# NXP LPC176x ARM Cortex-M3
|
|
|
|
#
|
|
|
|
[env:LPC1768]
|
|
|
|
extends = common_LPC
|
|
|
|
board = nxp_lpc1768
|
|
|
|
|
|
|
|
[env:LPC1769]
|
|
|
|
extends = common_LPC
|
|
|
|
board = nxp_lpc1769
|