Browse Source

LPC176x framework update (#20469)

Chris Pepper 4 years ago
parent
commit
9fd358f10c
No account linked to committer's email address
3 changed files with 2 additions and 5 deletions
  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 View File

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 View File

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 View File

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

Loading…
Cancel
Save