We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c08c8b commit d19a80dCopy full SHA for d19a80d
include/ipc_defs.h
@@ -5,6 +5,27 @@
5
/*
6
* Defines
7
*/
8
+
9
+/*
10
+ * The ramfunc attribute specifies that a function will be placed in and
11
+ * executed from RAM. The ramfunc // attribute allows the compiler to
12
+ * optimize functions for RAM execution.
13
+ * Use example:
14
+ * __attribute__((ramfunc))
15
+ * void f(void) {
16
+ * ...
17
+ * }
18
+ */
19
+#if defined(_FLASH)
20
+#ifndef ram_func
21
+#if __TI_COMPILER_VERSION__ >= 16006000
22
+#define ram_func __attribute__((ramfunc))
23
+#else
24
+#define ram_func
25
+#endif
26
27
28
29
// gsxm blocks that master cpu1 reserverd for ipc driver app
30
#define APIPC_CPU01_TO_CPU02_GSxRAM GS3_ACCESS|GS4_ACCESS|GS5_ACCESS
31
// gsxm blocks that master cpu2 reserverd for ipc driver app
0 commit comments