You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw that the repository could be useful to flash my hoverboard with AT32 processor and I want to see if I am able to get it.
However, I am having a little trouble, I have installed everything needed to do the make AT32, but I get this error from the terminal.
Can anyone tell me what is going on?
Build for target [AT32]
Using custom configuration [0]
arm-none-eabi-gcc build/stm32f1xx_hal_flash.o build/stm32f1xx_hal_hal_flash_ex.o build/stm32f1xx_hal_rcc.o build/stm32f1xx_hal_tim.o build/stm32f1xx_hal_tim_ex.o build/stm32f1xx_hal_hal_tim_ex.o build/stm32f1xx_hal_adc_ex. o build/stm32f1xx_hal_cortex.o build/stm32f1xx_hal_gpio.o build/stm32f1xx_hal_rcc_ex.o build/stm32f1xx_hal_pwr.o build/stm32f1xx_hal.o build/stm32f1xx_hal_adc.o build/stm32f1xx_hal_uart.o build/stm32f1xx_hal_i2c. o build/stm32f1xx_hal_dma.o build/setup.o build/control.o build/main.o build/bldc.o build/comms.o build/stm32f1xx_it.o build/BLDC_controller_data.o build/BLDC_controller.o build/system_at32f4xx. o build/startup_at32f403xe.o -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -specs=nano.specs -TAT32F403RCTx_FLASH.ld -lc -lm -lnosys -Wl,-Map=build/hover.map,--cref -Wl,--gc-sections -o build/hover.elf
/usr/lib/gcc/arm-none-eabi/10.3.1/../../arm-none-eabi/bin/ld: build/control.o:/home/sergio/Documents/hoverboard-firmware-hack/Src/control. c:19: multiple definition of hdma_i2c2_tx'; build/setup.o:/home/sergio/Documents/hoverboard-firmware-hack/Src/setup.c:225: defined for the first time here /usr/lib/gcc/arm-none-eabi/10.3.1/../../arm-none-eabi/bin/ld: build/control.o:/home/sergio/Documents/hoverboard-firmware-hack/Src/control. c:18: multiple definition of hdma_i2c2_rx'; build/setup.o:/home/sergio/Documents/hoverboard-firmware-hack/Src/setup.c:224: defined for the first time here
/usr/lib/gcc/arm-none-eabi/10.3.1/../../arm-none-eabi/bin/ld: build/comms.o:/home/sergio/Documentos/hoverboard-firmware-hack/Src/comms.c:8: multiple definition of huart2'; build/setup.o:/home/sergio/Documentos/hoverboard-firmware-hack/Src/setup.c:46: first definition here /usr/lib/gcc/arm-none-eabi/10.3.1/../../arm-none-eabi/bin/ld: build/BLDC_controller_data.o:/home/sergio/Documents/hoverboard-firmware-hack/Src/BLDC_controller_data. c:97: multiple definition of rtP'; build/main.o:/home/sergio/Documents/hoverboard-firmware-hack/Src/main.c:37: defined for the first time here
collect2: error: ld returns 1 output status
make: *** [Makefile:224: build/hover.elf] Error 1
Hello everyone,
I saw that the repository could be useful to flash my hoverboard with AT32 processor and I want to see if I am able to get it.
However, I am having a little trouble, I have installed everything needed to do the make AT32, but I get this error from the terminal.
Can anyone tell me what is going on?
Build for target [AT32]
Using custom configuration [0]
arm-none-eabi-gcc build/stm32f1xx_hal_flash.o build/stm32f1xx_hal_hal_flash_ex.o build/stm32f1xx_hal_rcc.o build/stm32f1xx_hal_tim.o build/stm32f1xx_hal_tim_ex.o build/stm32f1xx_hal_hal_tim_ex.o build/stm32f1xx_hal_adc_ex. o build/stm32f1xx_hal_cortex.o build/stm32f1xx_hal_gpio.o build/stm32f1xx_hal_rcc_ex.o build/stm32f1xx_hal_pwr.o build/stm32f1xx_hal.o build/stm32f1xx_hal_adc.o build/stm32f1xx_hal_uart.o build/stm32f1xx_hal_i2c. o build/stm32f1xx_hal_dma.o build/setup.o build/control.o build/main.o build/bldc.o build/comms.o build/stm32f1xx_it.o build/BLDC_controller_data.o build/BLDC_controller.o build/system_at32f4xx. o build/startup_at32f403xe.o -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -specs=nano.specs -TAT32F403RCTx_FLASH.ld -lc -lm -lnosys -Wl,-Map=build/hover.map,--cref -Wl,--gc-sections -o build/hover.elf
/usr/lib/gcc/arm-none-eabi/10.3.1/../../arm-none-eabi/bin/ld: build/control.o:/home/sergio/Documents/hoverboard-firmware-hack/Src/control. c:19: multiple definition of
hdma_i2c2_tx'; build/setup.o:/home/sergio/Documents/hoverboard-firmware-hack/Src/setup.c:225: defined for the first time here /usr/lib/gcc/arm-none-eabi/10.3.1/../../arm-none-eabi/bin/ld: build/control.o:/home/sergio/Documents/hoverboard-firmware-hack/Src/control. c:18: multiple definition of
hdma_i2c2_rx'; build/setup.o:/home/sergio/Documents/hoverboard-firmware-hack/Src/setup.c:224: defined for the first time here/usr/lib/gcc/arm-none-eabi/10.3.1/../../arm-none-eabi/bin/ld: build/comms.o:/home/sergio/Documentos/hoverboard-firmware-hack/Src/comms.c:8: multiple definition of
huart2'; build/setup.o:/home/sergio/Documentos/hoverboard-firmware-hack/Src/setup.c:46: first definition here /usr/lib/gcc/arm-none-eabi/10.3.1/../../arm-none-eabi/bin/ld: build/BLDC_controller_data.o:/home/sergio/Documents/hoverboard-firmware-hack/Src/BLDC_controller_data. c:97: multiple definition of
rtP'; build/main.o:/home/sergio/Documents/hoverboard-firmware-hack/Src/main.c:37: defined for the first time herecollect2: error: ld returns 1 output status
make: *** [Makefile:224: build/hover.elf] Error 1
Translated with www.DeepL.com/Translator (free version)
The text was updated successfully, but these errors were encountered: