lpc43xx: Add irq.yaml for M0 core

This commit is contained in:
Ben Gamari 2013-07-06 22:55:44 -04:00 committed by Piotr Esden-Tempski
parent c25461dfce
commit 78081bd794
4 changed files with 39 additions and 1 deletions

View File

@ -22,6 +22,8 @@
# include <libopencm3/lpc17xx/nvic.h>
#elif defined(LPC43XX_M4)
# include <libopencm3/lpc43xx/m4/nvic.h>
#elif defined(LPC43XX_M0)
# include <libopencm3/lpc43xx/m0/nvic.h>
#elif defined(SAM3X)
# include <libopencm3/sam/3x/nvic.h>

View File

@ -0,0 +1,34 @@
includeguard: LIBOPENCM3_LPC43xx_M0_NVIC_H
partname_humanreadable: LPC 43xx series M0 core
partname_doxygen: LPC43xx (M0)
irqs:
0: rtc
1: m4core
2: dma
# reserved: 3
4: flasheepromat
5: ethernet
6: sdio
7: lcd
8: usb0
9: usb1
10: sct
11: ritimer_or_wwdt
12: timer0
13: gint1
14: pin_int4
15: timer3
16: mcpwm
17: adc0
18: i2c0_or_irc1
19: sgpio
20: spi_or_dac
21: adc1
22: ssp0_or_ssp1
23: eventrouter
24: usart0
25: uart1
26: usart2_or_c_can1
27: usart3
28: i2s0_or_i2s1
29: c_can0

View File

@ -22,6 +22,8 @@
# include "../lpc17xx/vector_nvic.c"
#elif defined(LPC43XX_M4)
# include "../lpc43xx/m4/vector_nvic.c"
#elif defined(LPC43XX_M0)
# include "../lpc43xx/m0/vector_nvic.c"
#elif defined(SAM3X)
# include "../sam/3x/vector_nvic.c"

View File

@ -27,7 +27,7 @@ CC = $(PREFIX)-gcc
AR = $(PREFIX)-ar
CFLAGS = -O2 -g3 -Wall -Wextra -I../../../include -fno-common \
-mcpu=cortex-m0 -mthumb -Wstrict-prototypes \
-ffunction-sections -fdata-sections -MD
-ffunction-sections -fdata-sections -MD -DLPC43XX -DLPC43XX_M0
# ARFLAGS = rcsv
ARFLAGS = rcs