mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-22 14:19:57 +08:00
Add the PX4 arch layer for the i.MX9 family: ADC, HRT on LPTMR with LPIT deadlines, TPM io timers, pin interrupts, LPSPI with chip selects for all eight instances, critmon on the DWT cycle counter, a tone alarm on a TPM channel, version reporting with the 128-bit ECID read from the Fuse Status Block as the UUID, the board reset entry point, plus the i.MX95 chip include set, the chip mapping in px4_impl_os.cmake and the PX4_SOC_ARCH_ID_IMX95 id. DShot uses the shared NXP FlexIO driver with the i.MX9 FlexIO base, offsets, IRQ, clock root and pad hooks. Not implemented yet: reset of the M7 through the System Manager, LED PWM and PWM input capture. i.MX9 timer configs name their timers Timer::TPMn and mark DShot capable ones with initIOTimerDshot(), so teach output_groups_from_timer_config.py both forms. Co-authored-by: Andre Heinemans <andre.heinemans@nxp.com>