Closed nopxor closed 2 months ago
Hi,
Unfortunately the F103 does not support using both USB and CAN-bus peripheral at the same time. The two peripherals have some shared resource for hardware buffering, and you can either use CAN-bus or you can use USB. I recommend the F303RE for using both usb and CAN-bus at the same time. I also have been using the F091RC a lot and know that that one works solid.
Balazs
On Wed, Sep 4, 2024 at 6:39 PM nopxor @.***> wrote:
Hello, I try to use OpenMRNLite (version 2.0.0) with the example Stm32CanUSB I use a NUCLEO 64 board: F103RB I use Arduino IDE version 1.8.19 with STM32 MCU based boards version 2.8.1 I set TOOLS -> USB support: "CDC (generic 'Serial' supersede U(S)ART)"
First of all, I have got some errors of compilation in files: src\os\MDNS.hxx src\os\MDNS.cpp src\utils\Base64.cpp src\utils\format_utils.hxx src\utils\format_utils.cpp I solve the problem by adding #include
in this files Now at linking, I have 2 errors of multiple definition, maybe it comes from the #define line 55 and 57 of the file: src\freertos_drivers\stm32\Stm32Can.cpp
Here is my "debug window": `Linking everything together... "C:\Users\Eric\AppData\Local\Arduino15\packages\STMicroelectronics\tools\xpack-arm-none-eabi-gcc\13.2.1-1.1/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -mthumb -Os -DNDEBUG --specs=nano.specs -Wl,--defsym=LD_FLASH_OFFSET=0x0 -Wl,--defsym=LD_MAX_SIZE=131072 -Wl,--defsym=LD_MAX_DATA_SIZE=20480 -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common "-Wl,--default-script=C:\Users\Eric\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.8.1\variants\STM32F1xx\F103R(8-B)T/ldscript.ld" "-Wl,--script=C:\Users\Eric\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.8.1\system/ldscript.ld" "-Wl,-Map,C:\Users\Eric\AppData\Local\Temp\arduino_build_902096/Stm32CanUSB.ino.map" -Wl,--no-warn-rwx-segments -o "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096/Stm32CanUSB.ino.elf" "-LC:\Users\Eric\AppData\Local\Temp\arduino_build_902096" -Wl,--start-group "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\sketch\Stm32CanUSB.ino.cpp.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\sketch\requiredLibraries.cpp.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\OpenMRNLite\OpenMRNLite.a" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\syscalls.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HardwareTimer.cpp.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\new.cpp.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_adc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_adc_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_can.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_cec.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_comp.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_comp_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_cordic.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_cortex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_crc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_crc_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_cryp.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_cryp_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_dac.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_dac_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_dcache.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_dcmi.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_dcmi_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_dfsdm.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_dfsdm_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_dma.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_dma2d.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_dma_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_dsi.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_dts.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_eth.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_eth_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_exti.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_fdcan.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_firewall.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_flash.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_flash_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_flash_ramfunc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_fmac.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_fmpi2c.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_fmpi2c_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_fmpsmbus.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_fmpsmbus_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_gfxmmu.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_gfxtim.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_gpio.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_gpio_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_gpu2d.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_gtzc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_hash.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_hash_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_hcd.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_hrtim.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_hsem.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_i2c.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_i2c_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_i2s.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_i2s_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_i3c.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_icache.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_ipcc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_irda.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_iwdg.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_jpeg.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_lcd.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_lptim.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_ltdc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_ltdc_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_mdf.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_mdios.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_mdma.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_mmc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_mmc_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_nand.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_nor.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_opamp.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_opamp_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_ospi.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_otfdec.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_pccard.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_pcd.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_pcd_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_pka.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_pssi.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_pwr.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_pwr_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_qspi.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_ramcfg.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_ramecc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_rcc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_rcc_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_rng.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_rng_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_rtc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_rtc_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_sai.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_sai_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_sd.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_sd_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_sdadc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_sdram.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_smartcard.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_smartcard_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_smbus.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_smbus_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_spdifrx.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_spi.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_spi_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_sram.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_subghz.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_swpmi.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_tim.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_tim_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_tsc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_uart.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_uart_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_usart.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_usart_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_wwdg.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_xspi.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_adc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_bdma.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_comp.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_cordic.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_crc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_crs.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_dac.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_delayblock.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_dlyb.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_dma.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_dma2d.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_exti.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_fmac.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_fmc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_fmpi2c.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_fsmc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_gpio.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_hrtim.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_i2c.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_i3c.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_icache.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_lpgpio.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_lptim.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_lpuart.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_mdma.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_opamp.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_pka.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_pwr.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_rcc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_rng.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_rtc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_sdmmc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_spi.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_swpmi.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_tim.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_ucpd.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_usart.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_usb.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_utils.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\PortNames.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\bootloader.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\clock.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\core_callback.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\dwt.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\hw_config.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\otp.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\pinmap.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\stm32_def.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\system_stm32yyxx.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\timer.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\uart.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\analog.cpp.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\interrupt.cpp.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\usb_device_core.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\usb_device_ctlreq.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\usb_device_ioreq.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\usbd_conf.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\usbd_desc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\usbd_ep_conf.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\usbd_if.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\USBSerial.cpp.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\cdc\cdc_queue.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\cdc\usbd_cdc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\cdc\usbd_cdc_if.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\hid\usbd_hid_composite.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\hid\usbd_hid_composite_if.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\core\PeripheralPins.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\core\generic_clock.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\core\variant_BLUEBUTTON_F103RxT.cpp.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\core\variant_NUCLEO_F103RB.cpp.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\core\variant_generic.cpp.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\core\core.a" -lc -Wl,--end-group -lm -lgcc -lstdc++
C:/Users/Eric/AppData/Local/Arduino15/packages/STMicroelectronics/tools/xpack-arm-none-eabi-gcc/13.2.1-1.1/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\usbd_conf.c.o: in function USB_LP_CAN1_RX0_IRQHandler': usbd_conf.c:(.text.USB_LP_CAN1_RX0_IRQHandler+0x0): multiple definition of USB_LP_CAN1_RX0_IRQHandler'; C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\OpenMRNLite\OpenMRNLite.a(Stm32Can.cpp.o):Stm32Can.cpp:(.text.USB_LP_CAN1_RX0_IRQHandler+0x0): first defined here C:/Users/Eric/AppData/Local/Arduino15/packages/STMicroelectronics/tools/xpack-arm-none-eabi-gcc/13.2.1-1.1/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\usbd_conf.c.o: in function USB_HP_CAN1_TX_IRQHandler': usbd_conf.c:(.text.USB_HP_CAN1_TX_IRQHandler+0x0): multiple definition of USB_HP_CAN1_TX_IRQHandler'; C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\OpenMRNLite\OpenMRNLite.a(Stm32Can.cpp.o):Stm32Can.cpp:(.text.USB_HP_CAN1_TX_IRQHandler+0x0): first defined here collect2.exe: error: ld returned 1 exit status
Utilisation de la bibliothèque OpenMRNLite version 2.0.0 dans le dossier: C:\Users\Eric\Documents\Arduino\libraries\OpenMRNLite Utilisation de la bibliothèque SrcWrapper version 1.0.1 dans le dossier: C:\Users\Eric\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.8.1\libraries\SrcWrapper Utilisation de la bibliothèque USBDevice version 1.0.0 dans le dossier: C:\Users\Eric\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.8.1\libraries\USBDevice exit status 1 Erreur de compilation pour la carte Nucleo-64`
I tried to use another NUCLEO 64 board: F401RE, but it seems not recognized by the file: src\freertos_drivers\stm32\Stm32Can.cpp
— Reply to this email directly, view it on GitHub https://github.com/openmrn/OpenMRNLite/issues/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4MECQEIDZAZ4ZKNWX6G5LZU4ZVVAVCNFSM6AAAAABNUWYT52VHI2DSMVQWIX3LMV43ASLTON2WKOZSGUYDKOBUGM2TONI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
On the Nucleo board you also have a "usb" via the debug port, and that looks like a Serial to us. So you can use the CanSerial example and turn off USB support in the tools menu entirely.
Thanks a lot for your response. I will try with the recommended F303RE or F091RC.
Hello, I try to use OpenMRNLite (version 2.0.0) with the example Stm32CanUSB I use a NUCLEO 64 board: F103RB I use Arduino IDE version 1.8.19 with STM32 MCU based boards version 2.8.1 I set TOOLS -> USB support: "CDC (generic 'Serial' supersede U(S)ART)"
First of all, I have got some errors of compilation in files: src\os\MDNS.hxx src\os\MDNS.cpp src\utils\Base64.cpp src\utils\format_utils.hxx src\utils\format_utils.cpp I solve the problem by adding #include in this files
Now at linking, I have 2 errors of multiple definition, maybe it comes from the #define line 55 and 57 of the file: src\freertos_drivers\stm32\Stm32Can.cpp
Here is my "debug window": `Linking everything together... "C:\Users\Eric\AppData\Local\Arduino15\packages\STMicroelectronics\tools\xpack-arm-none-eabi-gcc\13.2.1-1.1/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -mthumb -Os -DNDEBUG --specs=nano.specs -Wl,--defsym=LD_FLASH_OFFSET=0x0 -Wl,--defsym=LD_MAX_SIZE=131072 -Wl,--defsym=LD_MAX_DATA_SIZE=20480 -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common "-Wl,--default-script=C:\Users\Eric\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.8.1\variants\STM32F1xx\F103R(8-B)T/ldscript.ld" "-Wl,--script=C:\Users\Eric\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.8.1\system/ldscript.ld" "-Wl,-Map,C:\Users\Eric\AppData\Local\Temp\arduino_build_902096/Stm32CanUSB.ino.map" -Wl,--no-warn-rwx-segments -o "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096/Stm32CanUSB.ino.elf" "-LC:\Users\Eric\AppData\Local\Temp\arduino_build_902096" -Wl,--start-group "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\sketch\Stm32CanUSB.ino.cpp.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\sketch\requiredLibraries.cpp.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\OpenMRNLite\OpenMRNLite.a" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\syscalls.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HardwareTimer.cpp.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\new.cpp.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_adc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_adc_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_can.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_cec.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_comp.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_comp_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_cordic.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_cortex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_crc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_crc_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_cryp.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_cryp_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_dac.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_dac_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_dcache.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_dcmi.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_dcmi_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_dfsdm.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_dfsdm_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_dma.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_dma2d.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_dma_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_dsi.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_dts.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_eth.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_eth_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_exti.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_fdcan.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_firewall.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_flash.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_flash_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_flash_ramfunc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_fmac.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_fmpi2c.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_fmpi2c_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_fmpsmbus.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_fmpsmbus_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_gfxmmu.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_gfxtim.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_gpio.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_gpio_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_gpu2d.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_gtzc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_hash.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_hash_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_hcd.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_hrtim.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_hsem.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_i2c.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_i2c_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_i2s.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_i2s_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_i3c.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_icache.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_ipcc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_irda.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_iwdg.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_jpeg.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_lcd.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_lptim.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_ltdc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_ltdc_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_mdf.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_mdios.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_mdma.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_mmc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_mmc_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_nand.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_nor.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_opamp.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_opamp_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_ospi.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_otfdec.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_pccard.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_pcd.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_pcd_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_pka.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_pssi.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_pwr.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_pwr_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_qspi.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_ramcfg.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_ramecc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_rcc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_rcc_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_rng.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_rng_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_rtc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_rtc_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_sai.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_sai_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_sd.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_sd_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_sdadc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_sdram.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_smartcard.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_smartcard_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_smbus.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_smbus_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_spdifrx.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_spi.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_spi_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_sram.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_subghz.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_swpmi.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_tim.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_tim_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_tsc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_uart.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_uart_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_usart.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_usart_ex.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_wwdg.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\HAL\stm32yyxx_hal_xspi.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_adc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_bdma.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_comp.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_cordic.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_crc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_crs.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_dac.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_delayblock.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_dlyb.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_dma.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_dma2d.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_exti.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_fmac.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_fmc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_fmpi2c.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_fsmc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_gpio.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_hrtim.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_i2c.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_i3c.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_icache.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_lpgpio.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_lptim.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_lpuart.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_mdma.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_opamp.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_pka.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_pwr.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_rcc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_rng.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_rtc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_sdmmc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_spi.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_swpmi.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_tim.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_ucpd.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_usart.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_usb.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\LL\stm32yyxx_ll_utils.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\PortNames.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\bootloader.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\clock.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\core_callback.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\dwt.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\hw_config.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\otp.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\pinmap.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\stm32_def.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\system_stm32yyxx.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\timer.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\uart.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\analog.cpp.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\SrcWrapper\stm32\interrupt.cpp.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\usb_device_core.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\usb_device_ctlreq.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\usb_device_ioreq.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\usbd_conf.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\usbd_desc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\usbd_ep_conf.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\usbd_if.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\USBSerial.cpp.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\cdc\cdc_queue.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\cdc\usbd_cdc.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\cdc\usbd_cdc_if.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\hid\usbd_hid_composite.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\hid\usbd_hid_composite_if.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\core\PeripheralPins.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\core\generic_clock.c.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\core\variant_BLUEBUTTON_F103RxT.cpp.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\core\variant_NUCLEO_F103RB.cpp.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\core\variant_generic.cpp.o" "C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\core\core.a" -lc -Wl,--end-group -lm -lgcc -lstdc++
C:/Users/Eric/AppData/Local/Arduino15/packages/STMicroelectronics/tools/xpack-arm-none-eabi-gcc/13.2.1-1.1/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\usbd_conf.c.o: in function
USB_LP_CAN1_RX0_IRQHandler': usbd_conf.c:(.text.USB_LP_CAN1_RX0_IRQHandler+0x0): multiple definition of
USB_LP_CAN1_RX0_IRQHandler'; C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\OpenMRNLite\OpenMRNLite.a(Stm32Can.cpp.o):Stm32Can.cpp:(.text.USB_LP_CAN1_RX0_IRQHandler+0x0): first defined here C:/Users/Eric/AppData/Local/Arduino15/packages/STMicroelectronics/tools/xpack-arm-none-eabi-gcc/13.2.1-1.1/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\USBDevice\usbd_conf.c.o: in functionUSB_HP_CAN1_TX_IRQHandler': usbd_conf.c:(.text.USB_HP_CAN1_TX_IRQHandler+0x0): multiple definition of
USB_HP_CAN1_TX_IRQHandler'; C:\Users\Eric\AppData\Local\Temp\arduino_build_902096\libraries\OpenMRNLite\OpenMRNLite.a(Stm32Can.cpp.o):Stm32Can.cpp:(.text.USB_HP_CAN1_TX_IRQHandler+0x0): first defined here collect2.exe: error: ld returned 1 exit statusUtilisation de la bibliothèque OpenMRNLite version 2.0.0 dans le dossier: C:\Users\Eric\Documents\Arduino\libraries\OpenMRNLite Utilisation de la bibliothèque SrcWrapper version 1.0.1 dans le dossier: C:\Users\Eric\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.8.1\libraries\SrcWrapper Utilisation de la bibliothèque USBDevice version 1.0.0 dans le dossier: C:\Users\Eric\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.8.1\libraries\USBDevice exit status 1 Erreur de compilation pour la carte Nucleo-64`
I tried to use another NUCLEO 64 board: F401RE, but it seems not recognized by the file: src\freertos_drivers\stm32\Stm32Can.cpp