Hi Gábor,

I created a video tutorial explaining how to do that:

https://www.youtube.com/watch?v=oL6KAgkTb8M

At that time NuttX had support only for ELF executable, now it also has
support for ELF libraries (work done by WildernessLabs and improved by
Xiaomi).

About the idea of a NuttX distribution that you commented at NuttX Int.
Workshop, I investigated a little bit about package management tools that
could be used on NuttX.

Unfortunately ipkg/opkg are GPL so we cannot use it for commercial
products. There is the pkgin from NetBSD that is almost what we need, but
it uses SQLite and although we have SQLite integrated in our apps/ I think
it is too big for some low end microcontrollers.

I think we will need to implement it ourselves, looking at pkgin I see it
is not so complicated to implement and we need something simpler.

Best Regards,

Alan

On Fri, Jun 21, 2024 at 6:50 AM Gábor Kiss-Vámosi <kisvega...@gmail.com>
wrote:

> Hi,
>
> A smartwatch manufacturer company wants to dynamically add/remove apps at
> runtime on their MCU based devices . Similarly to how it works on
> smartphones.
>
> Example: The user wants to extend the smartwatch with an Alarm clock app.
> On Linux we just needed to copy the binary to the watch and it could be
> launched with any number of instances. With NuttX can we  extend the
> application which is already flashed? We can assume that all the required
> libraries (UI, communication, drivers etc) are already there and there is a
> stable ABI.
>

Reply via email to