Open
Description
I want to add support for the stm32f401re Nucleo board. The existing src/machine/machine_stm32f4.go
for this family of chips uses definitions for peripherals that do not exist for the stm32f401 family. For example, TIM13:
src/machine/machine_stm32f4.go:278:28: TIM13 not declared by package stm32
Looking at ./src/device/stm32/stm32f401.go
I see that there are TIM1 to TIM11.
Question: how to modify machine_stm32f4.go
so it is still usable for different chips of stm32f4 family, even those with less peripherals? Should I maybe exclude stm32f401 from machine_stm32f4.go
and re-implement everything, or should I make machine_stm32f4.go
somehow more generic?