LPC176x Framework update (#15722)

Changes required for compatibility with framework-arduino-lpc176x 0.2.0
This commit is contained in:
Chris Pepper
2019-11-03 02:34:09 +00:00
committed by GitHub
parent 15f94e5ee5
commit b9116d4050
30 changed files with 172 additions and 176 deletions

View File

@@ -36,7 +36,7 @@
// Numbers in parentheses () are the corresponding mega2560 pin numbers
#ifndef TARGET_LPC1768
#ifndef MCU_LPC1768
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif
@@ -162,14 +162,14 @@
// Temperature Sensors
// 3.3V max when defined as an analog input
//
#define TEMP_0_PIN 0 // A0 (T0) - (67) - TEMP_0_PIN
#define TEMP_BED_PIN 1 // A1 (T1) - (68) - TEMP_BED_PIN
#define TEMP_1_PIN 2 // A2 (T2) - (69) - TEMP_1_PIN
#define TEMP_2_PIN 3 // A3 - (63) - J5-3 & AUX-2
#define TEMP_3_PIN 4 // A4 - (37) - BUZZER_PIN
//#define TEMP_4_PIN 5 // A5 - (49) - SD_DETECT_PIN
//#define ?? 6 // A6 - ( 0) - RXD0 - J4-4 & AUX-1
#define FILWIDTH_PIN 7 // A7 - ( 1) - TXD0 - J4-5 & AUX-1
#define TEMP_0_PIN P0_23_A0 // A0 (T0) - (67) - TEMP_0_PIN
#define TEMP_BED_PIN P0_24_A1 // A1 (T1) - (68) - TEMP_BED_PIN
#define TEMP_1_PIN P0_25_A2 // A2 (T2) - (69) - TEMP_1_PIN
#define TEMP_2_PIN P0_26_A3 // A3 - (63) - J5-3 & AUX-2
#define TEMP_3_PIN P1_30_A4 // A4 - (37) - BUZZER_PIN
//#define TEMP_4_PIN P1_31_A5 // A5 - (49) - SD_DETECT_PIN
//#define ?? P0_03_A6 // A6 - ( 0) - RXD0 - J4-4 & AUX-1
#define FILWIDTH_PIN P0_02_A7 // A7 - ( 1) - TXD0 - J4-5 & AUX-1
//
// Augmentation for auto-assigning RAMPS plugs