I don't think things are very positive on this front. Checkout. I am interested in the Javascript but I have this bad feeling that hasn't even been started.
For programming the Portenta using microPython you need this OpenMV IDE. Yes an entirely different IDE, Download | OpenMV
Be careful I think you need to convert the Portenta bootloader to a new version (see the examples) before using this or you could get into a permanent bootloader loop, If you have never done that before on a microcontroller it is be really bad.
The new IDE is for using the new PortentaVisionShield but I think you can use it with just the portenta, (not fully sure). Anyone having any success with it?
... but I think you can use it with just the portenta, (not fully sure). Anyone having any success with it?
I could run a minimal MicroPython Script on the Portenta (the hardware HelloWorld) according to the OpenMV Tutorial. But I can't start the Script without the OpenMV IDE.
When you are connected via OpenMV, you have mounted the "filesystem" from the Portenta. But it is without any structure. There is only the root directory available, not things like /flash etc.
On the pyboard, there is a boot.py script, then you can copy your main.py script on the drive. I expected this base structure:
/flash/boot.py
and the I would upload my main.py:
/flash/boot.py
/flash/main.py
After booting, the boot.py script is executed and then your main script is started.
Questions:
How exactly runs MicroPython on the Portenta?
If needed, where can I find the boot.py?
Is there also a /flash directory needed or can one copy this files on root?
Does Arduino officially support MicroPython on the Portenta?
In my mind, the Arduino Portenta story is a bit handcraft and it makes not really a professional impression. Let us wait for better times
... but I think you can use it with just the portenta, (not fully sure). Anyone having any success with it?
I agree with your findings. I would like to be able to drag a main.py to the folder and have it run. Have it run both when USB connected and on battery power. It does not seem to load away from the openMV IDE. I think it can, just not used to the systems yet.
Not yet sure how I feel about the whole farming out micropython to a different company. Feels to easy for both companies to say "That's not my job." I have a similar concern about the new PortentaVisionShield. See new post.