I had develop an app in java to take advantages of Zerynth Toolchain commands.
So you just need to point to the shell command on your Pycharm configurations
and write the arguments for compile, uplink or open console like this:
java -jar /home/david/.java/zerynth_tool.jar "$@"
The app let you choose a device previously virtualized in Zerynth Studio and creates a .json for device info for uplink and compile the code. To deal with the stdlibs and official modules I just add them to interpreter paths.
Everything works fine like any pycharm project, I test the app in pycharm with a NodeMCU3 device and a PSoC 6, which work fine for modules.
The only thing I need to solve its to find a way to import the PIN definition (D#), HIGH,LOW and digitaRead definitions too, and functions like sleep or random aren’t able to found. I have looked up in every document of the zerynth files but nothing.
As you can see in the next image, modules like stream, wireless and mqtt has no problem, the thing is with the ones metioned above:
The app has no problem on compiling and uplinking the code which have sense because it depends on the device target, and can be used with Pycharm included jbr with no previuos java installation.
I hope you guys can help my to import that missing modules, that would really make the experience really comfortable!
If you like to download the jar file to try it here is the link: