72 lines
2.7 KiB
INI
72 lines
2.7 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
|
|
toolchain-gccarmnoneeabi@1.100301.220327
|
|
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/LPC1768/tft> +<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 -DPLATFORM_M997_SUPPORT
|
|
-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
|
|
|
|
#
|
|
# NXP LPC4078 ARM Cortex-M4
|
|
#
|
|
[env:LPC4078]
|
|
board = nxp_lpc4078
|
|
#platform = symlink:///home/p3p/workspace/EBAB_workspace/platform-mcui
|
|
#platform_packages = framework-arduino-mcui@symlink:///home/p3p/workspace/EBAB_workspace/framework-arduino-mcui
|
|
platform = https://github.com/p3p/pio-platform-mcui/archive/refs/heads/master.zip
|
|
#platform = symlink://C:\Users\DMenzel\Documents\GitHub\EBAB\ebab_platform\platform-mcui
|
|
platform_packages = framework-arduino-mcui@symlink://C:\Users\DMenzel\Documents\GitHub\EBAB\ebab_platform\framework-arduino-mcui
|
|
framework = arduino
|
|
upload_protocol = jlink
|
|
debug_tool = jlink
|
|
monitor_speed = 500000
|
|
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/LPC4078> +<src/HAL/shared/backtrace>
|
|
build_flags = ${common.build_flags} -IMarlin/src/HAL/LPC4078/include -DTARGET_LPC4078 -DU8G_HAL_LINKS -IMarlin/src/HAL/LPC4078/u8g -DPLATFORM_M997_SUPPORT -O3
|
|
build_unflags = -Os
|
|
lib_deps = ${common.lib_deps}
|
|
Servo
|
|
SoftwareSerial
|
|
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
|