~ruther/avr-device

393dc903 — Rahix 4 years ago
README: Add badges

Signed-off-by: Rahix <rahix@rahix.de>
0a44427f — Rahix 4 years ago
Update README in preparation for release

Signed-off-by: Rahix <rahix@rahix.de>
72c5d2a4 — Rahix 4 years ago
Add version for avr-device-macros

Signed-off-by: Rahix <rahix@rahix.de>
941edac6 — Rahix 4 years ago
Build all features on docs.rs

Signed-off-by: Rahix <rahix@rahix.de>
ce2fbacc — Rahix 4 years ago
Include generated files instead of build-script

Signed-off-by: Rahix <rahix@rahix.de>
d11a9c2f — Rahix 4 years ago
Add crate metadata

Signed-off-by: Rahix <rahix@rahix.de>
cb089e6c — Rahix 4 years ago
Document #[interrupt] and #[entry]

Signed-off-by: Rahix <rahix@rahix.de>
27392685 — Rahix 4 years ago
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>
ba0df30a — Rahix 4 years ago
Update proc-macro dependencies

Update to syn 1.0 and fix the interrupt macro to work well with the new
version.

Signed-off-by: Rahix <rahix@rahix.de>
1969ec39 — Liam Perlaki 4 years ago
Add patches for ADC peripherals

Add a patch to fixup a few registers in the ADC peripheral
for ATmega328P, ATmega32U4, ATmega1280, and ATmega64.
8c207c61 — Rahix 4 years ago
ci: Fix nightly to 2020-07-12

Fix nightly to a version where rustfmt was still available.

Signed-off-by: Rahix <rahix@rahix.de>
7113a1e1 — Rahix 4 years ago
make: Allow overriding rustup toolchain

Allow overriding the rustup toolchain used for rustfmt by invoking make
like this:

    make RUSTUP_TOOLCHAIN=nightly-2020-07-12

This will (hopefully) help when working with nightly versions where
rustfmt is unavailable.

Signed-off-by: Rahix <rahix@rahix.de>
c3144637 — Liam Perlaki 4 years ago
Use llvm_asm!() instead of asm!()

The asm!() feature was changed to a new syntax which this project did not yet
adopt.  The old asm!() is now available as llvm_asm!().  Switch to that to
support nightly build.

See PR #27 for details.
67d2554c — Rahix 4 years ago
README: Use ATmega64 as an up-to-date example

Signed-off-by: Rahix <rahix@rahix.de>
29061345 — Rahix 4 years ago
Add basic support for ATmega64

Pull in the ATDF file from Microchip and add all the necessary plumbing
around the code-base to make it compile.  Not tested against real
hardware and no device-specific patches are included yet.

Signed-off-by: Rahix <rahix@rahix.de>
78a95883 — Rahix 4 years ago
Update dependency versions

Signed-off-by: Rahix <rahix@rahix.de>
25305d5b — Rahix 4 years ago
interrupts: Fix sed expressions for parsing interrupt list

The format for the interrupt sources changed which silently made
gen-intr-lut.sh no longer generate any interrupt names.  Fix the
expressions so interrupt names are recognized again and the macro
can be used for generating interrupt definitions again.

Signed-off-by: Rahix <rahix@rahix.de>
169804d1 — Rahix 5 years ago
make: Use a patchfile instead of weird sed expr

As reported in issue #24 the sed(1) expression used to patch the generated
`mod.rs` does not work on MacOS (BSD sed).  Instead, use patch(1) and a small
patchfile to accomplish the same task.

Signed-off-by: Rahix <rahix@rahix.de>
4d281f56 — Rahix 5 years ago
ci: Use atdf2svd from crates.io

Signed-off-by: Rahix <rahix@rahix.de>
75629772 — Rahix 5 years ago
Install atdf2svd from crates.io

Signed-off-by: Rahix <rahix@rahix.de>
Next
Do not follow this link