lora-e5-bsp

Crates.iolora-e5-bsp
lib.rslora-e5-bsp
version0.6.1
sourcesrc
created_at2021-11-11 19:44:53.564496
updated_at2022-08-01 21:04:06.917349
descriptionBoard support package for the seeed LoRa-E5 development kit
homepage
repositoryhttps://github.com/stm32-rs/stm32wlxx-hal
max_upload_size
id480347
size16,019
stm32wl (github:stm32-rs:stm32wl)

documentation

README

LoRa-E5 Board Support Package

Board support for the seeed LoRa-E5 development kit.

This crate extends the stm32wlxx-hal with board specific hardware, see that crate for more information.

Usage

[dependencies.lora-e5-bsp]
version = "0.6.1"
features = [
    # optional: use the cortex-m-rt interrupt interface
    "rt",
    # optional: use defmt
    "defmt",
    # optional: enable conversions with embedded-time types
    "embedded-time",
    # optional: use the real time clock (RTC)
    "chrono",
]

Flashing

This board is a pain to get working for the first time because the flash protection bits are set.

Check these resources to unlock the board for programming:

To flash this board with various rust utilities such as probe-run, cargo-embed, and cargo-flash remove the --connected-under-reset flag. This flag is required for the NUCLEO board, but will cause timeout errors with the LoRa-E5 development board.

⚠️ You must use recent versions of probe-rs based tools to avoid bugs with the STM32WL ⚠️

  • cargo-embed >=0.12.0
  • cargo-flash >=0.12.0
  • probe-run >=0.3.1
Commit count: 339

cargo fmt