Blame view

RIOT/boards/arduino-due/dist/flash.sh 459 Bytes
fb11e647   vrobic   reseau statique a...
1
2
3
4
5
6
7
8
9
10
11
  #!/bin/sh
  
  if [ `uname` = "Linux" ]; then
      stty -F "${PORT}" raw ispeed 1200 ospeed 1200 cs8 -cstopb ignpar eol 255 eof 255
      "${RIOTBOARD}"/"${BOARD}"/dist/bossac  -R -e -w -v -b "${HEXFILE}"
  elif [ `uname` = "Darwin" ]; then
      stty -f ${PORT} raw ispeed 1200 ospeed 1200 cs8 -cstopb ignpar eol 255 eof 255
      "${RIOTBOARD}"/"${BOARD}"/dist/bossac_osx -R -e -w -v -b "${HEXFILE}"
  else
      echo "CAUTION: No flash tool for your host system found!"
  fi