Mooved the run.sh to the higest level

redesign_interrupts
Kerem Yollu 3 years ago
parent 322e33aa5b
commit b3a167dac3

@ -4,7 +4,6 @@
#include "usart.h"
#include "ascii.h"
#include "timer.h"
#include "spi.h"
int main(int argc, char *argv[])
{

@ -1,16 +1,17 @@
#!/bin/bash
CSL_TO_USE=$1
CSL_LIST=$(ls -d -- ./csl)
CSL_LIST=$(ls -d -- ked/csl)
FILE=../build
cd ked
if [ -z "$CSL_TO_USE" ];then
echo "Please enter a CSL"
cd csl
echo Curretnly awailable CSL are :
for d in */ ; do #Cheking the directroy to print files
for d in */ ; do #Cheking the directory to print files
if [ "$d" != "csl/" ];then #Exept csl/
echo -e "\t|--> $d" | grep -oP '.*?(?=\/)' #And remove the finel "/"
fi
@ -59,6 +60,4 @@ else
echo "+--------------------------------------+"
echo -e "\e[32m"
fi
cd ..
fi
Loading…
Cancel
Save