awr294x build fix
authorPrasad Konnur <prasadkonnur@ti.com>
Wed, 7 Apr 2021 05:24:23 +0000 (10:54 +0530)
committerPrasad Konnur <prasadkonnur@ti.com>
Wed, 7 Apr 2021 07:16:00 +0000 (12:46 +0530)
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
packages/ti/drv/cbuff/cbuff_component.mk
packages/ti/kernel/freertos/config/awr294x/c66/FreeRTOSConfig.h
packages/ti/kernel/test/freertos/task_switch/task_switch.c
packages/ti/kernel/test/freertos/ut/test_freertos.c
packages/ti/osal/osal_component.mk

index 59ad9722f9f428dcd07d389626b4ddfae57f5649..c211909a017f6266df872f20b85c0e7f2a0d1e1b 100644 (file)
@@ -78,7 +78,7 @@ export cbuff_$(SOC)_CORELIST = $(drvcbuff_$(SOC)_CORELIST)
 
 # Cbuff manual test app
 export cbuff_manual_testapp_COMP_LIST = cbuff_manual_testapp
-cbuff_manual_testapp_RELPATH = ti/drv/cbuff/examples/cbuff_manual_testapp
+cbuff_manual_testapp_RELPATH = ti/drv/cbuff/example/cbuff_manual_testapp
 cbuff_manual_testapp_PATH = $(PDK_CBUFF_COMP_PATH)/example/cbuff_manual_testapp
 export cbuff_manual_testapp_BOARD_DEPENDENCY = yes
 export cbuff_manual_testapp_CORE_DEPENDENCY = yes
index 8db916d5d2a6320ee82e3277ecff41d94bd37f15..83fa5f48bb45e9b0b4ffb9f8408e3759bc2bc899 100644 (file)
@@ -169,4 +169,8 @@ uint32_t uiPortGetRunTimeCounterValue();
 #define configTIMER_ID                                                    (0)
 #define configTIMER_INT_NUM                                               (15)
 
+#define portCONFIGURE_CACHE_LIP_SIZE                                      (DSPICFG_CACHE_SIZE_L1_16K)
+#define portCONFIGURE_CACHE_LID_SIZE                                      (DSPICFG_CACHE_SIZE_L1_16K)
+#define portCONFIGURE_CACHE_L2_SIZE                                       (DSPICFG_CACHE_SIZE_L2_DISABLED)
+
 #endif /* TI_FREERTOS_CONFIG_H */
index 10c07a3c8c41ad34a375df352af2ef2bf225e0eb..1cd6195286c423df2c1e864e520e66367e8a9e8e 100644 (file)
@@ -65,7 +65,7 @@ TaskHandle_t TaskP_getFreertosHandle(TaskP_Handle handle);
 
 #define NUM_TASK_SWITCHES      (1000000u)
 
-#ifdef SOC_TPR12
+#if defined (SOC_TPR12) || defined (SOC_AWR294X)
     #ifdef BUILD_MCU1_0
         #define PING_INT_NUM           (236u)
         #define PONG_INT_NUM           (237u)
index 98453f98eb30c582b08aedd5381c8848d1ffd60c..634f937ad38e82f95944eda7eb779bce1cb81631 100644 (file)
@@ -64,7 +64,7 @@
 
 #define NUM_TASK_SWITCHES (1000000u)
 
-#ifdef SOC_TPR12
+#if defined (SOC_TPR12) || defined (SOC_AWR294X)
     #ifdef BUILD_MCU1_0
         #define PING_INT_NUM           (236u)
         #define PONG_INT_NUM           (237u)
index c95e5b6c4f99d6f5699e217ec1c3db9a14a7fbc4..60a980658e8c3608396f7f8de117795f9fcf4d5a 100644 (file)
@@ -101,6 +101,7 @@ libosal_freertos_am65xx_CORELIST = mcu1_0 mcu1_1
 libosal_freertos_j721e_CORELIST = mcu1_0 mcu1_1 mcu2_0 mcu2_1 mcu3_0 mcu3_1
 libosal_freertos_j7200_CORELIST = mcu1_0 mcu1_1 mcu2_0 mcu2_1
 libosal_freertos_tpr12_CORELIST = $(DEFAULT_tpr12_CORELIST)
+libosal_freertos_awr294x_CORELIST = $(DEFAULT_awr294x_CORELIST)
 
 
 ############################
@@ -319,7 +320,7 @@ OSAL_TestApp_BOARDLIST = $(libosal_BOARDLIST)
 export OSAL_TestApp_BOARDLIST
 OSAL_TestApp_$(SOC)_CORELIST = $(osal_$(SOC)_CORELIST)
 export OSAL_TestApp_$(SOC)_CORELIST
-ifeq ($(SOC),$(filter $(SOC), am65xx j721e j7200 am64x tpr12 awr294x))
+ifeq ($(SOC),$(filter $(SOC), am65xx j721e j7200 am64x tpr12))
 OSAL_TestApp_SBL_APPIMAGEGEN = yes
 else
 OSAL_TestApp_SBL_APPIMAGEGEN = no