Skip to content

Commit

Permalink
LPC176x framework update (#20469)
Browse files Browse the repository at this point in the history
  • Loading branch information
p3p authored Dec 14, 2020
1 parent 8c05053 commit 9fd358f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions Marlin/src/HAL/LPC1768/HAL.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ extern "C" volatile uint32_t _millis;
#include <pinmapping.h>
#include <CDCSerial.h>

// i2c uses 8-bit shifted address
#define I2C_ADDRESS(A) uint8_t((A) << 1)

//
// Default graphical display delays
//
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/HAL/LPC1768/inc/SanityCheck.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#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 < 2005
#if PIO_FRAMEWORK_VERSION < 2006
#error "framework-arduino-lpc176x package is out of date, Please update the PlatformIO platforms, frameworks and libraries."
#endif

Expand Down
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ debug_tool = jlink
#
[common_LPC]
platform = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.3.zip
platform_packages = framework-arduino-lpc176x@^0.2.5
platform_packages = framework-arduino-lpc176x@^0.2.6
board = nxp_lpc1768
lib_ldf_mode = off
lib_compat_mode = strict
Expand Down

0 comments on commit 9fd358f

Please sign in to comment.