lpc176x.ini 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #
  2. # Marlin Firmware
  3. # PlatformIO Configuration File
  4. #
  5. #################################
  6. # #
  7. # LPC176x Architecture #
  8. # #
  9. #################################
  10. #
  11. # NXP LPC176x ARM Cortex-M3
  12. #
  13. [common_LPC]
  14. platform = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.3.zip
  15. platform_packages = framework-arduino-lpc176x@https://github.com/p3p/pio-framework-arduino-lpc176x/archive/ab41696b64.zip
  16. toolchain-gccarmnoneeabi@1.100301.220327
  17. board = nxp_lpc1768
  18. lib_ldf_mode = off
  19. lib_compat_mode = strict
  20. extra_scripts = ${common.extra_scripts}
  21. Marlin/src/HAL/LPC1768/upload_extra_script.py
  22. build_src_filter = ${common.default_src_filter} +<src/HAL/LPC1768> -<src/HAL/LPC1768/tft> +<src/HAL/shared/backtrace>
  23. lib_deps = ${common.lib_deps}
  24. Servo
  25. build_flags = ${common.build_flags} -DU8G_HAL_LINKS -DPLATFORM_M997_SUPPORT
  26. -IMarlin/src/HAL/LPC1768/include -IMarlin/src/HAL/LPC1768/u8g
  27. # debug options for backtrace
  28. #-funwind-tables
  29. #-mpoke-function-name
  30. build_src_flags = -std=gnu++20 -Wno-volatile
  31. custom_marlin.USES_LIQUIDCRYSTAL = arduino-libraries/LiquidCrystal@~1.0.7
  32. custom_marlin.NEOPIXEL_LED = Adafruit NeoPixel=https://github.com/p3p/Adafruit_NeoPixel/archive/1.5.0.zip
  33. custom_marlin.HAS_SPI_TFT = build_src_filter=+<src/HAL/LPC1768/tft/tft_spi.cpp>
  34. custom_marlin.HAS_TFT_XPT2046 = build_src_filter=+<src/HAL/LPC1768/tft/xpt2046.cpp>
  35. #
  36. # NXP LPC176x ARM Cortex-M3
  37. #
  38. [env:LPC1768]
  39. extends = common_LPC
  40. board = nxp_lpc1768
  41. [env:LPC1769]
  42. extends = common_LPC
  43. board = nxp_lpc1769