cubered: add CubeRed platform and secondary MCU update flow#26534
cubered: add CubeRed platform and secondary MCU update flow#26534
Conversation
b063e73 to
4defd5a
Compare
|
@julianoes any idea on how to get the firmware on the io processor for this cube? |
| # define BOARD_INTERFACE_CONFIG_USART INTERFACE_USART_CONFIG | ||
| #endif | ||
| #if defined(INTERFACE_USART_CONFIG2) | ||
| # define BOARD_INTERFACE_CONFIG_USART2 INTERFACE_USART_CONFIG2 |
There was a problem hiding this comment.
Are these changes relevant? What is driving this change for the imxrt processors?
There was a problem hiding this comment.
can be removed. Was just consistency with what I changed in the other bootloader folders
|
We may want to split this functionality into a separate PR: |
|
@HTRamsey that's awkward: https://github.com/julianoes/PX4-Autopilot/tree/pr-cubered I guess I'll do some diffing to check if you (or I) missed anything. |
|
Oh damn my bad I really should have checked first. Please go ahead and do your thing, you'll do a lot better than me. I just had a cube red temporarily and figured I'd try |
|
Yeah, sorry. I hadn't made the pull request because there were going to be changes to CubeRed and I didn't want to push something that was going to change anyway. I'll have a look at what/how you did it. It might be better! |
|
I wouldn't hold your breath on that |
Summary
This PR adds CubeRed support and an explicit secondary-MCU update flow in two commits:
cubered: add board support and secondary packaging pipelineboards/cubepilot/cubered/*board bringup/config.bootloaders_update.Tools/build_cubered_secondary_from_ardupilot.pyfor optional secondary artifact generation.bootloader/uploader: add secondary MCU update flowSERIAL_FORWARDsupport and secondary UART path for host<->secondary passthrough.primary|secondary|both|auto) and dual-image upload orchestration.SYS_SEC_UPDATE,rc.board_secondary_upgrade,rcSintegration).Notes
Test
python3 -m unittest discover -s test -p 'test_px4_uploader.py'