New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arduino board support [AKA add ArduinoCore-mbed as a platform] #110
Comments
Hi there: can you clarify what you mean by "Arduino native boards"? To paint a picture, one can think of the At the bottom there has to be a u-blox module, or you wouldn't be using Optionally, over the top of all of that, there is an IDE which provides a common way to build and debug SDKs. Complicating this, and not shown on the picture, there is Arduino-the-non-IDE-bit, i.e. calls like Having said that, we currently support the Arduino IDE way of working (provided it is on an ESP32) but the Arduino IDE way of working is extremely limited: for instance, to make it build PlatformIO, on the other hand, is very flexible and easy to use, doesn't enforce a fixed directory tree, and we support building You might ask "why don't you integrate with the Arduino APIs rather than the underlying SDK?" This is not something I've looked at but my suspicion would be that the Arduino APIs are not sufficient: Anyway, that's a long answer to a short question :-). Does it, at a minimum, make sense? |
Hi Rob, first and foremost, thank you for this astonishingly quick and concise answer! For the project I'm working on, we are using a Portenta H7 board which we'd like to equip with additional peripherals to enable mqtt capabilities via a celllular connection. We are also already using PlatformIO as a build tool, which should make integrating ubxlib easy. Unfortunately, the Portenta H7 is one of those boards that does not run on a ESP32 MCU. However, the Portenta H7, along with some other Arduino boards runs on the ArduinoCore-mbed library, which integrates arm mbed os into the Arduino core. This means that these boards do have an underlying OS which offers mutexes. semaphores. and more :) As far as I understand it, adoption for the arduino mbed integration is likely to increase in the future. Expanding this library to support arduino mbed boards might enable many people to integrate ublox modems into their Arduino projects. From my limited experience, working directly with AT commands to build out applications is a time consuming, error prone task, and represents a significant entry barrier. |
I don't know about concise, but quick I'll accept :-). Glad that you're using Platform IO, I think that's a wise choice. I see that this Portenta H7 beastie has an STM32H in it, which is not something I've come across before, should probably have a look. Somewhat ironically, and not directly associated with your question, one of the reasons Concerning the future of embedded OSes, purely FYI, we are seeing quite a lot of people go down the Zephyr route, I think attracted by its "Linuxey" origins, though it is nothing at all like Linux really. Anyway, what we have here is a product management question: a flavour of Arduino with mbed-os underneath is not likely to present a technical issue, it is really down to the potential business advantage in doing so. We will be deprecating support for nRF5SDK (the old Nordic SDK, which is why I didn't mention it above) this year, so we do kind of have room for another RTOS in the test system, and it might be that @hkro, @manemannen, @BHeidtmann: one for you to think about. |
Adding Arm Mbed OS and Arduino Core for mbed enabled devices as a platform in ubxlib would enable to conveniently use many boards with ubxlib same style as ESP-IDF. I think we should put it in our backlog, see if more people need it. |
Hi,
I'm interested in working with the ubxlib for a future project, but have limited experience with embedded programming.
The project is based on an Arduino board, and looking through the library's README I can see that Arduino native boards are not supported.
Are there any plans to support these boards in the future?
What are the challenges or other reasons why this is not currently possible?
The text was updated successfully, but these errors were encountered: