~ruther/avr-device

ref: 5cbb4d85122ad18a05e60af4bccae030057968f4 avr-device/Makefile -rw-r--r-- 2.0 KiB
88fcf0c8 — Rahix 6 years ago
Implement interrupts

This commit adds a new feature-flag `rt` which, when enabled, adds the
`#[interrupt]` procedural macro to define an interrupt handler.  Unlike
the implementation in cortex-m, this version needs an attribute which is
the name of the chip the interrupt is for.  In code, an interrupt
handler might look like this:

    #![feature(abi_avr_interrupt)]

    #[avr_device::interrupt(atmega32u4)]
    fn INT6() {
        // Do Something
    }

Closes #1.

Signed-off-by: Rahix <rahix@rahix.de>
dc45b3cc — Rahix 6 years ago
Switch to a new design as outlined in #17

Signed-off-by: Rahix <rahix@rahix.de>
90e0982f — Rahix 6 years ago
Use nightly rustfmt

Signed-off-by: Rahix <rahix@rahix.de>
4f73fe2e — Gabriel Pickl 6 years ago
Added atmega1280.
7818dda6 — Rahix 6 years ago
make: Make sed usage more portable

fixes #5

Signed-off-by: Rahix <rahix@rahix.de>
3b582371 — Rahix 6 years ago
make: Add targets for individual chips

Signed-off-by: Rahix <rahix@rahix.de>
6c665e4d — Rahix 6 years ago
make: Fix dependencies of patch files

Signed-off-by: Rahix <rahix@rahix.de>
c15bfe54 — octycs 6 years ago
Integrate patching in the build process
34861ead — Filip 6 years ago
Add support for atmega8

Signed-off-by: Filip <filip.skubacz.public@gmail.com>
8b1679a8 — Rahix 6 years ago
Add support for atmega328p

Signed-off-by: Rahix <rahix@rahix.de>
769efac4 — Rahix 6 years ago
Initial