Hi Alan,

I am still a noob in NuttX, but it was not clear from the
documentation that I had to copy/adapt the sample code to mount the
ROMFS filesystem in my board sources and insert the necessary call to
the mount in the xxx_bringup.c. These changes require quite a good
understanding of `#ifdef CONFIG_XXX` and the board specific code. The
example from the `sim` platform helps.

As I mentioned in the Discord channel these changes made me wonder if
some of the setup could not be combined into a common initialisation.
But maybe this is not possible because a specific intialization is
required before a next step in the initialization procedure can be
performed.

Kind regards,

Jehudi

Op di 3 dec 2024 om 15:42 schreef Alan C. Assis <acas...@gmail.com>:
>
> Hi Jehudi,
>
> I just saw in the Discord channel that you got it working.
>
> Please let's know what was the issue with our documentation and how did you
> fix it?
>
> Also I think your suggestion to move the mounting of procfs, tmpfs, etc
> from boards to some common initialization makes sense to me.
>
> Let's see if someone here has a different opinion.
>
> BR,
>
> Alan
>
> On Mon, Dec 2, 2024 at 1:56 PM Laczen JMS <laczen...@gmail.com> wrote:
>
> > Hi, I am working with NuttX on a esp32 based ttgo_eink5. So far I have
> > been able to get the wifi and the ntpclient working (as well as the
> > fb).
> >
> > As I am in a timezone that uses daylight saving I am trying to enable
> > the use of timezones. However I can seem to get this working, I see no
> > /etc/timezones and timedatectl list-timezones does not return any
> > data.
> >
> > Is there a good example somewhere on how to work with timezones on NuttX ?
> >
> > From the documentation it seems that I need to enable
> > `CONFIG_ETC_ROMFS` and some more options to enable generating the
> > timezone data in the `romfs`. I have been able to add this, but now
> > I'm getting the following linker error:
> > xtensa-esp32-elf-ld:
> >
> > /home/batman/nuttxspace/nuttx/staging/libsched.a(nx_bringup.o):(.literal.nx_start_task+0x0):
> > undefined reference to `romfs_img_len'
> > xtensa-esp32-elf-ld:
> >
> > /home/batman/nuttxspace/nuttx/staging/libsched.a(nx_bringup.o):(.literal.nx_start_task+0x4):
> > undefined reference to `romfs_img'`
> >
> > Kind regards,
> > Jehudi
> >

Reply via email to