2014-10-31 17:14:23 +00:00
|
|
|
/* mbed Microcontroller Library
|
2020-11-05 14:26:47 +00:00
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
******************************************************************************
|
|
|
|
* @attention
|
2014-10-31 17:14:23 +00:00
|
|
|
*
|
2020-11-05 14:26:47 +00:00
|
|
|
* <h2><center>© Copyright (c) 2016-2020 STMicroelectronics.
|
|
|
|
* All rights reserved.</center></h2>
|
2014-10-31 17:14:23 +00:00
|
|
|
*
|
2020-11-05 14:26:47 +00:00
|
|
|
* This software component is licensed by ST under BSD 3-Clause license,
|
|
|
|
* the "License"; You may not use this file except in compliance with the
|
|
|
|
* License. You may obtain a copy of the License at:
|
|
|
|
* opensource.org/licenses/BSD-3-Clause
|
2014-10-31 17:14:23 +00:00
|
|
|
*
|
2020-11-05 14:26:47 +00:00
|
|
|
******************************************************************************
|
|
|
|
*/
|
2014-10-31 17:14:23 +00:00
|
|
|
|
|
|
|
#ifndef MBED_CMSIS_NVIC_H
|
|
|
|
#define MBED_CMSIS_NVIC_H
|
|
|
|
|
2020-11-05 14:26:47 +00:00
|
|
|
#if !defined(MBED_ROM_START)
|
|
|
|
#define MBED_ROM_START 0x8000000
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !defined(MBED_ROM_SIZE)
|
|
|
|
#define MBED_ROM_SIZE 0x10000 // 64 KB
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !defined(MBED_RAM_START)
|
|
|
|
#define MBED_RAM_START 0x20000000
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !defined(MBED_RAM_SIZE)
|
|
|
|
#define MBED_RAM_SIZE 0x4000 // 16 KB
|
|
|
|
#endif
|
|
|
|
|
2016-10-24 16:34:01 +00:00
|
|
|
#define NVIC_NUM_VECTORS 98
|
2020-11-05 14:26:47 +00:00
|
|
|
#define NVIC_RAM_VECTOR_ADDRESS MBED_RAM_START
|
2014-10-31 17:14:23 +00:00
|
|
|
|
|
|
|
#endif
|