LPC176x Framework update (#15722)
Changes required for compatibility with framework-arduino-lpc176x 0.2.0
This commit is contained in:
@ -25,19 +25,13 @@
|
||||
* Azteeg X5 GT pin assignments
|
||||
*/
|
||||
|
||||
#ifndef LPC1769
|
||||
#ifndef MCU_LPC1769
|
||||
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||
#endif
|
||||
|
||||
#define BOARD_INFO_NAME "Azteeg X5 GT"
|
||||
#define BOARD_WEBSITE_URL "tinyurl.com/yx8tdqa3"
|
||||
|
||||
//
|
||||
// Custom CPU Speed 120MHz
|
||||
//
|
||||
#undef F_CPU
|
||||
#define F_CPU 120000000
|
||||
|
||||
//
|
||||
// Servos
|
||||
//
|
||||
@ -96,9 +90,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)
|
||||
|
||||
|
||||
//
|
||||
|
@ -25,7 +25,7 @@
|
||||
* Azteeg X5 MINI pin assignments
|
||||
*/
|
||||
|
||||
#ifndef LPC1769
|
||||
#ifndef MCU_LPC1769
|
||||
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||
#endif
|
||||
|
||||
@ -56,7 +56,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef FILWIDTH_PIN
|
||||
#define FILWIDTH_PIN 2 // Analog Input (P0_25)
|
||||
#define FILWIDTH_PIN P0_25_A2 // Analog Input (P0_25)
|
||||
#endif
|
||||
|
||||
//
|
||||
@ -93,8 +93,8 @@
|
||||
// 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_BED_PIN P0_23_A0 // A0 (TH1)
|
||||
#define TEMP_0_PIN P0_24_A1 // A1 (TH2)
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
|
@ -25,7 +25,7 @@
|
||||
* Azteeg X5 MINI pin assignments
|
||||
*/
|
||||
|
||||
#ifndef LPC1769
|
||||
#ifndef MCU_LPC1769
|
||||
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||
#endif
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
* Cohesion3D Mini pin assignments
|
||||
*/
|
||||
|
||||
#ifndef LPC1769
|
||||
#ifndef MCU_LPC1769
|
||||
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||
#endif
|
||||
|
||||
@ -88,8 +88,8 @@
|
||||
// Analog Inputs
|
||||
// 3.3V max when defined as an analog input
|
||||
//
|
||||
#define TEMP_0_PIN 0 // P0_23
|
||||
#define TEMP_BED_PIN 1 // P0_24
|
||||
#define TEMP_0_PIN P0_23_A0 // P0_23
|
||||
#define TEMP_BED_PIN P0_24_A1 // P0_24
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
|
@ -25,7 +25,7 @@
|
||||
* Cohesion3D ReMix pin assignments
|
||||
*/
|
||||
|
||||
#ifndef LPC1769
|
||||
#ifndef MCU_LPC1769
|
||||
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||
#endif
|
||||
|
||||
@ -98,13 +98,13 @@
|
||||
// Analog Inputs
|
||||
// 3.3V max when defined as an analog input
|
||||
//
|
||||
#define TEMP_0_PIN 0 // P0_23
|
||||
#define TEMP_BED_PIN 1 // P0_24
|
||||
#define TEMP_1_PIN 2 // P0_25
|
||||
#define TEMP_0_PIN P0_23_A0
|
||||
#define TEMP_BED_PIN P0_24_A1
|
||||
#define TEMP_1_PIN P0_25_A2
|
||||
#if ENABLED(FILAMENT_WIDTH_SENSOR)
|
||||
#define FILWIDTH_PIN 3 // P0_26
|
||||
#define FILWIDTH_PIN P0_26_A3
|
||||
#else
|
||||
#define TEMP_2_PIN 3 // P0_26
|
||||
#define TEMP_2_PIN P0_26_A3
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -25,7 +25,7 @@
|
||||
* MKS SGen pin assignments
|
||||
*/
|
||||
|
||||
#ifndef LPC1769
|
||||
#ifndef MCU_LPC1769
|
||||
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||
#endif
|
||||
|
||||
|
@ -25,19 +25,13 @@
|
||||
* Smoothieboard pin assignments
|
||||
*/
|
||||
|
||||
#ifndef LPC1769
|
||||
#ifndef MCU_LPC1769
|
||||
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||
#endif
|
||||
|
||||
#define BOARD_INFO_NAME "Smoothieboard"
|
||||
#define BOARD_WEBSITE_URL "smoothieware.org/smoothieboard"
|
||||
|
||||
//
|
||||
// Custom CPU Speed 120MHz
|
||||
//
|
||||
#undef F_CPU
|
||||
#define F_CPU 120000000
|
||||
|
||||
//
|
||||
// Servos
|
||||
//
|
||||
@ -80,10 +74,10 @@
|
||||
// Temperature Sensors
|
||||
// 3.3V max when defined as an analog input
|
||||
//
|
||||
#define TEMP_0_PIN 0 // P0.23 (T1)
|
||||
#define TEMP_BED_PIN 1 // P0.24 (T2)
|
||||
#define TEMP_1_PIN 2 // P0.25 (T3)
|
||||
#define TEMP_2_PIN 3 // P0.26 (T4)
|
||||
#define TEMP_0_PIN P0_23_A0 // (T1)
|
||||
#define TEMP_BED_PIN P0_24_A1 // (T2)
|
||||
#define TEMP_1_PIN P0_25_A2 // (T3)
|
||||
#define TEMP_2_PIN P0_26_A3 // (T4)
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
|
@ -25,7 +25,7 @@
|
||||
* TH3D EZBoard pin assignments
|
||||
*/
|
||||
|
||||
#ifndef LPC1769
|
||||
#ifndef MCU_LPC1769
|
||||
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||
#endif
|
||||
|
||||
@ -94,18 +94,18 @@
|
||||
// 3.3V max when defined as an Analog Input!
|
||||
//
|
||||
#if TEMP_SENSOR_0 == 20 // PT100 Adapter
|
||||
#define TEMP_0_PIN 7 // Analog Input
|
||||
#define TEMP_0_PIN P0_02_A7 // Analog Input
|
||||
#else
|
||||
#define TEMP_0_PIN 0 // Analog Input P0_23
|
||||
#define TEMP_0_PIN P0_23_A0 // Analog Input P0_23
|
||||
#endif
|
||||
|
||||
#define TEMP_BED_PIN 1 // Analog Input P0_24
|
||||
#define TEMP_1_PIN 2 // Analog Input P0_25
|
||||
#define TEMP_BED_PIN P0_24_A1 // Analog Input P0_24
|
||||
#define TEMP_1_PIN P0_25_A2 // Analog Input P0_25
|
||||
|
||||
#if ENABLED(FILAMENT_WIDTH_SENSOR)
|
||||
#define FILWIDTH_PIN 3 // Analog Input P0_26
|
||||
#define FILWIDTH_PIN P0_26_A3 // Analog Input P0_26
|
||||
#else
|
||||
#define TEMP_2_PIN 3 // Analog Input P0_26
|
||||
#define TEMP_2_PIN P0_26_A3 // Analog Input P0_26
|
||||
#endif
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user