Merge pull request #3103 from hierophect/stm32-simplex-spi-fix
STM32: add debug flags, fix hang in simplex SPI
This commit is contained in:
commit
4a21426377
|
@ -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
|
Loading…
Reference in New Issue