waf: added compat/posix lwip headers to path

this simplifies the networking code
This commit is contained in:
Andrew Tridgell 2023-11-27 09:30:29 +11:00
parent a05acfc090
commit c2ea29a198

View File

@ -1144,7 +1144,8 @@ class chibios(Board):
]
env.INCLUDES += [
cfg.srcnode.find_dir('libraries/AP_GyroFFT/CMSIS_5/include').abspath()
cfg.srcnode.find_dir('libraries/AP_GyroFFT/CMSIS_5/include').abspath(),
cfg.srcnode.find_dir('modules/ChibiOS/ext/lwip/src/include/compat/posix').abspath()
]
# whitelist of compilers which we should build with -Werror