Whenever I click on the Verify or Flash buttons, I get this message. The project in question is saved and has .ino extension. What am I doing wrong?
Can you relaunch Particle Dev and open the directory again to see what happens?
Forgive me for the silly question but which directory? The project files are saved at a particle folder I created earlier in Documents. Iām confused, what directory am I supposed to open and how?
For Particle Dev you need to have each project in its own folder, which only contains one .ino
file and only .h
/.cpp
files.
If you have other files or subfolders in there, you need to create a spark.ignore
(or particle.ignore
??) file that lists all the files/subfolders to ignore.
And once you have set your file structure like this donāt use Open File ...
but Open Folder ...
to load your project.
Can the particle dev be used as the Arduino IDE? Do I have to create .h/.cpp files in order to use it? I guess that must be the problem.
Not as an Arduino IDE, but you can edit Arduino files just the same.
No, you donāt have to create .h
/.cpp
files. If your project just needs one .ino
file thatās fine too, but it has to live in its own folder.
So I created a folder and within the folder I saved a file (Documents/Particle_folder/BLINK/blink.ino). I still cannot verify or flash the code, I still get the same āPlease open the directoryā¦ā message. Iām going mental. Whatās happening? Why canāt I use a simple IDE? Have I done something wrong?
Have you really used this to open your project?
Thereās no Open file or Open folder, just Open (Mac OS X). I tried restarting the Particle Dev then āOpenā the file (no option to open folder). UPDATE: thereās an āAdd Project Folderā option, tried that and didnāt make any difference. I feel like crying.
Something else I checked: the device is online and available (Photon) and shows up in āDevicesā and is selected.
OK, since Iām on Win I canāt help you with that version, sorry.
But itās odd that the two versions are not the same
I genuinely appreciate your help, thank you! Iām so frustrated and have no idea what to do:(
Yes, I can.
I have the same issue on Mac OS X 10.10.5.
There is no āOpen Folderā nor does clicking āAdd Project Folderā help.
Please help. Thank you!
Does the Mac verion have a Cmd+Shift+O shortcut as the Windows version has?
What other options do you find in the File
menu (screenshot )?
On the Mac version, you just click File -> Open...
or the folder icon on the left.
Do not use Add Project Folder...
that is an Atom (the editor on which Particle Dev is based) feature that does not have a use in Particle Dev.
Ok, first of all thank you both for your comments.
Sadly I wasnāt able to flash with both of your advices. Any other ideas?
(and yes, ScruffR, CMD+Shift+O exists, but doesnāt help either. Nor CMD+O (Open File) does.
Are you sure youāre on the latest version of Particle Dev? Also, do you mind taking a screenshot of the whole window?