aboutsummaryrefslogtreecommitdiff
path: root/examples/lpc43xx
diff options
context:
space:
mode:
authorJeff Ciesielski2012-11-13 13:27:36 -0800
committerJeff Ciesielski2012-11-13 13:27:36 -0800
commit88d4f020816c018e31ba48cdd975a9738ba56eed (patch)
treec213211778736d5ce2f06b4cf186a6900f522b20 /examples/lpc43xx
parentffe392c11bdc7c45f61c652ecabd79fecbe1938a (diff)
parentdb35fbb7ba97a8a6d7481edf07cb82cae06aa834 (diff)
Merge pull request #3 from Jeff-Ciesielski/master
Integrate ICDs changes into the upstream opencm3 repository
Diffstat (limited to 'examples/lpc43xx')
-rw-r--r--examples/lpc43xx/Makefile.include2
-rw-r--r--examples/lpc43xx/hackrf-jellybean/systick/systickdemo.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/lpc43xx/Makefile.include b/examples/lpc43xx/Makefile.include
index 15e523b..cf78538 100644
--- a/examples/lpc43xx/Makefile.include
+++ b/examples/lpc43xx/Makefile.include
@@ -41,7 +41,7 @@ endif
CFLAGS += -O2 -g -Wall -Wextra -I$(TOOLCHAIN_DIR)/include -fno-common \
-mcpu=cortex-m4 -mthumb -MD \
- -mfloat-abi=hard -mfpu=fpv4-sp-d16
+ -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DLPC43XX
LDSCRIPT ?= $(BINARY).ld
LDFLAGS += -L$(TOOLCHAIN_DIR)/lib \
-T$(LDSCRIPT) -nostartfiles -Wl,--gc-sections -Xlinker -Map=$(BINARY).map
diff --git a/examples/lpc43xx/hackrf-jellybean/systick/systickdemo.c b/examples/lpc43xx/hackrf-jellybean/systick/systickdemo.c
index 66c8e06..d38b0bc 100644
--- a/examples/lpc43xx/hackrf-jellybean/systick/systickdemo.c
+++ b/examples/lpc43xx/hackrf-jellybean/systick/systickdemo.c
@@ -20,8 +20,8 @@
#include <libopencm3/lpc43xx/gpio.h>
#include <libopencm3/lpc43xx/scu.h>
#include <libopencm3/lpc43xx/cgu.h>
-#include <libopencm3/lpc43xx/nvic.h>
-#include <libopencm3/lpc43xx/systick.h>
+#include <libopencm3/cm3/nvic.h>
+#include <libopencm3/cm3/systick.h>
#include <libopencm3/cm3/scs.h>
#include "../jellybean_conf.h"