|
SmartSnippets DA1459x SDK
|
Cache configuration settings. More...
Macros | |
| #define | dg_configCACHEABLE_QSPI_AREA_LEN (-1) |
| Set the size (in bytes) of the QSPI flash cacheable area. More... | |
| #define | dg_configCACHE_ASSOCIATIVITY (2) |
| Set the associativity of the cache. More... | |
| #define | dg_configCACHE_LINESZ (0) |
| Set the line size of the cache. More... | |
Cache configuration settings.
| #define dg_configCACHE_ASSOCIATIVITY (2) |
Set the associativity of the cache.
Available values: 0 /// direct-mapped 1 /// 2-way set associative 2 /// 4-way set associative 3 /// leave as set by the ROM booter
| #define dg_configCACHE_LINESZ (0) |
Set the line size of the cache.
Available values: 0 /// 8 bytes 1 /// 16 bytes 2 /// 32 byte 3 /// leave as set by the ROM booter
| #define dg_configCACHEABLE_QSPI_AREA_LEN (-1) |
Set the size (in bytes) of the QSPI flash cacheable area.
All reads from offset 0 up to (not including) offset dg_configCACHEABLE_QSPI_AREA_LEN will be cached. In addition, any writes to this area will trigger cache flushing, to avoid any cache incoherence.
The size must be 64KB-aligned, due to the granularity of CACHE_CTRL2_REG[CACHE_LEN].
Special values:
1.8.16