summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2440e85)
raw | patch | inline | side by side (parent: 2440e85)
author | Nick Saulnier <nsaulnier@ti.com> | |
Wed, 31 Mar 2021 22:23:12 +0000 (17:23 -0500) | ||
committer | Nick Saulnier <nsaulnier@ti.com> | |
Wed, 31 Mar 2021 22:23:12 +0000 (17:23 -0500) |
Some am65x & j7es Makefiles include DCFLAGS without defining it anywhere in the
file. Added a standardized comment explaining what DCFLAGS is in every Makefile
that uses the variable.
As of this commit, no changes were made to the labs/ Makefiles since none of the
labs Makefiles have DCFLAGS.
Signed-off-by: Nick Saulnier <nsaulnier@ti.com>
file. Added a standardized comment explaining what DCFLAGS is in every Makefile
that uses the variable.
As of this commit, no changes were made to the labs/ Makefiles since none of the
labs Makefiles have DCFLAGS.
Signed-off-by: Nick Saulnier <nsaulnier@ti.com>
16 files changed:
index 6a92d9598b9620213e7672c19be9ee9cfbc0bc78..666f8412c22b768f01a6529ac209ad853b8afe1a 100644 (file)
#Linker flags (Defined in 'PRU Optimizing C/C++ Compiler User's Guide)
LFLAGS=--reread_libs --warn_sections --stack_size=$(STACK_SIZE) --heap_size=$(HEAP_SIZE)
+#DCFLAGS pass instance specific defines to the program (see --define in 'PRU Optimizing C/C++ Compiler User's Guide')
+
TARGET=$(GEN_DIR)/$(PROJ_NAME)_$(SLICE).out
MAP=$(GEN_DIR)/$(PROJ_NAME)_$(SLICE).map
SOURCES=$(wildcard *.c)
diff --git a/examples/am65x/PRU_MAC_Multiply_Accum/Makefile b/examples/am65x/PRU_MAC_Multiply_Accum/Makefile
index 6a92d9598b9620213e7672c19be9ee9cfbc0bc78..666f8412c22b768f01a6529ac209ad853b8afe1a 100644 (file)
#Linker flags (Defined in 'PRU Optimizing C/C++ Compiler User's Guide)
LFLAGS=--reread_libs --warn_sections --stack_size=$(STACK_SIZE) --heap_size=$(HEAP_SIZE)
+#DCFLAGS pass instance specific defines to the program (see --define in 'PRU Optimizing C/C++ Compiler User's Guide')
+
TARGET=$(GEN_DIR)/$(PROJ_NAME)_$(SLICE).out
MAP=$(GEN_DIR)/$(PROJ_NAME)_$(SLICE).map
SOURCES=$(wildcard *.c)
diff --git a/examples/am65x/PRU_RPMsg_Echo_Interrupt0/Makefile b/examples/am65x/PRU_RPMsg_Echo_Interrupt0/Makefile
index 5603582e6230d419e2cee7f5ef92bb3b18666d7e..15d7f68cde284f19de44dced0e9d208c97252967 100644 (file)
PORT_NUM = 38
endif
-# Instance specific defines to be passed to program
+#DCFLAGS pass instance specific defines to the program (see --define in 'PRU Optimizing C/C++ Compiler User's Guide')
DCFLAGS=-DCHAN_PORT=$(PORT_NUM)
TARGET=$(GEN_DIR)/$(TARG_NAME).out
diff --git a/examples/am65x/PRU_RPMsg_Echo_Interrupt1/Makefile b/examples/am65x/PRU_RPMsg_Echo_Interrupt1/Makefile
index 632f8b9d6280be61cda9dd8b536db9b18c6f1c2a..a6ed9e2ccb9ebb1aae0995a583fe55389b42fb82 100644 (file)
PORT_NUM = 39
endif
-# Instance specific defines to be passed to program
+#DCFLAGS pass instance specific defines to the program (see --define in 'PRU Optimizing C/C++ Compiler User's Guide')
DCFLAGS=-DCHAN_PORT=$(PORT_NUM)
TARGET=$(GEN_DIR)/$(TARG_NAME).out
index d660aa206ba18c2d13b95ab839c3d3be1f5d1053..5c8d18fbe78da55e09bb86a2e02064d97edc5914 100644 (file)
#Linker flags (Defined in 'PRU Optimizing C/C++ Compiler User's Guide)
LFLAGS=--reread_libs --warn_sections --stack_size=$(STACK_SIZE) --heap_size=$(HEAP_SIZE)
+#DCFLAGS pass instance specific defines to the program (see --define in 'PRU Optimizing C/C++ Compiler User's Guide')
+
TARGET=$(GEN_DIR)/$(PROJ_NAME)_$(SLICE).out
MAP=$(GEN_DIR)/$(PROJ_NAME)_$(SLICE).map
SOURCES=$(wildcard *.c)
diff --git a/examples/am65x/RTU_MAC_Multiply_Accum/Makefile b/examples/am65x/RTU_MAC_Multiply_Accum/Makefile
index d660aa206ba18c2d13b95ab839c3d3be1f5d1053..5c8d18fbe78da55e09bb86a2e02064d97edc5914 100644 (file)
#Linker flags (Defined in 'PRU Optimizing C/C++ Compiler User's Guide)
LFLAGS=--reread_libs --warn_sections --stack_size=$(STACK_SIZE) --heap_size=$(HEAP_SIZE)
+#DCFLAGS pass instance specific defines to the program (see --define in 'PRU Optimizing C/C++ Compiler User's Guide')
+
TARGET=$(GEN_DIR)/$(PROJ_NAME)_$(SLICE).out
MAP=$(GEN_DIR)/$(PROJ_NAME)_$(SLICE).map
SOURCES=$(wildcard *.c)
diff --git a/examples/am65x/RTU_RPMsg_Echo_Interrupt0/Makefile b/examples/am65x/RTU_RPMsg_Echo_Interrupt0/Makefile
index 274e77d3ecfb422db54a1f564a27fc8438dc86b9..15c8f2b6a1fe6f8eecb874a5cc5e81f7b3f833a6 100644 (file)
PORT_NUM = 40
endif
-# Instance specific defines to be passed to program
+#DCFLAGS pass instance specific defines to the program (see --define in 'PRU Optimizing C/C++ Compiler User's Guide')
DCFLAGS=-DCHAN_PORT=$(PORT_NUM)
TARGET=$(GEN_DIR)/$(TARG_NAME).out
diff --git a/examples/am65x/RTU_RPMsg_Echo_Interrupt1/Makefile b/examples/am65x/RTU_RPMsg_Echo_Interrupt1/Makefile
index dbec12cd39a143aba5680c52f20f5b622069fc4f..97c977696e2ff297df28d334778f152c98dc1a91 100644 (file)
PORT_NUM = 41
endif
-# Instance specific defines to be passed to program
+#DCFLAGS pass instance specific defines to the program (see --define in 'PRU Optimizing C/C++ Compiler User's Guide')
DCFLAGS=-DCHAN_PORT=$(PORT_NUM)
TARGET=$(GEN_DIR)/$(TARG_NAME).out
index 1d5b3074be5e33c56e0d8ff1dbd4a7eefccd54c6..bbb46bba4fe81108434a6e5dbb1246afcb277884 100644 (file)
#Linker flags (Defined in 'PRU Optimizing C/C++ Compiler User's Guide)
LFLAGS=--reread_libs --warn_sections --stack_size=$(STACK_SIZE) --heap_size=$(HEAP_SIZE)
+#DCFLAGS pass instance specific defines to the program (see --define in 'PRU Optimizing C/C++ Compiler User's Guide')
+
TARGET=$(GEN_DIR)/$(PROJ_NAME)_$(SLICE).out
MAP=$(GEN_DIR)/$(PROJ_NAME)_$(SLICE).map
SOURCES=$(wildcard *.c)
index 0e49671697bb0583630a7a1404b46c4fe7a36dd3..187330c32326f4176ba6d4ac787e1365b2124a27 100644 (file)
#Linker flags (Defined in 'PRU Optimizing C/C++ Compiler User's Guide)
LFLAGS=--reread_libs --warn_sections --stack_size=$(STACK_SIZE) --heap_size=$(HEAP_SIZE)
+#DCFLAGS pass instance specific defines to the program (see --define in 'PRU Optimizing C/C++ Compiler User's Guide')
+
TARGET=$(GEN_DIR)/$(PROJ_NAME)_$(SLICE).out
MAP=$(GEN_DIR)/$(PROJ_NAME)_$(SLICE).map
SOURCES=$(wildcard *.c)
diff --git a/examples/j721e/PRU_RPMsg_Echo_Interrupt0/Makefile b/examples/j721e/PRU_RPMsg_Echo_Interrupt0/Makefile
index 0591b66e2796d54d6976034950004ad27cedebb5..27c7f92bc07fa77957063e61c36ac19f30ad37e6 100644 (file)
PORT_NUM = 34
endif
-# Instance specific defines to be passed to program
+#DCFLAGS pass instance specific defines to the program (see --define in 'PRU Optimizing C/C++ Compiler User's Guide')
DCFLAGS=-DCHAN_PORT=$(PORT_NUM)
TARGET=$(GEN_DIR)/$(TARG_NAME).out
diff --git a/examples/j721e/PRU_RPMsg_Echo_Interrupt1/Makefile b/examples/j721e/PRU_RPMsg_Echo_Interrupt1/Makefile
index e9d5c0ec74a857aab39d445efb98c986711762ce..c1c9fe3b00296460af92e04b686d0c9fd01229b3 100644 (file)
PORT_NUM = 35
endif
-# Instance specific defines to be passed to program
+#DCFLAGS pass instance specific defines to the program (see --define in 'PRU Optimizing C/C++ Compiler User's Guide')
DCFLAGS=-DCHAN_PORT=$(PORT_NUM)
TARGET=$(GEN_DIR)/$(TARG_NAME).out
index 35e8b787c68372593d388d81b9f08a41e805146a..809ed02881abad84412f722886912c6e50a581ce 100644 (file)
#Linker flags (Defined in 'PRU Optimizing C/C++ Compiler User's Guide)
LFLAGS=--reread_libs --warn_sections --stack_size=$(STACK_SIZE) --heap_size=$(HEAP_SIZE)
+#DCFLAGS pass instance specific defines to the program (see --define in 'PRU Optimizing C/C++ Compiler User's Guide')
+
TARGET=$(GEN_DIR)/$(PROJ_NAME)_$(SLICE).out
MAP=$(GEN_DIR)/$(PROJ_NAME)_$(SLICE).map
SOURCES=$(wildcard *.c)
diff --git a/examples/j721e/RTU_RPMsg_Echo_Interrupt0/Makefile b/examples/j721e/RTU_RPMsg_Echo_Interrupt0/Makefile
index c4bf5869a320fb2a91d343d57e0904d6cf5fe022..638d8719864c9404efbd5600db1b136704a1074e 100644 (file)
PORT_NUM = 36
endif
-# Instance specific defines to be passed to program
+#DCFLAGS pass instance specific defines to the program (see --define in 'PRU Optimizing C/C++ Compiler User's Guide')
DCFLAGS=-DCHAN_PORT=$(PORT_NUM)
TARGET=$(GEN_DIR)/$(TARG_NAME).out
diff --git a/examples/j721e/RTU_RPMsg_Echo_Interrupt1/Makefile b/examples/j721e/RTU_RPMsg_Echo_Interrupt1/Makefile
index e6917eba734d9c638d9254c4f5bc9bb76442a2c3..9fbd305c6c98bab745aa0d71b8cff7a0b5273ec7 100644 (file)
PORT_NUM = 37
endif
-# Instance specific defines to be passed to program
+#DCFLAGS pass instance specific defines to the program (see --define in 'PRU Optimizing C/C++ Compiler User's Guide')
DCFLAGS=-DCHAN_PORT=$(PORT_NUM)
TARGET=$(GEN_DIR)/$(TARG_NAME).out
index 5e05864760cbffcc9b335795d65e443f1d47c247..d5353cb5b7495f879bc7369e7895b316b6b36daf 100644 (file)
#Linker flags (Defined in 'PRU Optimizing C/C++ Compiler User's Guide)
LFLAGS=--reread_libs --warn_sections --stack_size=$(STACK_SIZE) --heap_size=$(HEAP_SIZE)
+#DCFLAGS pass instance specific defines to the program (see --define in 'PRU Optimizing C/C++ Compiler User's Guide')
+
TARGET=$(GEN_DIR)/$(PROJ_NAME)_$(SLICE).out
MAP=$(GEN_DIR)/$(PROJ_NAME)_$(SLICE).map
SOURCES=$(wildcard *.c)