summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSinthu Raja M2019-05-12 23:42:27 -0500
committerSinthu Raja M2019-06-11 06:07:39 -0500
commitfdf5c11c081ad18cafd15b5fa5c671b44622e97a (patch)
treeb3f7a94f1f1d76c2fd48a46f645dad2c00320dcd /example
parent5c44ed51c80db609dd0175cf8b880e0b818ffe71 (diff)
downloadpcie-lld-fdf5c11c081ad18cafd15b5fa5c671b44622e97a.tar.gz
pcie-lld-fdf5c11c081ad18cafd15b5fa5c671b44622e97a.tar.xz
pcie-lld-fdf5c11c081ad18cafd15b5fa5c671b44622e97a.zip
PRSDK-4453 Update RTSC config file to load PDK components
Update PCIE example/test RTSC config file ti load PDK driver components and OSAL package during compilation.
Diffstat (limited to 'example')
-rw-r--r--example/sample/am65xx/pciesample_a53.cfg37
1 files changed, 36 insertions, 1 deletions
diff --git a/example/sample/am65xx/pciesample_a53.cfg b/example/sample/am65xx/pciesample_a53.cfg
index b721263..b1f9e97 100644
--- a/example/sample/am65xx/pciesample_a53.cfg
+++ b/example/sample/am65xx/pciesample_a53.cfg
@@ -1,6 +1,6 @@
1 1
2/* ============================================================================= 2/* =============================================================================
3 * Copyright (c) Texas Instruments Incorporated 2018 3 * Copyright (c) Texas Instruments Incorporated 2018-2019
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
@@ -148,3 +148,38 @@ Mmu.initFunc = "&InitMmu";
148 148
149Program.sectMap[".ti_sysbios_family_arm_v8a_Mmu_tableArray"] = "MSMC_SRAM"; 149Program.sectMap[".ti_sysbios_family_arm_v8a_Mmu_tableArray"] = "MSMC_SRAM";
150Program.sectMap[".dstBufSec"] = "MSMC_SRAM"; 150Program.sectMap[".dstBufSec"] = "MSMC_SRAM";
151
152/* ================ Driver configuration ================ */
153var Csl = xdc.loadPackage('ti.csl');
154var deviceType = "am65xx";
155var boardName = "am65xx_evm";
156Csl.Settings.deviceType = deviceType;
157
158var socType = "am65xx";
159/* Load the OSAL package */
160var osType = "tirtos"
161var Osal = xdc.useModule('ti.osal.Settings');
162Osal.osType = osType;
163
164/* Load the I2C package */
165var I2C = xdc.loadPackage('ti.drv.i2c');
166I2C.Settings.socType = socType;
167
168/* Load the SCICLIENT package */
169/* SCICLIENT */
170var SciClient = xdc.loadPackage('ti.drv.sciclient');
171SciClient.Settings.socType = socType;
172SciClient.Settings.boardType = boardName;
173SciClient.Settings.libProfile = "release";
174
175/* Load the Board package and set the board name */
176var Board = xdc.loadPackage('ti.board');
177Board.Settings.boardName = boardName;
178
179/* Load the PCIE package */
180var pcie = xdc.loadPackage('ti.drv.pcie');
181pcie.Settings.socType = socType;
182
183/* Load the UART package */
184var UART = xdc.loadPackage('ti.drv.uart');
185UART.Settings.socType = socType;