Bootloader Make; system cannot find file, obj/src/application.o

Hi,

I’ve been working on this for a few weeks now but it has been problem after problem, all help appreciated.

I’ve used Git to get the firmware, I’ve modified the make files (3 of) so RM etc works in Windows. I’ve used arm-none-eabi-gcc --version to check that’s all working happily (I got the version and a warranty disclaimer).

Currently the make command gives this:

Building core-common-lib
make[1]: Nothing to be done for all'. ECHO is off. Building core-communication-lib make[1]: Nothing to be done forall’.
ECHO is off.
Building file: …/src/application.cpp
Invoking: ARM GCC CPP Compiler
obj/src/
process_begin: CreateProcess(NULL, obj/src/, …) failed.
make (e=2): The system cannot find the file specified.
make: *** [obj/src/application.o] Error 2

I’ve followed the instructions at https://github.com/spark/firmware/tree/bootloader-patch-update but I’m stumped with where to go from here.

After this the dfu-util -l not giving a response will be on the agenda! So much work just to get the sleep function to work, on a small unit that is surely designed to be powered by a battery and therefore should be running as conservatively as possible!!

Thanks in advance.

@MonkeyM;, can you please describe your environment? Which version OS, Git, make, etc. Are you trying to make the bootloader because you modified it? :smile:

Thanks for the reply @peekay123

Windows 7
Git 1.9.5
make 3.81

I’ve been hoping to get the https://github.com/spark/core-firmware/tree/bootloader-patch-update on my core so I can use the sleep function: http://docs.spark.io/firmware/#system-spark-sleep
Thus far I’ve been trying to go through the motions of getting the non-modified bootloader onto the core before I then try to git the bootloader-patch-update and put that on.

Thanks again.

@MonkeyM, silly Monkey, don’t you know trix are for kids!!! If you go to github and download the zip of the repo you will find, in the build folder, a file call core-firmware.bin already compiled and ready to flash! :stuck_out_tongue:

1 Like

@peekay123 Aha!! I think my age is indeed starting to show!! Onto the next issue (as this venture seems to be a series of).

So, I skip to section 4 Flash It! of https://github.com/spark/firmware/tree/bootloader-patch-update and I fall quite early on, dfu-util -l gives

‘dfu-util’ is not recognized as an internal or external command,
operable program or batch file.

I have downloaded dfu-util-0.7 binaries but am unclear of what to do with it. Should I be running a make in the directory? Or should I be looking at PATH again?

Thanks for you time.

EDIT: I got there! For anyone following me with the same problem, follow the instructions, word for word, given here https://community.spark.io/t/tutorial-installing-dfu-driver-on-windows-24-feb-2015/3518 including the link given in “Adding DFU-util to Windows path”. In my travels I decided to ensure there were no spaces in the file path. I don’t know if this was necessary but it worked without any!

Thanks again to @peekay123 for getting me there/here.

@MonkeyM, so Trix ARE for wily Monkeys! (I am dating myself also) :wink:

Glad you won this battle… on to the next!