From 2b069fd2a3393f3a2fb7cb6fdb4eba70e0848454 Mon Sep 17 00:00:00 2001 From: Matthias Hannig Date: Mon, 16 Apr 2018 19:36:07 +0200 Subject: updated initialization for 25 MHz xtal --- firmware/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/Makefile') 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 -- cgit