aboutsummaryrefslogtreecommitdiff
path: root/example-led/Makefile
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2014-07-30 16:09:39 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2014-12-10 18:50:09 +0900
commit5137db82902ded4cabb4667ade17d1732f73c736 (patch)
tree19c16f9d6b6d0320765d15f3d988f10810712155 /example-led/Makefile
parent522380097ea768e7474c0de8195cc0ced03904e8 (diff)
Cortex-M0 works.
Diffstat (limited to 'example-led/Makefile')
-rw-r--r--example-led/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/example-led/Makefile b/example-led/Makefile
index 43c131a..14ff7ff 100644
--- a/example-led/Makefile
+++ b/example-led/Makefile
@@ -12,9 +12,10 @@ CC = $(CROSS)gcc
LD = $(CROSS)gcc
OBJCOPY = $(CROSS)objcopy
-MCU = cortex-m3
+# MCU = cortex-m3
+MCU = cortex-m0 # -save-temps
CWARN = -Wall -Wextra -Wstrict-prototypes
-DEFS = -DHAVE_SYS_H -DFREE_STANDING
+DEFS = -DHAVE_SYS_H -DFREE_STANDING -DMHZ=48
# DEFS = -DFREE_STANDING -DHAVE_SYS_H -DBUSY_LOOP -DCHX_FLAGS_MAIN=CHOPSTX_SCHED_RR
OPT = -O3 -Os -g
LIBS =