58 lines
2.4 KiB
Plaintext
58 lines
2.4 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 "AM243x_ALV_beta" --package "ALV" --part "ALV" --context "m4fss0-0" --product "MCU_PLUS_SDK@07.03.00"
|
|
* @versions {"data":"2021012919","timestamp":"2021012919","tool":"1.8.0+1785","templates":null}
|
|
*/
|
|
|
|
/**
|
|
* Import the modules used in this configuration.
|
|
*/
|
|
const addr_translate = scripting.addModule("/kernel/dpl/addr_translate", {}, false);
|
|
const addr_translate1 = addr_translate.addInstance();
|
|
const addr_translate2 = addr_translate.addInstance();
|
|
const addr_translate3 = addr_translate.addInstance();
|
|
const addr_translate4 = addr_translate.addInstance();
|
|
const clock = scripting.addModule("/kernel/dpl/clock");
|
|
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();
|
|
|
|
/**
|
|
* Write custom configuration values to the imported modules.
|
|
*/
|
|
addr_translate1.$name = "CONFIG_ADDR_TRANSLATE_REGION0";
|
|
addr_translate1.localAddr = 0x80000000;
|
|
|
|
addr_translate2.$name = "CONFIG_ADDR_TRANSLATE_REGION1";
|
|
addr_translate2.systemAddr = 0x20000000;
|
|
addr_translate2.localAddr = 0xA0000000;
|
|
|
|
addr_translate3.$name = "CONFIG_ADDR_TRANSLATE_REGION2";
|
|
addr_translate3.systemAddr = 0x40000000;
|
|
addr_translate3.localAddr = 0xC0000000;
|
|
|
|
addr_translate4.$name = "CONFIG_ADDR_TRANSLATE_REGION3";
|
|
addr_translate4.systemAddr = 0x60000000;
|
|
addr_translate4.localAddr = 0x60000000;
|
|
|
|
debug_log.enableUartLog = true;
|
|
debug_log.uartLog.$name = "CONFIG_UART_CONSOLE";
|
|
debug_log.uartLog.MCU_UART.$assign = "MCU_USART0";
|
|
|
|
mpu_armv71.$name = "CONFIG_MPU_REGION0";
|
|
mpu_armv71.attributes = "Device";
|
|
mpu_armv71.allowExecute = false;
|
|
|
|
mpu_armv72.$name = "CONFIG_MPU_REGION1";
|
|
mpu_armv72.size = 18;
|
|
|
|
/**
|
|
* Pinmux solution for unlocked pins/peripherals. This ensures that minor changes to the automatic solver in a future
|
|
* version of the tool will not impact the pinmux you originally saw. These lines can be completely deleted in order to
|
|
* re-solve from scratch.
|
|
*/
|
|
debug_log.uartLog.MCU_UART.RXD.$suggestSolution = "MCU_UART0_RXD";
|
|
debug_log.uartLog.MCU_UART.TXD.$suggestSolution = "MCU_UART0_TXD";
|