hal_stm32 icon indicating copy to clipboard operation
hal_stm32 copied to clipboard

scripts: genpinctrl: add support for FSMC pins

Open douardda opened this issue 2 years ago • 4 comments

FSMC and FMC are very similar, but FSMC pins in STM32_open_pin_data are identified as FSMC_xxx, so they are not included in generated pinctrl dts files.

This just modify the regex in the stm32-pinctrl-config.yaml file to match "FSMC" in addition to "FMC".

If accepted, dtsi files will have to be regenerated in a following PR.

douardda avatar May 08 '23 19:05 douardda

Any chance to have this PR reviewed?

douardda avatar May 17 '23 16:05 douardda

LGTM, but it's expected that you generate a new batch of -pinctrl.dtsi files by yourself (so we can see if the result is as expected). Instructions are available in the repo README. Please take care to use the correct SHA1 and put this in a new commit.

erwango avatar May 22 '23 06:05 erwango

LGTM, but it's expected that you generate a new batch of -pinctrl.dtsi files by yourself (so we can see if the result is as expected).

Ok, it was not clear to me whether the newly generated dtsi files were expected with such a MR (so my comment "If accepted, dtsi files will have to be regenerated in a following PR")

Instructions are available in the repo README. Please take care to use the correct SHA1 and put this in a new commit.

I suppose "use the correct SHA1" is the sha1 mentioned in each stm32cube/stm32xxx/README file, right? I realise I missed the README file in the scripts/ directory, where all this is actually documented :-) (maybe a link from the top "repo README" file would help?)

douardda avatar May 22 '23 11:05 douardda

SHA1, is the one provided in dts/README.rst. There are actually some lines in https://github.com/zephyrproject-rtos/hal_stm32#dtsi-files, but this can be improved and suggestions are welcome.

erwango avatar May 22 '23 13:05 erwango

I'm closing this PR due to inactivity. Please reopen if required.

erwango avatar May 03 '24 15:05 erwango