mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-22 14:19:57 +08:00
* feat(mavlink): make the MAV_x instance count a per-board Kconfig option MAV_x_* params and rc.serial were fixed at 3, though up to 6 MAVLink instances can run. CONFIG_MAVLINK_NUM_CONFIG_INSTANCES (default 3) sets it; extra instances take instance 2's defaults. Signed-off-by: abhijithcv <abhijithcv1212@gmail.com> * feat(boards/agam): enable 5 MAVLink instances on the v6X-RT Signed-off-by: abhijithcv <abhijithcv1212@gmail.com> * docs(releases): add per-board MAVLink instance count to main release notes Signed-off-by: abhijithcv <abhijithcv1212@gmail.com> * fix(mavlink): share main's --board-config in the instance count generators main already passes the boardconfig as --board-config to generate_params.py, so the duplicate option failed every build after a rebase. Both generators now read it through the shared load_board_config. Kconfig caps the count at 5, or 3 on constrained-memory boards, leaving a channel for USB, and list defaults keep their length check unless the count comes from Kconfig. Signed-off-by: abhijithcv <abhijithcv1212@gmail.com> --------- Signed-off-by: abhijithcv <abhijithcv1212@gmail.com>