mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-08 04:56:43 +00:00
reduce the pddb size for the vexii-test target
This commit is contained in:
parent
75556b2321
commit
77d7094d3b
2 changed files with 4 additions and 0 deletions
|
|
@ -6,4 +6,5 @@ edition = "2021"
|
|||
[dependencies]
|
||||
|
||||
[features]
|
||||
vexii-test = []
|
||||
default = []
|
||||
|
|
|
|||
|
|
@ -29,6 +29,9 @@ pub const EC_FW_PKG_LEN: u32 = 0x0003_2000;
|
|||
pub const EC_REGION_LEN: u32 = 0x0008_0000;
|
||||
|
||||
pub const PDDB_LOC: u32 = 0x01D8_0000; // PDDB start
|
||||
#[cfg(feature = "vexii-test")]
|
||||
pub const PDDB_LEN: u32 = 4096 * 1024; // shorter PDDB for faster testing
|
||||
#[cfg(not(feature = "vexii-test"))]
|
||||
pub const PDDB_LEN: u32 = EC_REGION_LOC - PDDB_LOC; // must be 64k-aligned (bulk erase block size) for proper function.
|
||||
|
||||
pub const SPINOR_ERASE_SIZE: u32 = 0x1000;
|
||||
|
|
|
|||
Loading…
Reference in a new issue