You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
_timer.h Avoid 8-bit timer overflows in debounce algorithms (#12240) 5 years ago
_wait.h 2021 May 29 Breaking Changes Update (#13034) 5 years ago
atomic_util.h Implement GPIO abstraction for atsam (#13567) 4 years ago
bootloader.c
eeprom.c massdrop alt/ctrl: support saving into nvm (#6068) 4 years ago
gpio.h Implement GPIO abstraction for atsam (#13567) 4 years ago
pin_defs.h Implement GPIO abstraction for atsam (#13567) 4 years ago
platform.c Begin to carve out platform/protocol API - Single main loop (#13843) 4 years ago
platform_deps.h Avoid name conflicts with usb_hid Arduino code (#13870) 4 years ago
suspend.c 2020 November 28 Breaking Changes Update (#11053) 5 years ago
timer.c