Alexandre d'Alton
90797d903c
massdrop alt/ctrl: support saving into nvm (#6068)
* support saving into SmartEEPROM
Signed-off-by: Alexandre d Alton <alex@alexdalton.org>
* 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 <alex@alexdalton.org>
* return 0 instead of ff for invalid address or timeout
Signed-off-by: Alexandre d'Alton <alex@alexdalton.org>
* clang-format
* Add extra bounds checks
Co-authored-by: zvecr <git@zvecr.com>
2021-09-30 06:56:13 +10:00
..
2021-09-30 06:56:13 +10:00
2021-08-30 20:21:03 +01:00
2021-09-25 00:19:41 +01:00
2021-09-15 01:21:36 -07:00
2021-02-14 11:51:06 +11:00
2020-12-26 15:56:11 +11:00
2020-12-26 15:56:11 +11:00
2021-02-14 11:51:06 +11:00
2021-09-15 08:40:22 -07:00
2021-09-15 08:40:22 -07:00
2021-09-15 08:40:22 -07:00
2021-02-14 11:51:06 +11:00
2021-07-31 14:35:30 +01:00
2020-12-26 15:56:11 +11:00
2021-09-29 11:37:11 -07:00
2021-09-15 08:40:22 -07:00
2020-12-26 15:56:11 +11:00
2021-08-30 20:21:03 +01:00
2021-06-19 19:18:00 -07:00
2021-06-19 19:18:00 -07:00
2021-07-25 12:17:15 +10:00
2021-07-24 12:13:06 +01:00
2021-07-24 12:13:06 +01:00
2020-12-26 15:56:11 +11:00
2021-05-29 14:38:50 -07:00