Skip navigation
Home > All Places > ModusToolbox > Blog > 2019 > April

I wrote about Zerynth just after the Embedded World show, where they gave a great demo of their Python virtual machine running an IoT demonstration on a PSoC Pioneer kit.

Like all good demos it was, in essence, really simple. They dropped a MikroE Weather Click board (with a Bosch BME280 humidity/pressure/temperature sensor) onto the Pioneer kit, read values over I2C into the PSoC application, which published the weather data to the cloud wirelessly whenever the CapSense button was pressed. Simple right? Yeah, of course it is simple - but only because Cypress has invested decades of R&D effort and millions of dollars into making the most robust and best performing CapSense and wireless solutions on the planet! But the demo is simple and the Zerynth stuff is cool.

Better still, late last week they formally announced the availability of the software in their excellent Zerynth Studio product. So go download it now!!!!

PSoC Pioneer kit running the Zerynth Python VM with a MikroE Arduino Uno shield and Weather Click sensor board

I am very excited about this collaboration. The Zerynth folk are really easy to work with and their excitement about the product is infectious. I think it has something to do with being young and Italian, and having perfect hair! When they are not making innovative products I imagine they just scoot around Pisa, on Vespas, calling out "ciao" to all the pretty people. Well, maybe that's just what I would do?

In case you hadn't figured it our yet, I've run out of things to write... I want to go learn Python and try it out on my Pioneer kit... and so should you... so get downloading and join the millennials by coding in Python. It'll make you feel years younger. And your hair will look good too.


Sharing My Eclipse Project

Posted by JamesT_21 Apr 4, 2019

When in the course of a developer’s life it becomes necessary to share a project, an Eclipse IDE (and ModusToolbox IDE is no exception) is both helpful and confusing. The use case we’re talking about here is: “I want to pack up my project and send it to someone for them to see, use, or comment on.” A perfect example is when you have a support question and the support engineer asks you to send them the project.

Here’s how.


Before we get started....

  • Pro Tip #1: Before archiving, select the projects in the project explorer. Then they are automatically selected for the archive.
  • Pro Tip #2: When you archive a project, do not include the Debug folder. The IDE regenerates this information, you don’t need to include it. You will save many, many megabytes of space excluding the Debug folder.


To send someone your project, you create a project archive. Use File > Export and then choose General > Archive file. In the resulting dialog, you’ll see your projects and all their elements. Select the project you want to include. Expand it to see all the “stuff” in the project, and deselect the Debug folder. Browse to where you want it to be, give it a name, and click Finish.

Now, how about the other side of this equation. Someone sent you an archive. How do I get it into the IDE? This is where Eclipse is confusing.


To import projects from the file system, use File > Import and then General. See the screenshot below. There are several wizards to choose from, one of which is called Archive File. Hey, I just created an archive file, so that’s what I should import it, right? WRONG! Silly you for being that logical.  

Instead, use Existing Projects into Workspace. Your archive includes an existing project. So you are importing the existing project.


For Existing Projects into Workspace, you specify that this is an archive file. Browse to it and click Finish.


Finally, as an aside, this and many other Eclipse oddities are discussed in my Eclipse Survival Guide. If you're new to Eclipse, you may want to check it out.  Happy Eclipsing!