Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ARM_SDK] EmuFlight does not compile with v10 #485

Open
nerdCopter opened this issue Feb 4, 2021 · 1 comment
Open

[ARM_SDK] EmuFlight does not compile with v10 #485

nerdCopter opened this issue Feb 4, 2021 · 1 comment

Comments

@nerdCopter
Copy link
Member

  • Does not compile with arm_sdk 10-2020-q4-major.
  • Limited to 9-2020-q2-update for the time-being.

example compile output:

Linking PYRODRONEF4PDB 
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/drivers/bus_spi.o (symbol from plugin): in function `spiDeviceByInstance':
(.text+0x0): multiple definition of `spiDevice'; obj/main/PYRODRONEF4PDB/drivers/bus_spi_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/fc/config.o (symbol from plugin): in function `systemConfig_System':
(.text+0x0): multiple definition of `specialColors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/fc/config.o (symbol from plugin): in function `systemConfig_System':
(.text+0x0): multiple definition of `modeColors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/fc/config.o (symbol from plugin): in function `systemConfig_System':
(.text+0x0): multiple definition of `colors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin): in function `USB_OTG_dev':
(.text+0x0): multiple definition of `specialColors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin): in function `USB_OTG_dev':
(.text+0x0): multiple definition of `modeColors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin): in function `USB_OTG_dev':
(.text+0x0): multiple definition of `colors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/interface/msp.o (symbol from plugin): in function `escMode':
(.text+0x0): multiple definition of `specialColors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/interface/msp.o (symbol from plugin): in function `escMode':
(.text+0x0): multiple definition of `modeColors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/interface/msp.o (symbol from plugin): in function `escMode':
(.text+0x0): multiple definition of `colors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/interface/msp.o (symbol from plugin): in function `escMode':
(.text+0x0): multiple definition of `inputSource_e'; obj/main/PYRODRONEF4PDB/fc/config.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/io/usb_cdc_hid.o (symbol from plugin): in function `sendRcDataToHid':
(.text+0x0): multiple definition of `USB_OTG_dev'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/fc/fc_init.o (symbol from plugin): in function `processLoopback':
(.text+0x0): multiple definition of `switchStates'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/fc/fc_init.o (symbol from plugin): in function `processLoopback':
(.text+0x0): multiple definition of `inputSource_e'; obj/main/PYRODRONEF4PDB/fc/config.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/fc/fc_init.o (symbol from plugin): in function `processLoopback':
(.text+0x0): multiple definition of `specialColors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/fc/fc_init.o (symbol from plugin): in function `processLoopback':
(.text+0x0): multiple definition of `modeColors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/fc/fc_init.o (symbol from plugin): in function `processLoopback':
(.text+0x0): multiple definition of `colors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/fc/fc_init.o (symbol from plugin): in function `processLoopback':
(.text+0x0): multiple definition of `pCurrentDisplay'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/fc/fc_core.o (symbol from plugin): in function `AccInflightCalibrationArmed':
(.text+0x0): multiple definition of `inputSource_e'; obj/main/PYRODRONEF4PDB/fc/config.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/fc/fc_rc.o (symbol from plugin): in function `applyBetaflightRates':
(.text+0x0): multiple definition of `isRXDataNew'; obj/main/PYRODRONEF4PDB/fc/fc_core.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/fc/rc_controls.o (symbol from plugin): in function `flight3DConfig_System':
(.text+0x0): multiple definition of `pCurrentDisplay'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/flight/servos.o (symbol from plugin): in function `pgResetFn_servoConfig':
(.text+0x0): multiple definition of `inputSource_e'; obj/main/PYRODRONEF4PDB/fc/config.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/flight/servos_tricopter.o (symbol from plugin): in function `servosTricopterIsEnabledServoUnarmed':
(.text+0x0): multiple definition of `inputSource_e'; obj/main/PYRODRONEF4PDB/fc/config.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/interface/cli.o (symbol from plugin): in function `cliSmartMode':
(.text+0x0): multiple definition of `specialColors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/interface/cli.o (symbol from plugin): in function `cliSmartMode':
(.text+0x0): multiple definition of `modeColors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/interface/cli.o (symbol from plugin): in function `cliSmartMode':
(.text+0x0): multiple definition of `colors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/interface/cli.o (symbol from plugin): in function `cliSmartMode':
(.text+0x0): multiple definition of `inputSource_e'; obj/main/PYRODRONEF4PDB/fc/config.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/interface/cli.o (symbol from plugin): in function `cliSmartMode':
(.text+0x0): multiple definition of `pCurrentDisplay'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/interface/settings.o (symbol from plugin): in function `settingsBuildCheck':
(.text+0x0): multiple definition of `specialColors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/interface/settings.o (symbol from plugin): in function `settingsBuildCheck':
(.text+0x0): multiple definition of `modeColors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/interface/settings.o (symbol from plugin): in function `settingsBuildCheck':
(.text+0x0): multiple definition of `colors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/interface/settings.o (symbol from plugin): in function `settingsBuildCheck':
(.text+0x0): multiple definition of `inputSource_e'; obj/main/PYRODRONEF4PDB/fc/config.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/interface/settings.o (symbol from plugin): in function `settingsBuildCheck':
(.text+0x0): multiple definition of `pCurrentDisplay'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/blackbox/blackbox.o (symbol from plugin): in function `blackboxConfig_System':
(.text+0x0): multiple definition of `inputSource_e'; obj/main/PYRODRONEF4PDB/fc/config.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/cms/cms.o (symbol from plugin): in function `cmsDisplayPortRegister':
(.text+0x0): multiple definition of `pCurrentDisplay'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/cms/cms.o (symbol from plugin): in function `cmsDisplayPortRegister':
(.text+0x0): multiple definition of `switchStates'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/cms/cms_menu_blackbox.o (symbol from plugin): in function `cmsx_menuBlackbox':
(.text+0x0): multiple definition of `pCurrentDisplay'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/cms/cms_menu_builtin.o (symbol from plugin): in function `menuMain':
(.text+0x0): multiple definition of `pCurrentDisplay'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/cms/cms_menu_failsafe.o (symbol from plugin): in function `failsafeConfig_failsafe_procedure':
(.text+0x0): multiple definition of `pCurrentDisplay'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/cms/cms_menu_gps_rescue.o (symbol from plugin): in function `cmsx_menuGpsRescue':
(.text+0x0): multiple definition of `pCurrentDisplay'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/cms/cms_menu_imu.o (symbol from plugin): in function `cmsx_menuImu':
(.text+0x0): multiple definition of `pCurrentDisplay'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/cms/cms_menu_ledstrip.o (symbol from plugin): in function `cmsx_menuLedstrip':
(.text+0x0): multiple definition of `pCurrentDisplay'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/cms/cms_menu_misc.o (symbol from plugin): in function `cmsx_menuMisc':
(.text+0x0): multiple definition of `pCurrentDisplay'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/cms/cms_menu_osd.o (symbol from plugin): in function `timerSource':
(.text+0x0): multiple definition of `pCurrentDisplay'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/cms/cms_menu_power.o (symbol from plugin): in function `batteryConfig_voltageMeterSource':
(.text+0x0): multiple definition of `pCurrentDisplay'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/cms/cms_menu_vtx_smartaudio.o (symbol from plugin): in function `saCmsORFreq':
(.text+0x0): multiple definition of `pCurrentDisplay'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/cms/cms_menu_vtx_tramp.o (symbol from plugin): in function `trampCmsBand':
(.text+0x0): multiple definition of `pCurrentDisplay'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip.o (symbol from plugin): in function `BIT_COMPARE_1':
(.text+0x0): multiple definition of `specialColors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip.o (symbol from plugin): in function `BIT_COMPARE_1':
(.text+0x0): multiple definition of `modeColors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip.o (symbol from plugin): in function `BIT_COMPARE_1':
(.text+0x0): multiple definition of `colors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/io/displayport_srxl.o (symbol from plugin): in function `displayPortSrxlInit':
(.text+0x0): multiple definition of `srxlDisplayPort'; obj/main/PYRODRONEF4PDB/fc/fc_init.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/io/displayport_srxl.o (symbol from plugin): in function `displayPortSrxlInit':
(.text+0x0): multiple definition of `pCurrentDisplay'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/io/displayport_crsf.o (symbol from plugin): in function `crsfDisplayPort':
(.text+0x0): multiple definition of `pCurrentDisplay'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/io/rcdevice_cam.o (symbol from plugin): in function `camDevice':
(.text+0x0): multiple definition of `switchStates'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/io/rcdevice_cam.o (symbol from plugin): in function `camDevice':
(.text+0x0): multiple definition of `pCurrentDisplay'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/io/ledstrip.o (symbol from plugin): in function `ledStripConfig_System':
(.text+0x0): multiple definition of `colors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/io/ledstrip.o (symbol from plugin): in function `ledStripConfig_System':
(.text+0x0): multiple definition of `modeColors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/io/ledstrip.o (symbol from plugin): in function `ledStripConfig_System':
(.text+0x0): multiple definition of `specialColors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/io/ledstrip.o (symbol from plugin): in function `ledStripConfig_System':
(.text+0x0): multiple definition of `inputSource_e'; obj/main/PYRODRONEF4PDB/fc/config.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/io/osd.o (symbol from plugin): in function `osdConfig_System':
(.text+0x0): multiple definition of `pCurrentDisplay'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/telemetry/crsf.o (symbol from plugin): in function `crsfSendMspResponse':
(.text+0x0): multiple definition of `pCurrentDisplay'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/telemetry/ghst.o (symbol from plugin): in function `ghstFramePackTelemetry':
(.text+0x0): multiple definition of `pCurrentDisplay'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/telemetry/srxl.o (symbol from plugin): in function `srxlFrameQos':
(.text+0x0): multiple definition of `pCurrentDisplay'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/telemetry/srxl.o (symbol from plugin): in function `srxlFrameQos':
(.text+0x0): multiple definition of `srxlDisplayPort'; obj/main/PYRODRONEF4PDB/fc/fc_init.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/telemetry/ltm.o (symbol from plugin): in function `handleLtmTelemetry':
(.text+0x0): multiple definition of `specialColors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/telemetry/ltm.o (symbol from plugin): in function `handleLtmTelemetry':
(.text+0x0): multiple definition of `modeColors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/telemetry/ltm.o (symbol from plugin): in function `handleLtmTelemetry':
(.text+0x0): multiple definition of `colors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/telemetry/mavlink.o (symbol from plugin): in function `freeMAVLinkTelemetryPort':
(.text+0x0): multiple definition of `specialColors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/telemetry/mavlink.o (symbol from plugin): in function `freeMAVLinkTelemetryPort':
(.text+0x0): multiple definition of `modeColors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/telemetry/mavlink.o (symbol from plugin): in function `freeMAVLinkTelemetryPort':
(.text+0x0): multiple definition of `colors'; obj/main/PYRODRONEF4PDB/drivers/light_ws2811strip_stdperiph.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/io/vtx_smartaudio.o (symbol from plugin): in function `saStat':
(.text+0x0): multiple definition of `pCurrentDisplay'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/io/vtx_tramp.o (symbol from plugin): in function `trampConfFreq':
(.text+0x0): multiple definition of `pCurrentDisplay'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/vcpf4/usbd_cdc_vcp.o (symbol from plugin): in function `bDeviceState':
(.text+0x0): multiple definition of `USB_OTG_dev'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: obj/main/PYRODRONEF4PDB/drivers/serial_usb_vcp.o (symbol from plugin): in function `usbVcpOpen':
(.text+0x0): multiple definition of `USB_OTG_dev'; obj/main/PYRODRONEF4PDB/fc/fc_tasks.o (symbol from plugin):(.text+0x0): first defined here
In function 'crsfWriteString',
    inlined from 'crsfWriteChar' at ./src/main/io/displayport_crsf.c:89:12:
./src/main/io/displayport_crsf.c:79:40: warning: '__builtin_memcmp_eq' specified size between 4294967041 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=]
   79 |     crsfScreen.pendingTransport[row] = memcmp(rowStart, s, truncLen);
      |                                        ^
Memory region         Used Size  Region Size  %age Used
           FLASH:       14085 B        16 KB     85.97%
    FLASH_CONFIG:          0 GB        16 KB      0.00%
          FLASH1:      324936 B       992 KB     31.99%
   SYSTEM_MEMORY:          0 GB        29 KB      0.00%
             RAM:       62408 B       128 KB     47.61%
             CCM:       10400 B        64 KB     15.87%
     BACKUP_SRAM:          0 GB         4 KB      0.00%
       MEMORY_B1:          0 GB         0 GB
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:328: obj/main/EmuFlight_PYRODRONEF4PDB.elf] Error 1
make[2]: Leaving directory '/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo'
make[1]: *** [Makefile:443: binary] Error 2
make: *** [Makefile:387: PYRODRONEF4PDB] Error 2
make[1]: Leaving directory '/home/runner/work/EmuFlight_nerdRepo/EmuFlight_nerdRepo'
Error: Process completed with exit code 2.
@Quick-Flash
Copy link
Member

Yeah even if we get it compiling this compiler uses up more memory than the previous ones. So we just need to wait on this sadly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants