/raspberry-pi-pico/src/ and Make.defs
seems easy. But where would the code for actually interfacing with the flash
best go?
Anders
while access to flash fs on the Pico supposedly could give some hints, a
solution still eludes me.
Anders
Originalmeddelande
Den 25 feb. 2024 20:17, Alan C. Assis skrev:
> Hi Anders, Welcome to NuttX !!! Yes, you are right, the rp2040 port doesn't
> yet have
boards with the RP2040 processor. In addition to
this, some access function would be needed in a new file rp2040_uid.c or so.
But what is the procedure in NuttX to store some global variable in memory?
Preferably as read-only after initialization.
Anders
On Thursday, 14 March 2024 at 14:39
Hello Adam
Excellent! Precisely what I was looking for. I'll check it out.
Thanks,
Anders
On Sunday, 17 March 2024 at 12:54, Adam Comley wrote:
> Hi Anders,
>
> I recently had a need for this feature as well, and put together a PR
> based on the pico-sdk implementation
ibrary is at version C++17 and
the the CXX STANDARD is C++20, but these are the default values provided by the
menuconfig command.
Anders
x ^= x >> 27;
g_uniqueid[i] = (uint8_t)((x * 0x2545f4914f6cdd1dull) >> 32);
}
#endif
}
Any comments?
Anders
On Monday, 18 March 2024 at 06:51, Anders wrote:
> Hello Adam
>
> Excellent! Precisely what I was looking for. I'll check it out.
>
> Thank
ggest the least significant ones.
In any case, after feedback on the list, I can draft a proposal and prepare a
merge request.
Cheers,
Anders
On Monday, 1 April 2024 at 23:18, Alan C. Assis wrote:
> Should it be:
>
> #if CONFIG_BOARDCTL_UNIQUEID_SIZE <= RP2040_FLASH_ID_SIZE ?
&