|
|
|
@ -28,28 +28,12 @@ extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @name Kernel configuration
|
|
|
|
|
*
|
|
|
|
|
* @{
|
|
|
|
|
*/
|
|
|
|
|
#define THREAD_EXTRA_STACKSIZE_PRINTF (1024)
|
|
|
|
|
|
|
|
|
|
#ifndef THREAD_STACKSIZE_DEFAULT
|
|
|
|
|
#define THREAD_STACKSIZE_DEFAULT (1024)
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#define THREAD_STACKSIZE_IDLE (256)
|
|
|
|
|
/** @} */
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @name UART0 buffer size definition for compatibility reasons
|
|
|
|
|
*
|
|
|
|
|
* TODO: remove once the remodeling of the uart0 driver is done
|
|
|
|
|
* @brief ARM Cortex-M specific CPU configuration
|
|
|
|
|
* @{
|
|
|
|
|
*/
|
|
|
|
|
#ifndef UART0_BUFSIZE
|
|
|
|
|
#define UART0_BUFSIZE (128)
|
|
|
|
|
#endif
|
|
|
|
|
#define CPU_DEFAULT_IRQ_PRIO (1U)
|
|
|
|
|
#define CPU_IRQ_NUMOF (57U)
|
|
|
|
|
#define CPU_FLASH_BASE FLASH_BASE
|
|
|
|
|
/** @} */
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -57,17 +41,6 @@ extern "C" {
|
|
|
|
|
*/
|
|
|
|
|
#define CPUID_ID_LEN (12)
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @name Definition of different panic modes
|
|
|
|
|
*/
|
|
|
|
|
typedef enum {
|
|
|
|
|
HARD_FAULT,
|
|
|
|
|
WATCHDOG,
|
|
|
|
|
BUS_FAULT,
|
|
|
|
|
USAGE_FAULT,
|
|
|
|
|
DUMMY_HANDLER
|
|
|
|
|
} panic_t;
|
|
|
|
|
|
|
|
|
|
#define TRANSCEIVER_BUFFER_SIZE (3)
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|