Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
d7020e_srp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
d7020e
d7020e_srp
Commits
0230e65e
Commit
0230e65e
authored
8 years ago
by
Henrik Tjäder
Browse files
Options
Downloads
Patches
Plain Diff
All output goes into the output folder
parent
c285c2a3
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+2
-2
2 additions, 2 deletions
Makefile
README.md
+7
-0
7 additions, 0 deletions
README.md
klee_stm_gdb.py
+6
-0
6 additions, 0 deletions
klee_stm_gdb.py
with
15 additions
and
2 deletions
Makefile
+
2
−
2
View file @
0230e65e
...
...
@@ -223,13 +223,13 @@ debug: $(EXECUTABLE)
-iex
'mon halt'
$<
klee
:
buildrepo $(EXECUTABLE)
klee
-emit-all-errors
$(
IROUT
)
mkdir
-p
output
;
cp
$(
IROUT
)
output/
;
cd
output
;
klee
-emit-all-errors
$(
IROUT
)
;
cd
..
run
:
buildrepo $(EXECUTABLE)
arm-none-eabi-gdb
-q
-x
klee_stm_gdb.py
$(
EXECUTABLE
)
bench
:
buildrepo $(EXECUTABLE)
make clean
;
make
;
make klee
;
make clean
;
make wcet
;
make run
;
python profiling_db_parser.py klee_profiling.db
make clean
;
make
;
make klee
;
make clean
;
make wcet
;
make run
;
python profiling_db_parser.py
output/
klee_profiling.db
define
make-repo
for
dir
in
$(SRCDIRS);
\
...
...
This diff is collapsed.
Click to expand it.
README.md
+
7
−
0
View file @
0230e65e
...
...
@@ -87,6 +87,13 @@ causes interrupts is also wonky, e.g., when sigle stepping over a `JOB_REQUEST`
the pend bit is not correctly handeled (and the corresponding interrupt not taken). These problems are present for this project only,
but general to the gdb debug integration, so be aware.
If not using Eclipse the way to start openocd is by invoking:
```
openocd -f st_nuclie_f4_itm.cfg
```
in a separate terminal.
## Problems
If openocd fails to start, one possible error is that the
`/tmp/swo.log`
file has been locked to a bad state. Actually its not an
...
...
This diff is collapsed.
Click to expand it.
klee_stm_gdb.py
+
6
−
0
View file @
0230e65e
...
...
@@ -17,6 +17,12 @@ object_index_current = 0
object_index_max
=
100
database_name
=
"
klee_profiling
"
path
=
"
output
"
"""
Create an folder named output if it doesn
'
t exist
"""
os
.
makedirs
(
path
,
exist_ok
=
True
)
"""
Enter the output folder
"""
os
.
chdir
(
path
)
"""
Check if a database exists, otherwise create one
"""
...
...
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