forked from 32blit/32blit-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stm32: move qspi flash size/address values to a header
... and use it to remove some magic 0x90000000s
- Loading branch information
1 parent
3482e6b
commit 8db5590
Showing
3 changed files
with
14 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#pragma once | ||
#include <cstdint> | ||
|
||
constexpr uint32_t qspi_flash_sector_size = 64 * 1024; | ||
constexpr uint32_t qspi_flash_size = 32768 * 1024; | ||
constexpr uint32_t qspi_flash_address = 0x90000000; | ||
|
||
// resevered space for temp/cached files | ||
constexpr uint32_t qspi_tmp_reserved = 4 * 1024 * 1024; |
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