waf: enable option for setting TAO state
This commit is contained in:
parent
8a8de73d89
commit
79f55e7aad
@ -941,7 +941,7 @@ class chibios(Board):
|
|||||||
if cfg.env.HAL_CANFD_SUPPORTED:
|
if cfg.env.HAL_CANFD_SUPPORTED:
|
||||||
env.DEFINES.update(CANARD_ENABLE_CANFD=1)
|
env.DEFINES.update(CANARD_ENABLE_CANFD=1)
|
||||||
else:
|
else:
|
||||||
env.DEFINES.update(CANARD_ENABLE_CANFD=0)
|
env.DEFINES.update(CANARD_ENABLE_TAO_OPTION=1)
|
||||||
|
|
||||||
if cfg.options.Werror or cfg.env.CC_VERSION in gcc_whitelist:
|
if cfg.options.Werror or cfg.env.CC_VERSION in gcc_whitelist:
|
||||||
cfg.msg("Enabling -Werror", "yes")
|
cfg.msg("Enabling -Werror", "yes")
|
||||||
|
Loading…
Reference in New Issue
Block a user