Other Parts Discussed in Thread: SYSCONFIG
Hi there,
I have a sysconfig file from our hardware developers. However I cannot directly integrate this file in my CCS projects, they seem to have a different format.
In "hardware"-sysconfig file I see things like:
const powerDomains = scripting.addModule("/ti/corePinmux/powerDomains");
powerDomains["VDDSHV1 (PRG1)"] = "3.3V";
powerDomains["VDDSHV2 (PRG2)"] = "3.3V";
powerDomains["VDDSHV3 (GPMC)"] = "3.3V";
powerDomains["VDDSHV5 (MMC1)"] = "3.3V";
powerDomains["VDDSHV0 (General)"] = "3.3V";
or descriptions how and where which PIN is used
iGPIO2["17"].$used = true; iGPIO2["18"].rx = false; iGPIO2["19"].rx = false; iGPIO2["20"].rx = false; iGPIO2["21"].rx = false; iGPIO2["22"].rx = false; iGPIO2["23"].rx = false; iGPIO2["24"].$assign = "GPMC0_AD9"; iGPIO2["24"].$used = true; iGPIO2["25"].rx = false; iGPIO2["26"].rx = false; iGPIO2["27"].rx = false; iGPIO2["28"].rx = false;
I don't have such descriptions in my CCS sysconfig files. Where I will just have something more "abstract" like this:
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.
*/
debug_log.enableUartLog = true;
debug_log.uartLog.$name = "CONFIG_UART_CONSOLE";
debug_log.uartLog.UART.$assign = "USART0";
Maybe this is a trivial question, but I currently don't know how to bring the "hardware"-sysconfig file for the custom board in the same format as the sysconfig files of the CCS projects. Can you give me any hints?
Thanks in advance