qmk_firmware/tmk_core/common/arm_atsam
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
..
_timer.h Avoid 8-bit timer overflows in debounce algorithms (#12240) 2021-06-09 17:23:21 +10:00
_wait.h 2021 May 29 Breaking Changes Update (#13034) 2021-05-29 14:38:50 -07:00
atomic_util.h Implement GPIO abstraction for atsam (#13567) 2021-07-22 23:01:19 +01:00
bootloader.c
eeprom.c massdrop alt/ctrl: support saving into nvm (#6068) 2021-09-30 06:56:13 +10:00
gpio.h Implement GPIO abstraction for atsam (#13567) 2021-07-22 23:01:19 +01:00
pin_defs.h Implement GPIO abstraction for atsam (#13567) 2021-07-22 23:01:19 +01:00
platform.c Begin to carve out platform/protocol API - Single main loop (#13843) 2021-08-18 00:11:07 +01:00
platform_deps.h Avoid name conflicts with usb_hid Arduino code (#13870) 2021-08-06 15:53:38 +10:00
suspend.c 2020 November 28 Breaking Changes Update (#11053) 2020-11-28 12:02:18 -08:00
timer.c