efr32mg1p/include/cpu_conf.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015-2017 Freie Universit├Ąt Berlin
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
22 #ifndef CPU_CONF_H
23 #define CPU_CONF_H
24 
25 #include "cpu_conf_common.h"
26 
27 #include "em_device.h"
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
37 #define CPU_DEFAULT_IRQ_PRIO (1U)
38 #define CPU_IRQ_NUMOF (FPUEH_IRQn + 1)
39 #define CPU_FLASH_BASE FLASH_BASE
40 
46 #define FLASHPAGE_SIZE (FLASH_PAGE_SIZE)
47 #define FLASHPAGE_NUMOF (FLASH_SIZE / FLASH_PAGE_SIZE)
48 
50 #ifdef __cplusplus
51 }
52 #endif
53 
54 #endif /* CPU_CONF_H */
55 
Common CPU definitione for Cortex-M family based MCUs.