benpicco
benpicco
Well it's not really a NULL pointer check in this case rather than the use of the NULL parameter for in-band signalling. It's just as valid to use the `len`...
I think you are mixing something up. This PR has nothing to do with SUIT / works independent of it. It is just about allocating a portion of the internal...
It should be a board property, but to test it on CI I have to define it in the test application if I don't want to add an AUX slot...
I think this is a fixed value. It's more like an EEPROM or the bootloader sector - we can't change that retroactively either. > Do you plan to add the...
Hm I'm not so sure about that. Pretty much all of our boards are dev boards, so they don't serve a single purpose and will be re-flashed with different applications....
There is no connection to the bootloader with this feature. If you set `SLOT_AUX_LEN` that space will *always* be reserved for auxiliary data.
If we have firmware updates, storing the AUX section at a fixed location (end of the flash) is a hard requirement, but that doesn't mean we can't use the same...
This creates a MTD device, so you can use it e.g. as a backend for FlashDB (#17612) or even a file system if you so desire. But this is just...
But `FLASH_WRITABLE_INIT` won't work if there are two firmware slots.
But how is this any different than data on an external EEPROM, SPI Flash or SD card? If you chose to store the data on an external device instead, you...