Re: how to add unique_id for Raspberry Pi Pico?

2024-04-01 Thread Anders
Thank you Alan, that is even better. Another option is to introduce a separate configuration option, e.g. CONFIG_BOARDCTL_RP2040_HARDWAREID. If that is set, code would be compiled to return a unique id based directly on hardware values, independent of the relative sizes of the CONFIG_BOARDCTL_

Re: how to add unique_id for Raspberry Pi Pico?

2024-04-01 Thread Alan C. Assis
Should it be: #if CONFIG_BOARDCTL_UNIQUEID_SIZE <= RP2040_FLASH_ID_SIZE ? BR, Alan On Mon, Apr 1, 2024 at 5:45 PM Anders wrote: > Hi, > > The unique id solution for the Raspberry Pi by Adam and his team works > very well. However, I suggest a slight modification of the code. In short, > if th

Re: how to add unique_id for Raspberry Pi Pico?

2024-04-01 Thread Anders
Hi, The unique id solution for the Raspberry Pi by Adam and his team works very well. However, I suggest a slight modification of the code. In short, if the number of bytes of the NuttX unique id is configured equal to the actual number of bytes of the id in the Pico flash hardware system (8 by

Re: [VOTE] Apache NuttX 12.5.0 RC0 release

2024-04-01 Thread Tiago Medicci Serrano
[+1] for all Espressif-supported boards and chips, namely: - 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_de

Re: [VOTE] Apache NuttX 12.5.0 RC0 release

2024-04-01 Thread Alan C. Assis
-1 1) free is not working on blue-pill) --- $ arm-none-eabi-gcc -v Using built-in specs. COLLECT_GCC=arm-none-eabi-gcc COLLECT_LTO_WRAPPER=/usr/local/bin/../libexec/gcc/arm-none-ea

Re: [VOTE] Apache NuttX 12.5.0 RC0 release

2024-04-01 Thread Roberto Bucher
Built on Debian trixie with this toolchains: arm-none-eabi-gcc -v Supported LTO compression algorithms: zlib gcc version 13.2.1 20231009 (15:13.2.rel1-2) bucher@debian:~/ToDo/NUTTX_release_test/nuttx$ arm-none-eabi-size nuttx    text       data        bss        dec        hex    filename  29630

Re: [VOTE] Apache NuttX 12.5.0 RC0 release

2024-04-01 Thread Alan C. Assis
Roberto, Please send information about your toolchain (i.e. use: arm-none-eabi-gcc -v) and the final binary size (i.e.: arm-none-eabi-size nuttx). BR, Alan On Mon, Apr 1, 2024 at 5:46 AM Roberto Bucher wrote: > +1 > > Built for: > > nucleo-144:f746-pysim > nucleo-h745zi:pysim_cm7 > nucleo-h74

Re: [VOTE] Apache NuttX 12.5.0 RC0 release

2024-04-01 Thread Lee, Lup Yuen
+1 for Ox64, Star64 and PinePhone = Ox64 Compiler + riscv64-unknown-elf-gcc -v Using built-in specs. COLLECT_GCC=riscv64-unknown-elf-gcc COLLECT_LTO_WRAPPER=/Users/Luppy/riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-apple-darwin/bin/../libexec/gcc/riscv64-unknown-elf/10.2.0/lto-wrapper

Re: [VOTE] Apache NuttX 12.5.0 RC0 release

2024-04-01 Thread Roberto Bucher
+1 Built for: nucleo-144:f746-pysim nucleo-h745zi:pysim_cm7 nucleo-h743zi2:pysim Generated export for nucleo-144:f746-pysim and tested with pysimCoder Ciao Roberto On 4/1/24 9:41 AM, Alin Jerpelea wrote: Hello all, Apache NuttX 12.5.0 RC0 has been staged under [1] and it's time to vote on a

Re: stack issue when using littlefs (was Re: littlefs broken)

2024-04-01 Thread Takashi Yamamoto
On Tue, Mar 19, 2024 at 8:01 PM Sebastien Lorquet wrote: > > Damn, that was a stack issue, but not in littlefs itself. or is it? idk. > > > This is a useful "bug" to know: Littlefs uses A LOT of stack. > > The issue was nsh. it is configured with a 2048 bytes stack by default, > and increasing it

[VOTE] Apache NuttX 12.5.0 RC0 release

2024-04-01 Thread Alin Jerpelea
Hello all, Apache NuttX 12.5.0 RC0 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