diff --git a/Marlin/src/HAL/HAL_LPC1768/inc/SanityCheck.h b/Marlin/src/HAL/HAL_LPC1768/inc/SanityCheck.h index 54539df9cf..e373aba00e 100644 --- a/Marlin/src/HAL/HAL_LPC1768/inc/SanityCheck.h +++ b/Marlin/src/HAL/HAL_LPC1768/inc/SanityCheck.h @@ -21,10 +21,10 @@ */ #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." #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." #endif diff --git a/platformio.ini b/platformio.ini index 00c5b756de..7c038922e4 100644 --- a/platformio.ini +++ b/platformio.ini @@ -144,7 +144,7 @@ monitor_speed = 250000 # NXP LPC176x ARM Cortex-M3 # [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 board = nxp_lpc1768 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 [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 board = nxp_lpc1769 build_flags = -DU8G_HAL_LINKS -IMarlin/src/HAL/HAL_LPC1768/include -IMarlin/src/HAL/HAL_LPC1768/u8g ${common.build_flags}