Skip to content

Commit e1b3a9a

Browse files
committed
Added to cargo toml ready for 0.1 release. Fixed examples warnings
1 parent cf1f896 commit e1b3a9a

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

Cargo.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
name = "stm32l432xx-hal"
33
version = "0.1.0"
44
authors = ["Scott <[email protected]>"]
5+
description = "Hardware abstraction layer for the stm32l432xx chips"
6+
keywords = ["no-std", "stm32l432xx", "stm32l432kc", "stm32l432kb", "embedded", "embedded-hal"]
7+
repository = "https://github.com/MabezDev/stm32l432xx-hal"
8+
readme = "README.md"
9+
license = "MIT OR Apache-2.0"
10+
exclude = [
11+
".travis.yml",
12+
".gitignore"
13+
]
514

615
[dependencies]
716
cortex-m = "0.5.2"

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
> [HAL] for the STM32L432xx family of microcontrollers
44
5+
*Note: this HAL is a work in progress, contributions are appreciated :)*
6+
57
[HAL]: https://crates.io/crates/embedded-hal
68

79
## [Documentation](todo)

examples/blinky.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ fn main() -> ! {
5959
timer.delay_ms(1000 as u32);
6060
led.set_low();
6161
}
62-
writeln!(hstdout, "Good bye!").unwrap();
63-
loop {}
6462
}
6563

6664
exception!(HardFault, hard_fault);

examples/serial_dma_partial_peek.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ extern crate stm32l432xx_hal as hal;
1919
// extern crate nb;
2020

2121
use cortex_m::asm;
22-
use hal::dma::Half;
2322
use hal::prelude::*;
2423
use hal::serial::Serial;
2524
use hal::stm32l4::stm32l4x2;

0 commit comments

Comments
 (0)