@maxgerhardt curious about your ideas since no one else seems to have any. Not really expecting it to work well just wanting to give it a try. Also curious how the Cortex M7 talks to the M4.
Yeah I got my preorder a couple of days ago. So far I have not seen a ton of ways to actually write code for this thing using any tool. It is (barely) supported in the Arduino IDE but does not contain any SDK documentation specific to Portenta.
It does look like you can push to either the M4 or the M7 core as they both show up as options. In addition since this board is running mbed, it should work with Mbed Studio but I’m still working on figuring out adapting a generic board profile for it. This seems to be the best short term option as the mbed 6.0 APIs should give access to most of the boards capabilities.
Interesting board indeed. The Arduino tutorials (part 1, part 2) give some insight here on how the board is board programmed, regarding the M4 and M7 core for example. The Portenta H7’s Arduino core is also here: https://github.com/arduino/ArduinoCore-mbed (see e.g. in boards.txt). This repo seems to be pretty much based on the Nano33BLE core (it is even in that core’s
boards.txt as an available option), being mbed-os based etc. PlatformIO already supports the Nano 33 BLE board, so maybe the changes to get another board added in the same style (mbed-os build but for a STM32 chip) isn’t so difficult. PlatformIO has the Arduino (with mbed-os) build script for that already.
CC @valeros for new board request
Thanks @maxgerhardt I did not clue in that the tutorials actually had 4 parts. I had only looked at part 1 and you are right, part 2 shows how to work with both cores.
I already know the Nano 33 BLE so that is a start, would be great if PlatformIO Nano33BLE could be adapted to work with the PortentaH7 .
This is all for updating my High School Robotics course to Arduino, with PlatformIO.
Thanks for your help.
This might also be relevant. Check out the first reply.
This also is interesting has anyone put jerryscript onto an mBed device?
And another one here called lowjs
Could not get it installed on my PC or LInux, but did get the websocket working on gitpod
cd examples node index.js ctrl-click the http localhost