chipKIT® Development Platform

Inspired by Arduino™

Sketchbook Anomaly

Created Sun, 01 Jul 2012 18:01:31 +0000 by jmlynesjr


jmlynesjr

Sun, 01 Jul 2012 18:01:31 +0000

Under File->Preferences I defined my sketchbook directory as /home/james/projects/chipKIT-sketches. When a sketch is saved-as it appears that mpide creates a subdirectory under chipKIT-sketches and saves the .pde file in this subdirectory.

I created a new sketch using gedit and saved-as into chipKIT-sketches first creating a new subfolder and then saving the .pde file in this subfolder. This new sketch does not show up under the Open Button or the File->Sketchbook menu. I then copied the code from gedit to a new mpide sketch and saved-as under mpide. The new sketch now shows up on the Open Button and File->Sketchbook menu. If I delete the gedit folders and rename the mpide folders to the original gedit names they show up under the new names! WEIRD! I found nothing in Help or .mpide that would explain this. Where is mpide actually keeping the sketchbook directory? It seems that if mpide doesn't do the saving it can't find the sketch even in the sketchbook directory.

Also, File->Open points to the mpide install directory. That doesn't seem to make much sense. At least you should be able to change that using File->Preferences or by editing .mpide.

Any thoughts?

James


Jacob Christ

Sun, 01 Jul 2012 19:36:58 +0000

The sketch and directory name must be the identical including matching the case. Its lame, but it is what it is.

Jacob