Open NightEule5 opened 6 months ago
Hi @NightEule5 , and apologies for the slow response! There are certainly functionalities which we don't yet have implemented in the HAL, for chips that we support. I believe you're correct that we don't have an implementation of SAMD21 EEPROM emulation, might you be interested in adding one?
This HAL for ATSAMD51 has support for the NVM and the Smart EEPROM feature. Similar to the SAMD51, the SAMD21 has some flash reserved for EEPROM-like functionality, which can be written while the main program memory is read (called "Read-While-Write EEPROM Emulation" in the datasheet). It's only present on devices with <256KB of flash, and only on some variants (B, C, D, and L)