Browse Source

lpc43xx: Move M4 specific files to m4/

pull/174/head
Ben Gamari 12 years ago
committed by Piotr Esden-Tempski
parent
commit
c25461dfce
  1. 4
      include/libopencm3/dispatch/nvic.h
  2. 6
      include/libopencm3/lpc43xx/m4/irq.yaml
  3. 4
      lib/dispatch/vector_chipset.c
  4. 4
      lib/dispatch/vector_nvic.c
  5. 2
      lib/lpc43xx/m4/Makefile
  6. 0
      lib/lpc43xx/m4/vector_chipset.c

4
include/libopencm3/dispatch/nvic.h

@ -20,8 +20,8 @@
# include <libopencm3/lpc13xx/nvic.h>
#elif defined(LPC17XX)
# include <libopencm3/lpc17xx/nvic.h>
#elif defined(LPC43XX)
# include <libopencm3/lpc43xx/nvic.h>
#elif defined(LPC43XX_M4)
# include <libopencm3/lpc43xx/m4/nvic.h>
#elif defined(SAM3X)
# include <libopencm3/sam/3x/nvic.h>

6
include/libopencm3/lpc43xx/irq.yaml → include/libopencm3/lpc43xx/m4/irq.yaml

@ -1,6 +1,6 @@
includeguard: LIBOPENCM3_LPC43xx_NVIC_H
partname_humanreadable: LPC 43xx series
partname_doxygen: LPC43xx
includeguard: LIBOPENCM3_LPC43xx_M4_NVIC_H
partname_humanreadable: LPC 43xx series M4 core
partname_doxygen: LPC43xx (M4)
irqs:
0: dac
1: m0core

4
lib/dispatch/vector_chipset.c

@ -1,8 +1,8 @@
#if defined(STM32F4)
# include "../stm32/f4/vector_chipset.c"
#elif defined(LPC43XX)
# include "../lpc43xx/vector_chipset.c"
#elif defined(LPC43XX_M4)
# include "../lpc43xx/m4/vector_chipset.c"
#else

4
lib/dispatch/vector_nvic.c

@ -20,8 +20,8 @@
# include "../lpc13xx/vector_nvic.c"
#elif defined(LPC17XX)
# include "../lpc17xx/vector_nvic.c"
#elif defined(LPC43XX)
# include "../lpc43xx/vector_nvic.c"
#elif defined(LPC43XX_M4)
# include "../lpc43xx/m4/vector_nvic.c"
#elif defined(SAM3X)
# include "../sam/3x/vector_nvic.c"

2
lib/lpc43xx/m4/Makefile

@ -32,7 +32,7 @@ CFLAGS = -O2 -g3 \
-I../../../include -fno-common \
-mcpu=cortex-m4 -mthumb -Wstrict-prototypes \
-ffunction-sections -fdata-sections -MD \
-mfloat-abi=hard -mfpu=fpv4-sp-d16 -DLPC43XX
-mfloat-abi=hard -mfpu=fpv4-sp-d16 -DLPC43XX -DLPC43XX_M4
# ARFLAGS = rcsv
ARFLAGS = rcs

0
lib/lpc43xx/vector_chipset.c → lib/lpc43xx/m4/vector_chipset.c

Loading…
Cancel
Save