Skip to content

A compiling error, occurs for BETAFPV405 #887

@MSta-ger

Description

@MSta-ger

Describe the bug

Hi if i try to generate FW over BETAFLIGHT Configurator 10.10.0 it rist the following error:

./src/config/configs/BETAFPVF405/config.h:106: error: "MAG_I2C_INSTANCE" redefined [-Werror]
106 | #define MAG_I2C_INSTANCE I2CDEV_2

https://build.betaflight.com/api/builds/66491d97a8bddb1debd63b1db8509335/log

parameters:

Commencing the build (make BETAFPVF405):
git -C ./src/config pull origin
Already up to date.
Building target config BETAFPVF405
make -j hex CONFIG=BETAFPVF405
make[1]: Entering directory '/source'
make -j ./obj/betaflight_4.5.2_STM32F405_BETAFPVF405.hex
make[2]: Entering directory '/source'
rm -f ./obj/main/STM32F405_BETAFPVF405/.efhash_*

To Reproduce

Settings:

Image

then click "load FW" (online)

Expected behavior

Image

Support ID

This option rise also the same error

Flight controller

older AKK F4 Flight Controller OSD (Amazone) but the Problem ist since v4.5.0

Other components

none

How are the different components wired up (including port information)

none

Add any other context about the problem that you think might be relevant here

No response

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