mirror of
https://github.com/anklimov/lighthub
synced 2025-12-06 19:59:50 +03:00
Windows flashing tools added
This commit is contained in:
@@ -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 $@
|
|
||||||
@@ -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
|
|
||||||
@@ -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
|
|
||||||
15832
compiled/tools/win/tool-avrdude/avrdude.conf
Normal file
15832
compiled/tools/win/tool-avrdude/avrdude.conf
Normal file
File diff suppressed because it is too large
Load Diff
BIN
compiled/tools/win/tool-avrdude/avrdude.exe
Normal file
BIN
compiled/tools/win/tool-avrdude/avrdude.exe
Normal file
Binary file not shown.
BIN
compiled/tools/win/tool-avrdude/giveio.sys
Normal file
BIN
compiled/tools/win/tool-avrdude/giveio.sys
Normal file
Binary file not shown.
34
compiled/tools/win/tool-avrdude/install_giveio.bat
Normal file
34
compiled/tools/win/tool-avrdude/install_giveio.bat
Normal 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
|
||||||
|
|
||||||
BIN
compiled/tools/win/tool-avrdude/libusb0.dll
Normal file
BIN
compiled/tools/win/tool-avrdude/libusb0.dll
Normal file
Binary file not shown.
BIN
compiled/tools/win/tool-avrdude/loaddrv.exe
Normal file
BIN
compiled/tools/win/tool-avrdude/loaddrv.exe
Normal file
Binary file not shown.
11
compiled/tools/win/tool-avrdude/package.json
Normal file
11
compiled/tools/win/tool-avrdude/package.json
Normal 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"
|
||||||
|
}
|
||||||
14
compiled/tools/win/tool-avrdude/remove_giveio.bat
Normal file
14
compiled/tools/win/tool-avrdude/remove_giveio.bat
Normal 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
|
||||||
12
compiled/tools/win/tool-avrdude/status_giveio.bat
Normal file
12
compiled/tools/win/tool-avrdude/status_giveio.bat
Normal 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
|
||||||
|
|
||||||
BIN
compiled/tools/win/tool-bossac/bossac.exe
Normal file
BIN
compiled/tools/win/tool-bossac/bossac.exe
Normal file
Binary file not shown.
11
compiled/tools/win/tool-bossac/package.json
Normal file
11
compiled/tools/win/tool-bossac/package.json
Normal 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"
|
||||||
|
}
|
||||||
BIN
compiled/tools/win/tool-esptool/esptool.exe
Normal file
BIN
compiled/tools/win/tool-esptool/esptool.exe
Normal file
Binary file not shown.
11
compiled/tools/win/tool-esptool/package.json
Normal file
11
compiled/tools/win/tool-esptool/package.json
Normal 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"
|
||||||
|
}
|
||||||
Binary file not shown.
BIN
compiled/tools/win/tool-mkspiffs/mkspiffs_espressif32_espidf.exe
Normal file
BIN
compiled/tools/win/tool-mkspiffs/mkspiffs_espressif32_espidf.exe
Normal file
Binary file not shown.
Binary file not shown.
11
compiled/tools/win/tool-mkspiffs/package.json
Normal file
11
compiled/tools/win/tool-mkspiffs/package.json
Normal 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"
|
||||||
|
}
|
||||||
@@ -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 =
|
||||||
|
|||||||
Reference in New Issue
Block a user