Closed JTLGE closed 2 years ago
Did you follow clone instructions?
Yes, but when executing those commands I encountered the following error:
`C:\Users\jacop\Desktop\prova>git clone https://github.com/CANopenNode/CANopenSTM32
Cloning into 'CANopenSTM32'...
remote: Enumerating objects: 618, done.
remote: Counting objects: 100% (327/327), done.
remote: Compressing objects: 100% (250/250), done. eceiving objects: 5% (31/618)
remote: Total 618 (delta 149), reused 241 (delta 71), pack-reused 291 eceiving objects: 96% (594/618), 1.45 MiB | 1.35 MiB/s
Receiving objects: 100% (618/618), 2.05 MiB | 1.43 MiB/s, done.
Resolving deltas: 100% (252/252), done.
C:\Users\jacop\Desktop\prova>cd CANopenSTM32
C:\Users\jacop\Desktop\prova\CANopenSTM32>
C:\Users\jacop\Desktop\prova\CANopenSTM32>
C:\Users\jacop\Desktop\prova\CANopenSTM32>
C:\Users\jacop\Desktop\prova\CANopenSTM32>git submodule update --init --recursive
Submodule 'CANopenNode' (https://github.com/CANopenNode/CANopenNode) registered for path 'CANopenNode'
Submodule 'libs/lwmem' (https://github.com/MaJerle/lwmem) registered for path 'libs/lwmem'
Submodule 'libs/lwprintf' (https://github.com/MaJerle/lwprintf) registered for path 'libs/lwprintf'
Submodule 'libs/lwrb' (https://github.com/MaJerle/lwrb) registered for path 'libs/lwrb'
Cloning into 'C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode'...
Cloning into 'C:/Users/jacop/Desktop/prova/CANopenSTM32/libs/lwmem'...
Cloning into 'C:/Users/jacop/Desktop/prova/CANopenSTM32/libs/lwprintf'...
Cloning into 'C:/Users/jacop/Desktop/prova/CANopenSTM32/libs/lwrb'...
Submodule path 'CANopenNode': checked out '8c7d852902b2d307e8b91a43332c14e366641e00'
Submodule path 'libs/lwmem': checked out 'd0055871cc21d5478281aa07198b51b02a403f8e'
Submodule path 'libs/lwprintf': checked out '13bcf006640daa8f8a109411457f31717e6462e9'
Submodule path 'libs/lwrb': checked out '764597326a1c833e3ff175e2f7ce0e3a4d38dc02'
Submodule 'third_party/Unity' (https://github.com/ThrowTheSwitch/Unity.git) registered for path 'libs/lwrb/third_party/Unity'
Submodule 'third_party/cmake-modules' (https://github.com/bilke/cmake-modules.git) registered for path 'libs/lwrb/third_party/cmake-modules'
fatal: No url found for submodule path 'libs/lwrb/third_party/embedded-libs' in .gitmodules
Failed to recurse into submodule path 'libs/lwrb'`
It is all good - should compile anyway.
I have tried, but I get the following errors:
19:38:11 **** Incremental Build of configuration Debug for project CANOpenNode-NUCLEO-STM32F303ZE ****
make -j4 all
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal.o"
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_can.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_can.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_can.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_can.o"
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.o"
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.o"
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_exti.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_exti.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_exti.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_exti.o"
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_flash.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_flash.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_flash.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_flash.o"
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_flash_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_flash_ex.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_flash_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_flash_ex.o"
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.o"
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_i2c.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_i2c.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_i2c.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_i2c.o"
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_i2c_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_i2c_ex.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_i2c_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_i2c_ex.o"
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_pcd.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_pcd.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_pcd.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_pcd.o"
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_pcd_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_pcd_ex.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_pcd_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_pcd_ex.o"
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_pwr.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_pwr.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_pwr.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_pwr.o"
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_pwr_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_pwr_ex.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_pwr_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_pwr_ex.o"
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.o"
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc_ex.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc_ex.o"
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rtc.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rtc.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rtc.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rtc.o"
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rtc_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rtc_ex.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rtc_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rtc_ex.o"
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_tim.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_tim.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_tim.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_tim.o"
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_tim_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_tim_ex.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_tim_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_tim_ex.o"
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_uart.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_uart.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_uart.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_uart.o"
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_uart_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_uart_ex.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_uart_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_uart_ex.o"
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_ll_exti.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_ll_exti.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_ll_exti.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_ll_exti.o"
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_ll_rcc.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_ll_rcc.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_ll_rcc.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_ll_rcc.o"
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_ll_usb.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_ll_usb.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_ll_usb.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_ll_usb.o"
arm-none-eabi-gcc "../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_ll_utils.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_ll_utils.d" -MT"Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_ll_utils.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_ll_utils.o"
arm-none-eabi-gcc "../Core/Src/can.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/can.d" -MT"Core/Src/can.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/can.o"
arm-none-eabi-gcc "../Core/Src/gpio.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/gpio.d" -MT"Core/Src/gpio.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/gpio.o"
arm-none-eabi-gcc "../Core/Src/main.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/main.d" -MT"Core/Src/main.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/main.o"
arm-none-eabi-gcc "../Core/Src/rtc.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/rtc.d" -MT"Core/Src/rtc.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/rtc.o"
arm-none-eabi-gcc "../Core/Src/stm32f3xx_hal_msp.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/stm32f3xx_hal_msp.d" -MT"Core/Src/stm32f3xx_hal_msp.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/stm32f3xx_hal_msp.o"
../Core/Src/main.c: In function 'main':
../Core/Src/main.c:96:3: warning: implicit declaration of function 'MX_USB_PCD_Init' [-Wimplicit-function-declaration]
96 | MX_USB_PCD_Init();
| ^~~~~~~~~~~~~~~
../Core/Src/main.c:100:3: warning: implicit declaration of function 'main_canopen' [-Wimplicit-function-declaration]
100 | main_canopen();
| ^~~~~~~~~~~~
../Core/Src/main.c: In function '__io_putchar':
../Core/Src/main.c:63:1: warning: control reaches end of non-void function [-Wreturn-type]
63 | }
| ^
arm-none-eabi-gcc "../Core/Src/stm32f3xx_it.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/stm32f3xx_it.d" -MT"Core/Src/stm32f3xx_it.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/stm32f3xx_it.o"
arm-none-eabi-gcc "../Core/Src/syscalls.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/syscalls.d" -MT"Core/Src/syscalls.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/syscalls.o"
arm-none-eabi-gcc "../Core/Src/sysmem.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/sysmem.d" -MT"Core/Src/sysmem.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/sysmem.o"
arm-none-eabi-gcc "../Core/Src/system_stm32f3xx.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/system_stm32f3xx.d" -MT"Core/Src/system_stm32f3xx.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/system_stm32f3xx.o"
arm-none-eabi-gcc "../Core/Src/tim.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/tim.d" -MT"Core/Src/tim.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/tim.o"
arm-none-eabi-gcc "../Core/Src/usart.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/usart.d" -MT"Core/Src/usart.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/usart.o"
arm-none-eabi-gcc "../Core/Src/usb.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/usb.d" -MT"Core/Src/usb.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/usb.o"
arm-none-eabi-gcc "../Core/CANOpen_STM32F3xx/CO_driver_STM32F3xx.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/CANOpen_STM32F3xx/CO_driver_STM32F3xx.d" -MT"Core/CANOpen_STM32F3xx/CO_driver_STM32F3xx.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/CANOpen_STM32F3xx/CO_driver_STM32F3xx.o"
arm-none-eabi-gcc "../Core/CANOpen_STM32F3xx/CO_storageBlank.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/CANOpen_STM32F3xx/CO_storageBlank.d" -MT"Core/CANOpen_STM32F3xx/CO_storageBlank.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/CANOpen_STM32F3xx/CO_storageBlank.o"
../Core/CANOpen_STM32F3xx/CO_driver_STM32F3xx.c: In function 'HAL_CAN_TxMailbox0CompleteCallback':
arm-none-eabi-gcc "../Core/CANOpen_STM32F3xx/OD.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/CANOpen_STM32F3xx/OD.d" -MT"Core/CANOpen_STM32F3xx/OD.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/CANOpen_STM32F3xx/OD.o"
../Core/CANOpen_STM32F3xx/CO_driver_STM32F3xx.c:538:21: warning: passing argument 1 of 'CO_CANinterrupt_TX' from incompatible pointer type [-Wincompatible-pointer-types]
538 | CO_CANinterrupt_TX(hcan,CAN_TX_MAILBOX0);
| ^~~~
| |
| CAN_HandleTypeDef * {aka struct __CAN_HandleTypeDef *}
../Core/CANOpen_STM32F3xx/CO_driver_STM32F3xx.c:499:41: note: expected 'CO_CANmodule_t *' but argument is of type 'CAN_HandleTypeDef *' {aka 'struct __CAN_HandleTypeDef *'}
499 | void CO_CANinterrupt_TX(CO_CANmodule_t *CANmodule, uint32_t MailboxNumber) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~
../Core/CANOpen_STM32F3xx/CO_driver_STM32F3xx.c: In function 'HAL_CAN_TxMailbox1CompleteCallback':
../Core/CANOpen_STM32F3xx/CO_driver_STM32F3xx.c:541:21: warning: passing argument 1 of 'CO_CANinterrupt_TX' from incompatible pointer type [-Wincompatible-pointer-types]
541 | CO_CANinterrupt_TX(hcan,CAN_TX_MAILBOX0);
| ^~~~
| |
| CAN_HandleTypeDef * {aka struct __CAN_HandleTypeDef *}
../Core/CANOpen_STM32F3xx/CO_driver_STM32F3xx.c:499:41: note: expected 'CO_CANmodule_t *' but argument is of type 'CAN_HandleTypeDef *' {aka 'struct __CAN_HandleTypeDef *'}
499 | void CO_CANinterrupt_TX(CO_CANmodule_t *CANmodule, uint32_t MailboxNumber) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~
../Core/CANOpen_STM32F3xx/CO_driver_STM32F3xx.c: In function 'HAL_CAN_TxMailbox2CompleteCallback':
../Core/CANOpen_STM32F3xx/CO_driver_STM32F3xx.c:544:21: warning: passing argument 1 of 'CO_CANinterrupt_TX' from incompatible pointer type [-Wincompatible-pointer-types]
544 | CO_CANinterrupt_TX(hcan,CAN_TX_MAILBOX0);
| ^~~~
| |
| CAN_HandleTypeDef * {aka struct __CAN_HandleTypeDef *}
../Core/CANOpen_STM32F3xx/CO_driver_STM32F3xx.c:499:41: note: expected 'CO_CANmodule_t *' but argument is of type 'CAN_HandleTypeDef *' {aka 'struct __CAN_HandleTypeDef *'}
499 | void CO_CANinterrupt_TX(CO_CANmodule_t *CANmodule, uint32_t MailboxNumber) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~
../Core/CANOpen_STM32F3xx/CO_driver_STM32F3xx.c: In function 'CO_CANmodule_process':
../Core/CANOpen_STM32F3xx/CO_driver_STM32F3xx.c:382:5: warning: 'err' is used uninitialized in this function [-Wuninitialized]
382 | if (CANmodule->errOld != err) {
| ^
arm-none-eabi-gcc "../Core/CANOpen_STM32F3xx/main_STM32F3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F303xE -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/CANopenNode" -I"C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Core/CANOpen_STM32F3xx" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/CANOpen_STM32F3xx/main_STM32F3.d" -MT"Core/CANOpen_STM32F3xx/main_STM32F3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/CANOpen_STM32F3xx/main_STM32F3.o"
../Core/CANOpen_STM32F3xx/main_STM32F3.c: In function 'main_canopen':
../Core/CANOpen_STM32F3xx/main_STM32F3.c:108:20: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
108 | log_printf("Allocated %u bytes for CANopen objects\n", heapMemoryUsed);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~
| |
| uint32_t {aka long unsigned int}
../Core/CANOpen_STM32F3xx/main_STM32F3.c:41:16: note: in definition of macro 'log_printf'
41 | printf(macropar_message, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
../Core/CANOpen_STM32F3xx/main_STM32F3.c:108:32: note: format string is defined here
108 | log_printf("Allocated %u bytes for CANopen objects\n", heapMemoryUsed);
| ~^
| |
| unsigned int
| %lu
../Core/CANOpen_STM32F3xx/main_STM32F3.c:122:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
122 | log_printf("Error: Storage %d\n", storageInitError);
| ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~
| |
| uint32_t {aka long unsigned int}
../Core/CANOpen_STM32F3xx/main_STM32F3.c:41:16: note: in definition of macro 'log_printf'
41 | printf(macropar_message, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
../Core/CANOpen_STM32F3xx/main_STM32F3.c:122:37: note: format string is defined here
122 | log_printf("Error: Storage %d\n", storageInitError);
| ~^
| |
| int
| %ld
../Core/CANOpen_STM32F3xx/main_STM32F3.c:175:28: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
175 | log_printf("Error: Object Dictionary entry 0x%X\n", errInfo);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~
| |
| uint32_t {aka long unsigned int}
../Core/CANOpen_STM32F3xx/main_STM32F3.c:41:16: note: in definition of macro 'log_printf'
41 | printf(macropar_message, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
../Core/CANOpen_STM32F3xx/main_STM32F3.c:175:63: note: format string is defined here
175 | log_printf("Error: Object Dictionary entry 0x%X\n", errInfo);
| ~^
| |
| unsigned int
| %lX
../Core/CANOpen_STM32F3xx/main_STM32F3.c:186:28: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
186 | log_printf("Error: Object Dictionary entry 0x%X\n", errInfo);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~
| |
| uint32_t {aka long unsigned int}
../Core/CANOpen_STM32F3xx/main_STM32F3.c:41:16: note: in definition of macro 'log_printf'
41 | printf(macropar_message, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
../Core/CANOpen_STM32F3xx/main_STM32F3.c:186:63: note: format string is defined here
186 | log_printf("Error: Object Dictionary entry 0x%X\n", errInfo);
| ~^
| |
| unsigned int
| %lX
arm-none-eabi-gcc -o "CANOpenNode-NUCLEO-STM32F303ZE.elf" @"objects.list" -mcpu=cortex-m4 -T"C:\Users\jacop\Desktop\prova\CANopenSTM32\stm32f3xx_can\STM32F303ZETX_FLASH.ld" --specs=nosys.specs -Wl,-Map="CANOpenNode-NUCLEO-STM32F303ZE.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
c:\st\stm32cubeide_1.8.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: ./Core/CANOpen_STM32F3xx/CO_storageBlank.o: in function `CO_storageBlank_init':
C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Debug/../Core/CANOpen_STM32F3xx/CO_storageBlank.c:79: undefined reference to `CO_storage_init'
c:\st\stm32cubeide_1.8.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: ./Core/CANOpen_STM32F3xx/main_STM32F3.o: in function `main_canopen':
C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Debug/../Core/CANOpen_STM32F3xx/main_STM32F3.c:102: undefined reference to `CO_new'
c:\st\stm32cubeide_1.8.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Debug/../Core/CANOpen_STM32F3xx/main_STM32F3.c:140: undefined reference to `CO_CANinit'
c:\st\stm32cubeide_1.8.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Debug/../Core/CANOpen_STM32F3xx/main_STM32F3.c:152: undefined reference to `CO_LSSinit'
c:\st\stm32cubeide_1.8.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Debug/../Core/CANOpen_STM32F3xx/main_STM32F3.c:161: undefined reference to `CO_CANopenInit'
c:\st\stm32cubeide_1.8.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Debug/../Core/CANOpen_STM32F3xx/main_STM32F3.c:183: undefined reference to `CO_CANopenInitPDO'
c:\st\stm32cubeide_1.8.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Debug/../Core/CANOpen_STM32F3xx/main_STM32F3.c:205: undefined reference to `CO_error'
c:\st\stm32cubeide_1.8.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Debug/../Core/CANOpen_STM32F3xx/main_STM32F3.c:233: undefined reference to `CO_process'
c:\st\stm32cubeide_1.8.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Debug/../Core/CANOpen_STM32F3xx/main_STM32F3.c:253: undefined reference to `CO_delete'
c:\st\stm32cubeide_1.8.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: ./Core/CANOpen_STM32F3xx/main_STM32F3.o: in function `tmrTask_thread':
C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Debug/../Core/CANOpen_STM32F3xx/main_STM32F3.c:271: undefined reference to `CO_process_SYNC'
c:\st\stm32cubeide_1.8.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Debug/../Core/CANOpen_STM32F3xx/main_STM32F3.c:274: undefined reference to `CO_process_RPDO'
c:\st\stm32cubeide_1.8.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: C:/Users/jacop/Desktop/prova/CANopenSTM32/stm32f3xx_can/Debug/../Core/CANOpen_STM32F3xx/main_STM32F3.c:277: undefined reference to `CO_process_TPDO'
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:65: CANOpenNode-NUCLEO-STM32F303ZE.elf] Error 1
"make -j4 all" terminated with exit code 2. Build might be incomplete.
19:38:22 Build Failed. 16 errors, 11 warnings. (took 10s.674ms)
@JTLGE There was an issue with source paths, I fixed it and you can give my fork a try. Hopefully it will fix the issue. In that case please let us know and we can merge it with the original repo.
You can find my fork in here :
when i use git to clone the project i have this error:
C:\Users\jacop\Desktop\prova>git clone https://github.com/HamedJafarzadeh/CanOpenSTM32
Cloning into 'CanOpenSTM32'...
remote: Enumerating objects: 647, done.
remote: Counting objects: 100% (356/356), done.
remote: Compressing objects: 100% (259/259), done.
remote: Total 647 (delta 175), reused 263 (delta 91), pack-reused 291R
Receiving objects: 100% (647/647), 2.06 MiB | 1.71 MiB/s, done.
Resolving deltas: 100% (278/278), done.
C:\Users\jacop\Desktop\prova>cd CANopenSTM32
C:\Users\jacop\Desktop\prova\CanOpenSTM32>git submodule update --init --recursive
Submodule 'CANopenNode' (https://github.com/CANopenNode/CANopenNode) registered for path 'CANopenNode'
Submodule 'libs/lwmem' (https://github.com/MaJerle/lwmem) registered for path 'libs/lwmem'
Submodule 'libs/lwprintf' (https://github.com/MaJerle/lwprintf) registered for path 'libs/lwprintf'
Submodule 'libs/lwrb' (https://github.com/MaJerle/lwrb) registered for path 'libs/lwrb'
Cloning into 'C:/Users/jacop/Desktop/prova/CanOpenSTM32/CANopenNode'...
Cloning into 'C:/Users/jacop/Desktop/prova/CanOpenSTM32/libs/lwmem'...
Cloning into 'C:/Users/jacop/Desktop/prova/CanOpenSTM32/libs/lwprintf'...
Cloning into 'C:/Users/jacop/Desktop/prova/CanOpenSTM32/libs/lwrb'...
Submodule path 'CANopenNode': checked out '8c7d852902b2d307e8b91a43332c14e366641e00'
Submodule path 'libs/lwmem': checked out 'd0055871cc21d5478281aa07198b51b02a403f8e'
Submodule path 'libs/lwprintf': checked out '13bcf006640daa8f8a109411457f31717e6462e9'
Submodule path 'libs/lwrb': checked out '764597326a1c833e3ff175e2f7ce0e3a4d38dc02'
Submodule 'third_party/Unity' (https://github.com/ThrowTheSwitch/Unity.git) registered for path 'libs/lwrb/third_party/Unity'
Submodule 'third_party/cmake-modules' (https://github.com/bilke/cmake-modules.git) registered for path 'libs/lwrb/third_party/cmake-modules'
fatal: No url found for submodule path 'libs/lwrb/third_party/embedded-libs' in .gitmodules
Failed to recurse into submodule path 'libs/lwrb'
but after this, I can compile the examples with STM32cubeide(I have only some warnings).
when i use git to clone the project i have this error:
C:\Users\jacop\Desktop\prova>git clone https://github.com/HamedJafarzadeh/CanOpenSTM32 Cloning into 'CanOpenSTM32'... remote: Enumerating objects: 647, done. remote: Counting objects: 100% (356/356), done. remote: Compressing objects: 100% (259/259), done. remote: Total 647 (delta 175), reused 263 (delta 91), pack-reused 291R Receiving objects: 100% (647/647), 2.06 MiB | 1.71 MiB/s, done. Resolving deltas: 100% (278/278), done. C:\Users\jacop\Desktop\prova>cd CANopenSTM32 C:\Users\jacop\Desktop\prova\CanOpenSTM32>git submodule update --init --recursive Submodule 'CANopenNode' (https://github.com/CANopenNode/CANopenNode) registered for path 'CANopenNode' Submodule 'libs/lwmem' (https://github.com/MaJerle/lwmem) registered for path 'libs/lwmem' Submodule 'libs/lwprintf' (https://github.com/MaJerle/lwprintf) registered for path 'libs/lwprintf' Submodule 'libs/lwrb' (https://github.com/MaJerle/lwrb) registered for path 'libs/lwrb' Cloning into 'C:/Users/jacop/Desktop/prova/CanOpenSTM32/CANopenNode'... Cloning into 'C:/Users/jacop/Desktop/prova/CanOpenSTM32/libs/lwmem'... Cloning into 'C:/Users/jacop/Desktop/prova/CanOpenSTM32/libs/lwprintf'... Cloning into 'C:/Users/jacop/Desktop/prova/CanOpenSTM32/libs/lwrb'... Submodule path 'CANopenNode': checked out '8c7d852902b2d307e8b91a43332c14e366641e00' Submodule path 'libs/lwmem': checked out 'd0055871cc21d5478281aa07198b51b02a403f8e' Submodule path 'libs/lwprintf': checked out '13bcf006640daa8f8a109411457f31717e6462e9' Submodule path 'libs/lwrb': checked out '764597326a1c833e3ff175e2f7ce0e3a4d38dc02' Submodule 'third_party/Unity' (https://github.com/ThrowTheSwitch/Unity.git) registered for path 'libs/lwrb/third_party/Unity' Submodule 'third_party/cmake-modules' (https://github.com/bilke/cmake-modules.git) registered for path 'libs/lwrb/third_party/cmake-modules' fatal: No url found for submodule path 'libs/lwrb/third_party/embedded-libs' in .gitmodules Failed to recurse into submodule path 'libs/lwrb'
but after this, I can compile the examples with STM32cubeide(I have only some warnings).
Perfect. Warnings are fine, nothing serious there. Thanks for letting us know. I had some issues later on with EDSGUI as well, I did some merging and some bug fixes as well, you can find those changes here. Just trying to save some of your time.
@MaJerle you can close this issue probably.
@HamedJafarzadeh can you do the pull request with final fixes you implemented so far?
I would like to compile the example CANopenNode for STM32 NUCLEO-F303ZE correctly. I have downloaded the folder from the github repository the folder with the .project file, I have also downloaded and added the CANopenNode folder to the project but when I compile I get the following error:
how can I solve this problem?