Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Palsson <karlp@etactica.com>2018-08-14 14:19:58 +0300
committerKarl Palsson <karlp@etactica.com>2018-08-14 14:19:58 +0300
commit05ce5de4c2f811affc76dc014634d14a91c0c1ee (patch)
tree59b289a74c847675d06db81a141d7d8ec6031695
parent8b1ac585dfd6eb13938f2090bff6a78b836a0452 (diff)
stm32f2/4: link in the specific flash.o files.
We extracted code out to the common files, but they weren't being linked. This didn't matter in the past, as they were empty. Fixes: 46d4103c stm32: flash: move wait_for_last to f2/f4 explicitly. Fixes: https://github.com/libopencm3/libopencm3/issues/953
-rw-r--r--lib/stm32/f2/Makefile2
-rw-r--r--lib/stm32/f4/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/stm32/f2/Makefile b/lib/stm32/f2/Makefile
index 040566c2..bfad2895 100644
--- a/lib/stm32/f2/Makefile
+++ b/lib/stm32/f2/Makefile
@@ -45,7 +45,7 @@ OBJS += crc_common_all.o dac_common_all.o dma_common_f24.o \
timer_common_f24.o usart_common_all.o usart_common_f124.o \
hash_common_f24.o \
crypto_common_f24.o exti_common_all.o rcc_common_all.o
-OBJS += flash_common_all.o flash_common_f.o flash_common_f24.o
+OBJS += flash.o flash_common_all.o flash_common_f.o flash_common_f24.o
OBJS += flash_common_idcache.o
OBJS += rng_common_v1.o
OBJS += spi_common_all.o spi_common_v1.o spi_common_v1_frf.o
diff --git a/lib/stm32/f4/Makefile b/lib/stm32/f4/Makefile
index 172aae06..aac2502c 100644
--- a/lib/stm32/f4/Makefile
+++ b/lib/stm32/f4/Makefile
@@ -50,7 +50,7 @@ OBJS += crc_common_all.o dac_common_all.o dma_common_f24.o \
usart_common_f124.o \
hash_common_f24.o crypto_common_f24.o exti_common_all.o \
rcc_common_all.o
-OBJS += flash_common_all.o flash_common_f.o flash_common_f24.o
+OBJS += flash.o flash_common_all.o flash_common_f.o flash_common_f24.o
OBJS += flash_common_idcache.o
OBJS += rng_common_v1.o
OBJS += spi_common_all.o spi_common_v1.o spi_common_v1_frf.o