cpu_conf.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2021 Otto-von-Guericke-Universität Magdeburg
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser General
5  * Public License v2.1. See the file LICENSE in the top level directory for more
6  * details.
7  */
8 
19 #ifndef CPU_CONF_H
20 #define CPU_CONF_H
21 
22 #include <stdint.h>
23 
24 #include "macros/units.h"
25 #include "cpu_conf_common.h"
26 #include "vendor/RP2040.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
36 #define CPU_DEFAULT_IRQ_PRIO (1U)
37 #define CPU_FLASH_BASE ROM_START_ADDR
38 #define CPU_IRQ_NUMOF (32U)
41 #ifdef __cplusplus
42 }
43 #endif
44 
45 #endif /* CPU_CONF_H */
Unit helper macros.