Browse Source

Update lpc176x requirements (#15869)

Chris Pepper 5 years ago
parent
commit
af61f37b65
No account linked to committer's email address
2 changed files with 4 additions and 4 deletions
  1. 2
    2
      Marlin/src/HAL/HAL_LPC1768/inc/SanityCheck.h
  2. 2
    2
      platformio.ini

+ 2
- 2
Marlin/src/HAL/HAL_LPC1768/inc/SanityCheck.h View File

21
  */
21
  */
22
 #pragma once
22
 #pragma once
23
 
23
 
24
-#if PIO_PLATFORM_VERSION < 000001000
24
+#if PIO_PLATFORM_VERSION < 1001
25
   #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."
25
   #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."
26
 #endif
26
 #endif
27
-#if PIO_FRAMEWORK_VERSION < 000002001
27
+#if PIO_FRAMEWORK_VERSION < 2002
28
   #error "framework-arduino-lpc176x package is out of date, Please update the PlatformIO platforms, frameworks and libraries."
28
   #error "framework-arduino-lpc176x package is out of date, Please update the PlatformIO platforms, frameworks and libraries."
29
 #endif
29
 #endif
30
 
30
 

+ 2
- 2
platformio.ini View File

144
 # NXP LPC176x ARM Cortex-M3
144
 # NXP LPC176x ARM Cortex-M3
145
 #
145
 #
146
 [env:LPC1768]
146
 [env:LPC1768]
147
-platform          = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.0.zip
147
+platform          = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.1.zip
148
 framework         = arduino
148
 framework         = arduino
149
 board             = nxp_lpc1768
149
 board             = nxp_lpc1768
150
 build_flags       = -DU8G_HAL_LINKS -IMarlin/src/HAL/HAL_LPC1768/include -IMarlin/src/HAL/HAL_LPC1768/u8g ${common.build_flags}
150
 build_flags       = -DU8G_HAL_LINKS -IMarlin/src/HAL/HAL_LPC1768/include -IMarlin/src/HAL/HAL_LPC1768/u8g ${common.build_flags}
164
   SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip
164
   SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip
165
 
165
 
166
 [env:LPC1769]
166
 [env:LPC1769]
167
-platform          = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.0.zip
167
+platform          = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.1.zip
168
 framework         = arduino
168
 framework         = arduino
169
 board             = nxp_lpc1769
169
 board             = nxp_lpc1769
170
 build_flags       = -DU8G_HAL_LINKS -IMarlin/src/HAL/HAL_LPC1768/include -IMarlin/src/HAL/HAL_LPC1768/u8g ${common.build_flags}
170
 build_flags       = -DU8G_HAL_LINKS -IMarlin/src/HAL/HAL_LPC1768/include -IMarlin/src/HAL/HAL_LPC1768/u8g ${common.build_flags}

Loading…
Cancel
Save