57 lines
2.6 KiB
Plaintext
57 lines
2.6 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 "F28002x" --package "80QFP" --part "F28002x_80QFP" --context "system" --product "C2000WARE@4.03.00.00"
|
|
* @versions {"tool":"1.0.0+dev"}
|
|
*/
|
|
|
|
/**
|
|
* Import the modules used in this configuration.
|
|
*/
|
|
const device_support = scripting.addModule("/driverlib/device_support.js");
|
|
const sysctl = scripting.addModule("/driverlib/sysctl.js");
|
|
const CMD = scripting.addModule("/utilities/cmd_tool/cmd_syscfg/source/CMD");
|
|
const CMD1 = CMD.addInstance();
|
|
const CMD2 = CMD.addInstance();
|
|
/**
|
|
* Write custom configuration values to the imported modules.
|
|
*/
|
|
CMD1.$name = "generic_ram_lnk";
|
|
CMD2.$name = "generic_flash_lnk";
|
|
|
|
CMD1.sectionMemory_text = ["RAMGS0","RAMLS4","RAMLS5","RAMLS6","RAMLS7"];
|
|
CMD1.sectionMemory_ramfunc = ["RAMM0"];
|
|
CMD1.sectionMemory_cinit = ["RAMM0"];
|
|
CMD1.sectionMemory_stack = ["RAMM1"];
|
|
CMD1.sectionMemory_init_array = ["RAMM0"];
|
|
CMD1.sectionMemory_bss = ["RAMLS4"];
|
|
CMD1.sectionMemory_const = ["RAMLS4"];
|
|
CMD1.sectionMemory_data = ["RAMLS4"];
|
|
CMD1.sectionMemory_switch = ["RAMM0"];
|
|
CMD1.sectionMemory_sysmem = ["RAMLS4"];
|
|
|
|
CMD2.sectionAlignEnable_ramfunc = true;
|
|
CMD2.sectionAlignEnable_text = true;
|
|
CMD2.sectionAlignEnable_binit = true;
|
|
CMD2.sectionAlignEnable_cinit = true;
|
|
CMD2.sectionAlignEnable_switch = true;
|
|
CMD2.sectionAlignEnable_init_array = true;
|
|
CMD2.sectionAlignEnable_const = true;
|
|
CMD2.sectionAlignEnable_ovly = true;
|
|
CMD2.sectionMemory_codestart = "0x080000";
|
|
CMD2.sectionMemory_stack = ["RAMM1"];
|
|
CMD2.sectionMemory_ramfunc = ["FLASH_BANK0_SEC1"];
|
|
CMD2.sectionMemory_text = ["FLASH_BANK0_SEC2","FLASH_BANK0_SEC3","FLASH_BANK0_SEC4"];
|
|
CMD2.sectionMemory_binit = ["FLASH_BANK0_SEC1"];
|
|
CMD2.sectionMemory_cinit = ["FLASH_BANK0_SEC1"];
|
|
CMD2.sectionMemory_switch = ["FLASH_BANK0_SEC1"];
|
|
CMD2.sectionMemory_bss = ["RAMLS5"];
|
|
CMD2.sectionMemory_data = ["RAMLS5"];
|
|
CMD2.sectionMemory_sysmem = ["RAMLS5"];
|
|
CMD2.sectionRunFromDifferentAddr_ramfunc = true;
|
|
CMD1.sectionRun_ramfunc = ["RAMLS4"];
|
|
CMD2.sectionBinit_ramfunc = false;
|
|
CMD2.sectionMemory_init_array = ["FLASH_BANK0_SEC1"];
|
|
CMD2.sectionMemory_const = ["FLASH_BANK0_SEC4"];
|
|
CMD2.sectionMemory_ovly = ["FLASH_BANK0_SEC1"];
|