Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
NanoSoC Tech
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SoCLabs
NanoSoC Tech
Commits
bff24932
Commit
bff24932
authored
2 years ago
by
dam1n19
Browse files
Options
Downloads
Patches
Plain Diff
Fixed debug tester test
parent
30322c29
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
flows/makefile.software
+8
-8
8 additions, 8 deletions
flows/makefile.software
with
8 additions
and
8 deletions
flows/makefile.software
+
8
−
8
View file @
bff24932
...
@@ -130,7 +130,7 @@ debugtester:
...
@@ -130,7 +130,7 @@ debugtester:
ls
>
/dev/null
;
\
ls
>
/dev/null
;
\
echo
Copy
$(
DEBUGTESTER
)
_le.hex
;
\
echo
Copy
$(
DEBUGTESTER
)
_le.hex
;
\
if
[
-e
$(
DEBUGTESTER
)
_le.hex
]
;
then
\
if
[
-e
$(
DEBUGTESTER
)
_le.hex
]
;
then
\
cp
$(
DEBUGTESTER
)
_le.hex
$(
SIM_
TOP_DIR
)
/debugtester
/
$(
DEBUGTESTER
)
_le.hex
;
\
cp
$(
DEBUGTESTER
)
_le.hex
$(
SIM_
DIR
)
/
$(
DEBUGTESTER
)
_le.hex
;
\
else
\
else
\
while
[
!
-e
$(
DEBUGTESTER
)
_le.hex
]
;
do
\
while
[
!
-e
$(
DEBUGTESTER
)
_le.hex
]
;
do
\
echo
Wait
for
hex file ...
;
\
echo
Wait
for
hex file ...
;
\
...
@@ -138,14 +138,14 @@ debugtester:
...
@@ -138,14 +138,14 @@ debugtester:
sleep
5
;
\
sleep
5
;
\
done
;
\
done
;
\
if
[
-e
$(
DEBUGTESTER
)
_le.hex
]
;
then
\
if
[
-e
$(
DEBUGTESTER
)
_le.hex
]
;
then
\
mkdir
-p
$(
SIM_
TOP_DIR
)
/debugtester
;
\
mkdir
-p
$(
SIM_
DIR
)
;
\
cp
$(
DEBUGTESTER
)
_le.hex
$(
SIM_
TOP_DIR
)
/debugtester
/
$(
DEBUGTESTER
)
_le.hex
;
\
cp
$(
DEBUGTESTER
)
_le.hex
$(
SIM_
DIR
)
/
$(
DEBUGTESTER
)
_le.hex
;
\
fi
;
\
fi
;
\
fi
;
\
fi
;
\
echo
Copy
$(
DEBUGTESTER
)
_be.hex
;
\
echo
Copy
$(
DEBUGTESTER
)
_be.hex
;
\
if
[
-e
$(
DEBUGTESTER
)
_be.hex
]
;
then
\
if
[
-e
$(
DEBUGTESTER
)
_be.hex
]
;
then
\
mkdir
-p
$(
SIM_
TOP_DIR
)
/debugtester
;
\
mkdir
-p
$(
SIM_
DIR
)
;
\
cp
$(
DEBUGTESTER
)
_be.hex
$(
SIM_
TOP_DIR
)
/debugtester
/
$(
DEBUGTESTER
)
_be.hex
;
\
cp
$(
DEBUGTESTER
)
_be.hex
$(
SIM_
DIR
)
/
$(
DEBUGTESTER
)
_be.hex
;
\
else
\
else
\
while
[
!
-e
$(
DEBUGTESTER
)
_be.hex
]
;
do
\
while
[
!
-e
$(
DEBUGTESTER
)
_be.hex
]
;
do
\
echo
Wait
for
hex file ...
;
\
echo
Wait
for
hex file ...
;
\
...
@@ -153,14 +153,14 @@ debugtester:
...
@@ -153,14 +153,14 @@ debugtester:
sleep
5
;
\
sleep
5
;
\
done
;
\
done
;
\
if
[
-e
$(
DEBUGTESTER
)
_be.hex
]
;
then
\
if
[
-e
$(
DEBUGTESTER
)
_be.hex
]
;
then
\
cp
$(
DEBUGTESTER
)
_be.hex
$(
SIM_
TOP_DIR
)
/debugtester
/
$(
DEBUGTESTER
)
_be.hex
;
\
cp
$(
DEBUGTESTER
)
_be.hex
$(
SIM_
DIR
)
/
$(
DEBUGTESTER
)
_be.hex
;
\
fi
;
\
fi
;
\
fi
;
\
fi
;
\
if
[
!
-e
$(
DEBUGTESTER
)
_le.hex
]
&&
[
!
-e
$(
DEBUGTESTER
)
_be.hex
]
;
then
\
if
[
!
-e
$(
DEBUGTESTER
)
_le.hex
]
&&
[
!
-e
$(
DEBUGTESTER
)
_be.hex
]
;
then
\
echo
Problem reading hex file
;
\
echo
Problem reading hex file
;
\
exit
1
;
\
exit
1
;
\
fi
;
\
fi
;
\
cd
$(
SIM_
TOP_DIR
)
/debugtester
)
cd
$(
SIM_
DIR
)
)
# Compile all software including boot ROM
# Compile all software including boot ROM
compile_all_code
:
bootrom debugtester
compile_all_code
:
bootrom debugtester
...
@@ -169,7 +169,7 @@ compile_all_code: bootrom debugtester
...
@@ -169,7 +169,7 @@ compile_all_code: bootrom debugtester
echo
Removing old image.hex
;
\
echo
Removing old image.hex
;
\
rm
-f
image.hex
;
\
rm
-f
image.hex
;
\
$(
MAKE
)
testcode
TESTNAME
=
$$
thistest
;
\
$(
MAKE
)
testcode
TESTNAME
=
$$
thistest
;
\
if
[
-e
$(
SIM_
TOP_
DIR
)
/
$$
thistest/image.hex
]
;
then
\
if
[
-e
$(
SIM_DIR
)
/
$$
thistest/image.hex
]
;
then
\
echo
OK - image.hex created
for
test
$$
thistest
;
\
echo
OK - image.hex created
for
test
$$
thistest
;
\
else
\
else
\
echo
ERROR - image.hex NOT created
for
test
$$
thistest
;
\
echo
ERROR - image.hex NOT created
for
test
$$
thistest
;
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment