* support saving into SmartEEPROM Signed-off-by: Alexandre d Alton <[email protected]> * atsam: update smarteeprom implementation - Use define for SmartEEPROM buffer address - Check buffer overflow - Do not perform operation when timeout occurs Signed-off-by: Alexandre d'Alton <[email protected]> * return 0 instead of ff for invalid address or timeout Signed-off-by: Alexandre d'Alton <[email protected]> * clang-format * Add extra bounds checks Co-authored-by: zvecr <[email protected]>