Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

Path setup in Mac OS

2 posters

Go down  Message [Page 1 of 1]

1Path setup in Mac OS Empty Path setup in Mac OS Mon Feb 21, 2022 11:24 am


Hello, I have installed SimulIDE on my iMac running with Mac OS 10.15.7.
The downloaded zip file I have decompressed und move to the App folder. I can start the app and create some files with Arduino Uno.
I would like to use the internal editor for easy changing the code und run it again.
For this I have to add the path to the toolchain or compiler (depend of version). There is my problem.
Where is the location for this on my Mac OS. I tried to choose the Arduino app but all apps in the app folder are greyed out.
Where is my mistake or what have I to do, to bring it to work?


Last edited by Bullit on Mon Feb 21, 2022 12:16 pm; edited 1 time in total (Reason for editing : add someting)

2Path setup in Mac OS Empty Re: Path setup in Mac OS Mon Feb 21, 2022 8:24 pm



You probably can set the path manually.
But the procedure depends a bit on simulide version: which version are you using?

3Path setup in Mac OS Empty Re: Path setup in Mac OS Mon Feb 21, 2022 8:43 pm


Hi, i use the 0.4.15. Loading the .hex file into the Uno is complicated but its works.

4Path setup in Mac OS Empty Re: Path setup in Mac OS Mon Feb 21, 2022 9:06 pm



Ok, I made a short video showing how to set the path for Arduino manually.
Not tested in MacOs, so I'm not sure it will work.

Basically the steps are these:
1- Set whatever path by right-clicking on the ino tab in the Editor, any path is ok.

2- Open Arduino IDE
   2.1- Set "show output" for compile in preferences.
   2.2- Compile any sketch, go to the first line of the output and find the path.

3- Open Simulide, go to File Explorer -> Settings.
   3.1- Open simulide.ini in Editor.
   3.2- Find "arduino_Path" entry and replace the path there by the one taken from Arduino IDE.

4- Close Simulide, open again and try to compile an sketch.

If this doesn't work and you need to use Arduino IDE:
You can set "Auto reload" propertty in the Arduino Component in the Circuit.
Then it will reload the hex every time you start simulation.
So you don't need to load it every time you re-compile the sketch in Arduino IDE.

5Path setup in Mac OS Empty Re: Path setup in Mac OS Tue Feb 22, 2022 7:51 am



 File: /Volumes/GoogleDrive/Meine Ablage/SimulIDE/Projekte/blink/blink.ino

Found Build folders at:
/Users/jurgenzapf/Library/Application Support/simulide/codeeditor/buildIno

No User sketchBook Found

"/Applications/Arduino.app/Contents/Java/arduino-builder" -compile -hardware "/Applications/Arduino.app/Contents/Java/hardware" -tools "/Applications/Arduino.app/Contents/Java/tools-builder" -tools "/Applications/Arduino.app/Contents/Java/hardware/tools/avr" -built-in-libraries "/Applications/Arduino.app/Contents/Java/libraries" -libraries "/libraries" -fqbn=arduino:avr:uno -build-path "/Users/jurgenzapf/Library/Application Support/simulide/codeeditor/buildIno/build" -build-cache "/Users/jurgenzapf/Library/Application Support/simulide/codeeditor/buildIno/cache" "/Volumes/GoogleDrive/Meine Ablage/SimulIDE/Projekte/blink/blink.ino"

Sketch uses 924 bytes (2%) of program storage space. Maximum is 32256 bytes.

Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.

     SUCCESS!!! Compilation Ok



It's works now. I tried also the 1.0.0 RC1.
One mistake I made was put all .ino files in one folder. After separate each .ino in it's own folder it's works fine.

Thanks for your help!

arcachofo likes this post

Sponsored content

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum