]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/edma3_lld.git/commitdiff
EDMA3 LLD support for DRA7xx platform
authorArvind <x0193495@ti.com>
Tue, 24 Dec 2013 08:47:40 +0000 (14:17 +0530)
committerArvind <x0193495@ti.com>
Tue, 24 Dec 2013 08:47:40 +0000 (14:17 +0530)
15 files changed:
examples/edma3_driver/evmtda2xx/dsp_timer.c [new file with mode: 0644]
examples/edma3_driver/evmtda2xx/makefile
examples/edma3_driver/evmtda2xx/rtsc_config/custom_config.bld
examples/edma3_driver/evmtda2xx/rtsc_config/edma3_drv_bios6_tda2xx_st_sample.cfg
examples/edma3_driver/evmtda2xx/rtsc_config/platform.xs
examples/edma3_driver/evmtda2xx_EVE/makefile
examples/edma3_driver/evmtda2xx_EVE/rtsc_config/platform.xs
examples/edma3_driver/evmtda2xx_M4/makefile
examples/edma3_driver/evmtda2xx_M4/rtsc_config/platform.xs
examples/edma3_driver/evmtda2xx_M4/sample_app/linker.cmd
makerules/platform.mk
packages/ti/sdo/edma3/drv/package.xs
packages/ti/sdo/edma3/drv/sample/package.xs
packages/ti/sdo/edma3/rm/package.xs
packages/ti/sdo/edma3/rm/sample/package.xs

diff --git a/examples/edma3_driver/evmtda2xx/dsp_timer.c b/examples/edma3_driver/evmtda2xx/dsp_timer.c
new file mode 100644 (file)
index 0000000..e4d2e5b
--- /dev/null
@@ -0,0 +1,50 @@
+/*\r
+ * dsp_timer.c\r
+ *\r
+ * This file contains the test / demo code to demonstrate the EDMA3 driver\r
+ * functionality on DSP/BIOS 6.\r
+ *\r
+ * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/\r
+ *\r
+ *\r
+ *  Redistribution and use in source and binary forms, with or without\r
+ *  modification, are permitted provided that the following conditions\r
+ *  are met:\r
+ *\r
+ *    Redistributions of source code must retain the above copyright\r
+ *    notice, this list of conditions and the following disclaimer.\r
+ *\r
+ *    Redistributions in binary form must reproduce the above copyright\r
+ *    notice, this list of conditions and the following disclaimer in the\r
+ *    documentation and/or other materials provided with the\r
+ *    distribution.\r
+ *\r
+ *    Neither the name of Texas Instruments Incorporated nor the names of\r
+ *    its contributors may be used to endorse or promote products derived\r
+ *    from this software without specific prior written permission.\r
+ *\r
+ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\r
+ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\r
+ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\r
+ *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\r
+ *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\r
+ *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\r
+ *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\r
+ *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\r
+ *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\r
+ *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\r
+ *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
+ *\r
+*/\r
+\r
+#include <ti/sysbios/knl/Clock.h>\r
+\r
+/*\r
+ * mainDsp1TimerTick()   Enable Timer Tick.\r
+ * The DSP timer does not run when\r
+ * the host (A15) is halted because of the emulation suspend signal.\r
+ */\r
+void mainDsp1TimerTick(UArg arg)\r
+{\r
+    Clock_tick();\r
+}\r
index 7a22edc10b98167ad957f61313d16aa69c626f67..7f7dbec90f261d03e359d470272d6dde6aa1ac0d 100644 (file)
@@ -17,12 +17,12 @@ XDC_CFG_FILE_c6xdsp = rtsc_config/edma3_drv_bios6_tda2xx_st_sample.cfg
 
 CONFIG_BLD_XDC_CUSTOM = rtsc_config/custom_config.bld
 
-PLATFORM_XDC_CUSTOM = ti.platforms.simVayu:DSP_1
+PLATFORM_XDC_CUSTOM = ti.platforms.evmDRA7XX:DSP_1
 
 # Common source files and CFLAGS across all platforms and cores
 SRCS_COMMON = common.c dma_misc_test.c dma_test.c qdma_test.c dma_chain_test.c \
               dma_ping_pong_test.c main.c dma_link_test.c dma_poll_test.c      \
-              qdma_link_test.c
+              qdma_link_test.c dsp_timer.c
 CFLAGS_LOCAL_COMMON = -DBUILD_TDA2XX_DSP
 
 # Core/SoC/platform specific source files and CFLAGS
index ba44d33045257d4523b64b3dc676ba0c6fef12e5..75b856a15ae74c3f27431fdd8ff3d7603aea121e 100644 (file)
  */
 
 /* load the required modules for the configuration */
-var C64P = xdc.useModule('ti.targets.C64P');
-var C64Pe = xdc.useModule('ti.targets.C64P_big_endian');
-var C674 = xdc.useModule('ti.targets.C674');
-var C64P_ELF = xdc.useModule('ti.targets.elf.C64P');
-var C64Pe_ELF = xdc.useModule('ti.targets.elf.C64P_big_endian');
-var C674_ELF = xdc.useModule('ti.targets.elf.C674');
-var C66 = xdc.useModule('ti.targets.elf.C66');
+
+var platform_xs = xdc.loadCapsule("platform.xs");
+
+/**********************************c66******************************/
+var C66_ELF = xdc.useModule('ti.targets.elf.C66');
+
+C66_ELF.rootDir = java.lang.System.getenv("CGTOOLS_ELF");
+
+C66_ELF.ccOpts.suffix += " -mi10 -mo --symdebug:none -O3";
+
+/* linker options */
+
+C66_ELF.lnkOpts.suffix += " --zero_init=off ";
+C66_ELF.lnkOpts.suffix += " --dynamic --retain=_Ipc_ResetVector";
+
+C66_ELF.platforms = ["ti.platforms.evmDRA7XX:DSP_1"];
+
+C66_ELF.platform = C66_ELF.platforms[0];
+/**********************************c66******************************/
+
+/**********************************c66******************************/
 var C66e = xdc.useModule('ti.targets.elf.C66_big_endian');
-var Arm = xdc.useModule('ti.targets.arm.elf.Arm9');
-var cortexA8 = xdc.useModule('ti.targets.arm.elf.A8F');
-//var C64T_ELF = xdc.useModule('ti.targets.elf.C64T');
-var M3 = xdc.useModule('ti.targets.arm.elf.M3');
-
-/* compiler paths for the CCS4.0                   */
-var cgtools = java.lang.System.getenv("CGTOOLS");
-var cgtools_elf = java.lang.System.getenv("CGTOOLS_ELF");
-var armcgtools = java.lang.System.getenv("TMS470_CGTOOLS");
-
-C64P.rootDir = cgtools;
-C64Pe.rootDir = cgtools;
-C674.rootDir = cgtools;
-C64P_ELF.rootDir = cgtools_elf;
-//C64T_ELF.rootDir = cgtools_elf;
-C64Pe_ELF.rootDir = cgtools_elf;
-C674_ELF.rootDir = cgtools_elf;
-C66.rootDir = cgtools_elf;
-C66e.rootDir = cgtools_elf;
-Arm.rootDir = armcgtools;
-cortexA8.rootDir = armcgtools;
-M3.rootDir = armcgtools;
-
-/**********************************c674******************************/
-
-/* compiler options                                */
-C64P.ccOpts.suffix += " -mi10 -mo ";
-C64Pe.ccOpts.suffix += " -mi10 -mo -me ";
-C674.ccOpts.suffix += " -mi10 -mo ";
-C64P_ELF.ccOpts.suffix += " -mi10 -mo ";
-//C64T_ELF.ccOpts.suffix += " -mi10 -mo ";
-C64Pe_ELF.ccOpts.suffix += " -mi10 -mo -me ";
-C674_ELF.ccOpts.suffix += " -mi10 -mo ";
-C66.ccOpts.suffix += " -mi10 -mo ";
-C66e.ccOpts.suffix += " -mi10 -mo -me ";
-Arm.ccOpts.suffix += " ";
-cortexA8.ccOpts.suffix += "";
-M3.ccOpts.suffix += "";
-
-/* set default platform and list of all interested platforms */
-C64P.platforms = [
-                     "ti.platforms.evm6472",
-                     "ti.platforms.evmTCI6486",
-                 ];
-C64Pe.platforms = [
-                     "ti.platforms.evm6472",
-                     "ti.platforms.evmTCI6486",
-                 ];
-C674.platforms = [
-                     "ti.platforms.evmDA830",
-                     "ti.platforms.evm6748",
-                     "ti.platforms.evmOMAPL138",
-                     "ti.platforms.simDM8168",
-                     "ti.platforms.evmDM8168",
-                     "ti.platforms.evmDM8148",
-                 ];
-C64P_ELF.platforms = [
-                     "ti.platforms.evm6472",
-                     "ti.platforms.evmTCI6486",
-                 ];
-//C64T_ELF.platforms = [
-//                     "ti.platforms.sdp4430",
-//                 ];
-C64Pe_ELF.platforms = [
-                     "ti.platforms.evm6472",
-                     "ti.platforms.evmTCI6486",
-                 ];
-C674_ELF.platforms = [
-                     "ti.platforms.evmDA830",
-                     "ti.platforms.evm6748",
-                     "ti.platforms.evmOMAPL138",
-                     "ti.platforms.simDM8168",
-                     "ti.platforms.evmDM8168",
-                     "ti.platforms.evmDM8148",
-                 ];
-C66.platforms = [
-                     "ti.platforms.simTCI6608",
-                     "ti.platforms.simTCI6616",
-                     "ti.platforms.simTCI6614",
-                     "ti.platforms.simC6657",
-                     "ti.platforms.simKepler",
-                     "ti.platforms.evm6670",
-                     "ti.platforms.evm6678",
-                     "ti.platforms.evmTCI6614",
-                     "ti.platforms.evm6657",
-                     "ti.platforms.evmTCI6638K2K",
-                 ];
-C66e.platforms = [
-                     "ti.platforms.simTCI6608",
-                     "ti.platforms.simTCI6616",
-                     "ti.platforms.simTCI6614",
-                     "ti.platforms.simC6657",
-                     "ti.platforms.simKepler",
-                     "ti.platforms.evm6670",
-                     "ti.platforms.evm6678",
-                     "ti.platforms.evmTCI6614",
-                     "ti.platforms.evm6657",
-                     "ti.platforms.evmTCI6638K2K",
-                 ];
-Arm.platforms = [
-                     "ti.platforms.evmOMAPL138",
-                 ];
-
-cortexA8.platforms = [
-                         "ti.platforms.evmDM8148",
-                     ];
-M3.platforms = [
-                     "ti.platforms.evmTI816X",
-                 ];
-
-/* select the default platform */
-C64P.platform = C64P.platforms[0];
-C64Pe.platform = C64Pe.platforms[0];
-C674.platform = C674.platforms[0];
-C64P_ELF.platform = C64P_ELF.platforms[0];
-//C64T_ELF.platform = C64T_ELF.platforms[0];
-C64Pe_ELF.platform = C64Pe_ELF.platforms[0];
-C674_ELF.platform = C674_ELF.platforms[0];
-C66.platform = C66.platforms[0];
+
+C66e.rootDir = java.lang.System.getenv("CGTOOLS_ELF");
+
+C66e.ccOpts.suffix += " -mi10 -mo -me --symdebug:none -O3";
+
+/* linker options */
+
+C66e.lnkOpts.suffix += " --zero_init=off ";
+C66e.lnkOpts.suffix += " --dynamic --retain=_Ipc_ResetVector";
+
+C66e.platforms = ["ti.platforms.evmDRA7XX:DSP_1"];
+
 C66e.platform = C66e.platforms[0];
-Arm.platform = Arm.platforms[0];
-cortexA8.platform = cortexA8.platforms[0];
-M3.platform = M3.platforms[0];
+/**********************************c66******************************/
+
 
 /* list interested targets in Build.targets array  */
 Build.targets = [
-                  //C64T_ELF,
-                    //C64,
-                    C64P,
-                    C64Pe,
-                    //C67P,
-                    C674,
-                    C64P_ELF,
-                    C64Pe_ELF,
-                    C674_ELF,
-                    C66,
-                    C66e,
-                    Arm,
-                    cortexA8,
-                    M3,
-                  //Win32,
+                    C66_ELF,
+                    C66e
                 ];
-
-var platform_xs = xdc.loadCapsule("platform.xs");
\ No newline at end of file
index 68d843e96dfa9da3ae66d872b845435ce898f3a5..238112412095d5cc245b5c6b2e287b9ceb6695c7 100644 (file)
@@ -1,15 +1,13 @@
 /*use modules*/
 var Task = xdc.useModule ("ti.sysbios.knl.Task");
-var BIOS      = xdc.useModule ("ti.sysbios.BIOS");
-var ECM       = xdc.useModule ("ti.sysbios.family.c64p.EventCombiner");
-var C64_Hwi   = xdc.useModule ("ti.sysbios.family.c64p.Hwi");
-var Startup   = xdc.useModule ("xdc.runtime.Startup");
-var System    = xdc.useModule ("xdc.runtime.System");
-var Log       = xdc.useModule ("xdc.runtime.Log");
+var BIOS = xdc.useModule ("ti.sysbios.BIOS");
+var ECM = xdc.useModule ("ti.sysbios.family.c64p.EventCombiner");
 var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');
-var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');
-var Cache = xdc.useModule('ti.sysbios.hal.Cache');
-var InitXbar    = xdc.useModule("ti.sysbios.family.shared.vayu.IntXbar");
+var Startup = xdc.useModule ("xdc.runtime.Startup");
+var System = xdc.useModule ("xdc.runtime.System");
+var Cache = xdc.useModule('ti.sysbios.family.c66.Cache');
+var halCache = xdc.useModule('ti.sysbios.hal.Cache');
+var InitXbar = xdc.useModule("ti.sysbios.family.shared.vayu.IntXbar");
 
 ECM.eventGroupHwiNum[0] = 7;
 ECM.eventGroupHwiNum[1] = 8;
@@ -19,8 +17,37 @@ ECM.eventGroupHwiNum[3] = 10;
 /* USE EDMA3 Sample App */
 //xdc.loadPackage('ti.sdo.edma3.drv.sample');
 
-Timer = xdc.useModule('ti.sysbios.timers.dmtimer.Timer');
-Timer.timerSettings[0].intNum = 14;
+halCache.CacheProxy = Cache;
+
+/***********************************************
+ *          CLOCK Module Configuraion          *
+ ***********************************************/
+var Clock = xdc.useModule("ti.sysbios.knl.Clock");
+Clock.tickMode = Clock.TickMode_PERIODIC;
+Clock.tickSource = Clock.TickSource_USER;
+
+/* allocate timer 5 to DSP1 */
+var TimerSupport = xdc.useModule('ti.sysbios.family.shared.vayu.TimerSupport');
+TimerSupport.availMask = 0x0020;
+
+/***********************************************
+*           Timer Module Configuraion         *
+***********************************************/
+/* Turn off the timer frequency check. The DSP timer does not run when
+ * the host is halted because of the emulation suspend signal.
+ */
+var Timer = xdc.useModule('ti.sysbios.timers.dmtimer.Timer');
+
+Timer.intFreq.hi = 0;
+/* system clock runs at 38.4 MHz */
+Timer.intFreq.lo = 38400000;
+
+var timerParams = new Timer.Params();
+timerParams.period = 1000;
+timerParams.twer.ovf_wup_ena = 1;
+timerParams.tiocpCfg.emufree = 1;
+
+Timer.create(5, '&mainDsp1TimerTick', timerParams);
 
 var segPlacement = xdc.loadCapsule("app_mem_seg_placement.cfg");
 segPlacement.init();
index 8ca214377f237fbb59c20d6d0211fd558be60559..3a2cac7c04726a61a541d530dbfa95b30d71ee77 100644 (file)
@@ -13,7 +13,7 @@ var Build = xdc.useModule('xdc.bld.BuildEnvironment');
 
 var MemSegDefine = xdc.loadCapsule("mem_segment_definition.xs");
 
-Build.platformTable["ti.platforms.simVayu:IPU_1_0"] =
+Build.platformTable["ti.platforms.evmDRA7XX:IPU_1_0"] =
 {      
        externalMemoryMap: MemSegDefine.getMemSegmentDefinitionIPU_1_0(),
        codeMemory:"CODE_CORE_IPU1_0",
@@ -21,7 +21,7 @@ Build.platformTable["ti.platforms.simVayu:IPU_1_0"] =
        stackMemory:"PRIVATE_DATA_CORE_IPU1_0"
 };
 
-Build.platformTable["ti.platforms.simVayu:IPU_1_1"] =
+Build.platformTable["ti.platforms.evmDRA7XX:IPU_1_1"] =
 {      
        externalMemoryMap: MemSegDefine.getMemSegmentDefinitionIPU_1_1(),
        codeMemory:"CODE_CORE_IPU1_1",
@@ -29,7 +29,7 @@ Build.platformTable["ti.platforms.simVayu:IPU_1_1"] =
        stackMemory:"PRIVATE_DATA_CORE_IPU1_1"
 };
 
-Build.platformTable["ti.platforms.simVayu:DSP_1"] =
+Build.platformTable["ti.platforms.evmDRA7XX:DSP_1"] =
 {
     externalMemoryMap: MemSegDefine.getMemSegmentDefinitionDSP_1(),
     codeMemory:"CODE_CORE_DSP1",
@@ -37,7 +37,7 @@ Build.platformTable["ti.platforms.simVayu:DSP_1"] =
     stackMemory:"PRIVATE_DATA_CORE_DSP1"
 };
 
-Build.platformTable["ti.platforms.simVayu:Cortex_A15"] =
+Build.platformTable["ti.platforms.evmDRA7XX:Cortex_A15"] =
 {
     externalMemoryMap: MemSegDefine.getMemSegmentDefinitionHOST(),
     codeMemory:"CODE_CORE_HOST",
index 2882679831c7a91999866349571c83c9918726b0..07c5c870901f45aac722c1766172bc3d62b14fc1 100644 (file)
@@ -17,7 +17,7 @@ XDC_CFG_FILE_eve = rtsc_config/edma3_drv_bios6_tda2xx_st_sample.cfg
 \r
 CONFIG_BLD_XDC_CUSTOM = rtsc_config/custom_config.bld\r
 \r
-PLATFORM_XDC_CUSTOM = ti.platforms.simVayu:EVE_1\r
+PLATFORM_XDC_CUSTOM = ti.platforms.evmDRA7XX:EVE_1\r
 \r
 # Common source files and CFLAGS across all platforms and cores\r
 SRCS_COMMON = common.c dma_misc_test.c dma_test.c qdma_test.c dma_chain_test.c \\r
index 6c53775e9587fab5b0013faa2c29f558031fada8..18f083152fa07b1d28828b32c9e78363a823b601 100644 (file)
@@ -13,7 +13,7 @@ var Build = xdc.useModule('xdc.bld.BuildEnvironment');
 \r
 var MemSegDefine = xdc.loadCapsule("mem_segment_definition.xs");\r
 \r
-Build.platformTable["ti.platforms.simVayu:IPU_1_0"] =\r
+Build.platformTable["ti.platforms.evmDRA7XX:IPU_1_0"] =\r
 {      \r
        externalMemoryMap: MemSegDefine.getMemSegmentDefinitionIPU_1_0(),\r
        codeMemory:"CODE_CORE_IPU1_0",\r
@@ -21,7 +21,7 @@ Build.platformTable["ti.platforms.simVayu:IPU_1_0"] =
        stackMemory:"PRIVATE_DATA_CORE_IPU1_0"\r
 };\r
 \r
-Build.platformTable["ti.platforms.simVayu:IPU_1_1"] =\r
+Build.platformTable["ti.platforms.evmDRA7XX:IPU_1_1"] =\r
 {      \r
        externalMemoryMap: MemSegDefine.getMemSegmentDefinitionIPU_1_1(),\r
        codeMemory:"CODE_CORE_IPU1_1",\r
@@ -29,7 +29,7 @@ Build.platformTable["ti.platforms.simVayu:IPU_1_1"] =
        stackMemory:"PRIVATE_DATA_CORE_IPU1_1"\r
 };\r
 \r
-Build.platformTable["ti.platforms.simVayu:DSP_1"] =\r
+Build.platformTable["ti.platforms.evmDRA7XX:DSP_1"] =\r
 {\r
     externalMemoryMap: MemSegDefine.getMemSegmentDefinitionDSP_1(),\r
     codeMemory:"CODE_CORE_DSP1",\r
@@ -37,7 +37,7 @@ Build.platformTable["ti.platforms.simVayu:DSP_1"] =
     stackMemory:"PRIVATE_DATA_CORE_DSP1"\r
 };\r
 \r
-Build.platformTable["ti.platforms.simVayu:Cortex_A15"] =\r
+Build.platformTable["ti.platforms.evmDRA7XX:Cortex_A15"] =\r
 {\r
     externalMemoryMap: MemSegDefine.getMemSegmentDefinitionHOST(),\r
     codeMemory:"CODE_CORE_HOST",\r
@@ -45,7 +45,7 @@ Build.platformTable["ti.platforms.simVayu:Cortex_A15"] =
     stackMemory:"PRIVATE_DATA_CORE_HOST"\r
 };\r
 \r
-Build.platformTable["ti.platforms.simVayu:EVE_1"] =\r
+Build.platformTable["ti.platforms.evmDRA7XX:EVE_1"] =\r
 {\r
     externalMemoryMap: MemSegDefine.getMemSegmentDefinitionEVE(),\r
     codeMemory:"CODE_CORE_EVE",\r
index 1dd4798f1cb1c97b9fbafb051ea3fd23e959231b..8386b5f8a3e0f0426685f86599e18dd50f5dda2f 100644 (file)
@@ -19,11 +19,11 @@ COMP_LIST_m4 = edma3_lld_drv edma3_lld_rm
 ifeq ($(IPUCORE),1)\r
 XDC_CFG_FILE_m4 = rtsc_config/edma3_drv_bios6_tda2xx_m4_c1_st_sample.cfg\r
 CONFIG_BLD_XDC_CUSTOM = rtsc_config/custom_config.bld\r
-PLATFORM_XDC_CUSTOM = ti.platforms.simVayu:IPU_1_1\r
+PLATFORM_XDC_CUSTOM = ti.platforms.evmDRA7XX:IPU_1_1\r
 else\r
 XDC_CFG_FILE_m4 = rtsc_config/edma3_drv_bios6_tda2xx_m4_c0_st_sample.cfg\r
 CONFIG_BLD_XDC_CUSTOM = rtsc_config/custom_config.bld\r
-PLATFORM_XDC_CUSTOM = ti.platforms.simVayu:IPU_1_0\r
+PLATFORM_XDC_CUSTOM = ti.platforms.evmDRA7XX:IPU_1_0\r
 endif\r
 \r
 \r
index 8ca214377f237fbb59c20d6d0211fd558be60559..3a2cac7c04726a61a541d530dbfa95b30d71ee77 100644 (file)
@@ -13,7 +13,7 @@ var Build = xdc.useModule('xdc.bld.BuildEnvironment');
 
 var MemSegDefine = xdc.loadCapsule("mem_segment_definition.xs");
 
-Build.platformTable["ti.platforms.simVayu:IPU_1_0"] =
+Build.platformTable["ti.platforms.evmDRA7XX:IPU_1_0"] =
 {      
        externalMemoryMap: MemSegDefine.getMemSegmentDefinitionIPU_1_0(),
        codeMemory:"CODE_CORE_IPU1_0",
@@ -21,7 +21,7 @@ Build.platformTable["ti.platforms.simVayu:IPU_1_0"] =
        stackMemory:"PRIVATE_DATA_CORE_IPU1_0"
 };
 
-Build.platformTable["ti.platforms.simVayu:IPU_1_1"] =
+Build.platformTable["ti.platforms.evmDRA7XX:IPU_1_1"] =
 {      
        externalMemoryMap: MemSegDefine.getMemSegmentDefinitionIPU_1_1(),
        codeMemory:"CODE_CORE_IPU1_1",
@@ -29,7 +29,7 @@ Build.platformTable["ti.platforms.simVayu:IPU_1_1"] =
        stackMemory:"PRIVATE_DATA_CORE_IPU1_1"
 };
 
-Build.platformTable["ti.platforms.simVayu:DSP_1"] =
+Build.platformTable["ti.platforms.evmDRA7XX:DSP_1"] =
 {
     externalMemoryMap: MemSegDefine.getMemSegmentDefinitionDSP_1(),
     codeMemory:"CODE_CORE_DSP1",
@@ -37,7 +37,7 @@ Build.platformTable["ti.platforms.simVayu:DSP_1"] =
     stackMemory:"PRIVATE_DATA_CORE_DSP1"
 };
 
-Build.platformTable["ti.platforms.simVayu:Cortex_A15"] =
+Build.platformTable["ti.platforms.evmDRA7XX:Cortex_A15"] =
 {
     externalMemoryMap: MemSegDefine.getMemSegmentDefinitionHOST(),
     codeMemory:"CODE_CORE_HOST",
index 046689c50b5f8d8549698878b3ac38a78aa6b578..c9d96b00f1c51717a0fa39f1b850051a2a42f25e 100644 (file)
@@ -1,8 +1,3 @@
-MEMORY\r
-{\r
-    OCMC_RAM : org = 0x40300000, len = 0x10000\r
-}\r
-\r
 SECTIONS\r
 {\r
 //    .my_sect_iram > EXT_RAM\r
index f06b9cbb8410caa8fa463e74fcf589ed19688daa..4765de179bedb0916b6c2eb4c34b7528fbefc1d4 100755 (executable)
@@ -13,7 +13,7 @@
 # tda2xx (Vayu) Simulator
 ifeq ($(PLATFORM),tda2xx-evm)
  SOC = tda2xx
- PLATFORM_XDC = "ti.platforms.simVayu"
+ PLATFORM_XDC = "ti.platforms.evmDRA7XX"
 endif
 
 # ti816x (Netra) catalog EVM
index ea4e5ae5fa08049435775675f6d2fb66480462b9..b1a94e4a043cb41262a76776ff9c88df2157070b 100755 (executable)
@@ -79,6 +79,7 @@ function getLibs(prog)
                         'TMS320TI814X',
                         'TMS320TI816X',
                         'Vayu',
+                        'DRA7XX'
                     ];
 
     for (var i = 0; i < devices.length; i++)
@@ -105,6 +106,8 @@ function getLibs(prog)
                        target = "a8/";
                 if (java.lang.String(Program.build.target.suffix).contains('9'))
                        target = "arm9/";
+                if (java.lang.String(Program.build.target.suffix).contains('arp32'))
+                       target = "arp32/";
                 lib = lib + target;
                 bool = 1;
                 break;
index 7bc9ef9c82aa44239a8bc68e1e8cc52bdae6be42..4e05cade2b5bd50d41622a3b7cd2be6451ed3e19 100755 (executable)
@@ -79,6 +79,7 @@ function getLibs(prog)
                         'TMS320TI814X',
                         'TMS320TI816X',
                         'Vayu',
+                        'DRA7XX'
                     ];
 
     /* Directories for each platform */
@@ -129,6 +130,8 @@ function getLibs(prog)
                        target = "m4/";
                 if (java.lang.String(Program.build.target.suffix).contains('a15'))
                        target = "a15/";
+                if (java.lang.String(Program.build.target.suffix).contains('arp32'))
+                       target = "arp32/";
                 lib = lib + target;
                 bool = 1;
                 break;
index 4547e33721e87a163fd348b1f11e616b0bd4c179..090bc80c21ff51ba8a2362ad3eb4814b015d2881 100755 (executable)
@@ -79,6 +79,7 @@ function getLibs(prog)
                         'TMS320TI814X',
                         'TMS320TI816X',
                         'Vayu',
+                        'DRA7XX'
                     ];
 
     /* Directories for each platform */
@@ -129,6 +130,8 @@ function getLibs(prog)
                        target = "m4/";
                 if (java.lang.String(Program.build.target.suffix).contains('a15'))
                        target = "a15/";
+                if (java.lang.String(Program.build.target.suffix).contains('arp32'))
+                       target = "arp32/";
                 lib = lib + target;
                 bool = 1;
                 break;
@@ -153,6 +156,8 @@ function getLibs(prog)
                target = "m9/";
         if (java.lang.String(Program.build.target.suffix).contains('9'))
                target = "arm9/";
+        if (java.lang.String(Program.build.target.suffix).contains('arp32'))
+               target = "arp32/";
         lib = lib + target;
 
     }
index ed31b4fe1d012e665472dc6a8e9200595bec5cc8..003199a7fa80e9b0accbc277065451f24dd3ed07 100755 (executable)
@@ -79,6 +79,7 @@ function getLibs(prog)
                         'TMS320TI814X',
                         'TMS320TI816X',
                         'Vayu',
+                        'DRA7XX'
                     ];
 
     /* Directories for each platform */
@@ -130,6 +131,8 @@ function getLibs(prog)
                        target = "m4/";
                 if (java.lang.String(Program.build.target.suffix).contains('a15'))
                        target = "a15/";
+                if (java.lang.String(Program.build.target.suffix).contains('arp32'))
+                    target = "arp32/";
                 lib = lib + target;
                 bool = 1;
                 break;