diff --git a/bsp/essemi/es32f369x/applications/arduino_pinout/pins_arduino.h b/bsp/essemi/es32f369x/applications/arduino_pinout/pins_arduino.h index 645a7293c6..d481286e3d 100644 --- a/bsp/essemi/es32f369x/applications/arduino_pinout/pins_arduino.h +++ b/bsp/essemi/es32f369x/applications/arduino_pinout/pins_arduino.h @@ -46,6 +46,8 @@ #define A4 (29) #define A5 (30) +#define RTDUINO_PIN_MAX_LIMIT A5 /* pin number max limit check */ + #define F_CPU 96000000L /* CPU: 96MHz */ #define RTDUINO_DEFAULT_IIC_BUS_NAME "i2c0" diff --git a/bsp/essemi/es32vf2264/applications/arduino_pinout/pins_arduino.h b/bsp/essemi/es32vf2264/applications/arduino_pinout/pins_arduino.h index 47deb3abbf..72fa66c7d7 100644 --- a/bsp/essemi/es32vf2264/applications/arduino_pinout/pins_arduino.h +++ b/bsp/essemi/es32vf2264/applications/arduino_pinout/pins_arduino.h @@ -43,8 +43,10 @@ #define D27 (27) #define D28 (28) -#define A0 (25) -#define A1 (26) +#define A0 (29) +#define A1 (30) + +#define RTDUINO_PIN_MAX_LIMIT A1 /* pin number max limit check */ #define F_CPU 72000000L /* CPU: 72MHz */ diff --git a/bsp/lpc55sxx/lpc55s69_nxp_evk/applications/arduino_pinout/pins_arduino.h b/bsp/lpc55sxx/lpc55s69_nxp_evk/applications/arduino_pinout/pins_arduino.h index 22dbc3b4e3..803f98dbe1 100644 --- a/bsp/lpc55sxx/lpc55s69_nxp_evk/applications/arduino_pinout/pins_arduino.h +++ b/bsp/lpc55sxx/lpc55s69_nxp_evk/applications/arduino_pinout/pins_arduino.h @@ -38,6 +38,8 @@ #define A6 (22) #define A7 (23) +#define RTDUINO_PIN_MAX_LIMIT A7 /* pin number max limit check */ + #define F_CPU 150000000L /* CPU:150MHz */ /* i2c1 : P(,13-SDA P(,14-SCL */ diff --git a/bsp/raspberry-pico/applications/arduino_pinout/pins_arduino.h b/bsp/raspberry-pico/applications/arduino_pinout/pins_arduino.h index efd89587f4..4c1b8c1f6d 100644 --- a/bsp/raspberry-pico/applications/arduino_pinout/pins_arduino.h +++ b/bsp/raspberry-pico/applications/arduino_pinout/pins_arduino.h @@ -42,6 +42,8 @@ #define A1 (27) #define A2 (28) +#define RTDUINO_PIN_MAX_LIMIT A2 /* pin number max limit check */ + #define F_CPU 133000000L /* CPU:133MHz */ #define LED_BUILTIN D25 /* Default Built-in LED */ diff --git a/bsp/stm32/stm32f072-st-nucleo/applications/arduino_pinout/pins_arduino.h b/bsp/stm32/stm32f072-st-nucleo/applications/arduino_pinout/pins_arduino.h index 17c4c7e42e..eb9c102217 100644 --- a/bsp/stm32/stm32f072-st-nucleo/applications/arduino_pinout/pins_arduino.h +++ b/bsp/stm32/stm32f072-st-nucleo/applications/arduino_pinout/pins_arduino.h @@ -38,6 +38,8 @@ #define A6 (23) #define A7 (24) +#define RTDUINO_PIN_MAX_LIMIT A7 /* pin number max limit check */ + #define F_CPU 48000000L /* CPU:48MHz */ #define LED_BUILTIN D13 /* Default Built-in LED */ diff --git a/bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/pins_arduino.h b/bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/pins_arduino.h index ff004815e6..09aced045a 100644 --- a/bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/pins_arduino.h +++ b/bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/pins_arduino.h @@ -47,6 +47,8 @@ #define A5 (32) #define A6 (33) +#define RTDUINO_PIN_MAX_LIMIT A6 /* pin number max limit check */ + #define F_CPU 72000000L /* CPU:72MHz */ #define LED_BUILTIN D8 /* Default Built-in LED */ diff --git a/bsp/stm32/stm32f401-weact-blackpill/applications/arduino_pinout/pins_arduino.h b/bsp/stm32/stm32f401-weact-blackpill/applications/arduino_pinout/pins_arduino.h index ce27cd7a7d..464900f466 100644 --- a/bsp/stm32/stm32f401-weact-blackpill/applications/arduino_pinout/pins_arduino.h +++ b/bsp/stm32/stm32f401-weact-blackpill/applications/arduino_pinout/pins_arduino.h @@ -47,6 +47,8 @@ #define A8 (32) #define A9 (33) +#define RTDUINO_PIN_MAX_LIMIT A9 /* pin number max limit check */ + #define F_CPU 84000000L /* CPU:84MHz */ #define LED_BUILTIN D0 /* Default Built-in LED */ diff --git a/bsp/stm32/stm32f407-robomaster-c/applications/arduino_pinout/pins_arduino.h b/bsp/stm32/stm32f407-robomaster-c/applications/arduino_pinout/pins_arduino.h index 731b7761c2..b88d64ce55 100644 --- a/bsp/stm32/stm32f407-robomaster-c/applications/arduino_pinout/pins_arduino.h +++ b/bsp/stm32/stm32f407-robomaster-c/applications/arduino_pinout/pins_arduino.h @@ -29,6 +29,8 @@ #define A0 (14) #define A1 (15) +#define RTDUINO_PIN_MAX_LIMIT A1 /* pin number max limit check */ + #define F_CPU 168000000L /* CPU:168MHz */ #define LED_BUILTIN D0 /* Default Built-in LED */ diff --git a/bsp/stm32/stm32f410-st-nucleo/applications/arduino_pinout/pins_arduino.h b/bsp/stm32/stm32f410-st-nucleo/applications/arduino_pinout/pins_arduino.h index 80af675726..f9def34705 100644 --- a/bsp/stm32/stm32f410-st-nucleo/applications/arduino_pinout/pins_arduino.h +++ b/bsp/stm32/stm32f410-st-nucleo/applications/arduino_pinout/pins_arduino.h @@ -38,6 +38,8 @@ #define A6 (23) #define A7 (24) +#define RTDUINO_PIN_MAX_LIMIT A7 /* pin number max limit check */ + #define F_CPU 84000000L /* CPU:84MHz */ #define LED_BUILTIN D13 /* Default Built-in LED */ diff --git a/bsp/stm32/stm32f411-weact-blackpill/applications/arduino_pinout/pins_arduino.h b/bsp/stm32/stm32f411-weact-blackpill/applications/arduino_pinout/pins_arduino.h index 0f9f6a8d2c..2f535cb9a0 100644 --- a/bsp/stm32/stm32f411-weact-blackpill/applications/arduino_pinout/pins_arduino.h +++ b/bsp/stm32/stm32f411-weact-blackpill/applications/arduino_pinout/pins_arduino.h @@ -47,6 +47,8 @@ #define A8 (32) #define A9 (33) +#define RTDUINO_PIN_MAX_LIMIT A9 /* pin number max limit check */ + #define F_CPU 60000000L /* CPU:60MHz */ #define LED_BUILTIN D0 /* Default Built-in LED */ diff --git a/bsp/stm32/stm32f427-robomaster-a/applications/arduino_pinout/pins_arduino.h b/bsp/stm32/stm32f427-robomaster-a/applications/arduino_pinout/pins_arduino.h index 7c67673d1d..261c0d4678 100644 --- a/bsp/stm32/stm32f427-robomaster-a/applications/arduino_pinout/pins_arduino.h +++ b/bsp/stm32/stm32f427-robomaster-a/applications/arduino_pinout/pins_arduino.h @@ -59,6 +59,8 @@ #define A0 (44) #define A1 (45) +#define RTDUINO_PIN_MAX_LIMIT A1 /* pin number max limit check */ + #define F_CPU 180000000L /* CPU:180MHz */ #define LED_BUILTIN D0 /* Default Built-in LED */ diff --git a/bsp/stm32/stm32f469-st-disco/applications/arduino_pinout/pins_arduino.h b/bsp/stm32/stm32f469-st-disco/applications/arduino_pinout/pins_arduino.h index 07718be63c..c05a53dad5 100644 --- a/bsp/stm32/stm32f469-st-disco/applications/arduino_pinout/pins_arduino.h +++ b/bsp/stm32/stm32f469-st-disco/applications/arduino_pinout/pins_arduino.h @@ -42,6 +42,8 @@ #define A6 (27) #define A7 (28) +#define RTDUINO_PIN_MAX_LIMIT A7 /* pin number max limit check */ + #define F_CPU 180000000L /* CPU:180MHz */ #define LED_BUILTIN D13 /* Default Built-in LED */ diff --git a/bsp/stm32/stm32g474-st-nucleo/applications/arduino_pinout/pins_arduino.h b/bsp/stm32/stm32g474-st-nucleo/applications/arduino_pinout/pins_arduino.h index c6a5abda47..1219fd4226 100644 --- a/bsp/stm32/stm32g474-st-nucleo/applications/arduino_pinout/pins_arduino.h +++ b/bsp/stm32/stm32g474-st-nucleo/applications/arduino_pinout/pins_arduino.h @@ -38,6 +38,8 @@ #define A6 (23) #define A7 (24) +#define RTDUINO_PIN_MAX_LIMIT A7 /* pin number max limit check */ + #define F_CPU 170000000L /* CPU:170MHz */ #define LED_BUILTIN D13 /* Default Built-in LED */ diff --git a/bsp/stm32/stm32l431-BearPi/applications/arduino_pinout/pins_arduino.h b/bsp/stm32/stm32l431-BearPi/applications/arduino_pinout/pins_arduino.h index bf7a392888..384373f737 100644 --- a/bsp/stm32/stm32l431-BearPi/applications/arduino_pinout/pins_arduino.h +++ b/bsp/stm32/stm32l431-BearPi/applications/arduino_pinout/pins_arduino.h @@ -30,6 +30,8 @@ #define A2 (15) #define DAC0 (16) +#define RTDUINO_PIN_MAX_LIMIT DAC0 /* pin number max limit check */ + #define F_CPU 80000000L /* CPU:80MHz */ /* i2c1 : PB7-SDA PB6-SCL */ diff --git a/bsp/stm32/stm32u575-st-nucleo/applications/arduino_pinout/pins_arduino.h b/bsp/stm32/stm32u575-st-nucleo/applications/arduino_pinout/pins_arduino.h index 3b91474eb8..0d460404f8 100644 --- a/bsp/stm32/stm32u575-st-nucleo/applications/arduino_pinout/pins_arduino.h +++ b/bsp/stm32/stm32u575-st-nucleo/applications/arduino_pinout/pins_arduino.h @@ -35,6 +35,8 @@ #define A4 (20) #define A5 (21) +#define RTDUINO_PIN_MAX_LIMIT A5 /* pin number max limit check */ + #define F_CPU 160000000L /* CPU:160MHz */ /* i2c1 : PB9-SDA PB8-SCL */ diff --git a/bsp/wch/risc-v/ch32v208w-r0/applications/arduino_pinout/pins_arduino.h b/bsp/wch/risc-v/ch32v208w-r0/applications/arduino_pinout/pins_arduino.h index 62c7e2205b..73f082e645 100644 --- a/bsp/wch/risc-v/ch32v208w-r0/applications/arduino_pinout/pins_arduino.h +++ b/bsp/wch/risc-v/ch32v208w-r0/applications/arduino_pinout/pins_arduino.h @@ -35,6 +35,8 @@ #define A4 (20) #define A5 (21) +#define RTDUINO_PIN_MAX_LIMIT A5 /* pin number max limit check */ + #define F_CPU 144000000L /* CPU:144MHz */ #define LED_BUILTIN D8 diff --git a/bsp/wch/risc-v/ch32v307v-r1/applications/arduino_pinout/pins_arduino.h b/bsp/wch/risc-v/ch32v307v-r1/applications/arduino_pinout/pins_arduino.h index b321f21682..90c19c0383 100644 --- a/bsp/wch/risc-v/ch32v307v-r1/applications/arduino_pinout/pins_arduino.h +++ b/bsp/wch/risc-v/ch32v307v-r1/applications/arduino_pinout/pins_arduino.h @@ -35,6 +35,8 @@ #define A4 (20) #define A5 (21) +#define RTDUINO_PIN_MAX_LIMIT A5 /* pin number max limit check */ + #define F_CPU 144000000L /* CPU:144MHz */ /* i2c1 : PB1-SDA PB10-SCL */