This sample demonstrates how demand paging can be leveraged to deal with firmware bigger than the available RAM if XIP is not possible. Select code can be tagged to be loaded into memory on demand, and also be automatically evicted for more code to be executed when memory is exhausted. Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
9 lines
226 B
Plaintext
9 lines
226 B
Plaintext
CONFIG_SRAM_SIZE=256
|
|
CONFIG_DEMAND_PAGING=y
|
|
CONFIG_DEMAND_PAGING_ALLOW_IRQ=y
|
|
CONFIG_DEMAND_PAGING_STATS=y
|
|
CONFIG_DEMAND_MAPPING=y
|
|
CONFIG_LINKER_USE_ONDEMAND_SECTION=y
|
|
CONFIG_SEMIHOST=y
|
|
CONFIG_BACKING_STORE_ONDEMAND_SEMIHOST=y
|