Help with creating an Arduino Opta target #313
-
BackgroundWe're currently working on software for the Arduino Opta. The Arduino core is based on Mbed OS but Arduino libraries don't support asynchronous I/O. We tried a multi-threaded approach but it turned out very bulky so we opted to ditch the Arduino libraries altogether and write native code for the Mbed OS-based Arduino core supporting asynchronous I/O instead. This approach works very well but the Arduino build system comes with some severe limitations so we were looking to get rid of the Arduino core and QuestionNeither Mbed OS nor Mbed CE support Arduino Opta targets out-of-the box. However, I'm told that the Arduino Portenta H7, which is supported by Mbed CE, is very similar to the Opta. That assumption seems to be confirmed by the very few differences I find when comparing the Portenta and Opta targets in the Mbed OS part f the Arduino core.
I am a complete noob at Mbed OS and know next to nothing about Mbed CE so I can't say if this is all that differs but can't find any other obvious places to look. Finally, here are my questions:
Post ScriptumI want to end with conveying my appreciation to the people working on this project, cloning and building |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
Hello and welcome to MbedCE community, how you wrote the Opta is based on STM32H747xI so from first view i can say you should be able to start with example of Custom target project and it seems all necessary settings are available in Arduino Mbed Core repo. So when you transform sources from here to the Custom target project you are the winner i think. Do not be hesitate to ask. BR, Jan |
Beta Was this translation helpful? Give feedback.
-
Thanks for answering!
The only missing piece(?) now is the implementation of opta_power ( Making the above changes allows me to configure and build the Custom Target project like this:
|
Beta Was this translation helpful? Give feedback.
-
By the way, I have been working on this branch for some time: https://github.com/mbed-ce/mbed-os/pull/316/files |
Beta Was this translation helpful? Give feedback.
First, you can use Write a reply under every answer and not Suggest an answer. That will allow you to lead conversations with multiple contributors about one topic separately.
About point 5. - it depends on your target and your requirements, then you should to change this according to your requirements.
If Opta…