From 3704359d78cb5368ee0158e55513416a726b0eeb Mon Sep 17 00:00:00 2001 From: Andy CA6JAU Date: Sun, 20 Nov 2016 14:42:07 -0300 Subject: [PATCH] Minor changes in Makefile and CooCox project files for new ST lib support --- MMDVM_STM32F4xx.cogui | 23 +++++++++++------------ MMDVM_STM32F4xx.comarker | 2 +- MMDVM_STM32F4xx.coproj | 20 ++++++++++---------- Makefile | 4 +++- 4 files changed, 25 insertions(+), 24 deletions(-) diff --git a/MMDVM_STM32F4xx.cogui b/MMDVM_STM32F4xx.cogui index 7834d26..65c5c84 100644 --- a/MMDVM_STM32F4xx.cogui +++ b/MMDVM_STM32F4xx.cogui @@ -27,7 +27,7 @@ - + @@ -74,7 +74,7 @@ - + @@ -287,14 +287,14 @@ - + + + + - - - @@ -425,7 +425,8 @@ - + + @@ -439,11 +440,6 @@ - - - - - @@ -481,5 +477,8 @@ + + + \ No newline at end of file diff --git a/MMDVM_STM32F4xx.comarker b/MMDVM_STM32F4xx.comarker index 22e5da1..b29d0e4 100644 --- a/MMDVM_STM32F4xx.comarker +++ b/MMDVM_STM32F4xx.comarker @@ -16,8 +16,8 @@ - + \ No newline at end of file diff --git a/MMDVM_STM32F4xx.coproj b/MMDVM_STM32F4xx.coproj index 95312cb..3038fa0 100644 --- a/MMDVM_STM32F4xx.coproj +++ b/MMDVM_STM32F4xx.coproj @@ -13,12 +13,12 @@ - + @@ -97,9 +97,9 @@ + - @@ -115,29 +115,29 @@ - - + + + - + - - - + + @@ -175,16 +175,16 @@ - + - + diff --git a/Makefile b/Makefile index d0fb1f5..890e2f0 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,9 @@ BINHEX=outp.hex MCFLAGS=-mcpu=cortex-m4 -mthumb -mlittle-endian \ -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb-interwork # COMPILE FLAGS -DEFS=-DUSE_STDPERIPH_DRIVER -DSTM32F4XX -DSTM32F40_41xxx -DHSE_VALUE=12000000 +# Discovery board: +DEFS=-DUSE_STDPERIPH_DRIVER -DSTM32F4XX -DSTM32F40_41xxx -DHSE_VALUE=8000000 +# Pi board: #DEFS=-DUSE_STDPERIPH_DRIVER -DSTM32F4XX -DSTM32F446xx -DHSE_VALUE=12000000 CFLAGS=-c $(MCFLAGS) $(DEFS) $(INCLUDES) CXXFLAGS=-c $(MCFLAGS) $(DEFS) $(INCLUDES)