mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-12-13 19:13:14 +00:00
Arduino IDE Board Updates (#142)
* Fix macOS serial upload * Add verification switch to serial upload scripts * Fix do_version.bat Allow parentheses and other special characters in the sketch path * Fix AVR board linker flags * Switch to new STM32 dual bootloader Single bootloader for flash via USB and from TX * Increment board versions * Add new board archive files and add new versions to JSON file
This commit is contained in:
@@ -6,8 +6,8 @@ file=$3
|
||||
uname -m | grep "x86_64" 2>&1 1>/dev/null
|
||||
if [ $? -eq 0 ]; then
|
||||
# Do 64-bit stuff
|
||||
$(dirname $0)/../linux64/stm32flash/stm32flash -g $addr -b 57600 -w "$file" /dev/"$port"
|
||||
$(dirname $0)/../linux64/stm32flash/stm32flash -v -g $addr -b 57600 -w "$file" /dev/"$port"
|
||||
else
|
||||
# Do 32-bit stuff
|
||||
$(dirname $0)/stm32flash/stm32flash -g $addr -b 57600 -w "$file" /dev/"$port"
|
||||
$(dirname $0)/stm32flash/stm32flash -v -g $addr -b 57600 -w "$file" /dev/"$port"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user