Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
orchestrator
Commits
5bcdd5b1
Commit
5bcdd5b1
authored
Jul 27, 2018
by
Maxime Perrotin
Browse files
Make sure to have the right fp word size
parent
da4ca654
Changes
1
Hide whitespace changes
Inline
Side-by-side
orchestrator/taste-orchestrator.py
View file @
5bcdd5b1
...
...
@@ -354,6 +354,10 @@ def CalculateCFLAGS(node, withPOHIC=True):
result
+=
" -DNDEBUG "
# Not supported by AdaCore's CertyFlie...
# STM32 CPUs do not not support double precision, make sure ASN1SCC uses floats
result
+=
" -DFP_WORD_SIZE=4 "
else
:
# For heterogeneous systems (STM32+Native Linux) we must enforce size 8 on Native side
# since the compiler is called once and it may have set --fp-word-size 4
result
+=
" -DFP_WORD_SIZE=8 "
for
binary
,
listOfFunctions
in
g_distributionNodes
.
items
():
key
=
re
.
sub
(
r
'_obj\d+$'
,
''
,
binary
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment