mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
global: renamed cpu-conf.h into cpu_conf.h
This commit is contained in:
parent
6e8096c4ea
commit
9943f51080
@ -25,7 +25,7 @@
|
||||
#include "ltc4150_arch.h"
|
||||
|
||||
#include "cpu.h"
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "hwtimer.h"
|
||||
#include "irq.h"
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
#ifndef __PERIPH_CONF_H
|
||||
#define __PERIPH_CONF_H
|
||||
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#include "lpc2387.h"
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -22,7 +22,7 @@
|
||||
#define __BOARD_H
|
||||
|
||||
#include "cpu.h"
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -54,7 +54,7 @@ extern "C" {
|
||||
* is not set, this check is not performed. (CPU exception may occur)
|
||||
*/
|
||||
#if DEVELHELP
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
#define DEBUG_PRINT(...) \
|
||||
do { \
|
||||
if ((sched_active_thread == NULL) || (sched_active_thread->stack_size > THREAD_EXTRA_STACKSIZE_PRINTF)) { \
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include "cpu.h"
|
||||
#include "flags.h"
|
||||
#include "sched.h"
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -25,7 +25,7 @@
|
||||
#ifndef __ATMEGA_COMMON_H
|
||||
#define __ATMEGA_COMMON_H
|
||||
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
#include <avr/interrupt.h>
|
||||
|
||||
/**
|
||||
|
@ -25,7 +25,7 @@
|
||||
#ifndef __CPU_H
|
||||
#define __CPU_H
|
||||
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
|
||||
|
||||
/**
|
||||
|
@ -31,7 +31,7 @@
|
||||
*/
|
||||
#define ARCH_HAS_ATOMIC_COMPARE_AND_SWAP 1
|
||||
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
|
||||
/**
|
||||
* For downwards compatibility with old RIOT code.
|
||||
|
@ -31,7 +31,7 @@
|
||||
*/
|
||||
#define ARCH_HAS_ATOMIC_COMPARE_AND_SWAP 1
|
||||
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
|
||||
/**
|
||||
* For downwards compatibility with old RIOT code.
|
||||
|
@ -20,7 +20,7 @@
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
|
||||
#include "periph/cpuid.h"
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#include "arch/hwtimer_arch.h"
|
||||
#include "hwtimer_cpu.h"
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "thread.h"
|
||||
|
||||
#define ENABLE_DEBUG (0)
|
||||
@ -30,7 +30,7 @@
|
||||
#define LPTMR_MAXTICKS (0x0000FFFF)
|
||||
|
||||
#ifndef LPTIMER_CNR_NEEDS_LATCHING
|
||||
#warning LPTIMER_CNR_NEEDS_LATCHING is not defined in cpu-conf.h! Defaulting to 1
|
||||
#warning LPTIMER_CNR_NEEDS_LATCHING is not defined in cpu_conf.h! Defaulting to 1
|
||||
#define LPTIMER_CNR_NEEDS_LATCHING 1
|
||||
#endif
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
* Possibly, additional settings in System Integration Module are necessary.
|
||||
* Please consult the Reference Manual of your MCU for proper clock settings.
|
||||
*
|
||||
* ### LPTMR Configuration Example (for cpu-conf.h) ###
|
||||
* ### LPTMR Configuration Example (for cpu_conf.h) ###
|
||||
*
|
||||
* #define LPTIMER_CLKSRC LPTIMER_CLKSRC_LPO
|
||||
* #define LPTIMER_CLKEN() (SIM->SCGC5 |= SIM_SCGC5_LPTMR_MASK)
|
||||
@ -48,7 +48,7 @@
|
||||
#ifndef __HWTIMER_CPU_H
|
||||
#define __HWTIMER_CPU_H
|
||||
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
|
@ -100,7 +100,7 @@
|
||||
#ifndef __MCG_CPU_H
|
||||
#define __MCG_CPU_H
|
||||
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "periph_conf.h"
|
||||
|
||||
#if KINETIS_CPU_USE_MCG
|
||||
|
@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "wdog.h"
|
||||
|
||||
/**
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include "wdog.h"
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "periph_conf.h"
|
||||
|
||||
#ifndef KINETIS_WDOG_ADVANCED
|
||||
|
@ -20,7 +20,7 @@
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
|
||||
#define FLASH_BASE (0x00000000)
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "fault_handlers.h"
|
||||
|
||||
/**
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
#include "sched.h"
|
||||
#include "msp430_types.h"
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -39,7 +39,7 @@
|
||||
|
||||
#include "hwtimer_cpu.h"
|
||||
#include "cpu.h"
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "native_internal.h"
|
||||
|
||||
#define ENABLE_DEBUG (0)
|
||||
|
@ -47,7 +47,7 @@
|
||||
#include "sched.h"
|
||||
|
||||
#include "cpu.h"
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
#ifdef MODULE_NATIVENET
|
||||
#include "tap.h"
|
||||
#endif
|
||||
|
@ -48,7 +48,7 @@
|
||||
#include "debug.h"
|
||||
|
||||
#include "cpu.h"
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "tap.h"
|
||||
#include "nativenet.h"
|
||||
#include "nativenet_internal.h"
|
||||
|
@ -19,7 +19,7 @@
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "native_internal.h"
|
||||
|
||||
#include "periph/cpuid.h"
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include <fcntl.h>
|
||||
|
||||
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "native_internal.h"
|
||||
|
||||
#include "periph/random.h"
|
||||
|
@ -30,13 +30,13 @@ extern "C" {
|
||||
* @name Kernel configuration
|
||||
* @{
|
||||
*/
|
||||
#define THREAD_EXTRA_STACKSIZE_PRINTF (512)
|
||||
#define THREAD_EXTRA_STACKSIZE_PRINTF (512)
|
||||
|
||||
#ifndef THREAD_STACKSIZE_DEFAULT
|
||||
#define THREAD_STACKSIZE_DEFAULT (1024)
|
||||
#define THREAD_STACKSIZE_DEFAULT (1024)
|
||||
#endif
|
||||
|
||||
#define THREAD_STACKSIZE_IDLE (256)
|
||||
#define THREAD_STACKSIZE_IDLE (256)
|
||||
/** @} */
|
||||
|
||||
/**
|
@ -23,7 +23,6 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "cpu.h"
|
||||
#include "cpu-conf.h"
|
||||
#include "periph/cpuid.h"
|
||||
|
||||
void cpuid_get(void *id)
|
||||
|
@ -18,7 +18,6 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "cpu-conf.h"
|
||||
#include "periph/cpuid.h"
|
||||
|
||||
#define SAMD21_CPUID_WORD0 (*(volatile uint32_t *)0x0080A00C)
|
||||
|
@ -24,7 +24,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "panic.h"
|
||||
|
||||
/**
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "periph/cpuid.h"
|
||||
|
||||
#define SAML21_CPUID_WORD0 (*(volatile uint32_t *)0x0080A00C)
|
||||
|
@ -17,7 +17,6 @@
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include "cpu-conf.h"
|
||||
|
||||
#include "periph/cpuid.h"
|
||||
|
||||
|
@ -17,7 +17,6 @@
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include "cpu-conf.h"
|
||||
|
||||
#include "periph/cpuid.h"
|
||||
|
||||
|
@ -17,7 +17,6 @@
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include "cpu-conf.h"
|
||||
|
||||
#include "periph/cpuid.h"
|
||||
|
||||
|
@ -17,7 +17,6 @@
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include "cpu-conf.h"
|
||||
|
||||
#include "periph/cpuid.h"
|
||||
|
||||
|
@ -17,7 +17,6 @@
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include "cpu-conf.h"
|
||||
|
||||
#include "periph/cpuid.h"
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include "attributes.h"
|
||||
#include "irq.h"
|
||||
#include "ucontext.h"
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
@ -135,7 +135,7 @@
|
||||
* will probably crash. The minimum stack size depends also on some RIOT
|
||||
* internal structs and is hardware dependent. In order to help developers
|
||||
* finding the right stack size, RIOT defines some typical stack sizes in
|
||||
* `cpu-conf.` (which should be provided by the implementation for all
|
||||
* `cpu_conf.` (which should be provided by the implementation for all
|
||||
* supported MCUs). The constants for these stack sizes are
|
||||
*
|
||||
* * `THREAD_STACKSIZE_IDLE`
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include "msg.h"
|
||||
#include "transceiver.h"
|
||||
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "cpu.h"
|
||||
|
||||
#ifdef MODULE_NETDEV_BASE
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "msg.h"
|
||||
#include "transceiver.h"
|
||||
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "cpu.h"
|
||||
|
||||
#ifdef DBG_IGNORE
|
||||
|
@ -23,7 +23,7 @@
|
||||
#ifndef PERIPH_CPUID_H_
|
||||
#define PERIPH_CPUID_H_
|
||||
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@ -34,7 +34,7 @@ extern "C" {
|
||||
*
|
||||
* @brief The length in byte of the CPU's serial number.
|
||||
*
|
||||
* @note Must be defined in the CPU's @ref cpu-conf.h
|
||||
* @note Must be defined in the CPU's @ref cpu_conf.h
|
||||
*/
|
||||
|
||||
#if CPUID_ID_LEN
|
||||
@ -42,7 +42,7 @@ extern "C" {
|
||||
* @brief Gets the serial number of the CPU.
|
||||
*
|
||||
* @param[out] id The serial number of the CPU of length CPU_ID_LEN (must be
|
||||
* defined in the CPU's cpu-conf.h)
|
||||
* defined in the CPU's cpu_conf.h)
|
||||
*/
|
||||
void cpuid_get(void *id);
|
||||
#endif /* CPUID_ID_LEN */
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include "kw2xrf_spi.h"
|
||||
#include "periph/spi.h"
|
||||
#include "periph/gpio.h"
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "irq.h"
|
||||
|
||||
#define ENABLE_DEBUG (0)
|
||||
|
@ -73,7 +73,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef MODULE_NET_IF
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "cpu.h"
|
||||
#include "kernel.h"
|
||||
#include "net_if.h"
|
||||
|
@ -21,7 +21,7 @@
|
||||
#define __BOARD_UART0_H
|
||||
|
||||
#include "kernel_types.h"
|
||||
#include "cpu-conf.h" /* To give user access to UART0_BUFSIZE */
|
||||
#include "cpu_conf.h" /* To give user access to UART0_BUFSIZE */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "atomic.h"
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "net/ng_pkt.h"
|
||||
#include "net/ng_nettype.h"
|
||||
#include "utlist.h"
|
||||
|
@ -16,7 +16,7 @@
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "byteorder.h"
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "kernel_types.h"
|
||||
#include "net/ng_icmpv6.h"
|
||||
#include "net/ng_netbase.h"
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "irq.h"
|
||||
#include "kernel_internal.h"
|
||||
#include "msg.h"
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "chardev_thread.h"
|
||||
#include "ringbuffer.h"
|
||||
#include "thread.h"
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "thread.h"
|
||||
|
||||
#define THREAD1_STACKSIZE (THREAD_EXTRA_STACKSIZE_PRINTF)
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "cpu-conf.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "periph/cpuid.h"
|
||||
|
||||
int main(void)
|
||||
|
Loading…
Reference in New Issue
Block a user