Merge pull request #3103 from hierophect/stm32-simplex-spi-fix

STM32: add debug flags, fix hang in simplex SPI
This commit is contained in:
Scott Shawcroft 2020-07-02 13:42:08 -07:00 committed by GitHub
commit 4a21426377
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -81,12 +81,12 @@ INC += -I../../supervisor/shared/usb
#Debugging/Optimization
ifeq ($(DEBUG), 1)
CFLAGS += -ggdb
CFLAGS += -ggdb3
# You may want to enable these flags to make setting breakpoints easier.
CFLAGS += -fno-inline -fno-ipa-sra
else
CFLAGS += -Os -DNDEBUG
CFLAGS += -ggdb
CFLAGS += -ggdb3
# TODO: Test with -flto
# CFLAGS += -flto
endif

@ -1 +1 @@
Subproject commit 3fc2e0f3db155b33177bb0705e0dd65cadb58412
Subproject commit 1900834751fd6754457874b8c971690bab33e0a7