lwip needs ALLOW_SHADOW
This commit is contained in:
parent
1d469cf250
commit
497342f0c8
|
@ -13,6 +13,7 @@ DDEFS += -DHW_ATLAS=1
|
||||||
|
|
||||||
# Atlas needs networking library
|
# Atlas needs networking library
|
||||||
LWIP = yes
|
LWIP = yes
|
||||||
|
ALLOW_SHADOW = yes
|
||||||
DDEFS += -DEFI_ETHERNET=TRUE
|
DDEFS += -DEFI_ETHERNET=TRUE
|
||||||
|
|
||||||
DDEFS += -DSHORT_BOARD_NAME=atlas -DSTATIC_BOARD_ID=STATIC_BOARD_ID_ATLAS
|
DDEFS += -DSHORT_BOARD_NAME=atlas -DSTATIC_BOARD_ID=STATIC_BOARD_ID_ATLAS
|
||||||
|
|
|
@ -4,6 +4,7 @@ DDEFS += -DLED_CRITICAL_ERROR_BRAIN_PIN=Gpio::B14
|
||||||
|
|
||||||
# Enable ethernet
|
# Enable ethernet
|
||||||
LWIP = yes
|
LWIP = yes
|
||||||
|
ALLOW_SHADOW = yes
|
||||||
DDEFS += -DEFI_ETHERNET=TRUE
|
DDEFS += -DEFI_ETHERNET=TRUE
|
||||||
|
|
||||||
# This is an F429!
|
# This is an F429!
|
||||||
|
|
|
@ -10,6 +10,7 @@ DDEFS += -DLED_CRITICAL_ERROR_BRAIN_PIN=Gpio::B14
|
||||||
|
|
||||||
# Enable ethernet
|
# Enable ethernet
|
||||||
LWIP = yes
|
LWIP = yes
|
||||||
|
ALLOW_SHADOW = yes
|
||||||
DDEFS += -DEFI_ETHERNET=TRUE
|
DDEFS += -DEFI_ETHERNET=TRUE
|
||||||
|
|
||||||
DEBUG_LEVEL_OPT = -Os -ggdb -g
|
DEBUG_LEVEL_OPT = -Os -ggdb -g
|
||||||
|
|
|
@ -6,6 +6,7 @@ DDEFS += -DLED_CRITICAL_ERROR_BRAIN_PIN=Gpio::B14
|
||||||
|
|
||||||
# Enable ethernet
|
# Enable ethernet
|
||||||
LWIP = yes
|
LWIP = yes
|
||||||
|
ALLOW_SHADOW = yes
|
||||||
DDEFS += -DEFI_ETHERNET=TRUE
|
DDEFS += -DEFI_ETHERNET=TRUE
|
||||||
|
|
||||||
DDEFS += -DFIRMWARE_ID=\"nucleo_h743\"
|
DDEFS += -DFIRMWARE_ID=\"nucleo_h743\"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
# Warnings-as-errors...
|
# Warnings-as-errors...
|
||||||
RUSEFI_OPT = -Werror -Werror=shadow
|
RUSEFI_OPT = -Werror
|
||||||
|
|
||||||
|
ifneq ($(ALLOW_SHADOW),yes)
|
||||||
|
RUSEFI_OPT += -Werror=shadow
|
||||||
|
endif
|
||||||
|
|
||||||
# ...except these few
|
# ...except these few
|
||||||
RUSEFI_OPT += -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=sign-compare -Wno-error=unused-parameter
|
RUSEFI_OPT += -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=sign-compare -Wno-error=unused-parameter
|
||||||
|
|
Loading…
Reference in New Issue