Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jason Kridner
committed
Jul 1, 2013
1 parent
e363612
commit 04d65d7
Showing
19 changed files
with
513 additions
and
50 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file modified
BIN
+142 KB
(190%)
Documentation/02-AM18x_PRUSS_to_AM335x_PRU-ICSS_Software_Migration_Guide.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,27 +1,26 @@ | |||
-include DIRS | -include DIRS | ||
|
|
||
CROSS_COMPILE?=arm-arago-linux-gnueabi- | CROSS_COMPILE?=arm-arago-linux-gnueabi- | ||
LIBDIR_APP_LOADER?=../../app_loader/lib | LIBDIR_APP_LOADER?=../../app_loader/lib | ||
INCDIR_APP_LOADER?=../../app_loader/include | INCDIR_APP_LOADER?=../../app_loader/include | ||
BINDIR_APPLICATIONS?=../bin | BINDIR_APPLICATIONS?=../bin | ||
BINDIR_FW?=bin | BINDIR_FW?=bin | ||
PASM?=../utils/pasm | PASM?=../utils/pasm_2 | ||
|
|
||
all: | all: | ||
# Make PRU example applications | # Make PRU example applications | ||
mkdir -p bin | mkdir -p bin | ||
|
|
||
for dir in $(APP_DIRS); do make -C $$dir CROSS_COMPILE="${CROSS_COMPILE}" LIBDIR_APP_LOADER="${LIBDIR_APP_LOADER}" LIBDIR_EDMA_DRIVER="${LIBDIR_EDMA_DRIVER}" INCDIR_APP_LOADER="${INCDIR_APP_LOADER}" INCDIR_EDMA_DRIVER="${INCDIR_EDMA_DRIVER}" BINDIR="${BINDIR_APPLICATIONS}"; done | for dir in $(APP_DIRS); do make -C $$dir CROSS_COMPILE="${CROSS_COMPILE}" LIBDIR_APP_LOADER="${LIBDIR_APP_LOADER}" LIBDIR_EDMA_DRIVER="${LIBDIR_EDMA_DRIVER}" INCDIR_APP_LOADER="${INCDIR_APP_LOADER}" INCDIR_EDMA_DRIVER="${INCDIR_EDMA_DRIVER}" BINDIR="${BINDIR_APPLICATIONS}"; done | ||
|
|
||
# Pass PRU assembly code for each example through assembler | # Pass PRU assembly code for each example through assembler | ||
for a_file in ${ASSEM_FILES} ; \ | for a_file in ${ASSEM_FILES} ; \ | ||
do \ | do \ | ||
${PASM} -b $$a_file ; \ | ${PASM} -V3 -b $$a_file ; \ | ||
done ; \ | done ; \ | ||
mv *.bin ${BINDIR_FW} | mv *.bin ${BINDIR_FW} | ||
|
|
||
clean: | clean: | ||
for dir in $(APP_DIRS); do make -C $$dir clean LIBDIR_APP_LOADER="${LIBDIR_APP_LOADER}" LIBDIR_EDMA_DRIVER="${LIBDIR_EDMA_DRIVER}" INCDIR_APP_LOADER="${INCDIR_APP_LOADER}" INCDIR_EDMA_DRIVER="${INCDIR_EDMA_DRIVER}" BINDIR="${BINDIR_APPLICATIONS}"; done | for dir in $(APP_DIRS); do make -C $$dir clean LIBDIR_APP_LOADER="${LIBDIR_APP_LOADER}" LIBDIR_EDMA_DRIVER="${LIBDIR_EDMA_DRIVER}" INCDIR_APP_LOADER="${INCDIR_APP_LOADER}" INCDIR_EDMA_DRIVER="${INCDIR_EDMA_DRIVER}" BINDIR="${BINDIR_APPLICATIONS}"; done | ||
|
|
||
for bin_file in ${BIN_FILES}; do rm -fr ${BINDIR_FW}/$$bin_file; done | for bin_file in ${BIN_FILES}; do rm -fr ${BINDIR_FW}/$$bin_file; done | ||
|
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,4 +1,3 @@ | |||
cl -W3 -D_CRT_SECURE_NO_WARNINGS pasm.c pasmpp.c pasmexp.c pasmop.c pasmdot.c pasmstruct.c pasmmacro.c /Febin\pasm.exe | cl -W3 -D_CRT_SECURE_NO_WARNINGS pasm.c pasmpp.c pasmexp.c pasmop.c pasmdot.c pasmstruct.c pasmmacro.c /Fe..\pasm.exe | ||
del *.obj | del *.obj | ||
|
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.