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:
Graham Sanderson
2021-05-11 10:47:13 -05:00
committed by GitHub
parent 6182a2a078
commit b05d863428
20 changed files with 9650 additions and 1 deletions

View File

@ -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