Added gitignore to prevent osx system files being included, and fixed issues in serial_upload for osx

This commit is contained in:
Roger Clark 2015-01-20 21:30:38 +11:00
parent 078cf1c623
commit 39d28ca13d
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.DS_store

2
tools/macosx/serial_upload Normal file → Executable file
View File

@ -1,2 +1,2 @@
#!/bin/bash
stm32flash/stm32flash -g 0x8000000 -b 230400 -w "$4" "$1"
$(dirname $0)/stm32flash/stm32flash -g 0x8000000 -b 230400 -w "$4" /dev/"$1"