mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-23 07:00:49 +08:00
The NuttX UDP MTU is taken from ETH_UDP_MSS(), which NuttX only defines with CONFIG_NET_ETHERNET. Boards that enable CONFIG_NET for SocketCAN alone, such as the MR-NavQ95, failed to compile. Gate the UDP transport on CONFIG_NET_ETHERNET in both the header and the library build. Signed-off-by: Peter van der Perk <peter.vanderperk@nxp.com>