forked from apache/nuttx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stm32g4xxx_flash.c is mostly a copy/paste from the STM32L4. The L4 lacks the secureable area functinality as well as some reset functionality. All is noted in comments at the top. The goal is to add new functionality for the G4. The board defconfig was updated to use the E flash config, as is proper for the nucleo-g474re. stm32_flash.h has minor updates to OPTKEYR definitions (changed from OPT_KEYR, which is not in the datasheet). stm32_flash.c selects stm32g4xxx_flash.c for the STM32G4XXX config. Incremental update. Primarily handling dynamic flash page size for STM32G47/G48 boards based on DBANK. Handling dynamic flash page size for STM32G47/G48 boards based on DBANK. Added additional configuration info for STM32G4 series. Added function prototypes for stm32_flash_user_optbytes, stm32_flash_lock, stm32_flash_unlock. Minor updates Added missing semicolons. Formatting. Renamed g_page_buffer to page_buffer. Probably last commit before Nuttx pull request Removed comments from flash_user_optbytes function. That is located in header file. Other minor cosmetic fixes. Style updates Minor updates to stm32g4xxx_flash.c Minor fixes to hardware/stm32_flash.h Fixed redundant ifdef for STM32G43XX. Added definitions for STM32G49XX
- Loading branch information
1 parent
b4def16
commit 227206a
Showing
6 changed files
with
707 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.