There's pretty good instructions for building OakSystem on a lot of the bountied issues on GitHub -
https://github.com/digistump/OakCore/issues/28There are a few steps involved, including modifying the hardware platform files. There's an example serial flash command you can modify for your use as well.
It sounds like you got OakSystem to build already, but one issue I ran into is that OakSystem.ino and oakrestore.ino won't build on Arduino 1.6.6 - they changed something with requiring function prototypes. If you run You'll have to use 1.6.5. You've got the compile/upload settings correct, so there's no problem there either.
From what I understand, there's space on the Oak for two builds - when shipped from factory, they are the "oaksetup_restore.bin" and "oakupdate_restore.bin" from this page -
https://github.com/digistump/OakRestore Downloading code from the Arduino IDE via serial or from the Particle Cloud overwrites... something. I'm not sure if it's one of the oaksetup/oakrestore images, or if there's another slot for user images. That part's not very clear to me.
Your esptool.py command writes your new OakSystem build to both "known" slots, which is probably overkill. You probably want to write "oakupdate_restore.bin" to the second slot, like:
python esptool.py --baud 115200 --port YOUR_COM_PORT write_flash -fs 32m 0x1000 blank.bin 0x2000 OakSystem.cpp.oak1.bin 0x0081000 oakupdate_restore.bin 0x101000 blank.bin 0x102000 blank.bin 0x202000 blank.bin All that said though, it seems like you're doing it right. The "three blinks" means that you're running the latest firmware. Is the ACORN-XXXX wifi network visible from another wifi device? You should be able to run through the same config stps on the wiki -
http://digistump.com/wiki/oak/tutorials/arduino and get your Oak connected to Particle at this point.
Right now, there's code available for building:
When you're building OakSystem.ino, you're building the latest version of the "oaksetup" file. This is part of what gets downloaded when you connect your Oak to the internet and run the setup app for the firs time. I believe the "firmware_v1.bin" file that is downloaded by the Oak contains the latest OakSystem + oakupdate_restore.bin.
If what you're trying to do is make a small change to the factory oaksetup, I don't believe the code is available for that right this second.
If you feel like you need to change the hardware platform code (ie, OakCore or OakFallback), I have had success in building those under Windows and can probably point you in somewhat the right direction. Don't know if that's of interest, however.