summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f8ee49c)
raw | patch | inline | side by side (parent: f8ee49c)
author | Sinthu Raja M <x0257345@ti.com> | |
Fri, 10 May 2019 05:53:27 +0000 (11:23 +0530) | ||
committer | Sinthu Raja M <x0257345@ti.com> | |
Fri, 10 May 2019 05:53:27 +0000 (11:23 +0530) |
Update NIMU Example RTSC config file of AM65xx to load driver
components and OSAL package during compilation.
components and OSAL package during compilation.
ndk/nimu/example/am65xx/nimuExample_a53.cfg | patch | blob | history |
diff --git a/ndk/nimu/example/am65xx/nimuExample_a53.cfg b/ndk/nimu/example/am65xx/nimuExample_a53.cfg
index 6717273c17ef3bd399b07a508c264305f77396fc..5e6d1a9006c5e9096564f96d21cb6dbbc5949b98 100644 (file)
Program.sectMap[".bss:nimu_ddr_mem"] = "DDR_0";
Program.sectMap[".bss:nimu_msmc_mem"] = "MSMC_SRAM_H"
+/* ================ Driver configuration ================ */
+var Csl = xdc.loadPackage('ti.csl');
+var deviceType = "am65xx";
+var boardName = "am65xx_evm";
+Csl.Settings.deviceType = deviceType;
+
+var socType = "am65xx";
+/* Load the OSAL package */
+var osType = "tirtos"
+var Osal = xdc.useModule('ti.osal.Settings');
+Osal.osType = osType;
+
+/* Load the I2C package */
+var I2C = xdc.loadPackage('ti.drv.i2c');
+I2C.Settings.socType = socType;
+
+/* Load the SCICLIENT package */
+/* SCICLIENT */
+var SciClient = xdc.loadPackage('ti.drv.sciclient');
+SciClient.Settings.socType = socType;
+SciClient.Settings.boardType = boardName;
+SciClient.Settings.libProfile = "release";
+
+/* Load the Board package and set the board name */
+var Board = xdc.loadPackage('ti.board');
+Board.Settings.boardName = boardName;
+
+/* Load the UDMA package */
+/* UDMA */
+var Udma = xdc.loadPackage('ti.drv.udma');
+Udma.Settings.socType = socType;
+Udma.Settings.libProfile = "release";
+
+/* Load the UDMA package */
+/* UDMA */
+var PRUSS = xdc.loadPackage('ti.drv.pruss');
+PRUSS.Settings.socType = socType;
+PRUSS.Settings.libProfile = "release";
+
+
+/* Load the EMAC packages */
+var Emac = xdc.loadPackage('ti.drv.emac');
+Emac.Settings.socType = socType;
+
+/* Load the NIMU package */
+var Nimu = xdc.loadPackage('ti.transport.ndk.nimu');
+Nimu.Settings.socType = socType;
+
+/* Load the UART package */
+var UART = xdc.loadPackage('ti.drv.uart');
+UART.Settings.socType = socType;