]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/spi-lld.git/commitdiff
PRSDK-4453 Update RTSC config file to lod PDK components
authorSinthu Raja M <x0257345@ti.com>
Wed, 8 May 2019 10:38:18 +0000 (16:08 +0530)
committerHao Zhang <hzhang@ti.com>
Fri, 7 Jun 2019 18:24:17 +0000 (13:24 -0500)
 Update SPI example/test RTSC config file ti load PDK driver components
 and OSAL package during compilation.

example/mcspi_slavemode/am65xx/mcspiMasterSlaveTest_a53.cfg
test/ospi_flash/am65xx/ospiFlashTest_a53.cfg

index 1f0c25e8a12c1a9cc318823cfeaa5a8277367035..058c1045facfe4053b84670d8c108d226e50c96e 100644 (file)
@@ -1,6 +1,6 @@
 
 /* =============================================================================
- *   Copyright (c) Texas Instruments Incorporated 2017
+ *   Copyright (c) Texas Instruments Incorporated 2017 - 2019
  *
  *  Redistribution and use in source and binary forms, with or without
  *  modification, are permitted provided that the following conditions
@@ -158,3 +158,52 @@ BIOS.libType = BIOS.LibType_Custom;
 /* Disable Timer frequency check */
 var Timer = xdc.useModule('ti.sysbios.timers.dmtimer.Timer');
 Timer.checkFrequency = false;
+
+/* ================ 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 SPI packages */
+var spi = xdc.loadPackage('ti.drv.spi');
+spi.Settings.socType = socType;
+
+/* Load the UART package */
+var UART = xdc.loadPackage('ti.drv.uart');
+UART.Settings.socType = socType;
+
index 25e3c255b67344f3623d726f3f32481e9193e114..6d28e87f7c2bc6ad69680694375bd1003bec7715 100644 (file)
@@ -1,6 +1,6 @@
 
 /* =============================================================================
- *   Copyright (c) Texas Instruments Incorporated 2017 - 2018
+ *   Copyright (c) Texas Instruments Incorporated 2017 - 2019
  *
  *  Redistribution and use in source and binary forms, with or without
  *  modification, are permitted provided that the following conditions
@@ -169,3 +169,50 @@ Load.hwiEnabled   = true;
 Load.taskEnabled  = true;
 Load.updateInIdle = false;
 
+/* ================ 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 SPI packages */
+var spi = xdc.loadPackage('ti.drv.spi');
+spi.Settings.socType = socType;
+
+/* Load the UART package */
+var UART = xdc.loadPackage('ti.drv.uart');
+UART.Settings.socType = socType;