summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnkur2019-05-30 05:27:53 -0500
committerAnkur2019-05-30 05:27:53 -0500
commit5af4b542c6c8781f345e5796226b83e39930b3f2 (patch)
treeb16e076abcab6b3d0ffea894d07724c24de45949
parentafcda99dbe741b390be2b51b600ab0988892453b (diff)
downloadi2c-lld-5af4b542c6c8781f345e5796226b83e39930b3f2.tar.gz
i2c-lld-5af4b542c6c8781f345e5796226b83e39930b3f2.tar.xz
i2c-lld-5af4b542c6c8781f345e5796226b83e39930b3f2.zip
Build Fix - Fixed MMU init API call for RTOS app
Signed-off-by: Ankur <a0132173@ti.com>
-rwxr-xr-x[-rw-r--r--]test/eeprom_read/j721e/i2cEepromTest_a72.cfg2
-rwxr-xr-x[-rw-r--r--]test/eeprom_read/src/main_test.c7
2 files changed, 8 insertions, 1 deletions
diff --git a/test/eeprom_read/j721e/i2cEepromTest_a72.cfg b/test/eeprom_read/j721e/i2cEepromTest_a72.cfg
index 99f67c1..75267ab 100644..100755
--- a/test/eeprom_read/j721e/i2cEepromTest_a72.cfg
+++ b/test/eeprom_read/j721e/i2cEepromTest_a72.cfg
@@ -52,7 +52,7 @@ var Cache = xdc.module("ti.sysbios.hal.Cache");
52Cache.CacheProxy = xdc.useModule("ti.sysbios.family.arm.v8a.Cache"); 52Cache.CacheProxy = xdc.useModule("ti.sysbios.family.arm.v8a.Cache");
53 53
54var Mmu = xdc.useModule('ti.sysbios.family.arm.v8a.Mmu'); 54var Mmu = xdc.useModule('ti.sysbios.family.arm.v8a.Mmu');
55Mmu.initFunc = "&Osal_initMmuDefault"; 55Mmu.initFunc = "&InitMmu";
56Mmu.tableArrayLen = 24; 56Mmu.tableArrayLen = 24;
57 57
58 58
diff --git a/test/eeprom_read/src/main_test.c b/test/eeprom_read/src/main_test.c
index b038bc3..75bcf65 100644..100755
--- a/test/eeprom_read/src/main_test.c
+++ b/test/eeprom_read/src/main_test.c
@@ -722,3 +722,10 @@ int main(void)
722} 722}
723#endif /* #ifdef USE_BIOS */ 723#endif /* #ifdef USE_BIOS */
724 724
725#if defined(BUILD_MPU) || defined (__C7100__)
726extern void Osal_initMmuDefault(void);
727void InitMmu(void)
728{
729 Osal_initMmuDefault();
730}
731#endif