mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-07-13 18:27:55 +00:00
Tweak stm32 platform.txt
This commit is contained in:
parent
782d1d5efe
commit
f8f43b91ee
@ -1,10 +1,12 @@
|
|||||||
#
|
#
|
||||||
|
# Customized for the STM32 multi 4-in-1 board.
|
||||||
|
# Based on an STM32F103CB MCU.
|
||||||
#
|
#
|
||||||
# For more info:
|
# For more info:
|
||||||
# https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification
|
# https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification
|
||||||
|
|
||||||
name=Multi 4-in-1 STM32
|
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=-w -DDEBUG_LEVEL=DEBUG_NONE
|
||||||
compiler.warning_flags.none=-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.upload_flags=
|
||||||
build.extra_flags= {build.upload_flags} {build.cpu_flags} {build.hs_flag} {build.common_flags}
|
build.extra_flags= {build.upload_flags} {build.cpu_flags} {build.hs_flag} {build.common_flags}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# These can be overridden in platform.local.txt
|
# These can be overridden in platform.local.txt
|
||||||
compiler.c.extra_flags=
|
compiler.c.extra_flags=
|
||||||
compiler.c.elf.extra_flags="-L{build.variant.path}/ld"
|
compiler.c.elf.extra_flags="-L{build.variant.path}/ld"
|
||||||
@ -56,12 +56,8 @@ compiler.S.extra_flags=
|
|||||||
compiler.ar.extra_flags=
|
compiler.ar.extra_flags=
|
||||||
compiler.elf2hex.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"
|
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
|
# USB Flags
|
||||||
# ---------
|
# ---------
|
||||||
## build.usb_flags=-DUSB_VID={build.vid} -DUSB_PID={build.pid} -DUSBCON '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
|
## build.usb_flags=-DUSB_VID={build.vid} -DUSB_PID={build.pid} -DUSBCON '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user