[stm32][RTduino] limit pin max number check

This commit is contained in:
Meco Man 2023-07-06 19:21:45 -04:00 committed by Man, Jianting (Meco)
parent 4f1f96bbce
commit a87b399848
4 changed files with 8 additions and 0 deletions

View File

@ -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 */

View File

@ -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 */

View File

@ -59,6 +59,8 @@
#define A3 (43)
#define DAC0 (44)
#define RTDUINO_PIN_MAX_LIMIT DAC0 /* pin number max limit check */
#define F_CPU 80000000L /* CPU:80MHz */
#define LED_BUILTIN D22 /* Default Built-in LED */

View File

@ -38,6 +38,8 @@
#define A6 (23)
#define A7 (24)
#define RTDUINO_PIN_MAX_LIMIT A7 /* pin number max limit check */
#define F_CPU 80000000L /* CPU:80MHz */
/* i2c1 : PB9-SDA PB8-SCL */