LPC176x Framework update (#15722)
Changes required for compatibility with framework-arduino-lpc176x 0.2.0
This commit is contained in:
@ -25,7 +25,7 @@
|
||||
* AZSMZ MINI pin assignments
|
||||
*/
|
||||
|
||||
#ifndef TARGET_LPC1768
|
||||
#ifndef MCU_LPC1768
|
||||
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
|
||||
#endif
|
||||
|
||||
@ -71,9 +71,9 @@
|
||||
// Temperature Sensors
|
||||
// 3.3V max when defined as an analog input
|
||||
//
|
||||
#define TEMP_0_PIN 0 // A0 (TH1)
|
||||
#define TEMP_BED_PIN 1 // A1 (TH2)
|
||||
#define TEMP_1_PIN 2 // A2 (TH3)
|
||||
#define TEMP_0_PIN P0_23_A0 // A0 (TH1)
|
||||
#define TEMP_BED_PIN P0_24_A1 // A1 (TH2)
|
||||
#define TEMP_1_PIN P0_25_A2 // A2 (TH3)
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
|
@ -21,7 +21,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#ifndef TARGET_LPC1768
|
||||
#ifndef MCU_LPC1768
|
||||
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
|
||||
#endif
|
||||
|
||||
@ -64,9 +64,9 @@
|
||||
// Temperature Sensors
|
||||
// 3.3V max when defined as an analog input
|
||||
//
|
||||
#define TEMP_BED_PIN 0 // Analog Input
|
||||
#define TEMP_0_PIN 1 // Analog Input
|
||||
#define TEMP_1_PIN 2 // Analog Input
|
||||
#define TEMP_BED_PIN P0_23_A0 // Analog Input
|
||||
#define TEMP_0_PIN P0_24_A1 // Analog Input
|
||||
#define TEMP_1_PIN P0_25_A2 // Analog Input
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
|
@ -21,7 +21,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#ifndef TARGET_LPC1768
|
||||
#ifndef MCU_LPC1768
|
||||
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
|
||||
#endif
|
||||
|
||||
@ -160,9 +160,9 @@
|
||||
// Temperature Sensors
|
||||
// 3.3V max when defined as an analog input
|
||||
//
|
||||
#define TEMP_BED_PIN 0 // A0 (T0) - (67) - TEMP_BED_PIN
|
||||
#define TEMP_0_PIN 1 // A1 (T1) - (68) - TEMP_0_PIN
|
||||
#define TEMP_1_PIN 2 // A2 (T2) - (69) - TEMP_1_PIN
|
||||
#define TEMP_BED_PIN P0_23_A0 // A0 (T0) - (67) - TEMP_BED_PIN
|
||||
#define TEMP_0_PIN P0_24_A1 // A1 (T1) - (68) - TEMP_0_PIN
|
||||
#define TEMP_1_PIN P0_25_A2 // A2 (T2) - (69) - TEMP_1_PIN
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
|
@ -30,7 +30,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef TARGET_LPC1768
|
||||
#ifndef MCU_LPC1768
|
||||
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
|
||||
#endif
|
||||
|
||||
@ -98,8 +98,8 @@
|
||||
// Temperature Sensors
|
||||
// 3.3V max when defined as an analog input
|
||||
//
|
||||
#define TEMP_0_PIN 1 // A0 (T0)
|
||||
#define TEMP_BED_PIN 0 // A1 (T1)
|
||||
#define TEMP_0_PIN P0_24_A1 // A0 (T0)
|
||||
#define TEMP_BED_PIN P0_23_A0 // A1 (T1)
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
|
@ -30,7 +30,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef TARGET_LPC1768
|
||||
#ifndef MCU_LPC1768
|
||||
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
|
||||
#endif
|
||||
|
||||
@ -71,8 +71,8 @@
|
||||
// Temperature Sensors
|
||||
// 3.3V max when defined as an analog input
|
||||
//
|
||||
#define TEMP_0_PIN 0 // A0 (T0)
|
||||
#define TEMP_BED_PIN 1 // A1 (T1)
|
||||
#define TEMP_0_PIN P0_23_A0 // A0 (T0)
|
||||
#define TEMP_BED_PIN P0_24_A1 // A1 (T1)
|
||||
|
||||
|
||||
//
|
||||
|
@ -21,7 +21,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#ifndef TARGET_LPC1768
|
||||
#ifndef MCU_LPC1768
|
||||
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
|
||||
#endif
|
||||
|
||||
@ -103,8 +103,8 @@
|
||||
// Temperature Sensors
|
||||
// 3.3V max when defined as an analog input
|
||||
//
|
||||
#define TEMP_0_PIN 1 // AD0[0] on P0_23
|
||||
#define TEMP_BED_PIN 0 // AD0[1] on P0_24
|
||||
#define TEMP_0_PIN P0_24_A1 // AD0[0] on P0_23
|
||||
#define TEMP_BED_PIN P0_23_A0 // AD0[1] on P0_24
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
|
@ -25,7 +25,7 @@
|
||||
* MKS SBASE pin assignments
|
||||
*/
|
||||
|
||||
#ifndef TARGET_LPC1768
|
||||
#ifndef MCU_LPC1768
|
||||
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
|
||||
#endif
|
||||
|
||||
@ -90,10 +90,10 @@
|
||||
// Temperature Sensors
|
||||
// 3.3V max when defined as an analog input
|
||||
//
|
||||
#define TEMP_BED_PIN 0 // A0 (TH1)
|
||||
#define TEMP_0_PIN 1 // A1 (TH2)
|
||||
#define TEMP_1_PIN 2 // A2 (TH3)
|
||||
#define TEMP_2_PIN 3 // A3 (TH4)
|
||||
#define TEMP_BED_PIN P0_23_A0 // A0 (TH1)
|
||||
#define TEMP_0_PIN P0_24_A1 // A1 (TH2)
|
||||
#define TEMP_1_PIN P0_25_A2 // A2 (TH3)
|
||||
#define TEMP_2_PIN P0_26_A3 // A3 (TH4)
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
|
@ -25,7 +25,7 @@
|
||||
* MKS SGEN-L pin assignments
|
||||
*/
|
||||
|
||||
#ifndef TARGET_LPC1768
|
||||
#ifndef MCU_LPC1768
|
||||
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
|
||||
#endif
|
||||
|
||||
@ -155,9 +155,9 @@
|
||||
// Temperature Sensors
|
||||
// 3.3V max when defined as an analog input
|
||||
//
|
||||
#define TEMP_0_PIN 0 // Analog Input A0 (TH1)
|
||||
#define TEMP_BED_PIN 1 // Analog Input A1 (TB)
|
||||
#define TEMP_1_PIN 2 // Analog Input A2 (TH2)
|
||||
#define TEMP_0_PIN P0_23_A0 // Analog Input A0 (TH1)
|
||||
#define TEMP_BED_PIN P0_24_A1 // Analog Input A1 (TB)
|
||||
#define TEMP_1_PIN P0_25_A2 // Analog Input A2 (TH2)
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
|
@ -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
|
||||
|
@ -25,7 +25,7 @@
|
||||
* Selena Compact pin assignments
|
||||
*/
|
||||
|
||||
#ifndef TARGET_LPC1768
|
||||
#ifndef MCU_LPC1768
|
||||
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
|
||||
#endif
|
||||
|
||||
@ -75,9 +75,9 @@
|
||||
// Temperature Sensors
|
||||
// 3.3V max when defined as an analog input
|
||||
//
|
||||
#define TEMP_BED_PIN 0 // A0 (TH1)
|
||||
#define TEMP_0_PIN 1 // A1 (TH2)
|
||||
#define TEMP_1_PIN 2 // A2 (TH3)
|
||||
#define TEMP_BED_PIN P0_23_A0 // A0 (TH1)
|
||||
#define TEMP_0_PIN P0_24_A1 // A1 (TH2)
|
||||
#define TEMP_1_PIN P0_25_A2 // A2 (TH3)
|
||||
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user