STM32L0_FlashController implement fast programming #164
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implement Fast Programming Mode (half page programming) for STM32L0_FlashController
Enabled in ProgramEraseControl.FPRG register
Example log output:
Line 79420: 15:08:43.3472 [DEBUG] flashController: Setting fast program mode (FPRG) to True
Line 79421: 15:08:43.3472 [DEBUG] flashController: Fast programmed flash word 0 (at 0x00016b00) with 0x2045b2c9
Line 79422: 15:08:43.3472 [DEBUG] flashController: Fast programmed flash word 1 (at 0x00016b04) with 0xffa8f7fe
Line 79423: 15:08:43.3472 [DEBUG] flashController: Fast programmed flash word 2 (at 0x00016b08) with 0xb510bd01
Line 79424: 15:08:43.3472 [DEBUG] flashController: Fast programmed flash word 3 (at 0x00016b0c) with 0x20020004
Line 79425: 15:08:43.3472 [DEBUG] flashController: Fast programmed flash word 4 (at 0x00016b10) with 0xfc5ff009
Line 79426: 15:08:43.3472 [DEBUG] flashController: Fast programmed flash word 5 (at 0x00016b14) with 0x616068c0
Line 79427: 15:08:43.3472 [DEBUG] flashController: Fast programmed flash word 6 (at 0x00016b18) with 0xd1022801
Line 79428: 15:08:43.3472 [DEBUG] flashController: Fast programmed flash word 7 (at 0x00016b1c) with 0x74202000
Line 79429: 15:08:43.3472 [DEBUG] flashController: Fast programmed flash word 8 (at 0x00016b20) with 0x2802bd10
Line 79430: 15:08:43.3472 [DEBUG] flashController: Fast programmed flash word 9 (at 0x00016b24) with 0x2001d102
Line 79431: 15:08:43.3472 [DEBUG] flashController: Fast programmed flash word 10 (at 0x00016b28) with 0xbd107420
Line 79432: 15:08:43.3472 [DEBUG] flashController: Fast programmed flash word 11 (at 0x00016b2c) with 0xfea7f009
Line 79433: 15:08:43.3472 [DEBUG] flashController: Fast programmed flash word 12 (at 0x00016b30) with 0x22406841
Line 79434: 15:08:43.3472 [DEBUG] flashController: Fast programmed flash word 13 (at 0x00016b34) with 0x6042430a
Line 79435: 15:08:43.3472 [DEBUG] flashController: Fast programmed flash word 14 (at 0x00016b38) with 0x74202003
Line 79436: 15:08:43.3472 [DEBUG] flashController: Fast programmed flash word 15 (at 0x00016b3c) with 0xb538bd10
Line 79437: 15:08:43.3472 [DEBUG] flashController: Setting fast program mode (FPRG) to False
also add spacings from autoformatter