Description
Target GREATMOUNTAINF435 (AT32F435M MCU) fails to compile on the Betaflight Cloud Build server for versions 4.5.x and 2025.12.x.
Error Trace
make[2]: *** [Makefile:440: obj/main/AT32F435M_GREATMOUNTAINF435/drivers/at32/bus_i2c_atbsp.o] Error 1 cc1: all warnings being treated as errors make[2]: *** [Makefile:440: obj/main/AT32F435M_GREATMOUNTAINF435/drivers/at32/bus_spi_at32bsp.o] Error 1 make[1]: *** [Makefile:556: hex] Error 2 make: *** [mk/config.mk:62: GREATMOUNTAINF435] Error 2
Impact
Users attempting to flash GREATMOUNTAINF435 using Betaflight Configurator Cloud Build fail to compile or get missing drivers (e.g. ICM42688P gyro non-functional).
Proposed Fix
Fix the compiler warning in src/main/drivers/at32/bus_i2c_atbsp.c and src/main/drivers/at32/bus_spi_at32bsp.c or update configuration flags for AT32 bus initialization.
Description
Target GREATMOUNTAINF435 (AT32F435M MCU) fails to compile on the Betaflight Cloud Build server for versions 4.5.x and 2025.12.x.
Error Trace
make[2]: *** [Makefile:440: obj/main/AT32F435M_GREATMOUNTAINF435/drivers/at32/bus_i2c_atbsp.o] Error 1 cc1: all warnings being treated as errors make[2]: *** [Makefile:440: obj/main/AT32F435M_GREATMOUNTAINF435/drivers/at32/bus_spi_at32bsp.o] Error 1 make[1]: *** [Makefile:556: hex] Error 2 make: *** [mk/config.mk:62: GREATMOUNTAINF435] Error 2Impact
Users attempting to flash GREATMOUNTAINF435 using Betaflight Configurator Cloud Build fail to compile or get missing drivers (e.g. ICM42688P gyro non-functional).
Proposed Fix
Fix the compiler warning in src/main/drivers/at32/bus_i2c_atbsp.c and src/main/drivers/at32/bus_spi_at32bsp.c or update configuration flags for AT32 bus initialization.