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
|
#Debugging/Optimization
|
||||||
ifeq ($(DEBUG), 1)
|
ifeq ($(DEBUG), 1)
|
||||||
CFLAGS += -ggdb
|
CFLAGS += -ggdb3
|
||||||
# You may want to enable these flags to make setting breakpoints easier.
|
# You may want to enable these flags to make setting breakpoints easier.
|
||||||
CFLAGS += -fno-inline -fno-ipa-sra
|
CFLAGS += -fno-inline -fno-ipa-sra
|
||||||
else
|
else
|
||||||
CFLAGS += -Os -DNDEBUG
|
CFLAGS += -Os -DNDEBUG
|
||||||
CFLAGS += -ggdb
|
CFLAGS += -ggdb3
|
||||||
# TODO: Test with -flto
|
# TODO: Test with -flto
|
||||||
# CFLAGS += -flto
|
# CFLAGS += -flto
|
||||||
endif
|
endif
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 3fc2e0f3db155b33177bb0705e0dd65cadb58412
|
Subproject commit 1900834751fd6754457874b8c971690bab33e0a7
|
Loading…
x
Reference in New Issue
Block a user