Browse Source

Update lpc176x requirements (#15869)

pull/1/head
Chris Pepper 5 years ago
committed by GitHub
parent
commit
af61f37b65
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Marlin/src/HAL/HAL_LPC1768/inc/SanityCheck.h
  2. 4
      platformio.ini

4
Marlin/src/HAL/HAL_LPC1768/inc/SanityCheck.h

@ -21,10 +21,10 @@
*/ */
#pragma once #pragma once
#if PIO_PLATFORM_VERSION < 000001000 #if PIO_PLATFORM_VERSION < 1001
#error "nxplpc-arduino-lpc176x package is out of date, Please update the PlatformIO platforms, frameworks and libraries. You may need to remove the platform and let it reinstall automatically." #error "nxplpc-arduino-lpc176x package is out of date, Please update the PlatformIO platforms, frameworks and libraries. You may need to remove the platform and let it reinstall automatically."
#endif #endif
#if PIO_FRAMEWORK_VERSION < 000002001 #if PIO_FRAMEWORK_VERSION < 2002
#error "framework-arduino-lpc176x package is out of date, Please update the PlatformIO platforms, frameworks and libraries." #error "framework-arduino-lpc176x package is out of date, Please update the PlatformIO platforms, frameworks and libraries."
#endif #endif

4
platformio.ini

@ -144,7 +144,7 @@ monitor_speed = 250000
# NXP LPC176x ARM Cortex-M3 # NXP LPC176x ARM Cortex-M3
# #
[env:LPC1768] [env:LPC1768]
platform = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.0.zip platform = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.1.zip
framework = arduino framework = arduino
board = nxp_lpc1768 board = nxp_lpc1768
build_flags = -DU8G_HAL_LINKS -IMarlin/src/HAL/HAL_LPC1768/include -IMarlin/src/HAL/HAL_LPC1768/u8g ${common.build_flags} build_flags = -DU8G_HAL_LINKS -IMarlin/src/HAL/HAL_LPC1768/include -IMarlin/src/HAL/HAL_LPC1768/u8g ${common.build_flags}
@ -164,7 +164,7 @@ lib_deps = Servo
SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip
[env:LPC1769] [env:LPC1769]
platform = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.0.zip platform = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.1.zip
framework = arduino framework = arduino
board = nxp_lpc1769 board = nxp_lpc1769
build_flags = -DU8G_HAL_LINKS -IMarlin/src/HAL/HAL_LPC1768/include -IMarlin/src/HAL/HAL_LPC1768/u8g ${common.build_flags} build_flags = -DU8G_HAL_LINKS -IMarlin/src/HAL/HAL_LPC1768/include -IMarlin/src/HAL/HAL_LPC1768/u8g ${common.build_flags}

Loading…
Cancel
Save