-
Notifications
You must be signed in to change notification settings - Fork 191
Description
Describe the bug
Looks like support for RADIOLINK405 Controller is broken, it hits this compiler error when doing an Online compile via Betaflight Configurator 10.10.0: ( Firmware version 4.5.2 ):
%% (optimised) ./src/main/sensors/adcinternal.c
%% (optimised) ./src/main/sensors/battery.c
%% (optimised) ./src/main/sensors/current.c
%% (optimised) ./src/main/sensors/voltage.c
%% (optimised) ./src/main/target/config_helper.c
%% (size optimised) ./src/main/fc/init.c
%% (optimised) ./src/main/fc/controlrate_profile.c
%% (optimised) ./src/main/drivers/accgyro/gyro_sync.c
%% (optimised) ./src/main/drivers/rx/rx_spi.c
%% (optimised) ./src/main/drivers/rx/rx_xn297.c
%% (optimised) ./src/main/drivers/rx/rx_pwm.c
%% (optimised) ./src/main/drivers/serial_softserial.c
%% (speed optimised) ./src/main/fc/core.c
%% (speed optimised) ./src/main/fc/rc.c
%% (optimised) ./src/main/fc/rc_adjustments.c
%% (speed optimised) ./src/main/fc/rc_controls.c
%% (optimised) ./src/main/fc/rc_modes.c
%% (optimised) ./src/main/flight/position.c
In file included from ./src/main/platform.h:30,
from ./src/main/io/serial.c:25:
./src/main/io/serial.c: In function 'pgResetFn_serialConfig':
%% (optimised) ./src/main/flight/failsafe.c
./src/config/configs/RADIOLINKF405/config.h:93:40: error: 'SERIAL_PORT_UART3' undeclared (first use in this function); did you mean 'SERIAL_PORT_UART9'?
93 | #define ESC_SENSOR_UART SERIAL_PORT_UART3
| ^~~~~~~~~~~~~~~~~
./src/main/io/serial.c:175:82: note: in expansion of macro 'ESC_SENSOR_UART'
175 | serialPortConfig_t *escSensorUartConfig = serialFindPortConfigurationMutable(ESC_SENSOR_UART);
| ^~~~~~~~~~~~~~~
./src/config/configs/RADIOLINKF405/config.h:93:40: note: each undeclared identifier is reported only once for each function it appears in
93 | #define ESC_SENSOR_UART SERIAL_PORT_UART3
| ^~~~~~~~~~~~~~~~~
./src/main/io/serial.c:175:82: note: in expansion of macro 'ESC_SENSOR_UART'
175 | serialPortConfig_t *escSensorUartConfig = serialFindPortConfigurationMutable(ESC_SENSOR_UART);
| ^~~~~~~~~~~~~~~
%% (optimised) ./src/main/flight/gps_rescue.c
%% (optimised) ./src/main/fc/gps_lap_timer.c
%% (speed optimised) ./src/main/flight/dyn_notch_filter.c
%% (speed optimised) ./src/main/flight/imu.c
%% (speed optimised) ./src/main/flight/mixer.c
make[2]: *** [Makefile:440: obj/main/STM32F405_RADIOLINKF405/io/serial.o] Error 1
make[2]: *** Waiting for unfinished jobs....
%% (size optimised) ./src/main/flight/mixer_init.c
make[2]: Leaving directory '/source'
make[1]: *** [Makefile:556: hex] Error 2
make[1]: Leaving directory '/source'
make: *** [mk/config.mk:62: RADIOLINKF405] Error 2
make failed with 2
To Reproduce
Attempt to update firmware on RADIOLINKF405 to the ( current ) latest of 4.5.2 using "Load Firmware [Online]" option in Beta Flight configurator 10.10.0
Expected behavior
The Online firmware build should complete without any errors
Support ID
Entering CLI Mode, type 'exit' to return, or 'help'
#
# Building AutoComplete Cache ... Done!
#
# Support ID
###ERROR IN input: UNKNOWN COMMAND, TRY 'HELP'###
# Support_ID
###ERROR IN input: UNKNOWN COMMAND, TRY 'HELP'###
Flight controller
RadioLink F405
Other components
No response
How are the different components wired up (including port information)
No response
Add any other context about the problem that you think might be relevant here
No response