Commit bc089f58 authored by Maxime Perrotin's avatar Maxime Perrotin

Update Blink demo for crazyflie

parent 2cac86ed
#!/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 "
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment