mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-21 01:47:09 +08:00
[arduino] add F_CPU to indicate the frequency of CPU
This commit is contained in:
parent
36f142fbc3
commit
b0364da7e3
@ -38,6 +38,7 @@
|
||||
#define A6 (23)
|
||||
#define A7 (24)
|
||||
|
||||
#define F_CPU 48000000L /* CPU: 48MHz */
|
||||
#define LED_BUILTIN D13 /* Default Built-in LED */
|
||||
|
||||
#define RTDUINO_DEFAULT_IIC_BUS_NAME "i2c1"
|
||||
|
@ -38,6 +38,7 @@
|
||||
#define A6 (23)
|
||||
#define A7 (24)
|
||||
|
||||
#define F_CPU 84000000L /* CPU: 84MHz */
|
||||
#define LED_BUILTIN D13 /* Default Built-in LED */
|
||||
|
||||
#define RTDUINO_DEFAULT_IIC_BUS_NAME "i2c1"
|
||||
|
@ -44,6 +44,7 @@
|
||||
#define A3 (29)
|
||||
#define DAC0 (30)
|
||||
|
||||
#define F_CPU 80000000L /* CPU: 80MHz */
|
||||
#define LED_BUILTIN D22 /* Default Built-in LED */
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user