Hi Guys, I have been seraching for a makefile that can compile my sketch, i want one that works with windows. I searched the web and i founf plenty out there for Linux buntu, but only few for windows and the one for windows don't work. The one I am currently using it give an erro message..
PS C:\Users\bghobreal\Documents\Arduino\Arduino-Makefile-master\examples\BlinkWithoutDelay> make all
BlinkWithoutDelay -d output || mkdir output
0 [main] sh 4236 sync_with_child: child 18400(0x204) died before initialization with status code 0xC0000142
183 [main] sh 4236 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
make: *** [output/BlinkWithoutDelay.cpp] Error 128
FYI:- project name is BlinkWithoutDelay
I am not sure if that becuase the way I call my com port, here is how i do that
septillion:
Any reason you want to use all the Arduino magic but not the "Arduino magic box"? Bit like reinventing the wheel...
Some kind of versioning, I think. OP had a thread about that. When using the IDE and using DATE and TIME for versioning, one does not want to recompile just to do a upload.
It is not a GUI (use Windows for that), but the command line interface is what you want for builds anyway. Install the flavor of Linux desired and then the packages for building AVR projects. On the Ubuntu flavor, I use the following.
sudo apt-get install make git gcc-avr binutils-avr gdb-avr avr-libc avrdude
No more worrying about dependencies. Those packages work on Mac (with homebrew), Raspberry Pi, and Windows (with WSL).