Skip to content

Conversation

@hjuul
Copy link
Contributor

@hjuul hjuul commented Jan 18, 2021

This PR adds qspi flash support to stm32 f7. DMA is not supported (will be added in #31405).

I have verified that samples/drivers/spi_flash works on boards stm32f746g_disco and stm32f769i_disco.

@hjuul hjuul force-pushed the stm32f7_qspi_no_dma branch 3 times, most recently from eb63252 to c132b73 Compare January 19, 2021 10:41
@erwango erwango modified the milestones: v2.5.0, v2.6.0 Jan 25, 2021
@nashif nashif added the has-conflicts Issue/PR has conflicts with another issue/PR label Feb 15, 2021
@erwango
Copy link
Member

erwango commented Feb 15, 2021

@hjuul can you rebase ?

@hjuul hjuul force-pushed the stm32f7_qspi_no_dma branch from c132b73 to f541d17 Compare February 18, 2021 07:25
@hjuul
Copy link
Contributor Author

hjuul commented Feb 18, 2021

@erwango I've rebased. One of the checks are failing but I can't figure out why. Could you please have a look?

@erwango
Copy link
Member

erwango commented Feb 18, 2021

@hjuul Seems you're out of luck and rebased at the wrong time.
If you mind rebasing one more time, you'll get #32435 that should fix the PWM issue

@hjuul hjuul force-pushed the stm32f7_qspi_no_dma branch from f541d17 to 5dc77d0 Compare February 18, 2021 17:28
@erwango
Copy link
Member

erwango commented Feb 19, 2021

CI Failure: #32344

@erwango erwango removed the has-conflicts Issue/PR has conflicts with another issue/PR label Feb 19, 2021
@erwango erwango requested a review from galak February 19, 2021 13:55
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this related to qspi-nor or is it internal flash? It looks like something that might belong in a separate commit

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part is related to internal flash. @erwango suggested I add it for consistency with other disco boards.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've removed the flash layout for internal flash and rebased.

@carlescufi carlescufi requested a review from gmarull February 23, 2021 11:38
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flash layout changes are not related to QSPI, so they should go into a separate commit (or even a new PR if not related/required with these changes)

@hjuul hjuul force-pushed the stm32f7_qspi_no_dma branch from 5dc77d0 to c79fd53 Compare February 23, 2021 18:42
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better use DT_SIZE_M helper

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better use DT_SIZE_M helper

Add quadspi node in stm32f7.dtsi and quadspi support to boards
stm32f746g_disco and stm32f769i_disco.
Note! Does not support DMA.

Signed-off-by: Helge Juul <[email protected]>
@hjuul hjuul force-pushed the stm32f7_qspi_no_dma branch from c79fd53 to d9a45a4 Compare February 24, 2021 06:43
@MaureenHelm MaureenHelm merged commit 30dbc40 into zephyrproject-rtos:master Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants