Skip to content

feat: highcyclearea interface change#798

Open
Alexander Pärsch (uxitraAlex) wants to merge 7 commits intophilips-software:mainfrom
uxitra:highcycleare_interface_change
Open

feat: highcyclearea interface change#798
Alexander Pärsch (uxitraAlex) wants to merge 7 commits intophilips-software:mainfrom
uxitra:highcycleare_interface_change

Conversation

@uxitraAlex
Copy link
Copy Markdown
Contributor

@uxitraAlex Alexander Pärsch (uxitraAlex) commented Apr 30, 2026

  • Change flash highcyclearea interface to support a memory range.
  • Add support for a memory range over both flash banks with different highcyclearea sizes.
  • Add support for a memory range that does not use all configured highcyclearea sectors.

Comment thread hal_st/stm32fxxx/FlashInternalHighCycleAreaStm.hpp Outdated
Comment thread hal_st/stm32fxxx/FlashInternalHighCycleAreaStm.cpp Outdated
Comment thread hal_st/stm32fxxx/FlashInternalHighCycleAreaStm.cpp Outdated
Comment thread hal_st/stm32fxxx/FlashInternalHighCycleAreaStm.hpp Outdated
…etter checks for not continouse range and different memory range then available sectors.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

For completeness, could you also create a SynchronousFlashInternalHighCycleAreaStm ?

Comment thread hal_st/stm32fxxx/FlashInternalHighCycleAreaStm.hpp Outdated
Comment thread hal_st/stm32fxxx/FlashInternalHighCycleAreaStm.cpp Outdated
@uxitraAlex Alexander Pärsch (uxitraAlex) marked this pull request as ready for review May 7, 2026 14:00
@uxitraAlex Alexander Pärsch (uxitraAlex) requested a review from a team as a code owner May 7, 2026 14:00
@uxitraAlex Alexander Pärsch (uxitraAlex) changed the title DRAFT: highcyclearea interface change highcyclearea interface change May 7, 2026
@uxitraAlex Alexander Pärsch (uxitraAlex) changed the title highcyclearea interface change feat: highcyclearea interface change May 7, 2026
explicit WithIrqHandler(HalfWordRange flashMemory);
};

class SynchronousFlashInternalHighCycleAreaStm
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

please move to to synchronous_stm32fxxx directory.
This class should also have an WithIrqHandler sub class. (see SynchronousOneTimeProgrammableFlashStm.hpp)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants