60 lines
2.3 KiB
Plaintext
60 lines
2.3 KiB
Plaintext
|
|
/**
|
||
|
|
* These arguments were used when this file was generated. They will be automatically applied on subsequent loads
|
||
|
|
* via the GUI or CLI. Run CLI with '--help' for additional information on how to override these arguments.
|
||
|
|
* @cliArgs --device "AM64x_beta" --package "ALV" --part "Default" --context "r5fss0-0" --product "MCU_PLUS_SDK_AM64x@08.05.00"
|
||
|
|
* @versions {"tool":"1.15.0+2826"}
|
||
|
|
*/
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Import the modules used in this configuration.
|
||
|
|
*/
|
||
|
|
const ddr = scripting.addModule("/drivers/ddr/ddr", {}, false);
|
||
|
|
const ddr1 = ddr.addInstance();
|
||
|
|
const watchdog = scripting.addModule("/drivers/watchdog/watchdog", {}, false);
|
||
|
|
const watchdog1 = watchdog.addInstance();
|
||
|
|
const debug_log = scripting.addModule("/kernel/dpl/debug_log");
|
||
|
|
const mpu_armv7 = scripting.addModule("/kernel/dpl/mpu_armv7", {}, false);
|
||
|
|
const mpu_armv71 = mpu_armv7.addInstance();
|
||
|
|
const mpu_armv72 = mpu_armv7.addInstance();
|
||
|
|
const mpu_armv73 = mpu_armv7.addInstance();
|
||
|
|
const mpu_armv74 = mpu_armv7.addInstance();
|
||
|
|
const mpu_armv75 = mpu_armv7.addInstance();
|
||
|
|
const mpu_armv76 = mpu_armv7.addInstance();
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Write custom configuration values to the imported modules.
|
||
|
|
*/
|
||
|
|
ddr1.$name = "CONFIG_DDR0";
|
||
|
|
|
||
|
|
watchdog1.$name = "CONFIG_WDT0";
|
||
|
|
watchdog1.expirationTime = 10;
|
||
|
|
|
||
|
|
mpu_armv71.$name = "CONFIG_MPU_REGION0";
|
||
|
|
mpu_armv71.size = 31;
|
||
|
|
mpu_armv71.attributes = "Device";
|
||
|
|
mpu_armv71.accessPermissions = "Supervisor RD+WR, User RD";
|
||
|
|
mpu_armv71.allowExecute = false;
|
||
|
|
|
||
|
|
mpu_armv72.$name = "CONFIG_MPU_REGION1";
|
||
|
|
mpu_armv72.size = 15;
|
||
|
|
mpu_armv72.accessPermissions = "Supervisor RD+WR, User RD";
|
||
|
|
|
||
|
|
mpu_armv73.$name = "CONFIG_MPU_REGION2";
|
||
|
|
mpu_armv73.baseAddr = 0x41010000;
|
||
|
|
mpu_armv73.size = 15;
|
||
|
|
mpu_armv73.accessPermissions = "Supervisor RD+WR, User RD";
|
||
|
|
|
||
|
|
mpu_armv74.$name = "CONFIG_MPU_REGION3";
|
||
|
|
mpu_armv74.baseAddr = 0x70000000;
|
||
|
|
mpu_armv74.size = 21;
|
||
|
|
mpu_armv74.accessPermissions = "Supervisor RD+WR, User RD";
|
||
|
|
|
||
|
|
mpu_armv75.$name = "CONFIG_MPU_REGION4";
|
||
|
|
mpu_armv75.baseAddr = 0x60000000;
|
||
|
|
mpu_armv75.size = 28;
|
||
|
|
mpu_armv75.accessPermissions = "Supervisor RD, User RD";
|
||
|
|
|
||
|
|
mpu_armv76.$name = "CONFIG_MPU_REGION5";
|
||
|
|
mpu_armv76.baseAddr = 0x80000000;
|
||
|
|
mpu_armv76.size = 31;
|