I2C toy code
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

50 行
832 B

  1. #!/bin/bash
  2. # output version
  3. bash printinfo.sh
  4. bash build.sh " $1" "$2 -O2" "$3 IGNORE_SPEED=1" "$4" "$5"
  5. if [ -a testok.txt ] && [ -f testok.txt ]; then
  6. echo
  7. else
  8. echo
  9. echo "Test failed"
  10. exit 1
  11. fi
  12. rm -f testok.txt
  13. bash build.sh " $1" "$2 -Os" "$3 IGNORE_SPEED=1 LTC_SMALL=1" "$4" "$5"
  14. if [ -a testok.txt ] && [ -f testok.txt ]; then
  15. echo
  16. else
  17. echo
  18. echo "Test failed"
  19. exit 1
  20. fi
  21. rm -f testok.txt
  22. bash build.sh " $1" "$2" "$3 LTC_DEBUG=1" "$4" "$5"
  23. if [ -a testok.txt ] && [ -f testok.txt ]; then
  24. echo
  25. else
  26. echo
  27. echo "Test failed"
  28. exit 1
  29. fi
  30. rm -f testok.txt
  31. bash build.sh " $1" "$2" "$3" "$4" "$5"
  32. if [ -a testok.txt ] && [ -f testok.txt ]; then
  33. echo
  34. else
  35. echo
  36. echo "Test failed"
  37. exit 1
  38. fi
  39. exit 0
  40. # ref: $Format:%D$
  41. # git commit: $Format:%H$
  42. # commit time: $Format:%ai$