From 98dff07bb4ff98a178cac912270ee8a11e1bf570 Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Thu, 10 Aug 2023 23:40:20 +1000 Subject: [PATCH] stm32/boards: Fix errors in pins.csv and af.csv. Fixes are: - Comment out lines in pins.csv that do not have valid CPU pins. It's useful to keep these in the file as "documentation" but in order to make make-pins.py stricter they need to be commented out. - Fix some typos (missing P prefix) in pins.csv. This resulted in some missing board pins. - Fix some typos in af.csv files. Some typos of "ADC" and some other that were previously ignored. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared --- .../boards/ADAFRUIT_F405_EXPRESS/pins.csv | 4 +-- ports/stm32/boards/ARDUINO_GIGA/pins.csv | 6 ++-- .../boards/ARDUINO_NICLA_VISION/pins.csv | 2 +- .../stm32/boards/ARDUINO_PORTENTA_H7/pins.csv | 2 +- ports/stm32/boards/CERB40/pins.csv | 12 ++++---- .../boards/GARATRONIC_NADHAT_F405/pins.csv | 18 ++++++------ .../GARATRONIC_PYBSTICK26_F411/pins.csv | 18 ++++++------ ports/stm32/boards/HYDRABUS/pins.csv | 2 +- .../boards/MIKROE_CLICKER2_STM32/pins.csv | 18 ++++++------ ports/stm32/boards/NUCLEO_F412ZG/pins.csv | 8 +++--- ports/stm32/boards/NUCLEO_F413ZH/pins.csv | 8 +++--- ports/stm32/boards/NUCLEO_G0B1RE/pins.csv | 2 +- ports/stm32/boards/NUCLEO_G474RE/pins.csv | 2 +- ports/stm32/boards/NUCLEO_L073RZ/pins.csv | 5 +--- ports/stm32/boards/PYBLITEV10/pins.csv | 20 ++++++------- ports/stm32/boards/PYBV10/pins.csv | 20 ++++++------- ports/stm32/boards/PYBV11/pins.csv | 20 ++++++------- ports/stm32/boards/PYBV4/pins.csv | 20 ++++++------- ports/stm32/boards/STM32F439/pins.csv | 2 +- ports/stm32/boards/STM32H573I_DK/pins.csv | 4 +-- ports/stm32/boards/STM32H7B3I_DK/pins.csv | 4 +-- ports/stm32/boards/VCC_GND_F407VE/pins.csv | 24 ++++++++-------- ports/stm32/boards/VCC_GND_F407ZG/pins.csv | 28 +++++++++---------- ports/stm32/boards/stm32h743_af.csv | 4 +-- ports/stm32/boards/stm32h7b3_af.csv | 13 +++------ 25 files changed, 129 insertions(+), 137 deletions(-) diff --git a/ports/stm32/boards/ADAFRUIT_F405_EXPRESS/pins.csv b/ports/stm32/boards/ADAFRUIT_F405_EXPRESS/pins.csv index 15e810e1ae..7c5c7b62fa 100644 --- a/ports/stm32/boards/ADAFRUIT_F405_EXPRESS/pins.csv +++ b/ports/stm32/boards/ADAFRUIT_F405_EXPRESS/pins.csv @@ -1,5 +1,5 @@ -POWER,3.3V -GND,GND +#POWER,3.3V +#GND,GND USB_ID,PA10 USB_DM,PA11 USB_DP,PA12 diff --git a/ports/stm32/boards/ARDUINO_GIGA/pins.csv b/ports/stm32/boards/ARDUINO_GIGA/pins.csv index 91c5c6d586..56e6323290 100644 --- a/ports/stm32/boards/ARDUINO_GIGA/pins.csv +++ b/ports/stm32/boards/ARDUINO_GIGA/pins.csv @@ -176,7 +176,7 @@ UART6_TX,PG14 UART6_RX,PC7 -USB_DM,PA11 -USB_DP,PA12 -BOOT0,BOOT0 +#BOOT0,BOOT0 DAC1,PA4 DAC2,PA5 LED_RED,PI12 @@ -209,11 +209,11 @@ I2C4_SCL,PB6 -QSPI2_D1,PD12 -QSPI2_D2,PE2 -QSPI2_D3,PF6 --SPI1_NSS,NC +#-SPI1_NSS,NC -SPI1_SCK,PB3 -SPI1_MISO,PG9 -SPI1_MOSI,PD7 -SPI5_NSS,PK1 -SPI5_SCK,PH6 -SPI5_MISO,PJ11 --SPI5_MOSI,PJ10 \ No newline at end of file +-SPI5_MOSI,PJ10 diff --git a/ports/stm32/boards/ARDUINO_NICLA_VISION/pins.csv b/ports/stm32/boards/ARDUINO_NICLA_VISION/pins.csv index 8ff21e6453..2838510ee3 100644 --- a/ports/stm32/boards/ARDUINO_NICLA_VISION/pins.csv +++ b/ports/stm32/boards/ARDUINO_NICLA_VISION/pins.csv @@ -176,7 +176,7 @@ UART8_TX,PJ8 UART8_RX,PJ9 USB_DM,PA11 USB_DP,PA12 -BOOT0,BOOT0 +#BOOT0,BOOT0 OSCEN,PH1 DAC1,-PA4 DAC2,-PA5 diff --git a/ports/stm32/boards/ARDUINO_PORTENTA_H7/pins.csv b/ports/stm32/boards/ARDUINO_PORTENTA_H7/pins.csv index ea8710b25f..4ac406fe3a 100644 --- a/ports/stm32/boards/ARDUINO_PORTENTA_H7/pins.csv +++ b/ports/stm32/boards/ARDUINO_PORTENTA_H7/pins.csv @@ -199,7 +199,7 @@ UART8_RX,PJ9 -USB_HS_RST,PJ4 -USB_DM,PA11 -USB_DP,PA12 -BOOT0,BOOT0 +#BOOT0,BOOT0 OSCEN,PH1 DAC1,PA4 DAC2,-PA5 diff --git a/ports/stm32/boards/CERB40/pins.csv b/ports/stm32/boards/CERB40/pins.csv index cca0bc0536..a319089a66 100644 --- a/ports/stm32/boards/CERB40/pins.csv +++ b/ports/stm32/boards/CERB40/pins.csv @@ -1,5 +1,5 @@ -JP1,3.3V -JP2,GND +#JP1,3.3V +#JP2,GND JP3,PA8 JP4,PA13 JP5,PA7 @@ -12,13 +12,13 @@ JP11,PB9 JP12,PB3 JP13,PD2 JP14,PC12 -JP15,VBAT +#JP15,VBAT JP16,PB8 -JP17,Loader +#JP17,Loader JP18,PB7 JP19,PB6 JP20,PB5 -JP21,Reset +#JP21,Reset JP22,PC0 JP23,PC1 JP24,PC2 @@ -37,7 +37,7 @@ JP36,PC6 JP37,PC7 JP38,PC8 JP39,PC9 -JP40,VUSB +#JP40,VUSB UART1_TX,PA9 UART1_RX,PA10 UART3_TX,PD8 diff --git a/ports/stm32/boards/GARATRONIC_NADHAT_F405/pins.csv b/ports/stm32/boards/GARATRONIC_NADHAT_F405/pins.csv index 0a030e985c..866716397d 100644 --- a/ports/stm32/boards/GARATRONIC_NADHAT_F405/pins.csv +++ b/ports/stm32/boards/GARATRONIC_NADHAT_F405/pins.csv @@ -10,18 +10,18 @@ X9,PB6 X10,PB7 X11,PC4 X12,PC5 -X13,Reset -X14,GND -X15,3.3V -X16,VIN +#X13,Reset +#X14,GND +#X15,3.3V +#X16,VIN X17,PB3 X18,PC13 X19,PC0 X20,PC1 X21,PC2 X22,PC3 -X23,A3.3V -X24,AGND +#X23,A3.3V +#X24,AGND Y1,PC6 Y2,PC7 Y3,PB8 @@ -35,9 +35,9 @@ Y10,PB11 Y11,PB0 Y12,PB1 Y13,PB2 -Y14,GND -Y15,3.3V -Y16,VIN +#Y14,GND +#Y15,3.3V +#Y16,VIN SW,PB3 LED_RED,PA13 LED_GREEN,PA14 diff --git a/ports/stm32/boards/GARATRONIC_PYBSTICK26_F411/pins.csv b/ports/stm32/boards/GARATRONIC_PYBSTICK26_F411/pins.csv index c52e65cf79..ecdbe99c0f 100644 --- a/ports/stm32/boards/GARATRONIC_PYBSTICK26_F411/pins.csv +++ b/ports/stm32/boards/GARATRONIC_PYBSTICK26_F411/pins.csv @@ -1,32 +1,32 @@ -S1,3.3V -S2,VBUS +#S1,3.3V +#S2,VBUS S3,PB9 -S4,VIN +#S4,VIN S5,PB8 -S6,GND +#S6,GND S7,PB6 S8,PA2 -S9,GND +#S9,GND S10,PA3 S11,PB3 S12,PA0 S13,PB10 S13A,PC3 -S14,Reset +#S14,Reset S15,PB12 S15A,PC5 S16,PB13 S16A,PC6 -S17,GND +#S17,GND S18,PB14 S18A,PC7 S19,PA7 -S20,GND +#S20,GND S21,PB4 S22,PA10 S23,PA5 S24,PA15 -S25,GND +#S25,GND S26,PA4 SW,PC13 SW2,PB6 diff --git a/ports/stm32/boards/HYDRABUS/pins.csv b/ports/stm32/boards/HYDRABUS/pins.csv index 47e1f43139..5e1cf682dc 100644 --- a/ports/stm32/boards/HYDRABUS/pins.csv +++ b/ports/stm32/boards/HYDRABUS/pins.csv @@ -44,7 +44,7 @@ PA10,PA10 PA11,PA11 PA12,PA12 PD2,PD2 -BOOT0,BOOT0 +#BOOT0,BOOT0 PA15,PA15 UART3_TX,PD8 UART3_RX,PD9 diff --git a/ports/stm32/boards/MIKROE_CLICKER2_STM32/pins.csv b/ports/stm32/boards/MIKROE_CLICKER2_STM32/pins.csv index c04d2b8c4a..60868ea0c9 100644 --- a/ports/stm32/boards/MIKROE_CLICKER2_STM32/pins.csv +++ b/ports/stm32/boards/MIKROE_CLICKER2_STM32/pins.csv @@ -22,8 +22,8 @@ MB2_RX,PD9 MB2_TX,PD8 MB2_SCL,PB10 MB2_SDA,PB11 -PIN1,VSYS -PIN2,GND +#PIN1,VSYS +#PIN2,GND PIN3,PC0 PIN4,PC1 PIN5,PC2 @@ -46,11 +46,11 @@ PIN21,PD10 PIN22,PB13 PIN23,PB14 PIN24,PB15 -PIN25,3.3V -PIN26,GND -PIN27,RST -PIN28,GND -PIN30,NC +#PIN25,3.3V +#PIN26,GND +#PIN27,RST +#PIN28,GND +#PIN30,NC PIN31,PB9 PIN32,PB8 PIN33,PE5 @@ -71,8 +71,8 @@ PIN47,PA1 PIN48,PA0 PIN49,PB10 PIN50,PB11 -PIN51,3.3V -PIN52,GND +#PIN51,3.3V +#PIN52,GND OSC32_OUT,PC15 OSC32_IN,PC14 VSENSE,PC5 diff --git a/ports/stm32/boards/NUCLEO_F412ZG/pins.csv b/ports/stm32/boards/NUCLEO_F412ZG/pins.csv index 31dcb99ed6..bdfb64619b 100644 --- a/ports/stm32/boards/NUCLEO_F412ZG/pins.csv +++ b/ports/stm32/boards/NUCLEO_F412ZG/pins.csv @@ -112,7 +112,7 @@ PG14,PG14 PG15,PG15 PH0,PH0 PH1,PH1 -SW,C13 -LED_RED,B14 -LED_GREEN,B0 -LED_BLUE,B7 +SW,PC13 +LED_RED,PB14 +LED_GREEN,PB0 +LED_BLUE,PB7 diff --git a/ports/stm32/boards/NUCLEO_F413ZH/pins.csv b/ports/stm32/boards/NUCLEO_F413ZH/pins.csv index 31dcb99ed6..bdfb64619b 100644 --- a/ports/stm32/boards/NUCLEO_F413ZH/pins.csv +++ b/ports/stm32/boards/NUCLEO_F413ZH/pins.csv @@ -112,7 +112,7 @@ PG14,PG14 PG15,PG15 PH0,PH0 PH1,PH1 -SW,C13 -LED_RED,B14 -LED_GREEN,B0 -LED_BLUE,B7 +SW,PC13 +LED_RED,PB14 +LED_GREEN,PB0 +LED_BLUE,PB7 diff --git a/ports/stm32/boards/NUCLEO_G0B1RE/pins.csv b/ports/stm32/boards/NUCLEO_G0B1RE/pins.csv index 9c03b1b68a..b2af175b12 100644 --- a/ports/stm32/boards/NUCLEO_G0B1RE/pins.csv +++ b/ports/stm32/boards/NUCLEO_G0B1RE/pins.csv @@ -25,7 +25,7 @@ PA1,PA1 PA10,PA10 PA11,PA11 PA12,PA12 -PA13,TMS +#PA13,TMS PA15,PA15 PA2,PA2 PA3,PA3 diff --git a/ports/stm32/boards/NUCLEO_G474RE/pins.csv b/ports/stm32/boards/NUCLEO_G474RE/pins.csv index 473a5e26bc..30b2379952 100644 --- a/ports/stm32/boards/NUCLEO_G474RE/pins.csv +++ b/ports/stm32/boards/NUCLEO_G474RE/pins.csv @@ -1,7 +1,7 @@ A0,PA0 A1,PA1 A2,PA4 -A3,BPB0 +A3,PB0 A4,PC1 A5,PC0 D0,PC5 diff --git a/ports/stm32/boards/NUCLEO_L073RZ/pins.csv b/ports/stm32/boards/NUCLEO_L073RZ/pins.csv index 7386425acf..9ff62598f3 100644 --- a/ports/stm32/boards/NUCLEO_L073RZ/pins.csv +++ b/ports/stm32/boards/NUCLEO_L073RZ/pins.csv @@ -28,7 +28,7 @@ SCK,PA5 MISO,PA6 MOSI,PA7 CS,PB6 -BOOT0,PF11 +#BOOT0,BOOT0 SWDIO,PA13 SWCLK,PA14 USER_B1,PC13 @@ -82,6 +82,3 @@ LED_GREEN,PA5 ,PC14 ,PC15 ,PD2 -,PF0 -,PF1 -,PF11 diff --git a/ports/stm32/boards/PYBLITEV10/pins.csv b/ports/stm32/boards/PYBLITEV10/pins.csv index 838587c1bc..4f5261c3f0 100644 --- a/ports/stm32/boards/PYBLITEV10/pins.csv +++ b/ports/stm32/boards/PYBLITEV10/pins.csv @@ -10,18 +10,18 @@ X9,PB6 X10,PB7 X11,PC4 X12,PC5 -X13,Reset -X14,GND -X15,3.3V -X16,VIN +#X13,Reset +#X14,GND +#X15,3.3V +#X16,VIN X17,PB3 X18,PC13 X19,PC0 X20,PC1 X21,PC2 X22,PC3 -X23,A3.3V -X24,AGND +#X23,A3.3V +#X24,AGND Y1,PC6 Y2,PC7 Y3,PB10 @@ -34,10 +34,10 @@ Y9,PA8 Y10,PB8 Y11,PB0 Y12,PB1 -Y13,Reset -Y14,GND -Y15,3.3V -Y16,VIN +#Y13,Reset +#Y14,GND +#Y15,3.3V +#Y16,VIN SW,PB3 LED_BLUE,PB4 LED_RED,PA13 diff --git a/ports/stm32/boards/PYBV10/pins.csv b/ports/stm32/boards/PYBV10/pins.csv index cee80a1aa1..dc3e48f138 100644 --- a/ports/stm32/boards/PYBV10/pins.csv +++ b/ports/stm32/boards/PYBV10/pins.csv @@ -10,18 +10,18 @@ X9,PB6 X10,PB7 X11,PC4 X12,PC5 -X13,Reset -X14,GND -X15,3.3V -X16,VIN +#X13,Reset +#X14,GND +#X15,3.3V +#X16,VIN X17,PB3 X18,PC13 X19,PC0 X20,PC1 X21,PC2 X22,PC3 -X23,A3.3V -X24,AGND +#X23,A3.3V +#X24,AGND Y1,PC6 Y2,PC7 Y3,PB8 @@ -34,10 +34,10 @@ Y9,PB10 Y10,PB11 Y11,PB0 Y12,PB1 -Y13,Reset -Y14,GND -Y15,3.3V -Y16,VIN +#Y13,Reset +#Y14,GND +#Y15,3.3V +#Y16,VIN SW,PB3 LED_RED,PA13 LED_GREEN,PA14 diff --git a/ports/stm32/boards/PYBV11/pins.csv b/ports/stm32/boards/PYBV11/pins.csv index cee80a1aa1..dc3e48f138 100644 --- a/ports/stm32/boards/PYBV11/pins.csv +++ b/ports/stm32/boards/PYBV11/pins.csv @@ -10,18 +10,18 @@ X9,PB6 X10,PB7 X11,PC4 X12,PC5 -X13,Reset -X14,GND -X15,3.3V -X16,VIN +#X13,Reset +#X14,GND +#X15,3.3V +#X16,VIN X17,PB3 X18,PC13 X19,PC0 X20,PC1 X21,PC2 X22,PC3 -X23,A3.3V -X24,AGND +#X23,A3.3V +#X24,AGND Y1,PC6 Y2,PC7 Y3,PB8 @@ -34,10 +34,10 @@ Y9,PB10 Y10,PB11 Y11,PB0 Y12,PB1 -Y13,Reset -Y14,GND -Y15,3.3V -Y16,VIN +#Y13,Reset +#Y14,GND +#Y15,3.3V +#Y16,VIN SW,PB3 LED_RED,PA13 LED_GREEN,PA14 diff --git a/ports/stm32/boards/PYBV4/pins.csv b/ports/stm32/boards/PYBV4/pins.csv index cee80a1aa1..dc3e48f138 100644 --- a/ports/stm32/boards/PYBV4/pins.csv +++ b/ports/stm32/boards/PYBV4/pins.csv @@ -10,18 +10,18 @@ X9,PB6 X10,PB7 X11,PC4 X12,PC5 -X13,Reset -X14,GND -X15,3.3V -X16,VIN +#X13,Reset +#X14,GND +#X15,3.3V +#X16,VIN X17,PB3 X18,PC13 X19,PC0 X20,PC1 X21,PC2 X22,PC3 -X23,A3.3V -X24,AGND +#X23,A3.3V +#X24,AGND Y1,PC6 Y2,PC7 Y3,PB8 @@ -34,10 +34,10 @@ Y9,PB10 Y10,PB11 Y11,PB0 Y12,PB1 -Y13,Reset -Y14,GND -Y15,3.3V -Y16,VIN +#Y13,Reset +#Y14,GND +#Y15,3.3V +#Y16,VIN SW,PB3 LED_RED,PA13 LED_GREEN,PA14 diff --git a/ports/stm32/boards/STM32F439/pins.csv b/ports/stm32/boards/STM32F439/pins.csv index cc9443dea5..5287dec097 100644 --- a/ports/stm32/boards/STM32F439/pins.csv +++ b/ports/stm32/boards/STM32F439/pins.csv @@ -44,7 +44,7 @@ PA10,PA10 PA11,PA11 PA12,PA12 PD2,PD2 -BOOT0,BOOT0 +#BOOT0,BOOT0 PA15,PA15 PA13,PA13 PA14,PA14 diff --git a/ports/stm32/boards/STM32H573I_DK/pins.csv b/ports/stm32/boards/STM32H573I_DK/pins.csv index 5672bc4922..5317d4da61 100644 --- a/ports/stm32/boards/STM32H573I_DK/pins.csv +++ b/ports/stm32/boards/STM32H573I_DK/pins.csv @@ -142,8 +142,8 @@ ,PI13 ,PI14 ,PI15 -LED1,G11 -LED2,G2 +LED1,PG11 +LED2,PG2 SW,PC13 UART3_TX,PB10 UART3_RX,PB11 diff --git a/ports/stm32/boards/STM32H7B3I_DK/pins.csv b/ports/stm32/boards/STM32H7B3I_DK/pins.csv index e005e38af7..68e8d1ac7b 100644 --- a/ports/stm32/boards/STM32H7B3I_DK/pins.csv +++ b/ports/stm32/boards/STM32H7B3I_DK/pins.csv @@ -144,8 +144,8 @@ ,PI15 DAC1,PA4 DAC2,PA5 -LED1,G11 -LED2,G2 +LED1,PG11 +LED2,PG2 SW,PC13 I2C1_SDA,PB9 I2C1_SCL,PB8 diff --git a/ports/stm32/boards/VCC_GND_F407VE/pins.csv b/ports/stm32/boards/VCC_GND_F407VE/pins.csv index f04d96771b..8d37e01b0d 100644 --- a/ports/stm32/boards/VCC_GND_F407VE/pins.csv +++ b/ports/stm32/boards/VCC_GND_F407VE/pins.csv @@ -1,9 +1,9 @@ -P1_1,GND -P1_2,GND -P1_3,VBAT -P1_4,VCC_3V3 -P1_5,VIN_5V -P1_6,VIN_5V +#P1_1,GND +#P1_2,GND +#P1_3,VBAT +#P1_4,VCC_3V3 +#P1_5,VIN_5V +#P1_6,VIN_5V P1_7,PE0 P1_8,PE1 P1_9,PE2 @@ -84,12 +84,12 @@ P3_27,PB6 P3_28,PB7 P3_29,PB8 P3_30,PB9 -P3_31,GND -P3_32,GND -P3_33,VCC_3V3 -P3_34,VCC_3V3 -P3_35,GND -P3_36,GND +#P3_31,GND +#P3_32,GND +#P3_33,VCC_3V3 +#P3_34,VCC_3V3 +#P3_35,GND +#P3_36,GND DAC1,PA4 DAC2,PA5 BLUE_LED,PB9 diff --git a/ports/stm32/boards/VCC_GND_F407ZG/pins.csv b/ports/stm32/boards/VCC_GND_F407ZG/pins.csv index 780523a075..f992c9ae5e 100644 --- a/ports/stm32/boards/VCC_GND_F407ZG/pins.csv +++ b/ports/stm32/boards/VCC_GND_F407ZG/pins.csv @@ -1,9 +1,9 @@ -P1_1,GND -P1_2,GND -P1_3,VBAT -P1_4,VCC_3V3 -P1_5,VIN_5V -P1_6,VIN_5V +#P1_1,GND +#P1_2,GND +#P1_3,VBAT +#P1_4,VCC_3V3 +#P1_5,VIN_5V +#P1_6,VIN_5V P1_7,PF2 P1_8,PF3 P1_9,PF4 @@ -40,8 +40,8 @@ P1_39,PG1 P1_40,PE7 P1_41,PE8 P1_42,PE9 -P1_43,GND -P1_44,GND +#P1_43,GND +#P1_44,GND P2_1,PG7 P2_2,PG6 P2_3,PG5 @@ -80,10 +80,10 @@ P3_9,PE3 P3_10,PE2 P3_11,PE1 P3_12,PE0 -P4_1,GND -P4_2,GND -P4_3,VCC_3V3 -P4_4,VCC_3V3 +#P4_1,GND +#P4_2,GND +#P4_3,VCC_3V3 +#P4_4,VCC_3V3 P4_5,PB9 P4_6,PB8 P4_7,PB7 @@ -122,8 +122,8 @@ P4_39,PC8 P4_40,PC7 P4_41,PC6 P4_42,PG8 -P4_43,GND -P4_44,GND +#P4_43,GND +#P4_44,GND DAC1,PA4 DAC2,PA5 SRAM_CS,PG10 diff --git a/ports/stm32/boards/stm32h743_af.csv b/ports/stm32/boards/stm32h743_af.csv index 32e67e2bdc..4b8ef6afdd 100644 --- a/ports/stm32/boards/stm32h743_af.csv +++ b/ports/stm32/boards/stm32h743_af.csv @@ -92,8 +92,8 @@ PortF,PF8,,TIM16_CH1N,,,,SPI5_MISO,SAI1_SCK_B,UART7_RTS,SAI4_SCK_B,TIM13_CH1,QUA PortF,PF9,,TIM17_CH1N,,,,SPI5_MOSI,SAI1_FS_B,UART7_CTS,SAI4_FS_B,TIM14_CH1,QUADSPI_BK1_IO1,,,,,EVENTOUT,ADC3_INP2 PortF,PF10,,TIM16_BKIN,SAI1_D3,,,,,,,QUADSPI_CLK,SAI4_D3,,,DCMI_D11,LCD_DE,EVENTOUT,ADC3_INN2/ADC3_INP6 PortF,PF11,,,,,,SPI5_MOSI,,,,,SAI2_SD_B,,FMC_SDNRAS,DCMI_D12,,EVENTOUT,ADC1_INP2 -PortF,PF12,,,,,,,,,,,,,FMC_A6,,,EVENTOUT,ADC1_INN2/DC1_INP6 -PortF,PF13,,,,DFSDM_DATIN6,I2C4_SMBA,,,,,,,,FMC_A7,,,EVENTOUT,ACD2_INP2 +PortF,PF12,,,,,,,,,,,,,FMC_A6,,,EVENTOUT,ADC1_INN2/ADC1_INP6 +PortF,PF13,,,,DFSDM_DATIN6,I2C4_SMBA,,,,,,,,FMC_A7,,,EVENTOUT,ADC2_INP2 PortF,PF14,,,,DFSDM_CKIN6,I2C4_SCL,,,,,,,,FMC_A8,,,EVENTOUT,ADC2_INN2/ADC2_INP6 PortF,PF15,,,,,I2C4_SDA,,,,,,,,FMC_A9,,,EVENTOUT, PortG,PG0,,,,,,,,,,,,,FMC_A10,,,EVENTOUT, diff --git a/ports/stm32/boards/stm32h7b3_af.csv b/ports/stm32/boards/stm32h7b3_af.csv index 0e1747161f..e14ff481e8 100644 --- a/ports/stm32/boards/stm32h7b3_af.csv +++ b/ports/stm32/boards/stm32h7b3_af.csv @@ -1,7 +1,6 @@ Port,,AF0,AF1,AF2,AF3,AF4,AF5,AF6,AF7,AF8,AF9,AF10,AF11,AF12,AF13,AF14,AF15, ,,AF0,AF1,AF2,AF3,AF4,AF5,AF6,AF7,AF8,AF9,AF10,AF11,AF12,AF13,AF14,AF15,ADC PortA,PA0,,TIM2_CH1/TIM2_ETR,TIM5_CH1,TIM8_ETR,TIM15_BKIN,I2S6_WS/SPI6_NSS,,USART2_CTS/USART2_NSS,UART4_TX,SDMMC2_CMD,SAI2_SD_B,,,,,EVENTOUT/EVENTOUT,ADC1_INP16, -PortA,PA0_C,,TIM2_CH1/TIM2_ETR,TIM5_CH1,TIM8_ETR,TIM15_BKIN,I2S6_WS/SPI6_NSS,,USART2_CTS/USART2_NSS,UART4_TX,SDMMC2_CMD,SAI2_SD_B,,,,,EVENTOUT/EVENTOUT,ADC1_INP16, PortA,PA1,,TIM2_CH2,TIM5_CH2,LPTIM3_OUT,TIM15_CH1N,,,USART2_DE/USART2_RTS,UART4_RX,OCTOSPIM_P1_IO3,SAI2_MCLK_B,OCTOSPIM_P1_DQS,,,LTDC_R2,EVENTOUT/EVENTOUT,ADC1_INN16/ADC1_INP17, PortA,PA10,,TIM1_CH3,,LPUART1_RX,,,,USART1_RX,,,USB_OTG_HS_ID,MDIOS_MDIO,LTDC_B4,DCMI_D1/PSSI_D1,LTDC_B1,EVENTOUT/EVENTOUT,, PortA,PA11,,TIM1_CH4,,LPUART1_CTS,,I2S2_WS/SPI2_NSS,UART4_RX,USART1_CTS/USART1_NSS,,FDCAN1_RX,,,,,LTDC_R4,EVENTOUT/EVENTOUT,, @@ -9,7 +8,6 @@ PortA,PA12,,TIM1_ETR,,LPUART1_DE/LPUART1_RTS,,I2S2_CK/SPI2_SCK,UART4_TX,USART1_D PortA,PA13,DEBUG_JTMS/SWDIO,,,,,,,,,,,,,,,EVENTOUT/EVENTOUT,, PortA,PA14,DEBUG_JTCK/SWCLK,,,,,,,,,,,,,,,EVENTOUT/EVENTOUT,, PortA,PA15,DEBUG_JTDI,TIM2_CH1/TIM2_ETR,,,CEC,I2S1_WS/SPI1_NSS,I2S3_WS/SPI3_NSS,I2S6_WS/SPI6_NSS,UART4_DE/UART4_RTS,LTDC_R3,,UART7_TX,,,LTDC_B6,EVENTOUT/EVENTOUT,, -PortA,PA1_C,,TIM2_CH2,TIM5_CH2,LPTIM3_OUT,TIM15_CH1N,,,USART2_DE/USART2_RTS,UART4_RX,OCTOSPIM_P1_IO3,SAI2_MCLK_B,OCTOSPIM_P1_DQS,,,LTDC_R2,EVENTOUT/EVENTOUT,ADC1_INN16/ADC1_INP17, PortA,PA2,,TIM2_CH3,TIM5_CH3,,TIM15_CH1,,DFSDM2_CKIN1,USART2_TX,SAI2_SCK_B,,,,MDIOS_MDIO,,LTDC_R1,EVENTOUT/EVENTOUT,ADC1_INP14, PortA,PA3,,TIM2_CH4,TIM5_CH4,OCTOSPIM_P1_CLK,TIM15_CH2,I2S6_MCK,,USART2_RX,,LTDC_B2,USB_OTG_HS_ULPI_D0,,,,LTDC_B5,EVENTOUT/EVENTOUT,ADC1_INP15, PortA,PA4,,,TIM5_ETR,,,I2S1_WS/SPI1_NSS,I2S3_WS/SPI3_NSS,USART2_CK,I2S6_WS/SPI6_NSS,,,,,DCMI_HSYNC/PSSI_DE,LTDC_VSYNC,EVENTOUT/EVENTOUT,ADC1_INP18, @@ -40,12 +38,10 @@ PortC,PC10,,,,DFSDM1_CKIN5,DFSDM2_CKIN0,,I2S3_CK/SPI3_SCK,USART3_TX,UART4_TX,OCT PortC,PC11,,,,DFSDM1_DATIN5,DFSDM2_DATIN0,,I2S3_SDI/SPI3_MISO,USART3_RX,UART4_RX,OCTOSPIM_P1_NCS,,,SDMMC1_D3,DCMI_D4/PSSI_D4,LTDC_B4,EVENTOUT/EVENTOUT,, PortC,PC12,DEBUG_TRACED3,,TIM15_CH1,,DFSDM2_CKOUT,I2S6_CK/SPI6_SCK,I2S3_SDO/SPI3_MOSI,USART3_CK,UART5_TX,,,,SDMMC1_CK,DCMI_D9/PSSI_D9,LTDC_R6,EVENTOUT/EVENTOUT,, PortC,PC13,,,,,,,,,,,,,,,,EVENTOUT/EVENTOUT,, -PortC,PC14-OSC32_IN,,,,,,,,,,,,,,,,EVENTOUT/EVENTOUT,, -PortC,PC15-OSC32_OUT,,,,,,,,,,,,,,,,EVENTOUT/EVENTOUT,, +PortC,PC14,,,,,,,,,,,,,,,,EVENTOUT/EVENTOUT,, +PortC,PC15,,,,,,,,,,,,,,,,EVENTOUT/EVENTOUT,, PortC,PC2,PWR_CSTOP,,,DFSDM1_CKIN1,,I2S2_SDI/SPI2_MISO,DFSDM1_CKOUT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