mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-23 05:23:50 +01:00
boards: removed F_CPU define from board.h
This commit is contained in:
parent
dda721ca06
commit
b436219674
@ -27,11 +27,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @name Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU (16000000UL)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Xtimer configuration
|
* @brief Xtimer configuration
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -28,11 +28,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU (84000000UL)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name LED pin definitions
|
* @name LED pin definitions
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -28,11 +28,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU (16000000L)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief As the CPU is too slow to handle 115200 baud, we set the default
|
* @brief As the CPU is too slow to handle 115200 baud, we set the default
|
||||||
* baudrate to 9600 for this board
|
* baudrate to 9600 for this board
|
||||||
|
|||||||
@ -27,11 +27,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU XOSC32M_FREQ
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name Macros for controlling the on-board LEDs.
|
* @name Macros for controlling the on-board LEDs.
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -29,11 +29,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU CLOCK_CORECLOCK
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name LED pin definitions
|
* @name LED pin definitions
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -33,11 +33,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU CLOCK_CORECLOCK
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name Define the interface to the AT86RF231 radio
|
* @name Define the interface to the AT86RF231 radio
|
||||||
*
|
*
|
||||||
|
|||||||
@ -30,11 +30,6 @@ extern "C"
|
|||||||
{
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU CLOCK_CORECLOCK
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name LED pin definitions
|
* @name LED pin definitions
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -33,11 +33,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @name Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU CLOCK_CORECLOCK
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name Set the default baudrate to 500K for this board
|
* @name Set the default baudrate to 500K for this board
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -30,12 +30,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @name Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU CLOCK_CORECLOCK
|
|
||||||
/** @} */
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name LED pin definitions
|
* @name LED pin definitions
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -32,11 +32,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief The nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU (96000000)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name LED pin definitions
|
* @name LED pin definitions
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -28,11 +28,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU CLOCK_CORECLOCK
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name Configure connected CC1101 (radio) device
|
* @name Configure connected CC1101 (radio) device
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -30,8 +30,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define F_CPU 1000000
|
|
||||||
|
|
||||||
void _native_LED_GREEN_OFF(void);
|
void _native_LED_GREEN_OFF(void);
|
||||||
#define LED_GREEN_OFF (_native_LED_GREEN_OFF())
|
#define LED_GREEN_OFF (_native_LED_GREEN_OFF())
|
||||||
void _native_LED_GREEN_ON(void);
|
void _native_LED_GREEN_ON(void);
|
||||||
|
|||||||
@ -28,11 +28,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU (CLOCK_CORECLOCK)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name LED pin definitions
|
* @name LED pin definitions
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -29,11 +29,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @name Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU (16000000UL)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name LED pin definitions
|
* @name LED pin definitions
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -30,11 +30,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @name Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU CLOCK_CORECLOCK
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name LED pin definitions
|
* @name LED pin definitions
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -30,15 +30,10 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @name Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU CLOCK_CORECLOCK
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Use the 2nd UART for STDIO on this board
|
* @brief Use the 2nd UART for STDIO on this board
|
||||||
*/
|
*/
|
||||||
#define STDIO UART_1
|
#define STDIO UART_DEV(1)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name LED pin definitions
|
* @name LED pin definitions
|
||||||
|
|||||||
@ -32,11 +32,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @name Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU CLOCK_CORECLOCK
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name LED pin definitions
|
* @name LED pin definitions
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -30,11 +30,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @name Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU CLOCK_CORECLOCK
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name LED pin definitions
|
* @name LED pin definitions
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -28,11 +28,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @name Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU CLOCK_CORECLOCK
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name xtimer configuration
|
* @name xtimer configuration
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -30,11 +30,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @name Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU CLOCK_CORECLOCK
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name xtimer configuration
|
* @name xtimer configuration
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -28,11 +28,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @name The nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU (32000000UL)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name LED pin definitions
|
* @name LED pin definitions
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -30,11 +30,6 @@ extern "C"
|
|||||||
{
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU CLOCK_CORECLOCK
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name LED pin definitions
|
* @name LED pin definitions
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -28,11 +28,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU (16000000UL)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Xtimer configuration
|
* @brief Xtimer configuration
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -28,11 +28,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @name Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU (16000000UL)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Xtimer configuration
|
* @brief Xtimer configuration
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -30,11 +30,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @name The nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU (32000000UL)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name LED pin definitions
|
* @name LED pin definitions
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -27,11 +27,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU (16000000UL)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name LED pin definitions
|
* @name LED pin definitions
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -30,11 +30,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU (CLOCK_CORECLOCK)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Assign the hardware timer
|
* Assign the hardware timer
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -30,11 +30,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU (CLOCK_CORECLOCK)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Assign the hardware timer
|
* @brief Assign the hardware timer
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -30,11 +30,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @name Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU CLOCK_CORECLOCK
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name Define the location of the RIOT image in flash
|
* @name Define the location of the RIOT image in flash
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -27,11 +27,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @name The nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU (48000000UL)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name LED pin definitions
|
* @name LED pin definitions
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -27,11 +27,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU (72000000UL)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name LED pin definitions
|
* @name LED pin definitions
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -28,11 +28,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU CLOCK_CORECLOCK
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name xtimer configuration
|
* @name xtimer configuration
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -28,11 +28,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU (84000000UL)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name LED pin definitions
|
* @name LED pin definitions
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -30,11 +30,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief The nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU (48000000)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name LED pin definitions
|
* @name LED pin definitions
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -27,11 +27,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @name Define the nominal CPU core clock in this board
|
|
||||||
*/
|
|
||||||
#define F_CPU (16000000UL)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Xtimer configuration
|
* @brief Xtimer configuration
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user