Skip to content
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

drivers/flash: stm32: Error in device name #23678

Closed
erwango opened this issue Mar 23, 2020 · 0 comments · Fixed by #23679
Closed

drivers/flash: stm32: Error in device name #23678

erwango opened this issue Mar 23, 2020 · 0 comments · Fixed by #23679
Assignees
Labels
area: Flash bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32

Comments

@erwango
Copy link
Member

erwango commented Mar 23, 2020

Describe the bug
Reported in #23285 (comment)
DT_INST_0_SOC_NV_FLASH_LABEL should not be used as device name.

Expected behavior
DT_FLASH_DEV_NAME should be used instead

@erwango erwango added bug The issue is a bug, or the PR is fixing a bug area: Flash platform: STM32 ST Micro STM32 labels Mar 23, 2020
@erwango erwango self-assigned this Mar 23, 2020
erwango added a commit to erwango/zephyr that referenced this issue Mar 23, 2020
Don't use DT_INST_0_SOC_NV_FLASH_LABEL as device name.
Use DT_FLASH_DEV_NAME instead

Fixes zephyrproject-rtos#23678

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
galak pushed a commit that referenced this issue Mar 23, 2020
Don't use DT_INST_0_SOC_NV_FLASH_LABEL as device name.
Use DT_FLASH_DEV_NAME instead

Fixes #23678

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
hakehuang pushed a commit to hakehuang/zephyr that referenced this issue Apr 30, 2020
Don't use DT_INST_0_SOC_NV_FLASH_LABEL as device name.
Use DT_FLASH_DEV_NAME instead

Fixes zephyrproject-rtos#23678

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Flash bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant