Add basic CMSIS core headers (#384)
Adds a new cmsis_core INTERFACE library, which provides the basic CMSIS macros/definitions, and RP2040.h and system_RP2040.h By default the isr_ methods in the vector table are renamed to their CMSIS versions, but this can be overridden by defining PICO_CMSIS_RENAME_EXCEPTIONS=0
This commit is contained in:
@ -9,6 +9,7 @@
|
||||
#include "hardware/regs/addressmap.h"
|
||||
#include "hardware/regs/sio.h"
|
||||
#include "pico/binary_info/defs.h"
|
||||
#include "pico/config.h"
|
||||
|
||||
#ifdef NDEBUG
|
||||
#ifndef COLLAPSE_IRQS
|
||||
@ -23,7 +24,8 @@
|
||||
.section .vectors, "ax"
|
||||
.align 2
|
||||
|
||||
.global __vectors
|
||||
.global __vectors, __VECTOR_TABLE
|
||||
__VECTOR_TABLE:
|
||||
__vectors:
|
||||
.word __StackTop
|
||||
.word _reset_handler
|
||||
|
Reference in New Issue
Block a user