We've been getting some reports from Mac users that they are having issues compiling with the Atom editor. This thread is to serve as ongoing documentation for getting these workarounds documented. Currently we do not have any Apple computers here to test on so we cannot replicate/test the issue. However, some helpful customers have sent in a few tips that worked for them:
I’ve been having a heck of a time getting the firmware for the EZBoard to compile with the instructions from Tim’s video.
After I installed Atom (and the associated packages), I got errors complaining that my python install (the default Mac python) didn’t know about tkinter. After I fixed that, I got the following error:
python version 2.7.10
ERROR - no environment for this board
I finally gave up on atom and installed platformio on the command line using the instructions here: http://marlinfw.org/docs/basics/install_platformio_cli.html
It was really only four steps (all commands are run in terminal)
Download get-platformio.py (https://raw.githubusercontent.com/platformio/platformio/develop/scripts/get-platformio.py)
Run sudo get-platformio.py
Navigate to the firmware source code folder using cd (e.g. cd /path/to/firmware)
Run platformio run -e LPC1769
I hope this comes in handy when assisting other Mac users!
Thank you for all of your hard work. You make truly awesome products, and I’m happy to be your customer!
Instead of using the "Auto Build" feature use the built in PlatformIO Build option instead. For some reason "Auto Build" does not always work correctly on Mac computers.
I tried tip #2, and it looks like it compiled, but it did not create the new folders that were mentioned in the setup video. I did a search of the folder names but i could find anything. I havent tried Tip #1 yet, I was trying the easier of the two. By using PlatformIO, does it create a different folder name?
jcn115 files that start with . Are hidden, you can try navigating using the go to folder tool under go in finder, or using the terminal.
DonaldMcKay Thanks for the tip. Yup, the folders were hidden. Thanks again.
I compiled files in Atom and it took 5 or 6 tries to work. Today I made a change and compiled in Platformio Build and it worked first try. Lesson learned!