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

[WIP]: PX4IO F7 DMA buffer review (dcache flush and alignment) #12075

Closed
wants to merge 1 commit into from

Conversation

dagar
Copy link
Member

@dagar dagar commented May 25, 2019

  • explicitly align the buffer to ARMV7M_DCACHE_LINESIZE
  • simpler alignment rounding logic (from stm32_ethernet.c)

With the current code in master _io_buffer_storage ends up as 128 bytes, however the dcache flush size (ALIGNED_IO_BUFFER_SIZE) is only 96 bytes.

@dagar dagar added bug NuttX (OS) Board: Pixhawk fmu-v5 FMU-v5 including pixhawk 4, pixhack v5, etc labels May 25, 2019
@dagar dagar requested a review from davids5 May 25, 2019 20:22
@dagar dagar changed the title WIP: PX4IO F7 DMA buffer review (dcache flush and alignment) [WIP]: PX4IO F7 DMA buffer review (dcache flush and alignment) May 26, 2019
@dagar
Copy link
Member Author

dagar commented Jul 8, 2019

Rolled into #12435.

@dagar dagar closed this Jul 8, 2019
@dagar dagar deleted the pr-px4io_f7_dcache branch July 11, 2019 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Board: Pixhawk fmu-v5 FMU-v5 including pixhawk 4, pixhack v5, etc bug NuttX (OS)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant