cpu_conf.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Rakendra Thapa <rakendrathapa@gmail.com
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 
21 #ifndef CPU_CONF_H
22 #define CPU_CONF_H
23 
24 #include "cpu_conf_common.h"
25 #include <stdio.h>
26 #include <stdlib.h>
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
32 #include "hw_ints.h"
33 #include "hw_memmap.h"
34 #include "hw_nvic.h"
35 #include "hw_sysctl.h"
36 #include "hw_types.h"
37 #include "cortex-m4-def.h"
38 #include "stellaris_periph/cpu.h"
39 #include "stellaris_periph/interrupt.h"
40 #include "stellaris_periph/sysctl.h"
41 #include "stellaris_periph/adc.h"
42 #include "stellaris_periph/gpio.h"
43 #include "stellaris_periph/timer.h"
44 #include "stellaris_periph/pin_map.h"
45 #include "stellaris_periph/uart.h"
46 #include "stellaris_periph/ssi.h"
47 #include "stellaris_periph/fpu.h"
48 #include "stellaris_periph/rom.h"
49 
50 #ifdef CPU_MODEL_LM4F120H5QR
51 #include "vendor/lm4f120h5qr.h"
52 #endif
53 
58 #define CPU_DEFAULT_IRQ_PRIO (1U)
59 #define CPU_IRQ_NUMOF (139U)
60 #define CPU_FLASH_BASE FLASH_BASE
61 #define CPU_HAS_BITBAND (1)
62 
68 extern void setup_fpu(void);
69 extern void cpu_clock_init(int);
72 #ifdef __cplusplus
73 }
74 #endif
75 
76 #endif /* CPU_CONF_H */
77