MaJerle / stm32-usart-uart-dma-rx-tx

STM32 examples for USART using DMA for efficient RX and TX transmission
MIT License
1.35k stars 338 forks source link

/bin/sh: arm-none-eabi-objcopy.exe: command not found #10

Closed LingxiaoGao closed 4 years ago

LingxiaoGao commented 4 years ago

arm-none-eabi-objcopy.exe -O ihex "usart_dma_rx_idle_line_irq_rtos_L4.elf" "usart_dma_rx_idle_line_irq_rtos_L4.hex" /bin/sh: arm-none-eabi-objcopy.exe: command not found make[1]: [makefile:80: post-build] Error 127 make: [makefile:48: all] Error 2 "make -j7 all" terminated with exit code 2. Build might be incomplete.

MaJerle commented 4 years ago

Did you run it from CubeIDE? If not, you have to setup toolchain on your side.

LingxiaoGao commented 4 years ago

to

I am using lasted version of STM32CubeIDE

francescodg4 commented 4 years ago

Quick fix: right click on your project > Properties > C/C++ Build > Settings > Build Steps then remove the command in the "Pre-build steps" tab. It works now on my Linux machine.

Very nice project @MaJerle, keep it up!