1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- #
- # 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.9
- 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
- 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
- build_src_flags = -std=gnu++20 -Wno-volatile
- 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
- custom_marlin.HAS_SPI_TFT = build_src_filter=+<src/HAL/LPC1768/tft/tft_spi.cpp>
- custom_marlin.HAS_TFT_XPT2046 = build_src_filter=+<src/HAL/LPC1768/tft/xpt2046.cpp>
- #
- # NXP LPC176x ARM Cortex-M3
- #
- [env:LPC1768]
- extends = common_LPC
- board = nxp_lpc1768
- [env:LPC1769]
- extends = common_LPC
- board = nxp_lpc1769
|