OK apart from that one line, which was correct later, it works fine. Nice job man!
OK here’s the problems I had on my computer. Like you said you Eclipse-$PATH != gobal unix $PATH so I added on my computer
/usr/local/Cellar/gcc-arm-none-eabi-49/20150609/bin
It’ll be different to everyone else, but something like that
I tried adding serial terminal directly to Eclipse, but didn’t work now. I’ll try that later as well. EDIT. Seems like there’s some problem on Mac with RXTX library, and would need some serious hacking. I’m not sure if I bother, I’ll check how it is in the Arduino Eclipse version, but if it seems hard I’ll just use something else.
EDIT 2.
OK after a bit of digging around the RXTX plugin for serial communications directly from Eclipse is compatible only with 32 bit version. There is a 64bit linux port, but even this has major issues. If anyone has a solution that’d be great.
EDIT 3.
If you wish to compile with the develop branch you should use this in part 13).
make APP=myapp PLATFORM_ID=6 PARTICLE_DEVELOP=1 clean all