Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
regression-suites
Commits
bc089f58
Commit
bc089f58
authored
Apr 20, 2018
by
Maxime Perrotin
Browse files
Update Blink demo for crazyflie
parent
2cac86ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Demo_Crazyflie_Blink/user_init_pre.sh
View file @
bc089f58
#!/bin/bash -e
if
[
!
-d
Certyflie
]
then
git clone
--recursive
https://github.com/adacore/certyflie Certyflie
else
cd
Certyflie
&&
git pull
cd
..
fi
[
-z
"
$ADA_PROJECT_PATH
"
]
&&
\
export
ADA_PROJECT_PATH
=
$
HOME
/GitHub
/Certyflie/Ada_Drivers_Library/boards
export
ADA_PROJECT_PATH
=
$
PDW
/Certyflie/Ada_Drivers_Library/boards
/crazyflie
# The following will add to ADA_INCLUDE_PATH
ORCHESTRATOR_OPTIONS+
=
"
\
--with-extra-Ada-code cortex_m_partition:
$HOME
/GitHub/Certyflie/types
\
--with-extra-Ada-code cortex_m_partition:
$HOME
/GitHub/Certyflie/modules
\
--with-extra-Ada-code cortex_m_partition:
$HOME
/GitHub/Certyflie/utils
\
--with-extra-Ada-code cortex_m_partition:
$HOME
/GitHub/Certyflie/lib
\
--with-extra-Ada-code cortex_m_partition:
$HOME
/GitHub/Certyflie/hal
\
--with-extra-Ada-code cortex_m_partition:
$HOME
/GitHub/Certyflie/drivers
\
--with-extra-Ada-code cortex_m_partition:
$HOME
/GitHub/Certyflie/modules/mahony
\
--with-extra-Ada-code cortex_m_partition:
$HOME
/GitHub/Certyflie/config "
--with-extra-Ada-code cortex_m_partition:
$PWD
/Certyflie/src
\
--with-extra-Ada-code cortex_m_partition:
$PWD
/Certyflie/src/mahony "
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment