attiny85: Timer patch fixes
attiny85: Add patch for Timer/Counter 1
Signed-off-by: Rahix <rahix@rahix.de>
atmega328p: Add patch for 8-bit asynchronous timer
Signed-off-by: Rahix <rahix@rahix.de>
atmega32u4: Add patch for 10-bit timer/counter
Signed-off-by: Rahix <rahix@rahix.de>
atmega32u4,atmega328p: Add patch for 16-bit timers
Signed-off-by: Rahix <rahix@rahix.de>
patch: Restructure timer patches
Redesign timer patch file structure for better modularity. Now,
`timer/<chip>.yaml` defines all timer peripherals for a chip and uses
peripheral-level includes for patching the actual peripheral. The
actual peripheral patches live in `timer/dev/<type>.yaml`.
The intermediate `<chip>.yaml` file is needed because peripheral-level
includes are not allowed in top-level files.
Signed-off-by: Rahix <rahix@rahix.de>
Add support for ATmega2560
Update README in preparation for release
Signed-off-by: Rahix <rahix@rahix.de>
Add version for avr-device-macros
Signed-off-by: Rahix <rahix@rahix.de>
Include generated files instead of build-script
Signed-off-by: Rahix <rahix@rahix.de>
Document #[interrupt] and #[entry]
Signed-off-by: Rahix <rahix@rahix.de>
macros: Add a #[entry] macro
Add a #[entry] macro for declaring the entry-point of the program,
similar to what cortex-m-rt is doing.
Signed-off-by: Rahix <rahix@rahix.de>