Fix errors and some compiler warnings with HAL_STM32 PlatformIO build (#12869)
This commit is contained in:
committed by
Scott Lahteine
parent
e6484d9dab
commit
8ae6f1e556
@@ -284,13 +284,13 @@ monitor_speed = 250000
|
||||
# ARMED
|
||||
#
|
||||
[env:ARMED]
|
||||
platform = ststm32
|
||||
framework = arduino
|
||||
board = ARMED
|
||||
build_flags = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB -O2 -ffreestanding -fsigned-char -fno-move-loop-invariants -fno-strict-aliasing -std=gnu11 -std=gnu++11
|
||||
lib_deps = ${common.lib_deps}
|
||||
lib_ignore = Adafruit NeoPixel, c1921b4
|
||||
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F4>
|
||||
platform = ststm32
|
||||
framework = arduino
|
||||
board = armed_v1
|
||||
build_flags = ${common.build_flags} -DUSBCON -DUSBD_VID=0x0483 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="ARMED_V1"' -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -O2 -ffreestanding -fsigned-char -fno-move-loop-invariants -fno-strict-aliasing -std=gnu11 -std=gnu++11
|
||||
lib_deps = ${common.lib_deps}
|
||||
lib_ignore = Adafruit NeoPixel, c1921b4
|
||||
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
|
||||
monitor_speed = 250000
|
||||
|
||||
#
|
||||
|
Reference in New Issue
Block a user