Commit Graph

61351 Commits

Author SHA1 Message Date
Andrew Tridgell b340b5f8ca Tools: added PPP as a build option 2024-01-03 12:14:47 +11:00
Andrew Tridgell eb6c62f319 CI: added CubeOrange-PPP build test 2024-01-03 12:14:47 +11:00
Andrew Tridgell 229a527fed AP_Networking: use BinarySemaphore 2024-01-03 12:14:47 +11:00
Andrew Tridgell 1e7ca34531 AP_HAL: socket native fix 2024-01-03 12:14:47 +11:00
Andrew Tridgell 34c737de36 HAL_Linux: use SocketAPM_native 2024-01-03 12:14:47 +11:00
Andrew Tridgell 8aaedccacc Tools: install ppp in ubuntu 2024-01-03 12:14:47 +11:00
Andrew Tridgell 39f029d60b CI: install ppp for rover test 2024-01-03 12:14:47 +11:00
Andrew Tridgell 60bfcf3cdc autotest: added a web server test
both native sockets and PPP
2024-01-03 12:14:47 +11:00
Andrew Tridgell adffd93894 SITL: use SocketAPM_native 2024-01-03 12:14:47 +11:00
Andrew Tridgell 213cdcef4b AP_Scripting: use SocketAPM_native 2024-01-03 12:14:47 +11:00
Andrew Tridgell b3fbc7edb0 AP_RCProtocol: use SocketAPM_native 2024-01-03 12:14:47 +11:00
Andrew Tridgell f8d64afc69 AP_IRLock: use SocketAPM_native 2024-01-03 12:14:47 +11:00
Andrew Tridgell 69df468b88 AP_HAL_SITL: use SocketAPM_native 2024-01-03 12:14:47 +11:00
Andrew Tridgell 931bae5b88 AP_HAL_Linux: use SocketAPM_native 2024-01-03 12:14:47 +11:00
Andrew Tridgell ef67fa4293 AP_HAL: use SocketAPM_native 2024-01-03 12:14:47 +11:00
Andrew Tridgell cbb3e27519 AP_HAL: added SocketAPM_native
this is a varient of SocketAPM that always uses native sockets
(ie. doesn't go via AP_Networking lwip)
2024-01-03 12:14:47 +11:00
Andrew Tridgell c85f4f875c Tools: disable lwip with clang 2024-01-03 12:14:47 +11:00
Andrew Tridgell 2048631526 AP_Networking: ensure PPP does not dominate the CPU 2024-01-03 12:14:47 +11:00
Andrew Tridgell 7e29452082 AP_Networking: fix for linux build 2024-01-03 12:14:47 +11:00
Andrew Tridgell 985816ebc2 AP_Networking: don't enable PPP by default 2024-01-03 12:14:47 +11:00
Andrew Tridgell ec5ff94f3e AP_Networking: cleanup string to IP handling
use SocketAPM methods
2024-01-03 12:14:47 +11:00
Andrew Tridgell 3d5251dfe8 AP_HAL: added inet_str_to_addr to SocketAPM 2024-01-03 12:14:47 +11:00
Andrew Tridgell 799b01c6c6 Tools: added --enable-ppp to sim_vehicle.py 2024-01-03 12:14:47 +11:00
Andrew Tridgell 812ac6bc0a AP_Networking: allow for --enable-ppp to enable networking 2024-01-03 12:14:47 +11:00
Andrew Tridgell d26530c892 waf: added --enable-ppp option 2024-01-03 12:14:47 +11:00
Andrew Tridgell 9d5a54259e AP_Networking: new location for lwip 2024-01-03 12:14:47 +11:00
Andrew Tridgell 8b3f3bc2d2 waf: new location for lwip 2024-01-03 12:14:47 +11:00
Andrew Tridgell 4dc513e78c lwip: remove ext/lwip and add as modules/lwip 2024-01-03 12:14:47 +11:00
Andrew Tridgell 418897c443 HAL_ChibiOS: removed old lwip options 2024-01-03 12:14:47 +11:00
Andrew Tridgell ce6adcfe83 AP_HAL_Linux: added PRIORITY_NET 2024-01-03 12:14:47 +11:00
Andrew Tridgell ec5c0b82e7 AP_HAL: added PRIORITY_NET 2024-01-03 12:14:47 +11:00
Andrew Tridgell bfcb8f361e AP_HAL_ESP32: added PRIORITY_NET 2024-01-03 12:14:47 +11:00
Andrew Tridgell 936bbeda88 AP_HAL_ChibiOS: added PRIORITY_NET 2024-01-03 12:14:47 +11:00
Andrew Tridgell 9456b585fa HAL_ChibiOS: don't link lwip bindings from ChibiOS 2024-01-03 12:14:47 +11:00
Andrew Tridgell fb0a0de2f2 waf: added env.BOARD_CLASS 2024-01-03 12:14:47 +11:00
Andrew Tridgell d289ba0181 AP_Networking: removed SLIP
PPP is the better choice
2024-01-03 12:14:47 +11:00
Andrew Tridgell 22938e99ea AP_Networking: added ArduPilot HAL port of lwip 2024-01-03 12:14:47 +11:00
Andrew Tridgell b28912c351 HAL_SITL: cope with no _sitl state 2024-01-03 12:14:47 +11:00
Andrew Tridgell 468c532290 waf: recurse info AP_Networking 2024-01-03 12:14:47 +11:00
Andrew Tridgell a53be122db waf: removed lwip source paths in chibios class 2024-01-03 12:14:47 +11:00
Andrew Tridgell 5748adbf44 HAL_ChibiOS: allow for networking without ethernet 2024-01-03 12:14:47 +11:00
Andrew Tridgell 1d9d599bb0 AP_Networking: allow for PPP on ChibiOS 2024-01-03 12:14:47 +11:00
Andrew Tridgell 94ea22d16f AP_Networking: separate thread for sendfile 2024-01-03 12:14:47 +11:00
Andrew Tridgell 8e132e44cf AP_HAL: improved sockaddr_in compatibility 2024-01-03 12:14:47 +11:00
Andrew Tridgell 1bceee1863 AP_Scripting: added WEB_SENDFILE_MIN parameter
allows for sendfile tuning and disable
2024-01-03 12:14:47 +11:00
Andrew Tridgell b72b4b5bc0 SITL: added required headers with new SITL header structure 2024-01-03 12:14:47 +11:00
Andrew Tridgell da7c556f77 AP_InertialSensor: avoid fcntl.h
allows mixing of lwip and sockets
2024-01-03 12:14:47 +11:00
Andrew Tridgell 671bcdad18 HAL_SITL: avoid socket headers in .h files
this makes mixing SITL and lwip sockets possible
2024-01-03 12:14:47 +11:00
Andrew Tridgell e53729f331 AP_HAL: make Socket.cpp safe for lwip and SITL usage 2024-01-03 12:14:47 +11:00
Andrew Tridgell 896b95654c AP_Networking: added PPP support 2024-01-03 12:14:47 +11:00