waf: Enable Werror for gcc 11.3.0

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
This commit is contained in:
Ryan Friedman 2023-05-23 10:27:44 -06:00 committed by Andrew Tridgell
parent 42abfa9e0e
commit 17ba7180d1

View File

@ -1082,13 +1082,14 @@ class chibios(Board):
]
# whitelist of compilers which we should build with -Werror
gcc_whitelist = [
gcc_whitelist = frozenset([
('4','9','3'),
('6','3','1'),
('9','2','1'),
('9','3','1'),
('10','2','1'),
]
('11','3','0'),
])
if cfg.env.HAL_CANFD_SUPPORTED:
env.DEFINES.update(CANARD_ENABLE_CANFD=1)