Skip to content
Snippets Groups Projects
Commit e2cb8e7c authored by Hauke Petersen's avatar Hauke Petersen
Browse files

sys/uart0: include cpu.h in board_uart0.h

Some CPUs (e.g. cortex-m based ones) define the UART0_BUFSIZE
in cpu.h. So also include this file here.
parent f48ea338
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
#define __BOARD_UART0_H #define __BOARD_UART0_H
#include "kernel_types.h" #include "kernel_types.h"
#include "cpu_conf.h" /* To give user access to UART0_BUFSIZE */ #include "cpu.h" /* To give user access to UART0_BUFSIZE */
#include "cpu_conf.h" /* Some CPUs define this in cpu_conf.h... */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment