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

> It's awesome!
>
> but there is no stable ABI on NuttX, so you can't copy elf from one type of
> > device to another.
>
>
> Does it mean that the loaded apps should be self contained and not interact
> with any other code on the MCU?
>
>
no, elf can call functions in base image. But since the different image
expose a different API set, you can't launch elf on other devices.


>
>
> Xiang Xiao <xiaoxiang781...@gmail.com> ezt írta (időpont: 2024. jún. 21.,
> P, 11:55):
>
> > On Fri, Jun 21, 2024 at 5:50 PM 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?
> >
> >
> > Yes, you can load program(e.g. elf) from file system:
> > https://nuttx.apache.org/docs/latest/components/binfmt.html
> >
> >
> > > We can assume that all the required
> > > libraries (UI, communication, drivers etc) are already there and there
> > is a
> > > stable ABI.
> > >
> >
> > but there is no stable ABI on NuttX, so you can't copy elf from one type
> of
> > device to another.
> >
>

Reply via email to