From f8f43b91ee42e5909637a5cece4c772be3fe2996 Mon Sep 17 00:00:00 2001 From: Ben Lye Date: Tue, 19 Dec 2017 14:12:34 +0000 Subject: [PATCH] Tweak stm32 platform.txt --- BootLoaders/Boards/stm32/platform.txt | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/BootLoaders/Boards/stm32/platform.txt b/BootLoaders/Boards/stm32/platform.txt index 75cf2c6..d008733 100644 --- a/BootLoaders/Boards/stm32/platform.txt +++ b/BootLoaders/Boards/stm32/platform.txt @@ -1,10 +1,12 @@ -# +# +# Customized for the STM32 multi 4-in-1 board. +# Based on an STM32F103CB MCU. # # For more info: # https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification name=Multi 4-in-1 STM32 -version=1.0.0 +version=1.0.3 compiler.warning_flags=-w -DDEBUG_LEVEL=DEBUG_NONE compiler.warning_flags.none=-w -DDEBUG_LEVEL=DEBUG_NONE @@ -46,8 +48,6 @@ build.hs_flag= build.upload_flags= build.extra_flags= {build.upload_flags} {build.cpu_flags} {build.hs_flag} {build.common_flags} - - # These can be overridden in platform.local.txt compiler.c.extra_flags= compiler.c.elf.extra_flags="-L{build.variant.path}/ld" @@ -56,12 +56,8 @@ compiler.S.extra_flags= compiler.ar.extra_flags= compiler.elf2hex.extra_flags= - compiler.libs.c.flags="-I{build.system.path}/libmaple" "-I{build.system.path}/libmaple/include" "-I{build.system.path}/libmaple/stm32f1/include" "-I{build.system.path}/libmaple/usb/stm32f1" "-I{build.system.path}/libmaple/usb/usb_lib" - - - # USB Flags # --------- ## build.usb_flags=-DUSB_VID={build.vid} -DUSB_PID={build.pid} -DUSBCON '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'