浏览代码

LPC176x framework update (#20469)

Chris Pepper 4 年前
父节点
当前提交
9fd358f10c
没有帐户链接到提交者的电子邮件
共有 3 个文件被更改,包括 2 次插入5 次删除
  1. 0
    3
      Marlin/src/HAL/LPC1768/HAL.h
  2. 1
    1
      Marlin/src/HAL/LPC1768/inc/SanityCheck.h
  3. 1
    1
      platformio.ini

+ 0
- 3
Marlin/src/HAL/LPC1768/HAL.h 查看文件

47
 #include <pinmapping.h>
47
 #include <pinmapping.h>
48
 #include <CDCSerial.h>
48
 #include <CDCSerial.h>
49
 
49
 
50
-// i2c uses 8-bit shifted address
51
-#define I2C_ADDRESS(A) uint8_t((A) << 1)
52
-
53
 //
50
 //
54
 // Default graphical display delays
51
 // Default graphical display delays
55
 //
52
 //

+ 1
- 1
Marlin/src/HAL/LPC1768/inc/SanityCheck.h 查看文件

24
 #if PIO_PLATFORM_VERSION < 1001
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 < 2005
27
+#if PIO_FRAMEWORK_VERSION < 2006
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
 

+ 1
- 1
platformio.ini 查看文件

683
 #
683
 #
684
 [common_LPC]
684
 [common_LPC]
685
 platform          = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.3.zip
685
 platform          = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.3.zip
686
-platform_packages = framework-arduino-lpc176x@^0.2.5
686
+platform_packages = framework-arduino-lpc176x@^0.2.6
687
 board             = nxp_lpc1768
687
 board             = nxp_lpc1768
688
 lib_ldf_mode      = off
688
 lib_ldf_mode      = off
689
 lib_compat_mode   = strict
689
 lib_compat_mode   = strict

正在加载...
取消
保存