qt-py m0 definition#8
Conversation
tannewt
left a comment
There was a problem hiding this comment.
One request on the partitions. Thanks!
| /* | ||
| * The final 16 KiB is reserved for the application. | ||
| * Storage partition will be used by FCB/LittleFS/NVS | ||
| * if enabled. | ||
| */ | ||
| storage_partition: partition@3c000 { | ||
| label = "storage"; | ||
| reg = <0x0003c000 DT_SIZE_K(16)>; | ||
| }; |
There was a problem hiding this comment.
Please add a circuitpy partition here instead. It is 64k. There is also 256 bytes for nvm after it. https://github.com/adafruit/circuitpython/blob/0654cdf7aa521e0cb3436aa45ace05caee236ca7/ports/atmel-samd/mpconfigport.h#L90
This explains the order: https://github.com/adafruit/circuitpython/blob/0654cdf7aa521e0cb3436aa45ace05caee236ca7/ports/atmel-samd/mpconfigport.h#L209
There was a problem hiding this comment.
Do you need this for every board or can it be used for anything with a xiao_i2c?
There was a problem hiding this comment.
Good question. There's no reason it shouldn't based on the contents, just have to look at how to get the build system to recognize it.
Definition for the Adafruit QT Py M0 (samd21). Drafted while I figure out why dts is acting up again:
I'm fairly confident there's nothing wrong at that actual line, as it's functionally identical to other boards of this type, and is likely originating from some other part of the devicetree.