Add support for generating PAC for dual cores

* Chips that have multiple cores will be exposed as chipname_corename,
  i.e. stm32wl55jc_cm4
* Chips that have single cores will use the chip family as feature name
  and pick the first and only core from the list
* Add support for stm32wl55 chip family
This commit is contained in:
Ulf Lilleengen
2021-06-16 15:12:07 +02:00
parent c9bf039cae
commit b6a8703698
12 changed files with 463 additions and 90 deletions

View File

@ -8,7 +8,10 @@
#[path = "../example_common.rs"]
mod example_common;
use embassy_stm32::{rcc::*, gpio::{Level, Output}};
use embassy_stm32::{
gpio::{Level, Output},
rcc::*,
};
use embedded_hal::digital::v2::OutputPin;
use example_common::*;

View File

@ -8,13 +8,15 @@
#[path = "../example_common.rs"]
mod example_common;
use embassy_stm32::{rcc::*, gpio::{Input, Level, Output, Pull}};
use embassy_stm32::{
gpio::{Input, Level, Output, Pull},
rcc::*,
};
use embedded_hal::digital::v2::{InputPin, OutputPin};
use example_common::*;
use cortex_m_rt::entry;
#[entry]
fn main() -> ! {
info!("Hello World!");