BigTreeTech Manta M8P V2.0 (STM32H723ZE) (#26578)

This commit is contained in:
Keith Bennett
2023-12-28 20:50:52 -08:00
committed by GitHub
parent ba91fa09b7
commit 2d97f082e5
7 changed files with 480 additions and 7 deletions

View File

@@ -128,7 +128,9 @@ const PinName digitalPin[] = {
PH_0, // D110
PH_1, // D111
PC_2_C, // D112/A26
PC_3_C // D113/A27
PC_3_C, // D113/A27
PC_2, // D114/A28
PC_3 // D115/A29
};
// Analog (Ax) pin number array
@@ -160,7 +162,9 @@ const uint32_t analogInputPin[] = {
91, // A24, PF13
92, // A25, PF14
112, // A26, PC2_C
113 // A27, PC3_C
113, // A27, PC3_C
114, // A28, PC2
115 // A29, PC3
};
void MPU_Config(void)

View File

@@ -129,6 +129,8 @@
#define PH1 111
#define PC2_C PIN_A26
#define PC3_C PIN_A27
#define PC2 PC2_C
#define PC3 PC3_C
// Alternate pins number
#define PA0_ALT1 (PA0 | ALT1)
@@ -197,9 +199,9 @@
#define PF9_ALT2 (PF9 | ALT2)
#define PG13_ALT1 (PG13 | ALT1)
#define NUM_DIGITAL_PINS 114
#define NUM_DIGITAL_PINS 116
#define NUM_DUALPAD_PINS 2
#define NUM_ANALOG_INPUTS 28
#define NUM_ANALOG_INPUTS 30
#define NUM_ANALOG_FIRST PA0
// On-board LED pin number