Skip to content

[AT32F435] GREATMOUNTAINF435 Cloud Build compilation error in AT32 bus drivers #1197

Description

@bobberdolle1

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions