aboutsummaryrefslogtreecommitdiff
path: root/fw/Makefile
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2018-12-24 19:09:46 +0900
committerjaseg <git@jaseg.net>2018-12-24 19:09:46 +0900
commitf5d7b0428db5257d62c080daa2757199c27ef784 (patch)
tree0871ee9b9d75b3d3f0c909d2ab64e989b92cc9d7 /fw/Makefile
parent0029ed768ea0b3626ba8b26c369c409962ff38b6 (diff)
download8seg-f5d7b0428db5257d62c080daa2757199c27ef784.tar.gz
8seg-f5d7b0428db5257d62c080daa2757199c27ef784.tar.bz2
8seg-f5d7b0428db5257d62c080daa2757199c27ef784.zip
Add untested ADC mode switching code
Diffstat (limited to 'fw/Makefile')
-rw-r--r--fw/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/fw/Makefile b/fw/Makefile
index 7795f0a..cb2f244 100644
--- a/fw/Makefile
+++ b/fw/Makefile
@@ -27,7 +27,7 @@ OBJCOPY := arm-none-eabi-objcopy
OBJDUMP := arm-none-eabi-objdump
SIZE := arm-none-eabi-size
-CFLAGS = -g -Wall -std=gnu11 -O0 -fdump-rtl-expand -DMAC_ADDR=$(MAC_ADDR)
+CFLAGS = -g -Wall -std=gnu11 -O0 -fdump-rtl-expand -DMAC_ADDR=$(MAC_ADDR) -DADC_BUFSIZE=1024
CFLAGS += -mlittle-endian -mcpu=cortex-m0 -march=armv6-m -mthumb
#CFLAGS += -ffunction-sections -fdata-sections
LDFLAGS = -nostartfiles