Can you please tell me python version you’re running right now?
I do not understand the syntax error there but, If possible can you please add a space after colon or remove the type altogether and see if that fix the issue?
That’s what I thought. Well, that would probably involve a pretty-please and begging to @ivankravets
Good point… It’s still on 2.7.16… PlatformIO has been using Python 3 for a little while now (3.7.5, atm, it seems) , so I just just accidentally-on-purpose deleted my penv folder so it would upgrade the python environment… it’s still mulling that idea over, so may need application of a cattle prod.
Thanks for confirmation. should I be worried about someone running python 2? How can I test with python 2?
I do not understand the version scheme of default python package (ms-python.python) by Microsoft
No, not really, it’s only because I’ve been using this install of PlatformIO for a while, so it’s before PlatformIO jumped to Python 3. It’s not related to the ms-python, as PlatformIO uses it’s on python virtualenv to … insulate … itself from the rest of the OS, and also not muck up a pre-existing python setup (if any).
Edit: So cattle prod was applied, Python 3.7.5 didn’t want to auto-install willingly (ended up manually uninstalling it and letting PlatformIO try again). Now it compiles just fine. So it’s definitely something in the python 2 -> 3 transition.
Very soon, just finishing up some documentation and examples.
Siwiflasher is based on dll provided by mediatek. I do not have any open source alternative to flash GSM module. On linux it can work using wine but thats not really a solution for platformio. However I am thinking to understand the serial protocol and maybe able to provide a pyserial based flasher. But that might come later as reverse engineering protocol may take some time.
Hi @ivankravets, sorry to bump this topic again. Can you please add platform to PlatformIO registry?
Also I wanted to know how the release will work after platform is added. From what I understood, the tar.gz + sha1 sum has to be added to manifest.json to prepare a release. Is this an automated process in PlatformIO
Just for update, I have started my work on adding arduino framework support for siwigsm platform
Thank @jeremiahreddy Maybe mentioning minimum version of PlatformIO and python required should also be enough? so while installation itself things get verified by itself.
I am not sure if platform.json manifest file has such dependency field? There is engines in platform.json
No problem, Well actually It took me some time to understand even though you hinted some time back
I am not in hurry as of now since I am also working on getting Arduino framework ready I am sure PlatformIO team is working day in day out to get PIO IDE 2.0 with new features. Looking forward to it Good luck!