You are here

Problems Compiling Firmware

2 posts / 0 new
Last post
LB94
Offline
Last seen: 2 months 3 weeks ago
VESC Free
Joined: 2022-11-14 16:21
Posts: 1
Problems Compiling Firmware

Hi,
I have been working with the VESC project for a short time and now I wanted to write my first own application. For this I followed all instructions of the Readme (https://github.com/vedderb/bldc) to compile the BLDC firmware on my Windows PC. However, I get the following error message every time I type 'make fw_60' or 'make 60' to compile the (original/unchanged) firmware:

make[1]: Entering directory 'C:/Users/.../VESC-BLDC/bldc'
Syntax Error.
Compiling crt0_v7m.s
ChibiOS_3.0.5/os/common/ports/ARMCMx/compilers/GCC/crt0_v7m.s:1:0: fatal error: opening dependency file build/60/.dep/crt0_v7m.o.d: No such file or directory
 /*

compilation terminated.
make[1]: *** [ChibiOS_3.0.5/os/common/ports/ARMCMx/compilers/GCC/rules.mk:235: C:/Users/lukas/Documents/DIY_Projekte/RunningStroller/VESC/VESC-BLDC/bldc/build/60/obj/crt0_v7m.o] Error 1
make[1]: Leaving directory 'C:/Users/.../VESC-BLDC/bldc'
make: *** [Makefile:212: fw_60_vescfw] Error 2

Does anyone have any idea what this could be? I would be very happy about helpful comments or hints.
 

Daniel...
Offline
Last seen: 7 months 1 week ago
VESC Free
Joined: 2023-06-30 20:28
Posts: 3

This may be a bit late, but I'm trying to help others find the answer. 
Depending on your FW version, you may have to edit my docker file for a new ARM GCC toolchain.
https://hackaday.io/pages/1354316

Daniel Wait