-
Notifications
You must be signed in to change notification settings - Fork 151
Add missing aliases for FSMC #334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Yunus Çemberci <[email protected]>
mathieuchopstm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also update the following to depend on CONFIG_USE_STM32_LL_FMC:
| zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_FSMC drivers/src/stm32f4xx_ll_fsmc.c) |
stm32cube/stm32f4xx/README
Outdated
| *Add missing aliases for FSMC | ||
| Impacted files: | ||
| drivers/include/stm32f4xx_ll_fsmc.h |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small reword + add internal report reference:
| *Add missing aliases for FSMC | |
| Impacted files: | |
| drivers/include/stm32f4xx_ll_fsmc.h | |
| *Add missing FSMC -> FMC compatibility aliases | |
| Impacted files: | |
| drivers/include/stm32f4xx_ll_fsmc.h | |
| ST Internal Reference: 223859 |
mathieuchopstm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also in
hal_stm32/scripts/genpinctrl/stm32-pinctrl-config.yaml
Lines 107 to 110 in 9d05ebd
| - name: FMC | |
| match: "^FMC_(?:NL|NADV|CLK|NBL[0-3]|A\\d+|D\\d+|NE[1-4]|NOE|NWE|NWAIT|NCE|INT|SDCLK|SDNWE|SDCKE[0-1]|SDNE[0-1]|SDNRAS|SDNCAS|ALE|CLE)$" | |
| bias: pull-up | |
| slew-rate: very-high-speed |
- - name: FMC
- match: "^FMC_(?:NL|NADV|CLK|NBL[0-3]|A\\d+|D\\d+|NE[1-4]|NOE|NWE|NWAIT|NCE|INT|SDCLK|SDNWE|SDCKE[0-1]|SDNE[0-1]|SDNRAS|SDNCAS|ALE|CLE)$"
+ - name: FMC / FSMC
+ match: "^FS?MC_(?:NL|NADV|CLK|NBL[0-3]|A\\d+|D\\d+|NE[1-4]|NOE|NWE|NWAIT|NCE|INT|SDCLK|SDNWE|SDCKE[0-1]|SDNE[0-1]|SDNRAS|SDNCAS|ALE|CLE)$"
bias: pull-up
slew-rate: very-high-speedthen run genpinctrl.py and commit the changes in a separate commit
Signed-off-by: Yunus Çemberci <[email protected]>
Signed-off-by: Yunus Çemberci <[email protected]>
Zephyr MEMC drivers use these macros and they are missing in the LL_FSMC header, so i added them here.
cc @mathieuchopstm