I propose the needed files for stm32l422 support :
Code: Select all
os/common/ext/ST/STM32L4xx/stm32l422xx.h
os/common/ext/ST/STM32L4xx/stm32l4xx.h
os/common/startup/ARMCMx/compilers/GCC/ld/STM32L422.ld
os/hal/ports/STM32/STM32L4xx/hal_lld.h
os/hal/ports/STM32/STM32L4xx/stm32_registry.h
tools/ftl/processors/conf/mcuconf_stm32l422xx/mcuconf.h.ftl
tools/updater/update_mcuconf_stm32l422xx.sh
The l422 is a striped down version of the L432, without CAN, DAC, SPI3, but with two ADC instead of one.
It is interesting for us because at the contrary of L432, it is available in the LQFP package.
LQFP has the smallest pad that our antic PCB lab is able to make, so we can give projects to students where they design electronics, software, packaging, and are able to make the prototype themselves.
There is no devboard on the market with L422, but if someone is interested, PM me and I can send you kikad files of a devboard that we made.
The diff is made for 20.3 latest, does it help if it's made against trunk instead ?
Alexandre