Files
ardupilot/libraries/AP_HAL_ChibiOS/hwdef/common
Peter BarkerandClaude Fable 5 6f6c28e8ae AP_HAL_ChibiOS: fix STM32L4+ bootloader build with no I2C configured
The STM32L4+ port's stm32_isr.c unconditionally includes the
stm32_i2c1..4.inc ISR files, which require STM32_I2C_USE_I2Cx to be
defined. In bootloader builds HAL_USE_I2C is FALSE so hal_i2c_lld.h
(which supplies FALSE defaults) is never included, breaking the
PixFlamingo bootloader build.

Add ifndef-guarded FALSE defaults, matching the STM32G4 fix in
abffee1520.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-05 18:01:44 +10:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…