Problems building SparkCore firmware under windows

When I try to build the firmware under windows by doing the following

  1. cd core-common-lib\build
  2. make

I get the following error:
Building file: …/CC3000_Host_Driver/cc3000_common.c
Invoking: ARM GCC C Compiler
mkdir -p obj/CC3000_Host_Driver/
The syntax of the command is incorrect.
make: *** [obj/CC3000_Host_Driver/cc3000_common.o] Error 1

I noticed that in windows mkdir does not accept a -p flag and mkdir does not know how to handle directory paths with the / symbol it instead using the \ to represent paths.

Also when I do “make clean” it uses rm -f which is not a tool that is in windows. Windows instead uses del /f /q to do the same.

Is the firmware able to compile under windows without cygwin? and if so, then what do I need to change to make it happen?


you might need to perform make in the core-firmware/build folder instead.

@orlcp440, I had the same issue initial stage, this solution worked for me, the issue is with the mkdir command.

1 Like