diff options
author | Sinthu Raja M | 2019-05-12 23:42:27 -0500 |
---|---|---|
committer | Sinthu Raja M | 2019-06-11 06:07:39 -0500 |
commit | fdf5c11c081ad18cafd15b5fa5c671b44622e97a (patch) | |
tree | b3f7a94f1f1d76c2fd48a46f645dad2c00320dcd /example | |
parent | 5c44ed51c80db609dd0175cf8b880e0b818ffe71 (diff) | |
download | pcie-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.cfg | 37 |
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 | ||
149 | Program.sectMap[".ti_sysbios_family_arm_v8a_Mmu_tableArray"] = "MSMC_SRAM"; | 149 | Program.sectMap[".ti_sysbios_family_arm_v8a_Mmu_tableArray"] = "MSMC_SRAM"; |
150 | Program.sectMap[".dstBufSec"] = "MSMC_SRAM"; | 150 | Program.sectMap[".dstBufSec"] = "MSMC_SRAM"; |
151 | |||
152 | /* ================ Driver configuration ================ */ | ||
153 | var Csl = xdc.loadPackage('ti.csl'); | ||
154 | var deviceType = "am65xx"; | ||
155 | var boardName = "am65xx_evm"; | ||
156 | Csl.Settings.deviceType = deviceType; | ||
157 | |||
158 | var socType = "am65xx"; | ||
159 | /* Load the OSAL package */ | ||
160 | var osType = "tirtos" | ||
161 | var Osal = xdc.useModule('ti.osal.Settings'); | ||
162 | Osal.osType = osType; | ||
163 | |||
164 | /* Load the I2C package */ | ||
165 | var I2C = xdc.loadPackage('ti.drv.i2c'); | ||
166 | I2C.Settings.socType = socType; | ||
167 | |||
168 | /* Load the SCICLIENT package */ | ||
169 | /* SCICLIENT */ | ||
170 | var SciClient = xdc.loadPackage('ti.drv.sciclient'); | ||
171 | SciClient.Settings.socType = socType; | ||
172 | SciClient.Settings.boardType = boardName; | ||
173 | SciClient.Settings.libProfile = "release"; | ||
174 | |||
175 | /* Load the Board package and set the board name */ | ||
176 | var Board = xdc.loadPackage('ti.board'); | ||
177 | Board.Settings.boardName = boardName; | ||
178 | |||
179 | /* Load the PCIE package */ | ||
180 | var pcie = xdc.loadPackage('ti.drv.pcie'); | ||
181 | pcie.Settings.socType = socType; | ||
182 | |||
183 | /* Load the UART package */ | ||
184 | var UART = xdc.loadPackage('ti.drv.uart'); | ||
185 | UART.Settings.socType = socType; | ||