embassy/embassy-stm32
Ulf Lilleengen d4dbeb6933 Handle case where pin value could be 0
In the case where GPIO mapping could look like this:

PA5:
  SPI1_SCK: 0

The pin would not get any generated impl because the if expression would evaluate to false. Fix this for all cases in gen.py by comparing against None
                                   ~
2021-05-27 13:25:06 +02:00
..
src i2c v1 2021-05-25 14:47:07 -04:00
stm32-data@69050696dd i2c v1 2021-05-25 14:47:07 -04:00
.pep8 USART codegen 2021-04-25 22:35:51 +02:00
build.rs Autogenerate the tailored PAC for each chip 2021-05-06 03:43:46 +02:00
Cargo.toml i2c v1 2021-05-25 14:47:07 -04:00
gen.py Handle case where pin value could be 0 2021-05-27 13:25:06 +02:00