Windows flashing tools added

This commit is contained in:
2019-06-04 02:55:59 +03:00
parent 8076625704
commit 77221651a1
21 changed files with 15937 additions and 15 deletions

View File

@@ -1,13 +0,0 @@
#!/bin/bash
echo $@
killall avrdude
echo Reset..
#/usr/bin/curl "http://192.168.88.31/console/reset"
echo AvrDude..
#/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -Pnet:192.168.88.31:23 $@
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -Pnet:192.168.88.2:23000 $@
#/usr/bin/curl "http://192.168.8.94/console/reset"
#echo AvrDude..
#/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -Pnet:192.168.8.94:23 $@

View File

@@ -1 +0,0 @@
..\tools\win\tool-avrdude\avrdude -C ../tools/mac/tool-avrdude/avrdude.conf -v -V -P com3 -patmega2560 -cwiring -b115200 -D -Uflash:w:firmware.hex:i

View File

@@ -1 +0,0 @@
../tools/mac/tool-avrdude/avrdude -C ../tools/mac/tool-avrdude/avrdude.conf -v -V -P /dev/cu.usbmodem1411 -patmega2560 -cwiring -b115200 -D -Uflash:w:firmware.hex:i

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,34 @@
@set DIRVERNAME=giveio
@set DIRVERFILE=%DIRVERNAME%.sys
@echo Copying the driver to the windows directory
@echo target file: %WINDIR%\%DIRVERFILE%
@copy %DIRVERFILE% %WINDIR%\%DIRVERFILE%
@echo Remove a running service if needed...
@loaddrv stop %DIRVERNAME% >NUL
@if errorlevel 2 goto install
@loaddrv remove %DIRVERNAME% >NUL
@if errorlevel 1 goto install
:install
@echo Installing Windows NT/2k/XP driver: %DIRVERNAME%
@loaddrv install %DIRVERNAME% %WINDIR%\%DIRVERFILE%
@if errorlevel 3 goto error
@loaddrv start %DIRVERNAME%
@if errorlevel 1 goto error
@loaddrv starttype %DIRVERNAME% auto
@if errorlevel 1 goto error
@echo Success
@goto exit
:error
@echo ERROR: Installation of %DIRVERNAME% failed
:exit

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,11 @@
{
"name": "tool-avrdude",
"description": "AVRDUDE",
"system": [
"windows",
"windows_amd64",
"windows_x86"
],
"url": "http://www.nongnu.org/avrdude/",
"version": "1.60300.190424"
}

View File

@@ -0,0 +1,14 @@
@set DIRVERNAME=giveio
@loaddrv stop %DIRVERNAME%
@if errorlevel 2 goto error
@loaddrv remove %DIRVERNAME%
@if errorlevel 1 goto error
@goto exit
:error
@echo ERROR: Deinstallation of %DIRVERNAME% failed
:exit

View File

@@ -0,0 +1,12 @@
@set DIRVERNAME=giveio
@loaddrv status %DIRVERNAME%
@if errorlevel 1 goto error
@goto exit
:error
@echo ERROR: Status querry for %DIRVERNAME% failed
:exit

Binary file not shown.

View File

@@ -0,0 +1,11 @@
{
"description": "Basic Open Source SAM-BA Application (BOSSA)",
"name": "tool-bossac",
"system": [
"windows",
"windows_amd64",
"windows_x86"
],
"url": "https://github.com/shumatech/BOSSA",
"version": "1.10700.0"
}

Binary file not shown.

View File

@@ -0,0 +1,11 @@
{
"description": "esptool-ck",
"name": "tool-esptool",
"system": [
"windows",
"windows_amd64",
"windows_x86"
],
"url": "https://github.com/igrr/esptool-ck",
"version": "1.413.0"
}

View File

@@ -0,0 +1,11 @@
{
"description": "Tool to build and unpack SPIFFS images",
"name": "tool-mkspiffs",
"system": [
"windows",
"windows_amd64",
"windows_x86"
],
"url": "https://github.com/igrr/mkspiffs",
"version": "2.230.0"
}

View File

@@ -8,6 +8,7 @@
; Please visit documentation for the other options and examples ; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html ; http://docs.platformio.org/page/projectconf.html
[platformio] [platformio]
;home_dir = C:\platformio
src_dir = lighthub src_dir = lighthub
;monitor_speed = 115200 ;monitor_speed = 115200
env_default = env_default =