RE: Re: Power safe file systems for NuttX

2024-10-28 Thread Jia Lin
On 2024/10/26 05:27:35 Xiang Xiao wrote:
> have you enable CONFIG_GPT_PARTITION or CONFIG_MBR_PARTITION and
> call parse_block_partition:
>
https://github.com/apache/nuttx/blob/master/include/nuttx/fs/partition.h#L81
> to register partitions as block devices again, so you can mount the
> different file systems on these new block devices.
>
> Thanks
> Xiang
>
> On Sat, Oct 26, 2024 at 4:51 AM Matteo Golin  wrote:
>
> > I got my hands on a SPI SD card adapter and managed to try out SD/MMC
> > support for it through NuttX on my Pico. FAT file
> > systems worked with no problem, and after a little configuring I managed
> > to get littlefs going as well.
> >
> > Now I'm wondering if NuttX has support for multiple partitions on the
same
> > device; I'm hoping I can take a 32GB micro-SD
> > card and have 16GB be littlefs and 16GB be vfat. I haven't been able to
> > find any documentation about this though, and
> > after formatting my SD card to have two vfat partitions I can see that
> > NuttX is only able to mount the first one.
> >
> > I managed briefly to get both partitions on one card by first formatting
> > the card as littlefs, then using fdisk on my
> > host computer to add a vfat partition starting halfway through the card,
> > and then was able to mount both on NuttX as two
> > distinct file systems. Unfortunately after putting files on them,
> > rebooting NuttX and trying to remount, the vfat
> > partition was corrupted.
> >
> > Has anyone managed to get multiple partitions to work? How would I go
> > about it?
> >
> > Matteo
> >
>

Hello everyone,

I work with Matteo on CUInspace and am currently trying to get Nuttx to
recognize two partitions on a SD card. Currently I'm a little confused on
how to use / implement parse_block_partition. I did find a previous thread
on a similar subject (
https://lists.apache.org/thread/q19rdvst6k687s4v045q362j68r2so1t
<(https://lists.apache.org/thread/q19rdvst6k687s4v045q362j68r2so1t>), but I
am a bit lost trying to follow the code, specifically on where would be the
best place to call parse_block_partition. If anyone has any experience with
mounting an SD card with multiple partitions any help would be appreciated!

Thanks,
Tony


Re: Re: Power safe file systems for NuttX

2024-10-28 Thread Xiang Xiao
On Tue, Oct 29, 2024 at 10:02 AM Jia Lin  wrote:

> On 2024/10/26 05:27:35 Xiang Xiao wrote:
> > have you enable CONFIG_GPT_PARTITION or CONFIG_MBR_PARTITION and
> > call parse_block_partition:
> >
>
> https://github.com/apache/nuttx/blob/master/include/nuttx/fs/partition.h#L81
> > to register partitions as block devices again, so you can mount the
> > different file systems on these new block devices.
> >
> > Thanks
> > Xiang
> >
> > On Sat, Oct 26, 2024 at 4:51 AM Matteo Golin  wrote:
> >
> > > I got my hands on a SPI SD card adapter and managed to try out SD/MMC
> > > support for it through NuttX on my Pico. FAT file
> > > systems worked with no problem, and after a little configuring I
> managed
> > > to get littlefs going as well.
> > >
> > > Now I'm wondering if NuttX has support for multiple partitions on the
> same
> > > device; I'm hoping I can take a 32GB micro-SD
> > > card and have 16GB be littlefs and 16GB be vfat. I haven't been able to
> > > find any documentation about this though, and
> > > after formatting my SD card to have two vfat partitions I can see that
> > > NuttX is only able to mount the first one.
> > >
> > > I managed briefly to get both partitions on one card by first
> formatting
> > > the card as littlefs, then using fdisk on my
> > > host computer to add a vfat partition starting halfway through the
> card,
> > > and then was able to mount both on NuttX as two
> > > distinct file systems. Unfortunately after putting files on them,
> > > rebooting NuttX and trying to remount, the vfat
> > > partition was corrupted.
> > >
> > > Has anyone managed to get multiple partitions to work? How would I go
> > > about it?
> > >
> > > Matteo
> > >
> >
>
> Hello everyone,
>
> I work with Matteo on CUInspace and am currently trying to get Nuttx to
> recognize two partitions on a SD card. Currently I'm a little confused on
> how to use / implement parse_block_partition. I did find a previous thread
> on a similar subject (
> https://lists.apache.org/thread/q19rdvst6k687s4v045q362j68r2so1t
> <(https://lists.apache.org/thread/q19rdvst6k687s4v045q362j68r2so1t>), but
> I
> am a bit lost trying to follow the code, specifically on where would be the
> best place to call parse_block_partition. If anyone has any experience with
> mounting an SD card with multiple partitions any help would be appreciated!
>
>
If the card is inserted physically, you can call parse_block_partition in
board initialization like:
https://github.com/apache/nuttx/blob/master/boards/risc-v/mpfs/common/src/mpfs_emmcsd.c#L74
if the card is inserted dynamically, you may need insert the call in
automount:
https://github.com/apache/nuttx/blob/master/fs/mount/fs_automount.c



> Thanks,
> Tony
>


Re: [Article] Your very own Build Farm for NuttX

2024-10-28 Thread Alin Jerpelea
Hi Lup

please add to the guide
"apt install gh "
on host os

Best regards
Alin

On Mon, Oct 28, 2024 at 8:50 AM Lee, Lup Yuen  wrote:

> Thanks Alin, I think the fix is here:
> https://github.com/apache/nuttx/pull/14527
>
> Lup
>
> On Mon, Oct 28, 2024 at 3:43 PM Alin Jerpelea  wrote:
>
> > Cmake in present: stm32f334-disco/nsh,CONFIG_ARM_TOOLCHAIN_CLANG
> > Configuration/Tool: stm32f334-disco/nsh,CONFIG_ARM_TOOLCHAIN_CLANG
> > 2024-10-28 07:41:50
> >
> >
> 
> >   Cleaning...
> >   Configuring...
> > CMake Warning at cmake/nuttx_kconfig.cmake:171 (message):
> >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK (defined
> > at
> >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies STM32_HRTIM &&
> >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
> > y-selected
> >   by the following symbols:
> >
> >- STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533), with
> > value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value: y), and
> > select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
> >
> > Call Stack (most recent call first):
> >   CMakeLists.txt:322 (nuttx_olddefconfig)
> >
> >
> >   Select HOST_LINUX=y
> > CMake Warning at cmake/nuttx_kconfig.cmake:192 (message):
> >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK (defined
> > at
> >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies STM32_HRTIM &&
> >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
> > y-selected
> >   by the following symbols:
> >
> >- STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533), with
> > value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value: y), and
> > select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
> >
> > Call Stack (most recent call first):
> >   cmake/nuttx_sethost.cmake:107 (nuttx_setconfig)
> >   CMakeLists.txt:333 (nuttx_sethost)
> >
> >
> >   Disabling CONFIG_ARM_TOOLCHAIN_BUILDROOT
> >   Enabling CONFIG_ARM_TOOLCHAIN_CLANG
> >   Building NuttX...
> >
> > On Mon, Oct 28, 2024 at 8:18 AM Alin Jerpelea 
> wrote:
> >
> > > HI Lup
> > > I found another one
> > >
> > > Cmake in present: nucleo-f334r8/adc,CONFIG_ARM_TOOLCHAIN_CLANG
> > > Configuration/Tool: nucleo-f334r8/adc,CONFIG_ARM_TOOLCHAIN_CLANG
> > > 2024-10-28 07:17:15
> > >
> > >
> >
> 
> > >   Cleaning...
> > >   Configuring...
> > > CMake Warning at cmake/nuttx_kconfig.cmake:171 (message):
> > >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK
> (defined
> > > at
> > >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies STM32_HRTIM
> &&
> > >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
> > > y-selected
> > >   by the following symbols:
> > >
> > >- STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533),
> with
> > > value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value: y),
> and
> > > select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
> > >
> > > Call Stack (most recent call first):
> > >   CMakeLists.txt:322 (nuttx_olddefconfig)
> > >
> > >
> > >   Select HOST_LINUX=y
> > > CMake Warning at cmake/nuttx_kconfig.cmake:192 (message):
> > >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK
> (defined
> > > at
> > >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies STM32_HRTIM
> &&
> > >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
> > > y-selected
> > >   by the following symbols:
> > >
> > >- STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533),
> with
> > > value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value: y),
> and
> > > select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
> > >
> > > Call Stack (most recent call first):
> > >   cmake/nuttx_sethost.cmake:107 (nuttx_setconfig)
> > >   CMakeLists.txt:333 (nuttx_sethost)
> > >
> > >
> > >   Disabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
> > >   Enabling CONFIG_ARM_TOOLCHAIN_CLANG
> > >   Building NuttX...
> > >
> > > Thanks
> > > Alin
> > >
> > > On Mon, Oct 28, 2024 at 4:40 AM Lee, Lup Yuen 
> wrote:
> > >
> > >> << needed on host machine (please update the article)
> > >> apt install gcc-arm-none-eabi binutils-arm-none-eabi genromfs >>
> > >>
> > >> Hi Alin: This is super strange. genromfs isn't installed on my Host
> > >> Machine:
> > >>
> > >> ## genromfs isn't installed on my Host Machine
> > >> $ genromfs -h
> > >> Command 'genromfs' not found
> > >>
> > >> ## genromfs works fine inside Docker
> > >> $ sudo docker run -it \
> > >>   ghcr.io/apache/nuttx/apache-nuttx-ci-linux:latest \
> > >>   /bin/bash -c "genromfs -h"
> > >> genromfs 0.5.2
> > >>
> > >> Is anyone else having problems building NuttX with our Docker Image?
> > >> Please
> > >> lemme know thanks!
> > >>
> > >> << /usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found >>
> > >>
> > >> This is a 

Re: [Article] Your very own Build Farm for NuttX

2024-10-28 Thread Alin Jerpelea
Hi Lup,

I think that we all should push the logs as they are on
https://gist.github.com/nuttxpr in separate folders containing
build target (ex: arm-01) with logs renamed : platform_buildtime.log
or
platform/board/config with logs renamed
: platform_board_config_buildtime.log

This should simplify the scripting and display

what so you think ?

On Mon, Oct 28, 2024 at 9:25 AM Lee, Lup Yuen  wrote:

> << the results from my test are available on
> https://gist.github.com/jerpelea >>
>
> That's awesome Alin, thanks! :-)
>
> << I think that we should push all results on a git with date sorted by
> platform /board then create a simple heatmap with the latest build and
> green/red >>
>
> Yep lemme figure out if open-source Grafana can do this (with some
> scripting): https://grafana.com/oss/grafana/
>
> Lup
>
> On Mon, Oct 28, 2024 at 4:22 PM Alin Jerpelea  wrote:
>
> > HI all
> > the results from my test are available on
> https://gist.github.com/jerpelea
> >
> > I think that we should push all results on a git with date sorted by
> > platform /board then create a simple heatmap with the latest build and
> > green/red
> > @lup what do you think ?
> >
> >
> > Best regards
> > Alin
> >
> > On Mon, Oct 28, 2024 at 9:15 AM Alin Jerpelea 
> wrote:
> >
> > > Hi Lup,
> > >
> > > please add to the guide
> > > "gh auth login" so that users can upload the results
> > >
> > > Best regards
> > > Alin
> > >
> > >
> > > On Mon, Oct 28, 2024 at 9:12 AM Lee, Lup Yuen 
> wrote:
> > >
> > >> << please add to the guide "apt install gh " on host os >>
> > >>
> > >> Yep thanks Alin! I have updated the article:
> > >>
> > >>
> >
> https://lupyuen.codeberg.page/articles/ci2.html#build-nuttx-for-all-target-groups
> > >>
> > >> ## Download the scriptsgit clone
> > >> https://github.com/lupyuen/nuttx-releasecd nuttx-release
> > >> ## Login to GitHub in Headless Modesudo apt install ghsudo gh auth
> login
> > >> ## Run the Build Job forever: arm-01 ... arm-14sudo ./run-ci.sh
> > >>
> > >>
> > >> Lup
> > >>
> > >> On Mon, Oct 28, 2024 at 4:05 PM Alin Jerpelea 
> > wrote:
> > >>
> > >> > Hi Lup
> > >> >
> > >> > please add to the guide
> > >> > "apt install gh "
> > >> > on host os
> > >> >
> > >> > Best regards
> > >> > Alin
> > >> >
> > >> > On Mon, Oct 28, 2024 at 8:50 AM Lee, Lup Yuen 
> > >> wrote:
> > >> >
> > >> > > Thanks Alin, I think the fix is here:
> > >> > > https://github.com/apache/nuttx/pull/14527
> > >> > >
> > >> > > Lup
> > >> > >
> > >> > > On Mon, Oct 28, 2024 at 3:43 PM Alin Jerpelea  >
> > >> > wrote:
> > >> > >
> > >> > > > Cmake in present: stm32f334-disco/nsh,CONFIG_ARM_TOOLCHAIN_CLANG
> > >> > > > Configuration/Tool:
> stm32f334-disco/nsh,CONFIG_ARM_TOOLCHAIN_CLANG
> > >> > > > 2024-10-28 07:41:50
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> 
> > >> > > >   Cleaning...
> > >> > > >   Configuring...
> > >> > > > CMake Warning at cmake/nuttx_kconfig.cmake:171 (message):
> > >> > > >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK
> > >> > (defined
> > >> > > > at
> > >> > > >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies
> > >> STM32_HRTIM
> > >> > &&
> > >> > > >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently
> being
> > >> > > > y-selected
> > >> > > >   by the following symbols:
> > >> > > >
> > >> > > >- STM32_STM32F33XX (defined at
> > arch/arm/src/stm32/Kconfig:1533),
> > >> > with
> > >> > > > value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value:
> > y),
> > >> > and
> > >> > > > select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
> > >> > > >
> > >> > > > Call Stack (most recent call first):
> > >> > > >   CMakeLists.txt:322 (nuttx_olddefconfig)
> > >> > > >
> > >> > > >
> > >> > > >   Select HOST_LINUX=y
> > >> > > > CMake Warning at cmake/nuttx_kconfig.cmake:192 (message):
> > >> > > >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK
> > >> > (defined
> > >> > > > at
> > >> > > >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies
> > >> STM32_HRTIM
> > >> > &&
> > >> > > >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently
> being
> > >> > > > y-selected
> > >> > > >   by the following symbols:
> > >> > > >
> > >> > > >- STM32_STM32F33XX (defined at
> > arch/arm/src/stm32/Kconfig:1533),
> > >> > with
> > >> > > > value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value:
> > y),
> > >> > and
> > >> > > > select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
> > >> > > >
> > >> > > > Call Stack (most recent call first):
> > >> > > >   cmake/nuttx_sethost.cmake:107 (nuttx_setconfig)
> > >> > > >   CMakeLists.txt:333 (nuttx_sethost)
> > >> > > >
> > >> > > >
> > >> > > >   Disabling CONFIG_ARM_TOOLCHAIN_BUILDROOT
> > >> > > >   Enabling CONFIG_ARM_TOOLCHAIN_CLANG
> > >> > > >   Building NuttX...
> > >> > > >
> > >> > > > On Mon, Oct 28, 2024 at 8:18 AM Alin Jerpelea <
> jerpe...@gmail.com
> > >
> > >> >

Re: [Article] Your very own Build Farm for NuttX

2024-10-28 Thread Alin Jerpelea
Hi all,

is anyone aware of this warning ?
riscv-none-elf-ld: warning: /nuttx/nuttx has a LOAD segment with RWX
permissions

Best regards
Alin

On Mon, Oct 28, 2024 at 9:31 AM Alin Jerpelea  wrote:

> Hi Lup,
>
> I think that we all should push the logs as they are on
> https://gist.github.com/nuttxpr in separate folders containing
> build target (ex: arm-01) with logs renamed : platform_buildtime.log
> or
> platform/board/config with logs renamed
> : platform_board_config_buildtime.log
>
> This should simplify the scripting and display
>
> what so you think ?
>
> On Mon, Oct 28, 2024 at 9:25 AM Lee, Lup Yuen  wrote:
>
>> << the results from my test are available on
>> https://gist.github.com/jerpelea >>
>>
>> That's awesome Alin, thanks! :-)
>>
>> << I think that we should push all results on a git with date sorted by
>> platform /board then create a simple heatmap with the latest build and
>> green/red >>
>>
>> Yep lemme figure out if open-source Grafana can do this (with some
>> scripting): https://grafana.com/oss/grafana/
>>
>> Lup
>>
>> On Mon, Oct 28, 2024 at 4:22 PM Alin Jerpelea  wrote:
>>
>> > HI all
>> > the results from my test are available on
>> https://gist.github.com/jerpelea
>> >
>> > I think that we should push all results on a git with date sorted by
>> > platform /board then create a simple heatmap with the latest build and
>> > green/red
>> > @lup what do you think ?
>> >
>> >
>> > Best regards
>> > Alin
>> >
>> > On Mon, Oct 28, 2024 at 9:15 AM Alin Jerpelea 
>> wrote:
>> >
>> > > Hi Lup,
>> > >
>> > > please add to the guide
>> > > "gh auth login" so that users can upload the results
>> > >
>> > > Best regards
>> > > Alin
>> > >
>> > >
>> > > On Mon, Oct 28, 2024 at 9:12 AM Lee, Lup Yuen 
>> wrote:
>> > >
>> > >> << please add to the guide "apt install gh " on host os >>
>> > >>
>> > >> Yep thanks Alin! I have updated the article:
>> > >>
>> > >>
>> >
>> https://lupyuen.codeberg.page/articles/ci2.html#build-nuttx-for-all-target-groups
>> > >>
>> > >> ## Download the scriptsgit clone
>> > >> https://github.com/lupyuen/nuttx-releasecd nuttx-release
>> > >> ## Login to GitHub in Headless Modesudo apt install ghsudo gh auth
>> login
>> > >> ## Run the Build Job forever: arm-01 ... arm-14sudo ./run-ci.sh
>> > >>
>> > >>
>> > >> Lup
>> > >>
>> > >> On Mon, Oct 28, 2024 at 4:05 PM Alin Jerpelea 
>> > wrote:
>> > >>
>> > >> > Hi Lup
>> > >> >
>> > >> > please add to the guide
>> > >> > "apt install gh "
>> > >> > on host os
>> > >> >
>> > >> > Best regards
>> > >> > Alin
>> > >> >
>> > >> > On Mon, Oct 28, 2024 at 8:50 AM Lee, Lup Yuen 
>> > >> wrote:
>> > >> >
>> > >> > > Thanks Alin, I think the fix is here:
>> > >> > > https://github.com/apache/nuttx/pull/14527
>> > >> > >
>> > >> > > Lup
>> > >> > >
>> > >> > > On Mon, Oct 28, 2024 at 3:43 PM Alin Jerpelea <
>> jerpe...@gmail.com>
>> > >> > wrote:
>> > >> > >
>> > >> > > > Cmake in present:
>> stm32f334-disco/nsh,CONFIG_ARM_TOOLCHAIN_CLANG
>> > >> > > > Configuration/Tool:
>> stm32f334-disco/nsh,CONFIG_ARM_TOOLCHAIN_CLANG
>> > >> > > > 2024-10-28 07:41:50
>> > >> > > >
>> > >> > > >
>> > >> > >
>> > >> >
>> > >>
>> >
>> 
>> > >> > > >   Cleaning...
>> > >> > > >   Configuring...
>> > >> > > > CMake Warning at cmake/nuttx_kconfig.cmake:171 (message):
>> > >> > > >   Kconfig Configuration Error: warning:
>> STM32_HAVE_HRTIM1_PLLCLK
>> > >> > (defined
>> > >> > > > at
>> > >> > > >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies
>> > >> STM32_HRTIM
>> > >> > &&
>> > >> > > >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently
>> being
>> > >> > > > y-selected
>> > >> > > >   by the following symbols:
>> > >> > > >
>> > >> > > >- STM32_STM32F33XX (defined at
>> > arch/arm/src/stm32/Kconfig:1533),
>> > >> > with
>> > >> > > > value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM
>> (value:
>> > y),
>> > >> > and
>> > >> > > > select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
>> > >> > > >
>> > >> > > > Call Stack (most recent call first):
>> > >> > > >   CMakeLists.txt:322 (nuttx_olddefconfig)
>> > >> > > >
>> > >> > > >
>> > >> > > >   Select HOST_LINUX=y
>> > >> > > > CMake Warning at cmake/nuttx_kconfig.cmake:192 (message):
>> > >> > > >   Kconfig Configuration Error: warning:
>> STM32_HAVE_HRTIM1_PLLCLK
>> > >> > (defined
>> > >> > > > at
>> > >> > > >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies
>> > >> STM32_HRTIM
>> > >> > &&
>> > >> > > >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently
>> being
>> > >> > > > y-selected
>> > >> > > >   by the following symbols:
>> > >> > > >
>> > >> > > >- STM32_STM32F33XX (defined at
>> > arch/arm/src/stm32/Kconfig:1533),
>> > >> > with
>> > >> > > > value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM
>> (value:
>> > y),
>> > >> > and
>> > >> > > > select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
>> > >> > > >
>> > >> > > > Call Stack (most rece

Re: [Article] Your very own Build Farm for NuttX

2024-10-28 Thread Alin Jerpelea
Cmake in present: stm32f334-disco/nsh,CONFIG_ARM_TOOLCHAIN_CLANG
Configuration/Tool: stm32f334-disco/nsh,CONFIG_ARM_TOOLCHAIN_CLANG
2024-10-28 07:41:50

  Cleaning...
  Configuring...
CMake Warning at cmake/nuttx_kconfig.cmake:171 (message):
  Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK (defined at
  arch/arm/src/stm32/Kconfig:8109) has direct dependencies STM32_HRTIM &&
  ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
y-selected
  by the following symbols:

   - STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533), with
value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value: y), and
select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)

Call Stack (most recent call first):
  CMakeLists.txt:322 (nuttx_olddefconfig)


  Select HOST_LINUX=y
CMake Warning at cmake/nuttx_kconfig.cmake:192 (message):
  Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK (defined at
  arch/arm/src/stm32/Kconfig:8109) has direct dependencies STM32_HRTIM &&
  ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
y-selected
  by the following symbols:

   - STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533), with
value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value: y), and
select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)

Call Stack (most recent call first):
  cmake/nuttx_sethost.cmake:107 (nuttx_setconfig)
  CMakeLists.txt:333 (nuttx_sethost)


  Disabling CONFIG_ARM_TOOLCHAIN_BUILDROOT
  Enabling CONFIG_ARM_TOOLCHAIN_CLANG
  Building NuttX...

On Mon, Oct 28, 2024 at 8:18 AM Alin Jerpelea  wrote:

> HI Lup
> I found another one
>
> Cmake in present: nucleo-f334r8/adc,CONFIG_ARM_TOOLCHAIN_CLANG
> Configuration/Tool: nucleo-f334r8/adc,CONFIG_ARM_TOOLCHAIN_CLANG
> 2024-10-28 07:17:15
>
> 
>   Cleaning...
>   Configuring...
> CMake Warning at cmake/nuttx_kconfig.cmake:171 (message):
>   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK (defined
> at
>   arch/arm/src/stm32/Kconfig:8109) has direct dependencies STM32_HRTIM &&
>   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
> y-selected
>   by the following symbols:
>
>- STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533), with
> value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value: y), and
> select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
>
> Call Stack (most recent call first):
>   CMakeLists.txt:322 (nuttx_olddefconfig)
>
>
>   Select HOST_LINUX=y
> CMake Warning at cmake/nuttx_kconfig.cmake:192 (message):
>   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK (defined
> at
>   arch/arm/src/stm32/Kconfig:8109) has direct dependencies STM32_HRTIM &&
>   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
> y-selected
>   by the following symbols:
>
>- STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533), with
> value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value: y), and
> select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
>
> Call Stack (most recent call first):
>   cmake/nuttx_sethost.cmake:107 (nuttx_setconfig)
>   CMakeLists.txt:333 (nuttx_sethost)
>
>
>   Disabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
>   Enabling CONFIG_ARM_TOOLCHAIN_CLANG
>   Building NuttX...
>
> Thanks
> Alin
>
> On Mon, Oct 28, 2024 at 4:40 AM Lee, Lup Yuen  wrote:
>
>> << needed on host machine (please update the article)
>> apt install gcc-arm-none-eabi binutils-arm-none-eabi genromfs >>
>>
>> Hi Alin: This is super strange. genromfs isn't installed on my Host
>> Machine:
>>
>> ## genromfs isn't installed on my Host Machine
>> $ genromfs -h
>> Command 'genromfs' not found
>>
>> ## genromfs works fine inside Docker
>> $ sudo docker run -it \
>>   ghcr.io/apache/nuttx/apache-nuttx-ci-linux:latest \
>>   /bin/bash -c "genromfs -h"
>> genromfs 0.5.2
>>
>> Is anyone else having problems building NuttX with our Docker Image?
>> Please
>> lemme know thanks!
>>
>> << /usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found >>
>>
>> This is a harmless message, we're tracking the issue here:
>> https://github.com/apache/nuttx/issues/14374
>>
>> Lup
>>
>> On Mon, Oct 28, 2024 at 11:23 AM Alin Jerpelea 
>> wrote:
>>
>> > Hi Lup,
>> >
>> > needed on host machine (please update the article)
>> >
>> > apt install gcc-arm-none-eabi binutils-arm-none-eabi genromfs
>> >
>> > error still unidentified
>> >
>> > onfiguration/Tool: c5471evm/nettest,CONFIG_ARM_TOOLCHAIN_GNU_EABI
>> > 2024-10-28 04:20:28
>> >
>> >
>> 
>> >   Cleaning...
>> >   Configuring...
>> >   Disabling CONFIG_ARM_TOOLCHAIN_BUILDROOT
>> >   Enabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
>> >   Building NuttX...
>> >   Normalize c5471evm/nettest
>> > /usr/bin/bash: line 1: arm-nuttx-eabi-gcc: com

Re: [Article] Your very own Build Farm for NuttX

2024-10-28 Thread Alin Jerpelea
Hi Lup,

please add to the guide
"gh auth login" so that users can upload the results

Best regards
Alin


On Mon, Oct 28, 2024 at 9:12 AM Lee, Lup Yuen  wrote:

> << please add to the guide "apt install gh " on host os >>
>
> Yep thanks Alin! I have updated the article:
>
> https://lupyuen.codeberg.page/articles/ci2.html#build-nuttx-for-all-target-groups
>
> ## Download the scriptsgit clone
> https://github.com/lupyuen/nuttx-releasecd nuttx-release
> ## Login to GitHub in Headless Modesudo apt install ghsudo gh auth login
> ## Run the Build Job forever: arm-01 ... arm-14sudo ./run-ci.sh
>
>
> Lup
>
> On Mon, Oct 28, 2024 at 4:05 PM Alin Jerpelea  wrote:
>
> > Hi Lup
> >
> > please add to the guide
> > "apt install gh "
> > on host os
> >
> > Best regards
> > Alin
> >
> > On Mon, Oct 28, 2024 at 8:50 AM Lee, Lup Yuen  wrote:
> >
> > > Thanks Alin, I think the fix is here:
> > > https://github.com/apache/nuttx/pull/14527
> > >
> > > Lup
> > >
> > > On Mon, Oct 28, 2024 at 3:43 PM Alin Jerpelea 
> > wrote:
> > >
> > > > Cmake in present: stm32f334-disco/nsh,CONFIG_ARM_TOOLCHAIN_CLANG
> > > > Configuration/Tool: stm32f334-disco/nsh,CONFIG_ARM_TOOLCHAIN_CLANG
> > > > 2024-10-28 07:41:50
> > > >
> > > >
> > >
> >
> 
> > > >   Cleaning...
> > > >   Configuring...
> > > > CMake Warning at cmake/nuttx_kconfig.cmake:171 (message):
> > > >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK
> > (defined
> > > > at
> > > >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies
> STM32_HRTIM
> > &&
> > > >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
> > > > y-selected
> > > >   by the following symbols:
> > > >
> > > >- STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533),
> > with
> > > > value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value: y),
> > and
> > > > select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
> > > >
> > > > Call Stack (most recent call first):
> > > >   CMakeLists.txt:322 (nuttx_olddefconfig)
> > > >
> > > >
> > > >   Select HOST_LINUX=y
> > > > CMake Warning at cmake/nuttx_kconfig.cmake:192 (message):
> > > >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK
> > (defined
> > > > at
> > > >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies
> STM32_HRTIM
> > &&
> > > >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
> > > > y-selected
> > > >   by the following symbols:
> > > >
> > > >- STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533),
> > with
> > > > value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value: y),
> > and
> > > > select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
> > > >
> > > > Call Stack (most recent call first):
> > > >   cmake/nuttx_sethost.cmake:107 (nuttx_setconfig)
> > > >   CMakeLists.txt:333 (nuttx_sethost)
> > > >
> > > >
> > > >   Disabling CONFIG_ARM_TOOLCHAIN_BUILDROOT
> > > >   Enabling CONFIG_ARM_TOOLCHAIN_CLANG
> > > >   Building NuttX...
> > > >
> > > > On Mon, Oct 28, 2024 at 8:18 AM Alin Jerpelea 
> > > wrote:
> > > >
> > > > > HI Lup
> > > > > I found another one
> > > > >
> > > > > Cmake in present: nucleo-f334r8/adc,CONFIG_ARM_TOOLCHAIN_CLANG
> > > > > Configuration/Tool: nucleo-f334r8/adc,CONFIG_ARM_TOOLCHAIN_CLANG
> > > > > 2024-10-28 07:17:15
> > > > >
> > > > >
> > > >
> > >
> >
> 
> > > > >   Cleaning...
> > > > >   Configuring...
> > > > > CMake Warning at cmake/nuttx_kconfig.cmake:171 (message):
> > > > >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK
> > > (defined
> > > > > at
> > > > >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies
> > STM32_HRTIM
> > > &&
> > > > >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
> > > > > y-selected
> > > > >   by the following symbols:
> > > > >
> > > > >- STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533),
> > > with
> > > > > value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value:
> y),
> > > and
> > > > > select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
> > > > >
> > > > > Call Stack (most recent call first):
> > > > >   CMakeLists.txt:322 (nuttx_olddefconfig)
> > > > >
> > > > >
> > > > >   Select HOST_LINUX=y
> > > > > CMake Warning at cmake/nuttx_kconfig.cmake:192 (message):
> > > > >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK
> > > (defined
> > > > > at
> > > > >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies
> > STM32_HRTIM
> > > &&
> > > > >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
> > > > > y-selected
> > > > >   by the following symbols:
> > > > >
> > > > >- STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533),
> > > with
> > > > > value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value:
> y),
> > > and
> > > > > select condition ARCH_CHIP_STM3

Re: [Article] Your very own Build Farm for NuttX

2024-10-28 Thread Lee, Lup Yuen
<< please add to the guide "apt install gh " on host os >>

Yep thanks Alin! I have updated the article:
https://lupyuen.codeberg.page/articles/ci2.html#build-nuttx-for-all-target-groups

## Download the scriptsgit clone
https://github.com/lupyuen/nuttx-releasecd nuttx-release
## Login to GitHub in Headless Modesudo apt install ghsudo gh auth login
## Run the Build Job forever: arm-01 ... arm-14sudo ./run-ci.sh


Lup

On Mon, Oct 28, 2024 at 4:05 PM Alin Jerpelea  wrote:

> Hi Lup
>
> please add to the guide
> "apt install gh "
> on host os
>
> Best regards
> Alin
>
> On Mon, Oct 28, 2024 at 8:50 AM Lee, Lup Yuen  wrote:
>
> > Thanks Alin, I think the fix is here:
> > https://github.com/apache/nuttx/pull/14527
> >
> > Lup
> >
> > On Mon, Oct 28, 2024 at 3:43 PM Alin Jerpelea 
> wrote:
> >
> > > Cmake in present: stm32f334-disco/nsh,CONFIG_ARM_TOOLCHAIN_CLANG
> > > Configuration/Tool: stm32f334-disco/nsh,CONFIG_ARM_TOOLCHAIN_CLANG
> > > 2024-10-28 07:41:50
> > >
> > >
> >
> 
> > >   Cleaning...
> > >   Configuring...
> > > CMake Warning at cmake/nuttx_kconfig.cmake:171 (message):
> > >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK
> (defined
> > > at
> > >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies STM32_HRTIM
> &&
> > >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
> > > y-selected
> > >   by the following symbols:
> > >
> > >- STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533),
> with
> > > value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value: y),
> and
> > > select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
> > >
> > > Call Stack (most recent call first):
> > >   CMakeLists.txt:322 (nuttx_olddefconfig)
> > >
> > >
> > >   Select HOST_LINUX=y
> > > CMake Warning at cmake/nuttx_kconfig.cmake:192 (message):
> > >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK
> (defined
> > > at
> > >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies STM32_HRTIM
> &&
> > >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
> > > y-selected
> > >   by the following symbols:
> > >
> > >- STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533),
> with
> > > value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value: y),
> and
> > > select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
> > >
> > > Call Stack (most recent call first):
> > >   cmake/nuttx_sethost.cmake:107 (nuttx_setconfig)
> > >   CMakeLists.txt:333 (nuttx_sethost)
> > >
> > >
> > >   Disabling CONFIG_ARM_TOOLCHAIN_BUILDROOT
> > >   Enabling CONFIG_ARM_TOOLCHAIN_CLANG
> > >   Building NuttX...
> > >
> > > On Mon, Oct 28, 2024 at 8:18 AM Alin Jerpelea 
> > wrote:
> > >
> > > > HI Lup
> > > > I found another one
> > > >
> > > > Cmake in present: nucleo-f334r8/adc,CONFIG_ARM_TOOLCHAIN_CLANG
> > > > Configuration/Tool: nucleo-f334r8/adc,CONFIG_ARM_TOOLCHAIN_CLANG
> > > > 2024-10-28 07:17:15
> > > >
> > > >
> > >
> >
> 
> > > >   Cleaning...
> > > >   Configuring...
> > > > CMake Warning at cmake/nuttx_kconfig.cmake:171 (message):
> > > >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK
> > (defined
> > > > at
> > > >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies
> STM32_HRTIM
> > &&
> > > >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
> > > > y-selected
> > > >   by the following symbols:
> > > >
> > > >- STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533),
> > with
> > > > value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value: y),
> > and
> > > > select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
> > > >
> > > > Call Stack (most recent call first):
> > > >   CMakeLists.txt:322 (nuttx_olddefconfig)
> > > >
> > > >
> > > >   Select HOST_LINUX=y
> > > > CMake Warning at cmake/nuttx_kconfig.cmake:192 (message):
> > > >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK
> > (defined
> > > > at
> > > >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies
> STM32_HRTIM
> > &&
> > > >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
> > > > y-selected
> > > >   by the following symbols:
> > > >
> > > >- STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533),
> > with
> > > > value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value: y),
> > and
> > > > select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
> > > >
> > > > Call Stack (most recent call first):
> > > >   cmake/nuttx_sethost.cmake:107 (nuttx_setconfig)
> > > >   CMakeLists.txt:333 (nuttx_sethost)
> > > >
> > > >
> > > >   Disabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
> > > >   Enabling CONFIG_ARM_TOOLCHAIN_CLANG
> > > >   Building NuttX...
> > > >
> > > > Thanks
> > > > Alin
> > > >
> > > > On Mon, Oct 28, 2024 at 4:40 AM Lee, Lup Yuen 
> > wrote:
> > > >
> > > >> << neede

Re: [Article] Your very own Build Farm for NuttX

2024-10-28 Thread Alin Jerpelea
HI all
the results from my test are available on https://gist.github.com/jerpelea

I think that we should push all results on a git with date sorted by
platform /board then create a simple heatmap with the latest build and
green/red
@lup what do you think ?


Best regards
Alin

On Mon, Oct 28, 2024 at 9:15 AM Alin Jerpelea  wrote:

> Hi Lup,
>
> please add to the guide
> "gh auth login" so that users can upload the results
>
> Best regards
> Alin
>
>
> On Mon, Oct 28, 2024 at 9:12 AM Lee, Lup Yuen  wrote:
>
>> << please add to the guide "apt install gh " on host os >>
>>
>> Yep thanks Alin! I have updated the article:
>>
>> https://lupyuen.codeberg.page/articles/ci2.html#build-nuttx-for-all-target-groups
>>
>> ## Download the scriptsgit clone
>> https://github.com/lupyuen/nuttx-releasecd nuttx-release
>> ## Login to GitHub in Headless Modesudo apt install ghsudo gh auth login
>> ## Run the Build Job forever: arm-01 ... arm-14sudo ./run-ci.sh
>>
>>
>> Lup
>>
>> On Mon, Oct 28, 2024 at 4:05 PM Alin Jerpelea  wrote:
>>
>> > Hi Lup
>> >
>> > please add to the guide
>> > "apt install gh "
>> > on host os
>> >
>> > Best regards
>> > Alin
>> >
>> > On Mon, Oct 28, 2024 at 8:50 AM Lee, Lup Yuen 
>> wrote:
>> >
>> > > Thanks Alin, I think the fix is here:
>> > > https://github.com/apache/nuttx/pull/14527
>> > >
>> > > Lup
>> > >
>> > > On Mon, Oct 28, 2024 at 3:43 PM Alin Jerpelea 
>> > wrote:
>> > >
>> > > > Cmake in present: stm32f334-disco/nsh,CONFIG_ARM_TOOLCHAIN_CLANG
>> > > > Configuration/Tool: stm32f334-disco/nsh,CONFIG_ARM_TOOLCHAIN_CLANG
>> > > > 2024-10-28 07:41:50
>> > > >
>> > > >
>> > >
>> >
>> 
>> > > >   Cleaning...
>> > > >   Configuring...
>> > > > CMake Warning at cmake/nuttx_kconfig.cmake:171 (message):
>> > > >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK
>> > (defined
>> > > > at
>> > > >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies
>> STM32_HRTIM
>> > &&
>> > > >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
>> > > > y-selected
>> > > >   by the following symbols:
>> > > >
>> > > >- STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533),
>> > with
>> > > > value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value: y),
>> > and
>> > > > select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
>> > > >
>> > > > Call Stack (most recent call first):
>> > > >   CMakeLists.txt:322 (nuttx_olddefconfig)
>> > > >
>> > > >
>> > > >   Select HOST_LINUX=y
>> > > > CMake Warning at cmake/nuttx_kconfig.cmake:192 (message):
>> > > >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK
>> > (defined
>> > > > at
>> > > >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies
>> STM32_HRTIM
>> > &&
>> > > >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
>> > > > y-selected
>> > > >   by the following symbols:
>> > > >
>> > > >- STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533),
>> > with
>> > > > value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value: y),
>> > and
>> > > > select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
>> > > >
>> > > > Call Stack (most recent call first):
>> > > >   cmake/nuttx_sethost.cmake:107 (nuttx_setconfig)
>> > > >   CMakeLists.txt:333 (nuttx_sethost)
>> > > >
>> > > >
>> > > >   Disabling CONFIG_ARM_TOOLCHAIN_BUILDROOT
>> > > >   Enabling CONFIG_ARM_TOOLCHAIN_CLANG
>> > > >   Building NuttX...
>> > > >
>> > > > On Mon, Oct 28, 2024 at 8:18 AM Alin Jerpelea 
>> > > wrote:
>> > > >
>> > > > > HI Lup
>> > > > > I found another one
>> > > > >
>> > > > > Cmake in present: nucleo-f334r8/adc,CONFIG_ARM_TOOLCHAIN_CLANG
>> > > > > Configuration/Tool: nucleo-f334r8/adc,CONFIG_ARM_TOOLCHAIN_CLANG
>> > > > > 2024-10-28 07:17:15
>> > > > >
>> > > > >
>> > > >
>> > >
>> >
>> 
>> > > > >   Cleaning...
>> > > > >   Configuring...
>> > > > > CMake Warning at cmake/nuttx_kconfig.cmake:171 (message):
>> > > > >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK
>> > > (defined
>> > > > > at
>> > > > >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies
>> > STM32_HRTIM
>> > > &&
>> > > > >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
>> > > > > y-selected
>> > > > >   by the following symbols:
>> > > > >
>> > > > >- STM32_STM32F33XX (defined at
>> arch/arm/src/stm32/Kconfig:1533),
>> > > with
>> > > > > value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value:
>> y),
>> > > and
>> > > > > select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
>> > > > >
>> > > > > Call Stack (most recent call first):
>> > > > >   CMakeLists.txt:322 (nuttx_olddefconfig)
>> > > > >
>> > > > >
>> > > > >   Select HOST_LINUX=y
>> > > > > CMake Warning at cmake/nuttx_kconfig.cmake:192 (message):
>> > > > >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLC

Re: [Article] Your very own Build Farm for NuttX

2024-10-28 Thread Lee, Lup Yuen
<< please add to the guide "gh auth login" so that users can upload the
results >>

Yep Alin I added these steps to my article, lemme if I should go into more
detail and add screenshots:
https://lupyuen.codeberg.page/articles/ci2.html#build-nuttx-for-all-target-groups

sudo gh auth login
(1) What Account: "GitHub.com"
(2) Preferred Protocol: "HTTPS"
(3) Authenticate GitHub CLI: "Login with a web browser"
(4) Copy the One-Time Code, press Enter
(5) Press "q" to quit the Text Browser that appears
(6) Switch to Firefox Browser and load https://github.com/login/device
(7) Enter the One-Time Code. GitHub Login will proceed.
See
https://stackoverflow.com/questions/78890002/how-to-do-gh-auth-login-when-run-in-headless-mode
(For Safety: Create a New GitHub Account for posting the gists)


Lup

On Mon, Oct 28, 2024 at 4:16 PM Alin Jerpelea  wrote:

> Hi Lup,
>
> please add to the guide
> "gh auth login" so that users can upload the results
>
> Best regards
> Alin
>
>
> On Mon, Oct 28, 2024 at 9:12 AM Lee, Lup Yuen  wrote:
>
> > << please add to the guide "apt install gh " on host os >>
> >
> > Yep thanks Alin! I have updated the article:
> >
> >
> https://lupyuen.codeberg.page/articles/ci2.html#build-nuttx-for-all-target-groups
> >
> > ## Download the scriptsgit clone
> > https://github.com/lupyuen/nuttx-releasecd nuttx-release
> > ## Login to GitHub in Headless Modesudo apt install ghsudo gh auth login
> > ## Run the Build Job forever: arm-01 ... arm-14sudo ./run-ci.sh
> >
> >
> > Lup
> >
> > On Mon, Oct 28, 2024 at 4:05 PM Alin Jerpelea 
> wrote:
> >
> > > Hi Lup
> > >
> > > please add to the guide
> > > "apt install gh "
> > > on host os
> > >
> > > Best regards
> > > Alin
> > >
> > > On Mon, Oct 28, 2024 at 8:50 AM Lee, Lup Yuen 
> wrote:
> > >
> > > > Thanks Alin, I think the fix is here:
> > > > https://github.com/apache/nuttx/pull/14527
> > > >
> > > > Lup
> > > >
> > > > On Mon, Oct 28, 2024 at 3:43 PM Alin Jerpelea 
> > > wrote:
> > > >
> > > > > Cmake in present: stm32f334-disco/nsh,CONFIG_ARM_TOOLCHAIN_CLANG
> > > > > Configuration/Tool: stm32f334-disco/nsh,CONFIG_ARM_TOOLCHAIN_CLANG
> > > > > 2024-10-28 07:41:50
> > > > >
> > > > >
> > > >
> > >
> >
> 
> > > > >   Cleaning...
> > > > >   Configuring...
> > > > > CMake Warning at cmake/nuttx_kconfig.cmake:171 (message):
> > > > >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK
> > > (defined
> > > > > at
> > > > >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies
> > STM32_HRTIM
> > > &&
> > > > >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
> > > > > y-selected
> > > > >   by the following symbols:
> > > > >
> > > > >- STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533),
> > > with
> > > > > value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value:
> y),
> > > and
> > > > > select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
> > > > >
> > > > > Call Stack (most recent call first):
> > > > >   CMakeLists.txt:322 (nuttx_olddefconfig)
> > > > >
> > > > >
> > > > >   Select HOST_LINUX=y
> > > > > CMake Warning at cmake/nuttx_kconfig.cmake:192 (message):
> > > > >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK
> > > (defined
> > > > > at
> > > > >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies
> > STM32_HRTIM
> > > &&
> > > > >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
> > > > > y-selected
> > > > >   by the following symbols:
> > > > >
> > > > >- STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533),
> > > with
> > > > > value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value:
> y),
> > > and
> > > > > select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
> > > > >
> > > > > Call Stack (most recent call first):
> > > > >   cmake/nuttx_sethost.cmake:107 (nuttx_setconfig)
> > > > >   CMakeLists.txt:333 (nuttx_sethost)
> > > > >
> > > > >
> > > > >   Disabling CONFIG_ARM_TOOLCHAIN_BUILDROOT
> > > > >   Enabling CONFIG_ARM_TOOLCHAIN_CLANG
> > > > >   Building NuttX...
> > > > >
> > > > > On Mon, Oct 28, 2024 at 8:18 AM Alin Jerpelea 
> > > > wrote:
> > > > >
> > > > > > HI Lup
> > > > > > I found another one
> > > > > >
> > > > > > Cmake in present: nucleo-f334r8/adc,CONFIG_ARM_TOOLCHAIN_CLANG
> > > > > > Configuration/Tool: nucleo-f334r8/adc,CONFIG_ARM_TOOLCHAIN_CLANG
> > > > > > 2024-10-28 07:17:15
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> 
> > > > > >   Cleaning...
> > > > > >   Configuring...
> > > > > > CMake Warning at cmake/nuttx_kconfig.cmake:171 (message):
> > > > > >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK
> > > > (defined
> > > > > > at
> > > > > >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies
> > > STM32_HRTIM
> > > > &&
> > > > > >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is curre

Re: [Article] Your very own Build Farm for NuttX

2024-10-28 Thread Lee, Lup Yuen
<< the results from my test are available on
https://gist.github.com/jerpelea >>

That's awesome Alin, thanks! :-)

<< I think that we should push all results on a git with date sorted by
platform /board then create a simple heatmap with the latest build and
green/red >>

Yep lemme figure out if open-source Grafana can do this (with some
scripting): https://grafana.com/oss/grafana/

Lup

On Mon, Oct 28, 2024 at 4:22 PM Alin Jerpelea  wrote:

> HI all
> the results from my test are available on https://gist.github.com/jerpelea
>
> I think that we should push all results on a git with date sorted by
> platform /board then create a simple heatmap with the latest build and
> green/red
> @lup what do you think ?
>
>
> Best regards
> Alin
>
> On Mon, Oct 28, 2024 at 9:15 AM Alin Jerpelea  wrote:
>
> > Hi Lup,
> >
> > please add to the guide
> > "gh auth login" so that users can upload the results
> >
> > Best regards
> > Alin
> >
> >
> > On Mon, Oct 28, 2024 at 9:12 AM Lee, Lup Yuen  wrote:
> >
> >> << please add to the guide "apt install gh " on host os >>
> >>
> >> Yep thanks Alin! I have updated the article:
> >>
> >>
> https://lupyuen.codeberg.page/articles/ci2.html#build-nuttx-for-all-target-groups
> >>
> >> ## Download the scriptsgit clone
> >> https://github.com/lupyuen/nuttx-releasecd nuttx-release
> >> ## Login to GitHub in Headless Modesudo apt install ghsudo gh auth login
> >> ## Run the Build Job forever: arm-01 ... arm-14sudo ./run-ci.sh
> >>
> >>
> >> Lup
> >>
> >> On Mon, Oct 28, 2024 at 4:05 PM Alin Jerpelea 
> wrote:
> >>
> >> > Hi Lup
> >> >
> >> > please add to the guide
> >> > "apt install gh "
> >> > on host os
> >> >
> >> > Best regards
> >> > Alin
> >> >
> >> > On Mon, Oct 28, 2024 at 8:50 AM Lee, Lup Yuen 
> >> wrote:
> >> >
> >> > > Thanks Alin, I think the fix is here:
> >> > > https://github.com/apache/nuttx/pull/14527
> >> > >
> >> > > Lup
> >> > >
> >> > > On Mon, Oct 28, 2024 at 3:43 PM Alin Jerpelea 
> >> > wrote:
> >> > >
> >> > > > Cmake in present: stm32f334-disco/nsh,CONFIG_ARM_TOOLCHAIN_CLANG
> >> > > > Configuration/Tool: stm32f334-disco/nsh,CONFIG_ARM_TOOLCHAIN_CLANG
> >> > > > 2024-10-28 07:41:50
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> 
> >> > > >   Cleaning...
> >> > > >   Configuring...
> >> > > > CMake Warning at cmake/nuttx_kconfig.cmake:171 (message):
> >> > > >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK
> >> > (defined
> >> > > > at
> >> > > >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies
> >> STM32_HRTIM
> >> > &&
> >> > > >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
> >> > > > y-selected
> >> > > >   by the following symbols:
> >> > > >
> >> > > >- STM32_STM32F33XX (defined at
> arch/arm/src/stm32/Kconfig:1533),
> >> > with
> >> > > > value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value:
> y),
> >> > and
> >> > > > select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
> >> > > >
> >> > > > Call Stack (most recent call first):
> >> > > >   CMakeLists.txt:322 (nuttx_olddefconfig)
> >> > > >
> >> > > >
> >> > > >   Select HOST_LINUX=y
> >> > > > CMake Warning at cmake/nuttx_kconfig.cmake:192 (message):
> >> > > >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK
> >> > (defined
> >> > > > at
> >> > > >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies
> >> STM32_HRTIM
> >> > &&
> >> > > >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
> >> > > > y-selected
> >> > > >   by the following symbols:
> >> > > >
> >> > > >- STM32_STM32F33XX (defined at
> arch/arm/src/stm32/Kconfig:1533),
> >> > with
> >> > > > value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value:
> y),
> >> > and
> >> > > > select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
> >> > > >
> >> > > > Call Stack (most recent call first):
> >> > > >   cmake/nuttx_sethost.cmake:107 (nuttx_setconfig)
> >> > > >   CMakeLists.txt:333 (nuttx_sethost)
> >> > > >
> >> > > >
> >> > > >   Disabling CONFIG_ARM_TOOLCHAIN_BUILDROOT
> >> > > >   Enabling CONFIG_ARM_TOOLCHAIN_CLANG
> >> > > >   Building NuttX...
> >> > > >
> >> > > > On Mon, Oct 28, 2024 at 8:18 AM Alin Jerpelea  >
> >> > > wrote:
> >> > > >
> >> > > > > HI Lup
> >> > > > > I found another one
> >> > > > >
> >> > > > > Cmake in present: nucleo-f334r8/adc,CONFIG_ARM_TOOLCHAIN_CLANG
> >> > > > > Configuration/Tool: nucleo-f334r8/adc,CONFIG_ARM_TOOLCHAIN_CLANG
> >> > > > > 2024-10-28 07:17:15
> >> > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
> 
> >> > > > >   Cleaning...
> >> > > > >   Configuring...
> >> > > > > CMake Warning at cmake/nuttx_kconfig.cmake:171 (message):
> >> > > > >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK
> >> > > (defined
> >> > > > > at
> >> > > > >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies

Re: [Article] Your very own Build Farm for NuttX

2024-10-28 Thread Alin Jerpelea
HI Lup
I found another one

Cmake in present: nucleo-f334r8/adc,CONFIG_ARM_TOOLCHAIN_CLANG
Configuration/Tool: nucleo-f334r8/adc,CONFIG_ARM_TOOLCHAIN_CLANG
2024-10-28 07:17:15

  Cleaning...
  Configuring...
CMake Warning at cmake/nuttx_kconfig.cmake:171 (message):
  Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK (defined at
  arch/arm/src/stm32/Kconfig:8109) has direct dependencies STM32_HRTIM &&
  ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
y-selected
  by the following symbols:

   - STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533), with
value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value: y), and
select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)

Call Stack (most recent call first):
  CMakeLists.txt:322 (nuttx_olddefconfig)


  Select HOST_LINUX=y
CMake Warning at cmake/nuttx_kconfig.cmake:192 (message):
  Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK (defined at
  arch/arm/src/stm32/Kconfig:8109) has direct dependencies STM32_HRTIM &&
  ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
y-selected
  by the following symbols:

   - STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533), with
value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value: y), and
select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)

Call Stack (most recent call first):
  cmake/nuttx_sethost.cmake:107 (nuttx_setconfig)
  CMakeLists.txt:333 (nuttx_sethost)


  Disabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
  Enabling CONFIG_ARM_TOOLCHAIN_CLANG
  Building NuttX...

Thanks
Alin

On Mon, Oct 28, 2024 at 4:40 AM Lee, Lup Yuen  wrote:

> << needed on host machine (please update the article)
> apt install gcc-arm-none-eabi binutils-arm-none-eabi genromfs >>
>
> Hi Alin: This is super strange. genromfs isn't installed on my Host
> Machine:
>
> ## genromfs isn't installed on my Host Machine
> $ genromfs -h
> Command 'genromfs' not found
>
> ## genromfs works fine inside Docker
> $ sudo docker run -it \
>   ghcr.io/apache/nuttx/apache-nuttx-ci-linux:latest \
>   /bin/bash -c "genromfs -h"
> genromfs 0.5.2
>
> Is anyone else having problems building NuttX with our Docker Image? Please
> lemme know thanks!
>
> << /usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found >>
>
> This is a harmless message, we're tracking the issue here:
> https://github.com/apache/nuttx/issues/14374
>
> Lup
>
> On Mon, Oct 28, 2024 at 11:23 AM Alin Jerpelea  wrote:
>
> > Hi Lup,
> >
> > needed on host machine (please update the article)
> >
> > apt install gcc-arm-none-eabi binutils-arm-none-eabi genromfs
> >
> > error still unidentified
> >
> > onfiguration/Tool: c5471evm/nettest,CONFIG_ARM_TOOLCHAIN_GNU_EABI
> > 2024-10-28 04:20:28
> >
> >
> 
> >   Cleaning...
> >   Configuring...
> >   Disabling CONFIG_ARM_TOOLCHAIN_BUILDROOT
> >   Enabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
> >   Building NuttX...
> >   Normalize c5471evm/nettest
> > /usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
> > /usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
> >
> > Best Regards
> >
> > Alin
> >
> >
> > On Mon, Oct 28, 2024 at 3:25 AM Lee, Lup Yuen  wrote:
> >
> > > << /usr/bin/bash: line 1: genromfs: command not found >>
> > >
> > > Hi Alin: That's very odd, genromfs is inside the Docker Image so it
> > > shouldn't fail (unless we're running outside Docker?). Here's how we
> > check
> > > genromfs:
> > >
> > > ## This will show "genromfs 0.5.2"
> > > sudo docker run -it \
> > >   ghcr.io/apache/nuttx/apache-nuttx-ci-linux:latest \
> > >   /bin/bash -c "genromfs -h"
> > >
> > > Also spresense:elf builds OK on my Ubuntu PC:
> > >
> > >
> >
> https://gist.github.com/nuttxpr/8a203426383b84626c8a5bd06168bf9b#file-ci-arm-01-log-L359
> > >
> > > Could you try this (from my article) and lemme know if it works?
> Thanks!
> > >
> > > ## Compile Target Group arm-01, including spresense/elf
> > > job=arm-01
> > > sudo docker run -it \
> > >   ghcr.io/apache/nuttx/apache-nuttx-ci-linux:latest \
> > >   /bin/bash -c "
> > >   cd ;
> > >   pwd ;
> > >   git clone https://github.com/apache/nuttx ;
> > >   git clone https://github.com/apache/nuttx-apps apps ;
> > >   pushd nuttx ; echo NuttX Source:
> > > https://github.com/apache/nuttx/tree/\$(git rev-parse HEAD) ; popd ;
> > >   pushd apps  ; echo NuttX Apps:
> > > https://github.com/apache/nuttx-apps/tree/\$(git rev-parse HEAD) ;
> popd
> > ;
> > >   sleep 10 ;
> > >   cd nuttx/tools/ci ;
> > >   (./cibuild.sh -c -A -N -R testlist/$job.dat || echo '* BUILD
> > FAILED')
> > > ;
> > > "
> > >
> > > Lup
> > >
> > > On Mon, Oct 28, 2024 at 10:01 AM Alin Jerpelea 
> > wrote:
> > >
> > > > Hi Lup
> > > > I started the test and I found a fiew issues
> > > >
> > > > Configuration/Tool: spresense/elf,CONFIG_ARM_TOOLCHAIN_GNU_EABI
> > > > 2024-10-28 02:

Re: [Article] Your very own Build Farm for NuttX

2024-10-28 Thread Lee, Lup Yuen
Thanks Alin, I think the fix is here:
https://github.com/apache/nuttx/pull/14527

Lup

On Mon, Oct 28, 2024 at 3:43 PM Alin Jerpelea  wrote:

> Cmake in present: stm32f334-disco/nsh,CONFIG_ARM_TOOLCHAIN_CLANG
> Configuration/Tool: stm32f334-disco/nsh,CONFIG_ARM_TOOLCHAIN_CLANG
> 2024-10-28 07:41:50
>
> 
>   Cleaning...
>   Configuring...
> CMake Warning at cmake/nuttx_kconfig.cmake:171 (message):
>   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK (defined
> at
>   arch/arm/src/stm32/Kconfig:8109) has direct dependencies STM32_HRTIM &&
>   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
> y-selected
>   by the following symbols:
>
>- STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533), with
> value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value: y), and
> select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
>
> Call Stack (most recent call first):
>   CMakeLists.txt:322 (nuttx_olddefconfig)
>
>
>   Select HOST_LINUX=y
> CMake Warning at cmake/nuttx_kconfig.cmake:192 (message):
>   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK (defined
> at
>   arch/arm/src/stm32/Kconfig:8109) has direct dependencies STM32_HRTIM &&
>   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
> y-selected
>   by the following symbols:
>
>- STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533), with
> value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value: y), and
> select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
>
> Call Stack (most recent call first):
>   cmake/nuttx_sethost.cmake:107 (nuttx_setconfig)
>   CMakeLists.txt:333 (nuttx_sethost)
>
>
>   Disabling CONFIG_ARM_TOOLCHAIN_BUILDROOT
>   Enabling CONFIG_ARM_TOOLCHAIN_CLANG
>   Building NuttX...
>
> On Mon, Oct 28, 2024 at 8:18 AM Alin Jerpelea  wrote:
>
> > HI Lup
> > I found another one
> >
> > Cmake in present: nucleo-f334r8/adc,CONFIG_ARM_TOOLCHAIN_CLANG
> > Configuration/Tool: nucleo-f334r8/adc,CONFIG_ARM_TOOLCHAIN_CLANG
> > 2024-10-28 07:17:15
> >
> >
> 
> >   Cleaning...
> >   Configuring...
> > CMake Warning at cmake/nuttx_kconfig.cmake:171 (message):
> >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK (defined
> > at
> >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies STM32_HRTIM &&
> >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
> > y-selected
> >   by the following symbols:
> >
> >- STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533), with
> > value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value: y), and
> > select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
> >
> > Call Stack (most recent call first):
> >   CMakeLists.txt:322 (nuttx_olddefconfig)
> >
> >
> >   Select HOST_LINUX=y
> > CMake Warning at cmake/nuttx_kconfig.cmake:192 (message):
> >   Kconfig Configuration Error: warning: STM32_HAVE_HRTIM1_PLLCLK (defined
> > at
> >   arch/arm/src/stm32/Kconfig:8109) has direct dependencies STM32_HRTIM &&
> >   ARCH_CHIP_STM32 && ARCH_ARM with value n, but is currently being
> > y-selected
> >   by the following symbols:
> >
> >- STM32_STM32F33XX (defined at arch/arm/src/stm32/Kconfig:1533), with
> > value y, direct dependencies ARCH_CHIP_STM32 && ARCH_ARM (value: y), and
> > select condition ARCH_CHIP_STM32 && ARCH_ARM (value: y)
> >
> > Call Stack (most recent call first):
> >   cmake/nuttx_sethost.cmake:107 (nuttx_setconfig)
> >   CMakeLists.txt:333 (nuttx_sethost)
> >
> >
> >   Disabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
> >   Enabling CONFIG_ARM_TOOLCHAIN_CLANG
> >   Building NuttX...
> >
> > Thanks
> > Alin
> >
> > On Mon, Oct 28, 2024 at 4:40 AM Lee, Lup Yuen  wrote:
> >
> >> << needed on host machine (please update the article)
> >> apt install gcc-arm-none-eabi binutils-arm-none-eabi genromfs >>
> >>
> >> Hi Alin: This is super strange. genromfs isn't installed on my Host
> >> Machine:
> >>
> >> ## genromfs isn't installed on my Host Machine
> >> $ genromfs -h
> >> Command 'genromfs' not found
> >>
> >> ## genromfs works fine inside Docker
> >> $ sudo docker run -it \
> >>   ghcr.io/apache/nuttx/apache-nuttx-ci-linux:latest \
> >>   /bin/bash -c "genromfs -h"
> >> genromfs 0.5.2
> >>
> >> Is anyone else having problems building NuttX with our Docker Image?
> >> Please
> >> lemme know thanks!
> >>
> >> << /usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found >>
> >>
> >> This is a harmless message, we're tracking the issue here:
> >> https://github.com/apache/nuttx/issues/14374
> >>
> >> Lup
> >>
> >> On Mon, Oct 28, 2024 at 11:23 AM Alin Jerpelea 
> >> wrote:
> >>
> >> > Hi Lup,
> >> >
> >> > needed on host machine (please update the article)
> >> >
> >> > apt install gcc-arm-none-eabi binutils-arm-none-eabi genromfs
> >> >
> >> > error still unidentified
> >> >
> >> > onfiguration/Tool: c54

Re: What is the right way to add PM to esp32c6

2024-10-28 Thread Felipe Moura Oliveira
*Hello everyone, Tiago,*

I have made progress with the build issue I was encountering and am now
"stuck" at what I believe is one of the final stages. I am experiencing the
following compilation error:
LD: nuttx
riscv-none-elf-ld: warning: /home/felipe-moura/nuttxspace/nuttx-felipe/nuttx
has a LOAD segment with RWX permissions
riscv-none-elf-ld: /home/felipe-moura/nuttxspace/nuttx-felipe/staging/
libarch.a(sleep_modes.o): in function
`esp_set_deep_sleep_wake_stub_default_entry':
sleep_modes.c:(.rtc.text.4+0x0): undefined reference to
`_rtc_force_fast_end'
riscv-none-elf-ld: sleep_modes.c:(.rtc.text.4+0x4): undefined reference to
`_rtc_text_start'
riscv-none-elf-ld: sleep_modes.c:(.rtc.text.4+0x8): undefined reference to
`_rtc_force_fast_end'
riscv-none-elf-ld: sleep_modes.c:(.rtc.text.4+0xc): undefined reference to
`_rtc_text_start'
riscv-none-elf-ld:
/home/felipe-moura/nuttxspace/nuttx-felipe/staging/libarch.a(sleep_cpu.o):
in function `esp_sleep_cpu_retention':
sleep_cpu.c:(.iram1.8+0x200): undefined reference to
`rv_core_critical_regs_save'
riscv-none-elf-ld: sleep_cpu.c:(.iram1.8+0x21e): undefined reference to
`rv_core_critical_regs_restore'
riscv-none-elf-ld: sleep_cpu.c:(.iram1.8+0x226): undefined reference to
`rv_core_critical_regs_restore'
make[1]: *** [Makefile:189: nuttx] Error 1
make: *** [tools/Unix.mk:551: nuttx] Error 2

I would greatly appreciate your assistance.

Focusing on the item _rtc_text_start, I see that it is defined in the file:
arch/risc-v/src/chip/esp-hal-3rdparty/components/esp_system/ld/esp32c6/
sections.ld.in

However, I am unsure how to add this file to the complete linking process.
I added this file to hal_esp32c6.mk, but I received the following error:
LD: nuttx
riscv-none-elf-ld:/home/felipe-moura/nuttxspace/nuttx-felipe/arch/risc-v/src
/chip/esp-hal-3rdparty/components/esp_system/ld/esp32c6/sections.ld.in.tmp:
113 cannot move location counter backwards (from 40809800 to 4080)
make[1]: *** [Makefile:189: nuttx] Error 1
make: *** [tools/Unix.mk:551: nuttx] Error 2


Does anyone have any tips or suggestions that could help me move forward
with this process?

Thank you in advance for your help.

*Best regards,*


Em sex., 25 de out. de 2024 às 12:02, Tiago Medicci Serrano <
tiago.medi...@gmail.com> escreveu:

> Hi Felipe,
>
> The RTC GPIO is a feature of the GPIO/RTC driver, so a substitute for this
> function should be part
> of `nuttx/arch/risc-v/src/common/espressif/esp_rtc_gpio.c`. That being
> said, you can either implement it (and define it as a macro, on HAL) or you
> can either ignore these functions related to GPIO wakeup from sleep for now
> (using, for instance, the `#ifndef __NuttX__`). It's up to you: if the GPIO
> wakeup isn't mandatory, it'd go baby steps, removing this feature for now.
>
> Best regards,
>
> Em sex., 25 de out. de 2024 às 09:33, Felipe Moura Oliveira <
> moura@gmail.com> escreveu:
>
> > Hello Tiago,
> >
> > Thank you for your assistance earlier.
> >
> > I would like to discuss further the necessity of the
> > esp_driver_gpio/include/rtc_io.h file, which is only available in the
> IDF.
> >
> > In sleep_modes.c, there is the following code snippet:
> > esp_err_t esp_sleep_enable_ext1_wakeup_io(uint64_t io_mask,
> > esp_sleep_ext1_wakeup_mode_t level_mode)
> > {
> > if (io_mask == 0 && level_mode > ESP_EXT1_WAKEUP_ANY_HIGH) {
> > return ESP_ERR_INVALID_ARG;
> > }
> > // Translate bit map of GPIO numbers into the bit map of RTC IO numbers
> > uint32_t rtc_gpio_mask = 0;
> > for (int gpio = 0; io_mask; ++gpio, io_mask >>= 1) {
> > if ((io_mask & 1) == 0) {
> > continue;
> > }
> > if (!esp_sleep_is_valid_wakeup_gpio(gpio)) {
> > ESP_LOGE(TAG, "Not an RTC IO: GPIO%d", gpio);
> > return ESP_ERR_INVALID_ARG;
> > }
> > rtc_gpio_mask |= BIT(rtc_io_number_get(gpio));
> > }
> >
> > I believe this code is essential for compilation. The function
> > rtc_io_number_get is located at the following path in the IDF:
> > components/esp_driver_gpio/include/driver/rtc_io.h.
> >
> > However, the esp_driver_gpio folder is not present in the 3rd-party
> > directory. In this case, what is the recommended procedure to proceed?
> >
> > Thank you again for your support.
> >
> > Em sex., 25 de out. de 2024 às 08:52, Tiago Medicci Serrano <
> > tiago.medi...@gmail.com> escreveu:
> >
> > > Hi Felipe,
> > >
> > > `esp_private/pm_impl.h` is from the component `esp_pm` of ESP-IDF,
> which
> > is
> > > a driver directly. Same for `esp_driver_gpio/include/rtc_io.h` (here, a
> > > detail: I wasn't able to find this path on IDF, so make sure you are
> > > checking under the `release/v5.1` branch, which the HAL was based). The
> > HAL
> > > repository doesn't contain ESP-IDF drivers, which are always
> implemented
> > on
> > > NuttX. For `esp_cpu.h`, it's already on HAL (at
> > > `esp-hal-3rdparty/components/esp_hw_support/include/esp_cpu.h`).
> > >
> > > The files under `esp-hal-3rdparty/components/esp_hw_support`
> > > (`sleep_modes.c`, for instance) MAY be used to implemen

Re: [VOTE] Apache NuttX 12.7.0 RC1 release

2024-10-28 Thread Alan C. Assis
Hi Tomek,

Thank you for testing NuttX on the FRDM-KL25Z board, I did the port 11
years ago and I'm surprised it is still working fine.

You can find more info here:
https://acassis.wordpress.com/2013/04/26/running-nuttx-on-kinetis-kl25z-freedom-board-frdm-kl25z/FRDM-KL25Z

https://acassis.wordpress.com/2013/10/10/how-to-use-st-link-v2-to-program-freedom-board-frdm-kl25z/

If you can, please submit a picture of the board the and instructions to
Documentation/

I don't have this board anymore.

BR,

Alan


On Sun, Oct 27, 2024 at 3:35 PM Tomek CEDRO  wrote:

> On Sat, Oct 26, 2024 at 7:55 AM Alin Jerpelea  wrote:
> > Apache NuttX 12.7.0 RC1 has been staged under [1] and it's
> > time to vote on accepting it for release. Voting will be open for 72hr.
>
> +1 FROM ME AND BIG THANK YOU FOR ALL CONTRIBUTORS!! :-)
>
> === BUILD HOST ===
>
> % uname -a
> FreeBSD octagon 13.3-RELEASE-p7 FreeBSD 13.3-RELEASE-p7 GENERIC amd64
>
> === TARGETS ==
>
> 1. SIM:LVGL.
> 2. ESP32.
> 3. ESP32C3.
> 4. STM32L432KC.
> 5. STM32F769I.
> 6. STM32F412ZG.
> 7. STM32F411RE.
> 8. STM32F072RB.
> 9. MKL25Z128.
>
>
> === SIM:LVGL ===
>
> This is the only build I did on Linux Debian12 binaries running on
> FreeBSD as Xlib.h location needs adjustment but this is not
> relevant right now.. we have newest version of LVGL and now we can
> announce and share NuttX for everyone asking.. several friends asked
> me recently about LVGL on NuttX and it is here wow :-)
>
> $ uname -a
> Linux octagon 5.15.0 FreeBSD 13.3-RELEASE-p7 GENERIC x86_64 GNU/Linux
>
> $ ./tools/configure.sh -l sim:lvgl_fb
> #
> # configuration written to .config
> #
> $ make
> Create version.h
> LN: platform/board to /XXX/nuttx-apps.git/platform/dummy
> Register: lvgldemo
> Register: nsh
> Register: sh
> CP:  /XXX/nuttx.git/include/nuttx/config.h
> CP:  /XXX/nuttx.git/include/nuttx/fs/hostfs.h
> LD:  nuttx
> $ ./nuttx
> [LVGL] [User]   (0.000, +0)  check_stack_size: tid: 4, Stack size
> : 67520 lv_nuttx_entry.c:297
> [LVGL] [User]   (0.000, +0)  lv_nuttx_fbdev_set_file: The
> framebuffer device was opened successfully lv_nuttx_fbdev.c:108
> [LVGL] [User]   (0.000, +0)  lv_nuttx_fbdev_set_file: VideoInfo:
> lv_nuttx_fbdev.c:116
> [LVGL] [User]   (0.000, +0)  lv_nuttx_fbdev_set_file:   fmt:
> 13 lv_nuttx_fbdev.c:117
> [LVGL] [User]   (0.000, +0)  lv_nuttx_fbdev_set_file:  xres:
> 640 lv_nuttx_fbdev.c:118
> [LVGL] [User]   (0.000, +0)  lv_nuttx_fbdev_set_file:  yres:
> 480 lv_nuttx_fbdev.c:119
> [LVGL] [User]   (0.000, +0)  lv_nuttx_fbdev_set_file:   nplanes: 1
> lv_nuttx_fbdev.c:120
> [LVGL] [User]   (0.000, +0)  fbdev_get_pinfo: PlaneInfo (plane 0):
> lv_nuttx_fbdev.c:319
> [LVGL] [User]   (0.000, +0)  fbdev_get_pinfo: mem: 0x44e0
> lv_nuttx_fbdev.c:320
> [LVGL] [User]   (0.000, +0)  fbdev_get_pinfo: fblen: 2457600
> lv_nuttx_fbdev.c:321
> [LVGL] [User]   (0.000, +0)  fbdev_get_pinfo:stride: 2560
> lv_nuttx_fbdev.c:322
> [LVGL] [User]   (0.000, +0)  fbdev_get_pinfo:   display: 0
> lv_nuttx_fbdev.c:323
> [LVGL] [User]   (0.000, +0)  fbdev_get_pinfo:   bpp: 32
> lv_nuttx_fbdev.c:324
> [LVGL] [User]   (0.000, +0)  fbdev_get_pinfo: PlaneInfo (plane 0):
> lv_nuttx_fbdev.c:319
> [LVGL] [User]   (0.000, +0)  fbdev_get_pinfo: mem: 0x44e0
> lv_nuttx_fbdev.c:320
> [LVGL] [User]   (0.000, +0)  fbdev_get_pinfo: fblen: 2457600
> lv_nuttx_fbdev.c:321
> [LVGL] [User]   (0.000, +0)  fbdev_get_pinfo:stride: 2560
> lv_nuttx_fbdev.c:322
> [LVGL] [User]   (0.000, +0)  fbdev_get_pinfo:   display: 0
> lv_nuttx_fbdev.c:323
> [LVGL] [User]   (0.000, +0)  fbdev_get_pinfo:   bpp: 32
> lv_nuttx_fbdev.c:324
> [LVGL] [User]   (0.000, +0)  fbdev_init_mem2: Use consecutive mem2
> = 0x44f2c000, yoffset = 480 lv_nuttx_fbdev.c:370
> [LVGL] [User]   (0.000, +0)  lv_nuttx_fbdev_set_file: Resolution
> is set to 640x480 at 130dpi lv_nuttx_fbdev.c:174
> [LVGL] [User]   (0.000, +0)  lv_nuttx_touchscreen_create:
> touchscreen /dev/input0 opening lv_nuttx_touchscreen.c:68
> [LVGL] [User]   (0.000, +0)  lv_nuttx_touchscreen_create:
> touchscreen /dev/input0 open success lv_nuttx_touchscreen.c:75
> [LVGL] [Warn]   (0.000, +0)  lv_demo_widgets:
> LV_FONT_MONTSERRAT_20 is not enabled for the widgets demo. Using
> LV_FONT_DEFAULT instead. lv_demo_widgets.c:143
> X connection to :0.0 broken (explicit kill or server shutdown).
>
> Works like a charm :-)
>
>
>
> === ESP32 ===
>
> xtensa-esp32-elf-cc (crosstool-NG esp-2021r2-patch5) 8.4.0
> Copyright (C) 2018 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> ===> ESP32: esp32-devkitc:nsh
>
> + /usr/bin/time -h ./tools/configure.sh -B esp32-devkitc:nsh
> 4,28s real  1,87s user  2,74s sys
> + /usr/bin/time -h gmake -j8
> 42,59s real 1m31,25s user

Re: [VOTE] Apache NuttX 12.7.0 RC1 release

2024-10-28 Thread Filipe Cavalcanti
+1 for Espressif supported boards and chips.

The following devices were tested using the internal CI with all available 
defconfigs.

- esp32_devkitc
- esp32_ethernet_kit
- esp32_lyrat
- esp32_pico_kit
- esp32_wrover_kit
- esp32c3_devkit
- esp32c3_generic
- esp32c6_devkitc
- esp32c6_devkitm
- esp32h2_devkit
- esp32s2_saola
- esp32s3_devkit
- esp32s3_korvo_2
- esp32s3_lcd_ev

Compilers used:

- riscv-none-elf-gcc (xPack GNU RISC-V Embedded GCC x86_64) 13.2.0
- xtensa-esp32-elf-gcc (crosstool-NG esp-12.2.0_20230208) 12.2.0
- xtensa-esp32s2-elf-gcc (crosstool-NG esp-12.2.0_20230208) 12.2.0
- xtensa-esp32s3-elf-gcc (crosstool-NG esp-12.2.0_20230208) 12.2.0

Best regards,
Filipe

From: Alin Jerpelea 
Sent: Saturday, October 26, 2024 7:53 AM
To: dev@nuttx.apache.org 
Subject: [VOTE] Apache NuttX 12.7.0 RC1 release

[You don't often get email from jerpe...@gmail.com. Learn why this is important 
at https://aka.ms/LearnAboutSenderIdentification ]

[External: This email originated outside Espressif]

Hello all,
Apache NuttX 12.7.0 RC1 has been staged under [1] and it's
time to vote on accepting it for release. Voting will be open for 72hr.

A minimum of 3 binding +1 votes and more binding +1 than binding -1 are
required to pass.

The Apache requirements for approving a release can be found here [3]
"Before voting +1 PMC members are required to download the signed
source code package, compile it as provided, and test the resulting
executable on their own platform, along with also verifying that the
package meets the requirements of the ASF policy on releases."

A document to walk through some of this process has been published on
our project wiki and can be found here [4].

[ ] +1 accept (indicate what you validated - e.g. performed the non-RM
items in [4])
[ ] -1 reject (explanation required)

Thank you all,
Alin Jerpelea

SCM Information:
  Release tag: nuttx-12.7.0-RC1
  Hash for the release nuttx tag: 5d8cdeaea847bcaf0b9145dd922e0a83045067ca
  Hash for the release nuttx-apps tag:
0090cef7183e397527343880b7b381cd9101bb4d

[1] https://dist.apache.org/repos/dist/dev/nuttx/12.7.0-RC1/
[2]
https://raw.githubusercontent.com/apache/nuttx/nuttx-12.7.1-RC0/ReleaseNotes

[3] https://www.apache.org/dev/release.html#approving-a-release
[4]
https://cwiki.apache.org/confluence/display/NUTTX/Validating+a+staged+Release


Re: [VOTE] Apache NuttX 12.7.0 RC1 release

2024-10-28 Thread Tiago Medicci Serrano
Hi,

I will trigger the internal pipeline for Espresif devices. Please wait
until the results are available.

Best regards,

Em seg., 28 de out. de 2024 às 05:31, yfliu2008 
escreveu:

> Summary:   the rv-virt:knsh and rv-virt:knsh64 leakage looks
> like false positive alert after further checks.
>
>
>
>
>
>
> Finally I spent time with the leakages on QEMU targets. With help of
> DEBUG_MM logging, I  identified a few addresses which potentially
> leaks. Then with GDB I saw they are realted to the addrenv for the ostest
> task/process. Which is by design not timely released upon task exit but
> deferred to LPWORK. So by adding a sleep in the command script before
> checking result with free, we can see memory  went back to the initial
> status after boot.
>
>
> So here I give "+1" based on check with QEMU v6.2 for the following
> configs:
>     nsh, pnsh, nsbi, knsh and knsh64.
>
>
>
>
> Detailed logs:
>
>
> ### toolchain
>
> Toolchain name: `gcc-riscv64-unknown-elf 10.2.0-0ubuntu1` on Ubuntu 22.04
>
>
> ```shell
> $ riscv64-unknown-elf-gcc -v
> Using built-in specs.
> Target: riscv64-unknown-elf
> Thread model: single
> Supported LTO compression algorithms: zlib
> gcc version 10.2.0 ()
> ```
>
>
> ### nsh
>
>
> ```
> $ qemu-system-riscv32 -M virt,aclint=on -semihosting -nographic -bios nuttx
> ABC
> NuttShell (NSH) NuttX-12.7.0
> nsh>
> nsh> cat /proc/version; free
> NuttX version 12.7.0 5d8cdeaea8 Oct 28 2024 16:04:40 rv-virt:nsh
>                  total  
>     used       free    maxused  
>  maxfree  nused  nfree
>       Umem:   33373244       5460
>   33367784       5816   33367784     22
>      1
> nsh> ostest >/dev/null; echo $?; rm -r /var; sleep 1; free
> stdio_test: write fd=2
> stdio_test: Standard I/O Check: fprintf to stderr
> setvbuf_test: Using NO buffering
> setvbuf_test: Using default FULL buffering
> setvbuf_test: Using FULL buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> setvbuf_test: Using LINE buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> 0
>                  total  
>     used       free    maxused  
>  maxfree  nused  nfree
>       Umem:   33373244       5460
>   33367784      44976   33367784     22
>      1
> nsh> quit
> ```
>
>
> ### pnsh
>
>
> ```
> $ qemu-system-riscv32 -M virt,aclint=on -semihosting -nographic -bios none
> -device loader,file=nuttx_user -device loader,file=nuttx
> ABCD
> NuttShell (NSH) NuttX-12.7.0
> nsh>
> nsh> cat /proc/version; free
> NuttX version 12.7.0 5d8cdeaea8 Oct 28 2024 16:09:03 rv-virt:pnsh
>                  total  
>     used       free    maxused  
>  maxfree  nused  nfree
>       Kmem:    1038332       2084
>    1036248       2440    1036248  
>   17      1
>       Umem:    1045548       5260
>    1040288       5640    1040288  
>    9      1
> nsh> ostest >/dev/null; echo $?; rm -r /var; sleep 1; free
> stdio_test: write fd=2
> stdio_test: Standard I/O Check: fprintf to stderr
> setvbuf_test: Using NO buffering
> setvbuf_test: Using default FULL buffering
> setvbuf_test: Using FULL buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> setvbuf_test: Using LINE buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> 0
>                  total  
>     used       free    maxused  
>  maxfree  nused  nfree
>       Kmem:    1038332       2084
>    1036248       6848    1036248  
>   17      1
>       Umem:    1045548       5260
>    1040288      51424    1040288  
>    9      1
> nsh> quit
> ```
>
>
> ### nsbi
>
>
> ```
> $ qemu-system-riscv32 -M virt,aclint=on -semihosting -nographic -bios nuttx
> ABC
> NuttShell (NSH) NuttX-12.7.0
> nsh> cat /proc/version; free
> NuttX version 12.7.0 5d8cdeaea8 Oct 28 2024 16:12:20 rv-virt:nsbi
>                  total  
>     used       free    maxused  
>  maxfree  nused  nfree
>       Kmem:    4166652       8028
>    4158624      20448    4156376  
>   25      4
>       Page:    4194304     602112
>    3592192    3592192
> nsh> ostest >/dev/null; echo $?; rm -r /var; sleep 1; free
> stdio_test: write fd=2
> stdio_test: Standard I/O Check: fprintf to stderr
> setvbuf_test: Using NO buffering
> setvbuf_test: Using default FULL buffering
> setvbuf_test: Using FULL buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> setvbuf_test: Using LINE buffering, buffer size 64
> setvbuf_test: Using FULL buffering, pre-allocated buffer
> 0
>                  total  
>     used       free    maxused  
>  maxfree  nused  nfree
>       Kmem:    4166652       8028
>    4158624      44112    4156376  
>   25      4
>       Page:    4194304     602112
>    3592192    3592192
> nsh> quit
> ```
>
>
> ### knsh
>
>
> ```
> $ qemu-system-riscv32 -M virt,aclint=on -semihosting -nographic -kernel
> nuttx
>
>
> OpenSBI v1.0
>                    
>    _  _
>   / __ \                
>  / |  _ \_   _|
>  | |  | |_ __   ___ _ __ | (___ | |_) || |
> 

Re: [VOTE] Apache NuttX 12.7.0 RC1 release

2024-10-28 Thread Alan C. Assis
This is the correct link:

https://acassis.wordpress.com/2013/04/26/running-nuttx-on-kinetis-kl25z-freedom-board-frdm-kl25z


On Mon, Oct 28, 2024 at 10:20 AM Alan C. Assis  wrote:

> Hi Tomek,
>
> Thank you for testing NuttX on the FRDM-KL25Z board, I did the port 11
> years ago and I'm surprised it is still working fine.
>
> You can find more info here:
>
> https://acassis.wordpress.com/2013/04/26/running-nuttx-on-kinetis-kl25z-freedom-board-frdm-kl25z/FRDM-KL25Z
>
>
> https://acassis.wordpress.com/2013/10/10/how-to-use-st-link-v2-to-program-freedom-board-frdm-kl25z/
>
> If you can, please submit a picture of the board the and instructions to
> Documentation/
>
> I don't have this board anymore.
>
> BR,
>
> Alan
>
>
> On Sun, Oct 27, 2024 at 3:35 PM Tomek CEDRO  wrote:
>
>> On Sat, Oct 26, 2024 at 7:55 AM Alin Jerpelea  wrote:
>> > Apache NuttX 12.7.0 RC1 has been staged under [1] and it's
>> > time to vote on accepting it for release. Voting will be open for 72hr.
>>
>> +1 FROM ME AND BIG THANK YOU FOR ALL CONTRIBUTORS!! :-)
>>
>> === BUILD HOST ===
>>
>> % uname -a
>> FreeBSD octagon 13.3-RELEASE-p7 FreeBSD 13.3-RELEASE-p7 GENERIC amd64
>>
>> === TARGETS ==
>>
>> 1. SIM:LVGL.
>> 2. ESP32.
>> 3. ESP32C3.
>> 4. STM32L432KC.
>> 5. STM32F769I.
>> 6. STM32F412ZG.
>> 7. STM32F411RE.
>> 8. STM32F072RB.
>> 9. MKL25Z128.
>>
>>
>> === SIM:LVGL ===
>>
>> This is the only build I did on Linux Debian12 binaries running on
>> FreeBSD as Xlib.h location needs adjustment but this is not
>> relevant right now.. we have newest version of LVGL and now we can
>> announce and share NuttX for everyone asking.. several friends asked
>> me recently about LVGL on NuttX and it is here wow :-)
>>
>> $ uname -a
>> Linux octagon 5.15.0 FreeBSD 13.3-RELEASE-p7 GENERIC x86_64 GNU/Linux
>>
>> $ ./tools/configure.sh -l sim:lvgl_fb
>> #
>> # configuration written to .config
>> #
>> $ make
>> Create version.h
>> LN: platform/board to /XXX/nuttx-apps.git/platform/dummy
>> Register: lvgldemo
>> Register: nsh
>> Register: sh
>> CP:  /XXX/nuttx.git/include/nuttx/config.h
>> CP:  /XXX/nuttx.git/include/nuttx/fs/hostfs.h
>> LD:  nuttx
>> $ ./nuttx
>> [LVGL] [User]   (0.000, +0)  check_stack_size: tid: 4, Stack size
>> : 67520 lv_nuttx_entry.c:297
>> [LVGL] [User]   (0.000, +0)  lv_nuttx_fbdev_set_file: The
>> framebuffer device was opened successfully lv_nuttx_fbdev.c:108
>> [LVGL] [User]   (0.000, +0)  lv_nuttx_fbdev_set_file: VideoInfo:
>> lv_nuttx_fbdev.c:116
>> [LVGL] [User]   (0.000, +0)  lv_nuttx_fbdev_set_file:   fmt:
>> 13 lv_nuttx_fbdev.c:117
>> [LVGL] [User]   (0.000, +0)  lv_nuttx_fbdev_set_file:  xres:
>> 640 lv_nuttx_fbdev.c:118
>> [LVGL] [User]   (0.000, +0)  lv_nuttx_fbdev_set_file:  yres:
>> 480 lv_nuttx_fbdev.c:119
>> [LVGL] [User]   (0.000, +0)  lv_nuttx_fbdev_set_file:   nplanes: 1
>> lv_nuttx_fbdev.c:120
>> [LVGL] [User]   (0.000, +0)  fbdev_get_pinfo: PlaneInfo (plane 0):
>> lv_nuttx_fbdev.c:319
>> [LVGL] [User]   (0.000, +0)  fbdev_get_pinfo: mem: 0x44e0
>> lv_nuttx_fbdev.c:320
>> [LVGL] [User]   (0.000, +0)  fbdev_get_pinfo: fblen: 2457600
>> lv_nuttx_fbdev.c:321
>> [LVGL] [User]   (0.000, +0)  fbdev_get_pinfo:stride: 2560
>> lv_nuttx_fbdev.c:322
>> [LVGL] [User]   (0.000, +0)  fbdev_get_pinfo:   display: 0
>> lv_nuttx_fbdev.c:323
>> [LVGL] [User]   (0.000, +0)  fbdev_get_pinfo:   bpp: 32
>> lv_nuttx_fbdev.c:324
>> [LVGL] [User]   (0.000, +0)  fbdev_get_pinfo: PlaneInfo (plane 0):
>> lv_nuttx_fbdev.c:319
>> [LVGL] [User]   (0.000, +0)  fbdev_get_pinfo: mem: 0x44e0
>> lv_nuttx_fbdev.c:320
>> [LVGL] [User]   (0.000, +0)  fbdev_get_pinfo: fblen: 2457600
>> lv_nuttx_fbdev.c:321
>> [LVGL] [User]   (0.000, +0)  fbdev_get_pinfo:stride: 2560
>> lv_nuttx_fbdev.c:322
>> [LVGL] [User]   (0.000, +0)  fbdev_get_pinfo:   display: 0
>> lv_nuttx_fbdev.c:323
>> [LVGL] [User]   (0.000, +0)  fbdev_get_pinfo:   bpp: 32
>> lv_nuttx_fbdev.c:324
>> [LVGL] [User]   (0.000, +0)  fbdev_init_mem2: Use consecutive mem2
>> = 0x44f2c000, yoffset = 480 lv_nuttx_fbdev.c:370
>> [LVGL] [User]   (0.000, +0)  lv_nuttx_fbdev_set_file: Resolution
>> is set to 640x480 at 130dpi lv_nuttx_fbdev.c:174
>> [LVGL] [User]   (0.000, +0)  lv_nuttx_touchscreen_create:
>> touchscreen /dev/input0 opening lv_nuttx_touchscreen.c:68
>> [LVGL] [User]   (0.000, +0)  lv_nuttx_touchscreen_create:
>> touchscreen /dev/input0 open success lv_nuttx_touchscreen.c:75
>> [LVGL] [Warn]   (0.000, +0)  lv_demo_widgets:
>> LV_FONT_MONTSERRAT_20 is not enabled for the widgets demo. Using
>> LV_FONT_DEFAULT instead. lv_demo_widgets.c:143
>> X connection to :0.0 broken (explicit kill or server shutdown).
>>
>> Works like a charm :-)
>>
>>
>>
>> === ESP32 ===
>>
>> xtensa-esp32-elf-cc (crosstool-NG esp-2021r2-patch5) 8.4.0
>> Copyright (C)