From 155f27c217dafc669fc712a06e3596be7f069a36 Mon Sep 17 00:00:00 2001 From: bsongis Date: Sun, 23 Dec 2012 07:46:56 +0000 Subject: [PATCH] [X9D] HSE_VALUE set to 12000000 in Makefile --- src/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 4612a8956..53f4a2dfc 100644 --- a/src/Makefile +++ b/src/Makefile @@ -264,6 +264,7 @@ ifeq ($(PCB), SKY9X) endif TRGT = arm-none-eabi- MCU = cortex-m3 + CPPDEFS += -Dat91sam3s4 endif ifeq ($(PCB), X9D) @@ -271,6 +272,7 @@ ifeq ($(PCB), X9D) LDSCRIPT = x9d/stm32_flash.ld TRGT = arm-none-eabi- MCU = cortex-m3 + CPPDEFS += -DHSE_VALUE=12000000 endif ifeq ($(PCB), ACT) @@ -757,7 +759,7 @@ MSG_CLEANING = Cleaning project: # Combine all necessary flags and optional flags. # Add target processor to flags. -ARMCPPFLAGS = -c -mcpu=$(MCU) -mthumb -fomit-frame-pointer -fverbose-asm -Wa,-ahlms=open9x.lst -Dat91sam3s4 -DRUN_FROM_FLASH=1 -O$(OPT) $(CPPFLAGS) $(GENDEPFLAGS) +ARMCPPFLAGS = -c -mcpu=$(MCU) -mthumb -fomit-frame-pointer -fverbose-asm -Wa,-ahlms=open9x.lst -DRUN_FROM_FLASH=1 -O$(OPT) $(CPPFLAGS) $(GENDEPFLAGS) AVRCPPFLAGS = -mmcu=$(MCU) -I. -x c++ -O$(OPT) $(CPPFLAGS) $(GENDEPFLAGS) -fwhole-program ifeq ($(ARCH), AVR)