Skip to content

Commit 7e4ee5a

Browse files
committed
Merge branch 'generate-modules-in-vcs'
2 parents f50f378 + 339003c commit 7e4ee5a

File tree

273 files changed

+648203
-421
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

273 files changed

+648203
-421
lines changed

Cargo.toml

+12-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1+
[workspace]
2+
members = [
3+
".",
4+
"device_generator",
5+
]
6+
17
[package]
28
name = "avrd"
3-
version = "0.3.1"
9+
version = "1.0.0"
410
authors = ["Dylan McKay <[email protected]>"]
11+
edition = "2018"
512

613
description = """
714
Device-specific constants and information for all AVR microcontrollers
@@ -17,7 +24,7 @@ categories = ["embedded"]
1724
[features]
1825
default = []
1926
# Enable all microcontrollers.
20-
all_mcus = []
27+
all-mcus = []
2128

2229
[dependencies]
2330

@@ -28,3 +35,6 @@ avr-mcu = "0.3"
2835
# Most of the build consists of generating the mcu description files. So
2936
# enable optimizations to speed this process.
3037
opt-level = 2
38+
39+
[package.metadata.docs.rs]
40+
all-features = true

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ volatile_store(PORTB, 0x1f);
2828

2929
Just include the crate as a dependency and it will work.
3030

31-
## Usage on other architectures
31+
## Enabling all microcontrollers at once
3232

33-
You need to compile with the `all_mcus` feature enabled, otherwise it will attempt
34-
to target the current AVR microcontroller, which isn't set in these cases.
33+
You may want to compile with the `all-mcus` feature enabled, which enables
34+
modules for all microcontrollers to be compiled and included at once.
3535

0 commit comments

Comments
 (0)