浏览代码

Update lpc176x requirements (#15869)

Chris Pepper 5 年前
父节点
当前提交
af61f37b65
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 4 次插入4 次删除
  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 查看文件

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

+ 2
- 2
platformio.ini 查看文件

@@ -144,7 +144,7 @@ monitor_speed = 250000
144 144
 # NXP LPC176x ARM Cortex-M3
145 145
 #
146 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 148
 framework         = arduino
149 149
 board             = nxp_lpc1768
150 150
 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
164 164
   SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip
165 165
 
166 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 168
 framework         = arduino
169 169
 board             = nxp_lpc1769
170 170
 build_flags       = -DU8G_HAL_LINKS -IMarlin/src/HAL/HAL_LPC1768/include -IMarlin/src/HAL/HAL_LPC1768/u8g ${common.build_flags}

正在加载...
取消
保存