diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2016-05-31 11:49:01 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2016-05-31 11:49:01 +0900 |
commit | 3a4e1f2bd59a5185e638a2552c64344d78e0f54f (patch) | |
tree | a25424f8b4264ab8c8485b5c086102061e885e4d /example-primer2/Makefile | |
parent | 421fd8019b31386c6e689753cf0a2ff35bd2af50 (diff) |
Cleanup of sys and its macro
Diffstat (limited to 'example-primer2/Makefile')
-rw-r--r-- | example-primer2/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/example-primer2/Makefile b/example-primer2/Makefile index 7dd70c5..0a0f397 100644 --- a/example-primer2/Makefile +++ b/example-primer2/Makefile @@ -5,8 +5,13 @@ PROJECT = lcd CHOPSTX = .. NEUGSRC = ./neug/src LDSCRIPT= lcd.ld -CSRC = sys.c aes-constant-ft.c primer2-switches.c primer2-ts.c lcd.c main.c \ - adc_stm32f103.c neug.c sha256.c +CSRC = primer2-switches.c primer2-ts.c lcd.c main.c \ + neug.c sha256.c + +CHIP=stm32f103 +USE_SYS = yes +USE_USB = yes +USE_ADC = yes ################################### CROSS = arm-none-eabi- @@ -15,8 +20,8 @@ LD = $(CROSS)gcc OBJCOPY = $(CROSS)objcopy MCU = cortex-m3 CWARN = -Wall -Wextra -Wstrict-prototypes -DEFS = -DHAVE_SYS_H -DFREE_STANDING -DMHZ=48 -# DEFS = -DFREE_STANDING -DHAVE_SYS_H -DBUSY_LOOP -DCHX_FLAGS_MAIN=CHOPSTX_SCHED_RR +DEFS = -DUSE_SYS3 -DFREE_STANDING -DMHZ=48 +# DEFS = -DFREE_STANDING -DUSE_SYS3 -DBUSY_LOOP -DCHX_FLAGS_MAIN=CHOPSTX_SCHED_RR OPT = -O3 -Os -g INCDIR = $(NEUGSRC) LIBS = |