Firmware2/ini/lpc176x.ini

43 lines
1.2 KiB
INI

#
# 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
platform_packages = framework-arduino-lpc176x@^0.2.8
board = nxp_lpc1768
lib_ldf_mode = off
lib_compat_mode = strict
extra_scripts = ${common.extra_scripts}
Marlin/src/HAL/LPC1768/upload_extra_script.py
build_src_filter = ${common.default_src_filter} +<src/HAL/LPC1768> +<src/HAL/shared/backtrace>
lib_deps = ${common.lib_deps}
Servo
custom_marlin.USES_LIQUIDCRYSTAL = arduino-libraries/LiquidCrystal@~1.0.7
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