krzysztof-cabaj
95446b87f2
cpu/avr: move licenses to SPDX format
2025-09-09 18:44:43 +02:00
KSKNico
fe821eaa1d
cpu: replace header guards with #pragma once
2025-05-21 17:13:37 +02:00
Marian Buschsieweke
5fe7a2e44b
cpu/avr8_common: fix C++ compatibility of unistd.h
...
C++ does not know about `restrict`, but both g++ and clang++ support
`__restrict`, as do `clang` and GCC [1].
Using `__restrict` instead of `restrict` is also what glibc does.
[1]: https://en.wikipedia.org/wiki/Restrict#Support_by_C++_compilers
2024-12-12 14:28:27 +01:00
Gerson Fernando Budke
4cbd311196
cpu: Refact atmega_common into avr8_common
...
Split atmega_common code into avr8_common folder. This moves common
avr8 code to be used for all avr8 variants: tiny, mega and xmega.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-01-07 16:29:22 -03:00