From 84f26a3d0725f4790f4d55cd5246b7779af7064f Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 17 Oct 2014 10:34:39 -0600 Subject: [PATCH] Add EFM32 interrupt vector defintions --- configs/efm32-g8xx-stk/README.txt | 16 ++++++++++++++++ configs/efm32-g8xx-stk/nsh/Make.defs | 4 ++-- configs/efm32-g8xx-stk/src/efm32_boot.c | 2 +- 3 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 configs/efm32-g8xx-stk/README.txt diff --git a/configs/efm32-g8xx-stk/README.txt b/configs/efm32-g8xx-stk/README.txt new file mode 100644 index 00000000000..46fa9400ddf --- /dev/null +++ b/configs/efm32-g8xx-stk/README.txt @@ -0,0 +1,16 @@ +README +====== + + This README file discusses the port of NuttX to the Silicon Labs EFM32™ Gecko Starter Kit (EFM32-G8XX-STK). The Gecko Starter Kit features: + + • EFM32G890F128 MCU with 128 kB flash and 16 kB RAM + • 32.768 kHz crystal + • 32 MHz crystal + • Advanced Energy Monitoring + • Touch slider + • 4x40 LCD + • 4 User LEDs + • 2 pushbutton switches + • Reset button and a switch to disconnect the battery. + • On-board SEGGER J-Link USB emulator + • ARM 20 pin JTAG/SWD standard Debug in/out connector diff --git a/configs/efm32-g8xx-stk/nsh/Make.defs b/configs/efm32-g8xx-stk/nsh/Make.defs index 47fdb324d84..4b7e4615485 100644 --- a/configs/efm32-g8xx-stk/nsh/Make.defs +++ b/configs/efm32-g8xx-stk/nsh/Make.defs @@ -46,13 +46,13 @@ ifeq ($(WINTOOL),y) MKDEP = $(TOPDIR)/tools/mknulldeps.sh ARCHINCLUDES = -I. -isystem "${shell cygpath -w $(TOPDIR)/include}" ARCHXXINCLUDES = -I. -isystem "${shell cygpath -w $(TOPDIR)/include}" -isystem "${shell cygpath -w $(TOPDIR)/include/cxx}" - ARCHSCRIPT = -T "${shell cygpath -w $(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/$LDSCRIPT}" + ARCHSCRIPT = -T "${shell cygpath -w $(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/$(LDSCRIPT)}" else # Linux/Cygwin-native toolchain MKDEP = $(TOPDIR)/tools/mkdeps.sh ARCHINCLUDES = -I. -isystem $(TOPDIR)/include ARCHXXINCLUDES = -I. -isystem $(TOPDIR)/include -isystem $(TOPDIR)/include/cxx - ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/$LDSCRIPT + ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/$(LDSCRIPT) endif CC = $(CROSSDEV)gcc diff --git a/configs/efm32-g8xx-stk/src/efm32_boot.c b/configs/efm32-g8xx-stk/src/efm32_boot.c index 4529b326108..ebe9ad0df1c 100644 --- a/configs/efm32-g8xx-stk/src/efm32_boot.c +++ b/configs/efm32-g8xx-stk/src/efm32_boot.c @@ -39,7 +39,7 @@ #include -#include "efm3_g8xx_stk.h" +#include "efm32-g8xx-stk.h" /**************************************************************************** * Public Functions