Loading...
Searching...
No Matches
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
9#pragma once
10
22
23#include "cpu_conf_common.h"
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29#include "hw_ints.h"
30#include "hw_memmap.h"
31#include "hw_nvic.h"
32#include "hw_sysctl.h"
33#include "hw_types.h"
34#include "cortex-m4-def.h"
35#include "stellaris_periph/cpu.h"
36#include "stellaris_periph/interrupt.h"
37#include "stellaris_periph/sysctl.h"
38#include "stellaris_periph/adc.h"
39#include "stellaris_periph/gpio.h"
40#include "stellaris_periph/timer.h"
41#include "stellaris_periph/pin_map.h"
42#include "stellaris_periph/uart.h"
43#include "stellaris_periph/ssi.h"
44#include "stellaris_periph/fpu.h"
45#include "stellaris_periph/rom.h"
46
47#ifdef CPU_MODEL_LM4F120H5QR
48#include "vendor/lm4f120h5qr.h"
49#endif
50
55#define CPU_DEFAULT_IRQ_PRIO (1U)
56#define CPU_IRQ_NUMOF (139U)
57#define CPU_FLASH_BASE FLASH_BASE
58#define CPU_HAS_BITBAND (1)
60
65extern void setup_fpu(void);
66extern void cpu_clock_init(int);
68
69#ifdef __cplusplus
70}
71#endif
72