Closed auxp closed 3 months ago
Both debug and release builds compiles for me. Are you using the STM32CubeIDE?
调试和发布版本都为我编译。您在使用STM32CubeIDE吗?
yes.STM32CubeIDE 1.12.0
Other boards compiles?
My my_machine.h: my_machine.zip
same make: No rule to make target 'D:\Projects\STM\GRBL Driver STM32F401\STM32F412VGTX_FLASH.ld', needed by 'firmware.elf'. Stop. make: Waiting for unfinished jobs....
My my_machine.h: my_machine.h.txt
My longboard32_map.h:default longboard32_map.h.txt
Is STM32F412VGTX_FLASH.ld missing?
![Uploading 3cef700dfc19399edf589416e5b32f5.png…]()
Missing one mistake make: *** No rule to make target 'D:\Projects\STM\GRBL Driver STM32F401\STM32F412VGTX_FLASH.ld', needed by 'firmware.elf'. Stop.
i 'm sorry! Just now STM32F412VGTX_FLASH.ld Copy wrong
The current mistake:
arm-none-eabi-gcc -o "firmware.elf" @"objects.list" -mcpu=cortex-m4 -T"D:\Projects\STM\GRBL Driver STM32F401\STM32F412VGTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="firmware.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -u _printf_float -u _scanf_float -Wl,--start-group -lc -lm -Wl,--end-group
d:\stm32cubeide_1.12.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\bin\ld.exe: ./boards/longboard32.o: in function board_init': D:/CNCGRBL/STM32Fxx/STM32F4xx-master/Debug F412/../boards/longboard32.c:31: undefined reference to
tmc_spi_init'
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:102: firmware.elf] Error 1
thank you. I have already solved the problem
open#define WIZCHIP 5500 #define WEBUI_ENABLE 3 .board. longboard32_map.h error make: No rule to make target 'D:\Projects\STM\GRBL Driver STM32F401\STM32F412VGTX_FLASH.ld', needed by 'firmware.elf'. Stop. make: Waiting for unfinished jobs....