Skip to content

Add VOXL2 IO board UART passthru feature#26429

Merged
katzfey merged 2 commits intomainfrom
pr-voxl2-io-uart-passtru
Feb 9, 2026
Merged

Add VOXL2 IO board UART passthru feature#26429
katzfey merged 2 commits intomainfrom
pr-voxl2-io-uart-passtru

Conversation

@katzfey
Copy link
Contributor

@katzfey katzfey commented Feb 7, 2026

This PR adds the UART passthru feature that is currently already in the voxl_esc driver into the voxl2_io board driver. This PR also adds limits to the feature for both voxl_esc and voxl2_io so that it cannot be done faster than 20Hz.

This PR replaces closed PR 24448

@katzfey katzfey force-pushed the pr-voxl2-io-uart-passtru branch from efe46ea to 50b0b90 Compare February 7, 2026 19:08
@github-actions
Copy link

github-actions bot commented Feb 7, 2026

🔎 FLASH Analysis

px4_fmu-v5x [Total VM Diff: 80 byte (0 %)]
    FILE SIZE        VM SIZE    
--------------  -------------- 
+0.0%     +80  +0.0%     +80    .text
  +0.0%     +20  +0.0%     +20    [section .text]
  +1.2%     +16  +1.2%     +16    MavlinkReceiver::MavlinkReceiver()
   +14%     +16   +14%     +16    MavlinkReceiver::handle_message_tunnel()
  [NEW]     +16  [NEW]     +16    __orb_io_serial_passthru
  +2.2%     +12  +2.2%     +12    MavlinkReceiver::CheckHeartbeats()
  +1.1%      +8  +1.1%      +8    MavlinkReceiver::~MavlinkReceiver()
  +2.0%      +4  +2.0%      +4    MavlinkReceiver::print_detailed_rx_stats()
  +1.5%      +4  +1.5%      +4    MavlinkStreamAutopilotStateForGimbalDevice::send()
   +44%      +4   +44%      +4    g_nullstring
  +0.3%      +4  +0.3%      +4    uorb_topics_list
  -1.3%      -4  -1.3%      -4    Mavlink::send_finish()
 -33.3%      -4 -33.3%      -4    Zero
  -3.0%      -4  -3.0%      -4    uORB::Manager::orb_device_node_exists()
  -2.9%      -4  -2.9%      -4    uORB::Manager::orb_exists()
  -0.8%      -8  -0.8%      -8    MavlinkReceiver::handle_message_hil_state_quaternion()
+0.0%     +55  [ = ]       0    .debug_abbrev
+0.0%      +4  [ = ]       0    .debug_frame
+0.0% +3.69Ki  [ = ]       0    .debug_info
+0.0%     +43  [ = ]       0    .debug_line
-0.0%     -15  [ = ]       0    .debug_loclists
+0.0%     +54  [ = ]       0    .debug_rnglists
  [NEW]      +1  [ = ]       0    [Unmapped]
  +0.0%     +53  [ = ]       0    [section .debug_rnglists]
+0.0%     +49  [ = ]       0    .debug_str
-0.4%      -1  [ = ]       0    .shstrtab
+0.0%     +25  [ = ]       0    .strtab
  [NEW]     +25  [ = ]       0    __orb_io_serial_passthru
+0.0%     +32  [ = ]       0    .symtab
   +50%     +16  [ = ]       0    MavlinkReceiver::handle_message_obstacle_distance()
 -50.0%     -16  [ = ]       0    MavlinkReceiver::handle_message_tunnel()
 -50.0%     -16  [ = ]       0    MavlinkStreamAutopilotStateForGimbalDevice::send()
   +33%     +16  [ = ]       0    MavlinkStreamBatteryInfo::send()
  [NEW]     +32  [ = ]       0    __orb_io_serial_passthru
   +50%     +16  [ = ]       0    __stm32_ep0out_setup_veneer
 -33.3%     -16  [ = ]       0    __stm32_i2c_setclock_veneer
-0.9%     -80  [ = ]       0    [Unmapped]
+0.0% +3.93Ki  +0.0%     +80    TOTAL

px4_fmu-v6x [Total VM Diff: 88 byte (0 %)]
    FILE SIZE        VM SIZE    
--------------  -------------- 
+0.0%     +88  +0.0%     +88    .text
  +0.0%     +20  +0.0%     +20    [section .text]
  +1.2%     +16  +1.2%     +16    MavlinkReceiver::MavlinkReceiver()
   +14%     +16   +14%     +16    MavlinkReceiver::handle_message_tunnel()
  [NEW]     +16  [NEW]     +16    __orb_io_serial_passthru
  +2.2%     +12  +2.2%     +12    MavlinkReceiver::CheckHeartbeats()
  +1.1%      +8  +1.1%      +8    MavlinkReceiver::~MavlinkReceiver()
  +2.0%      +4  +2.0%      +4    MavlinkReceiver::print_detailed_rx_stats()
  +1.5%      +4  +1.5%      +4    MavlinkStreamAutopilotStateForGimbalDevice::send()
   +50%      +4   +50%      +4    Zero
  +5.6%      +4  +5.6%      +4    fmodf
   +44%      +4   +44%      +4    g_nullstring
  +0.3%      +4  +0.3%      +4    uorb_topics_list
  -1.3%      -4  -1.3%      -4    Mavlink::send_finish()
 -16.7%      -4 -16.7%      -4    get_orb_meta()
  -3.0%      -4  -3.0%      -4    uORB::Manager::orb_device_node_exists()
  -2.9%      -4  -2.9%      -4    uORB::Manager::orb_exists()
  -0.8%      -8  -0.8%      -8    MavlinkReceiver::handle_message_hil_state_quaternion()
+0.0%     +55  [ = ]       0    .debug_abbrev
+0.0%      +4  [ = ]       0    .debug_frame
+0.0% +3.59Ki  [ = ]       0    .debug_info
+0.0%     +37  [ = ]       0    .debug_line
  +200%      +4  [ = ]       0    [Unmapped]
  +0.0%     +33  [ = ]       0    [section .debug_line]
-0.0%      -8  [ = ]       0    .debug_loclists
+0.0%     +51  [ = ]       0    .debug_rnglists
  [DEL]      -2  [ = ]       0    [Unmapped]
  +0.0%     +53  [ = ]       0    [section .debug_rnglists]
+0.0%     +49  [ = ]       0    .debug_str
+1.3%      +3  [ = ]       0    .shstrtab
+0.0%     +25  [ = ]       0    .strtab
  [NEW]     +25  [ = ]       0    __orb_io_serial_passthru
+0.0%     +32  [ = ]       0    .symtab
   +50%     +16  [ = ]       0    MavlinkReceiver::handle_message_obstacle_distance()
 -50.0%     -16  [ = ]       0    MavlinkReceiver::handle_message_tunnel()
 -50.0%     -16  [ = ]       0    MavlinkStreamAutopilotStateForGimbalDevice::send()
   +33%     +16  [ = ]       0    MavlinkStreamBatteryInfo::send()
  +0.3%     +32  [ = ]       0    [section .symtab]
  [NEW]     +32  [ = ]       0    __orb_io_serial_passthru
 -50.0%     -32  [ = ]       0    fmodf
-1.4%     -88  [ = ]       0    [Unmapped]
+0.0% +3.83Ki  +0.0%     +88    TOTAL

Updated: 2026-02-07T19:16:48

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 7, 2026

@katzfey katzfey self-assigned this Feb 7, 2026
@katzfey katzfey merged commit eb43d21 into main Feb 9, 2026
75 of 76 checks passed
@katzfey katzfey deleted the pr-voxl2-io-uart-passtru branch February 9, 2026 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants