summaryrefslogtreecommitdiff
path: root/firmware/Makefile
diff options
context:
space:
mode:
authorMatthias Hannig <matthias@hannig.cc>2018-04-16 19:36:07 +0200
committerMatthias Hannig <matthias@hannig.cc>2018-04-16 19:36:07 +0200
commit2b069fd2a3393f3a2fb7cb6fdb4eba70e0848454 (patch)
treea481b21d92e241679fca07eecf14227fb5ee93ea /firmware/Makefile
parent6aaaa0b4aee83613937e84cdcc0fa920689424a8 (diff)
downloadolsndot-2b069fd2a3393f3a2fb7cb6fdb4eba70e0848454.tar.gz
olsndot-2b069fd2a3393f3a2fb7cb6fdb4eba70e0848454.tar.bz2
olsndot-2b069fd2a3393f3a2fb7cb6fdb4eba70e0848454.zip
updated initialization for 25 MHz xtal
Diffstat (limited to 'firmware/Makefile')
-rw-r--r--firmware/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/Makefile b/firmware/Makefile
index 3af133b..909cf8d 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -16,7 +16,7 @@ CFLAGS += -Wl,-Map=main.map
# Technically we're using an STM32F030F4, but apart from the TSSOP20 package that one is largely identical to the
# STM32F030*6 and there is no separate device header provided for it, so we're faking a *6 device here. This is
# even documented in stm32f0xx.h. Thanks ST!
-CFLAGS += -DSTM32F030x6 -DHSE_VALUE=16000000
+CFLAGS += -DSTM32F030x6 -DHSE_VALUE=25000000
CFLAGS += -Tstm32_flash.ld
CFLAGS += -I$(CMSIS_DEV_PATH)/Include -I$(CMSIS_PATH)/Include -I$(HAL_PATH)/Inc -Iconfig