TARGET_HP34970_FP_F303RD/cmsis_nvic.h

changeset 30
71be284c66b3
equal deleted inserted replaced
29:276195d58a1d 30:71be284c66b3
1 /* mbed Microcontroller Library
2 * SPDX-License-Identifier: BSD-3-Clause
3 ******************************************************************************
4 * @attention
5 *
6 * <h2><center>&copy; Copyright (c) 2016-2020 STMicroelectronics.
7 * All rights reserved.</center></h2>
8 *
9 * This software component is licensed by ST under BSD 3-Clause license,
10 * the "License"; You may not use this file except in compliance with the
11 * License. You may obtain a copy of the License at:
12 * opensource.org/licenses/BSD-3-Clause
13 *
14 ******************************************************************************
15 */
16
17 #ifndef MBED_CMSIS_NVIC_H
18 #define MBED_CMSIS_NVIC_H
19
20 #if !defined(MBED_ROM_START)
21 #define MBED_ROM_START 0x8000000
22 #endif
23
24 #if !defined(MBED_ROM_SIZE)
25 #define MBED_ROM_SIZE 0x80000 // 512 KB
26 #endif
27
28 #if !defined(MBED_RAM_START)
29 #define MBED_RAM_START 0x20000000
30 #endif
31
32 #if !defined(MBED_RAM_SIZE)
33 #define MBED_RAM_SIZE 0x10000 // 64 KB
34 #endif
35
36 #define NVIC_NUM_VECTORS 101
37 #define NVIC_RAM_VECTOR_ADDRESS MBED_RAM_START
38
39 #endif

mercurial