summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c55db0e)
raw | patch | inline | side by side (parent: c55db0e)
author | Don Dominic <a0486429@ti.com> | |
Thu, 19 May 2022 10:05:43 +0000 (15:35 +0530) | ||
committer | Don Dominic <a0486429@ti.com> | |
Thu, 19 May 2022 10:05:43 +0000 (15:35 +0530) |
- Add defines for CLEC BASE and RTMAP
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: Don Dominic <a0486429@ti.com>
packages/ti/kernel/freertos/config/j784s4/c7x/FreeRTOSConfig.h | patch | blob | history | |
packages/ti/kernel/freertos/config/j784s4/c7x/FreeRTOSConfig_c7x_1.h | patch | blob | history | |
packages/ti/kernel/freertos/config/j784s4/c7x/FreeRTOSConfig_c7x_2.h | [new file with mode: 0644] | patch | blob |
packages/ti/kernel/freertos/config/j784s4/c7x/FreeRTOSConfig_c7x_3.h | [new file with mode: 0644] | patch | blob |
packages/ti/kernel/freertos/config/j784s4/c7x/FreeRTOSConfig_c7x_4.h | [new file with mode: 0644] | patch | blob |
diff --git a/packages/ti/kernel/freertos/config/j784s4/c7x/FreeRTOSConfig.h b/packages/ti/kernel/freertos/config/j784s4/c7x/FreeRTOSConfig.h
index 73ad34b58733c624db8e21256593a700dbc7a9d0..773ca3ce0f165a90392cf0b022dad8086384002b 100644 (file)
#ifdef BUILD_C7X_1
#include "FreeRTOSConfig_c7x_1.h"
#endif
+#ifdef BUILD_C7X_2
+#include "FreeRTOSConfig_c7x_2.h"
+#endif
+#ifdef BUILD_C7X_3
+#include "FreeRTOSConfig_c7x_3.h"
+#endif
+#ifdef BUILD_C7X_4
+#include "FreeRTOSConfig_c7x_4.h"
+#endif
/*-----------------------------------------------------------
* Application specific definitions.
#define portCONFIGURE_DDR_START (0x80000000U)
#define portCONFIGURE_DDR_SIZE (0x80000000U)
+/* Compute Cluster CLEC Register Base Address */
+#define portCOMPUTE_CLUSTER_CLEC_BASE (CSL_COMPUTE_CLUSTER0_CLEC_BASE)
+
/*
* This is not a FreeRTOS defined config and is defined by TI to enable
* load update in idle task
diff --git a/packages/ti/kernel/freertos/config/j784s4/c7x/FreeRTOSConfig_c7x_1.h b/packages/ti/kernel/freertos/config/j784s4/c7x/FreeRTOSConfig_c7x_1.h
index e574c74c9dee39db92196bf8816f9e745c910578..626e6ac2ef58f4ee4872c545cfac1b81eb529cbe 100644 (file)
#define configTIMER_ID (2)
#define configTIMER_INT_NUM (16)
+/* Compute Cluster CLEC route map */
+#define portCOMPUTE_CLUSTER_CLEC_RTMAP (CSL_CLEC_RTMAP_CPU_4)
+
#endif /* TI_FREERTOS_C7X_1_CONFIG_H */
diff --git a/packages/ti/kernel/freertos/config/j784s4/c7x/FreeRTOSConfig_c7x_2.h b/packages/ti/kernel/freertos/config/j784s4/c7x/FreeRTOSConfig_c7x_2.h
--- /dev/null
@@ -0,0 +1,55 @@
+/*
+ * Copyright (C) 2022 Texas Instruments Incorporated
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the
+ * distribution.
+ *
+ * Neither the name of Texas Instruments Incorporated nor the names of
+ * its contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+#ifndef TI_FREERTOS_C7X_2_CONFIG_H
+#define TI_FREERTOS_C7X_2_CONFIG_H
+
+
+/*-----------------------------------------------------------
+ * Application specific definitions.
+ *
+ * These definitions should be adjusted for your particular hardware and
+ * application requirements.
+ *
+ * THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE
+ * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE AND IN THE
+ * FreeRTOS REFERENCE MANUAL.
+ *----------------------------------------------------------*/
+
+#define configTIMER_ID (2)
+#define configTIMER_INT_NUM (16)
+
+/* Compute Cluster CLEC route map */
+#define portCOMPUTE_CLUSTER_CLEC_RTMAP (CSL_CLEC_RTMAP_CPU_5)
+
+#endif /* TI_FREERTOS_C7X_2_CONFIG_H */
diff --git a/packages/ti/kernel/freertos/config/j784s4/c7x/FreeRTOSConfig_c7x_3.h b/packages/ti/kernel/freertos/config/j784s4/c7x/FreeRTOSConfig_c7x_3.h
--- /dev/null
@@ -0,0 +1,55 @@
+/*
+ * Copyright (C) 2022 Texas Instruments Incorporated
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the
+ * distribution.
+ *
+ * Neither the name of Texas Instruments Incorporated nor the names of
+ * its contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+#ifndef TI_FREERTOS_C7X_3_CONFIG_H
+#define TI_FREERTOS_C7X_3_CONFIG_H
+
+
+/*-----------------------------------------------------------
+ * Application specific definitions.
+ *
+ * These definitions should be adjusted for your particular hardware and
+ * application requirements.
+ *
+ * THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE
+ * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE AND IN THE
+ * FreeRTOS REFERENCE MANUAL.
+ *----------------------------------------------------------*/
+
+#define configTIMER_ID (2)
+#define configTIMER_INT_NUM (16)
+
+/* Compute Cluster CLEC route map */
+#define portCOMPUTE_CLUSTER_CLEC_RTMAP (CSL_CLEC_RTMAP_CPU_6)
+
+#endif /* TI_FREERTOS_C7X_3_CONFIG_H */
diff --git a/packages/ti/kernel/freertos/config/j784s4/c7x/FreeRTOSConfig_c7x_4.h b/packages/ti/kernel/freertos/config/j784s4/c7x/FreeRTOSConfig_c7x_4.h
--- /dev/null
@@ -0,0 +1,55 @@
+/*
+ * Copyright (C) 2022 Texas Instruments Incorporated
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the
+ * distribution.
+ *
+ * Neither the name of Texas Instruments Incorporated nor the names of
+ * its contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+#ifndef TI_FREERTOS_C7X_4_CONFIG_H
+#define TI_FREERTOS_C7X_4_CONFIG_H
+
+
+/*-----------------------------------------------------------
+ * Application specific definitions.
+ *
+ * These definitions should be adjusted for your particular hardware and
+ * application requirements.
+ *
+ * THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE
+ * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE AND IN THE
+ * FreeRTOS REFERENCE MANUAL.
+ *----------------------------------------------------------*/
+
+#define configTIMER_ID (2)
+#define configTIMER_INT_NUM (16)
+
+/* Compute Cluster CLEC route map */
+#define portCOMPUTE_CLUSTER_CLEC_RTMAP (CSL_CLEC_RTMAP_CPU_7)
+
+#endif /* TI_FREERTOS_C7X_4_CONFIG_H */