Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
7f954d4
This is a .arduino15/package/ board package (ATTinyCore). As of now (…
FlashStopFall Feb 3, 2026
c538d48
Revise README for 2026 update and additional context
FlashStopFall Feb 3, 2026
4e55aa8
Update README with link to original ATTinyCore repo
FlashStopFall Feb 3, 2026
31b0b50
Update README with additional resource links
FlashStopFall Feb 3, 2026
9b9c9d7
added DigisparkExamplePrograms folder (used to test DigiUSB)
FlashStopFall Feb 3, 2026
ba3b8cf
Merge branch 'v2.0.0-devThis-is-the-head-submit-PRs-against-this' of …
FlashStopFall Feb 3, 2026
7a13c31
removed DigisparkExamplePrograms
FlashStopFall Feb 3, 2026
d0695a4
Added DigisparkExamplePrograms folder
FlashStopFall Feb 3, 2026
32f0f96
added micronucleus (linux amd64)
FlashStopFall Feb 3, 2026
f707721
Update README to include credit to felias-fogg
FlashStopFall Feb 3, 2026
d8bc3c6
add package_attinycore-2026_index.json
FlashStopFall Feb 3, 2026
9d9887b
fixed package_attiny-2026_index.json
FlashStopFall Feb 3, 2026
c0df0d9
fix package_attiny-2026_index.json
FlashStopFall Feb 3, 2026
6129c31
Update README with board package manager instructions
FlashStopFall Feb 3, 2026
9fbbd6d
update package_index.json
FlashStopFall Feb 3, 2026
dba28b4
Merge branch 'v2.0.0-devThis-is-the-head-submit-PRs-against-this' of …
FlashStopFall Feb 3, 2026
4c935bd
fixed avrdude version
FlashStopFall Feb 3, 2026
6456fd6
update package_index.json to use avrdude 8.1
FlashStopFall Feb 3, 2026
855a935
Enhance README with DigiSpark 2026 support details
FlashStopFall Feb 3, 2026
237d630
add DigiSpark (ATTiny85) SPI-slave example. Should work with other AT…
FlashStopFall Feb 3, 2026
2af4cbc
modified package_index.json, added example code in libraries (Digispa…
FlashStopFall Feb 3, 2026
4164617
fixed typo in package_index.json
FlashStopFall Feb 3, 2026
d4ddb02
fixed DigisparkSPI example library
FlashStopFall Feb 3, 2026
addea73
update package_index.json
FlashStopFall Feb 3, 2026
d40f56f
added working examples for every SPI configuration.
FlashStopFall Feb 4, 2026
ca39f51
updated package_index.json for v2.0.1-ian.2 release.
FlashStopFall Feb 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
;!@Install@!UTF-8!
RunProgram="dpscat.exe"
RunProgram="x86:dpinst32.exe"
RunProgram="x64:dpinst64.exe"
GUIMode="2"
;!@InstallEnd@!
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
/* Auto-generated By libusbK InfWizard
*
* DEVICE DRIVER CLIENT INSTALLER By Travis Lee Robinson (libusbdotnet@gmail.com)
*
* Summary:
* - libusbK client installers combine proven LZMA sfx technology with a professional driver installation tool
* creating a tightly packed and feature rich solution for end-user driver installations.
*
* FACTS:
* - Packaged in a modified LZMA sfx module. See: http://7zsfx.info/en. This module is highly configurable
* with installer-like options.
* - Uses dpinst.exe, by Microsoft. Dpinst.exe is a robust multi-language driver installation utility. This
* utility has a set of configurable wizard screens to ease end-user installations. Features also include:
* - Install multiple .inf files at once, each can contain multiple devices with multiple hardware
* identifiers.
* - Uninstall via add/remove programs. (removes from driver-store)
* - Silent/wizardless operation modes.
* - Simplistic xml-based configuration. (dpinst.xml)
* - Customizable EULA.
* - For a complete list of dpinst.exe features see:
* http://msdn.microsoft.com/en-us/library/windows/hardware/ff553383%28v=vs.85%29.aspx
*
* ORDER OF OPERATIONS (InstallDriver.exe - default config):
* -# End-user launches InstallDriver.exe. If not already running with elevated permssions, the user will
* immediately be prompted with a UAC warning:
* http://msdn.microsoft.com/en-us/library/windows/desktop/aa511445.aspx If you do not sign
* InstallDriver.exe with a code signing certificate, the UAC prompt will display "Unknown Name" and
* "Unknown Publisher" in the message box. Purchasing a cheap code signing certificate will allow you to
* set these values.
* -# SFX module:Extracts driver setup files to a temporary folder.
* -# SFX module:Runs dpscat.exe. This utility creates self signed catalog files from .inf files and the
* binaries they reference. These signed catalog files prevent windows from prompting the user with an
* unverified publisher warning: http://www.codeproject.com/KB/system/wiisensor/wiisensor10.png
* -# SFX module:Runs dpinst.exe. Device drivers are pre-installed. If the device has not been connected it
* will be available for use upon first connection. All devices known to windows matching your hardware IDs
* will be flagged for re-install. If the device is currently connected, drivers are immediately installed,
* the device is retarted and available immediately.
* -# SFX module:On wizard exit, removes the temporary extraction folder.
*
* ORDER OF OPERATIONS (re-pack-files.cmd - default config):
* -# The following files are compressed into a normal LZMA .7z file.
* - All ".inf" files in the current folder
* - All files and folders starting with "dpinst" in the current folder.
* - All files matching "dpscat.*" in the current folder.
* - All files and folders in the x86, amd64, and data sub-folders. (recursive)
* -# The SFX module, SFX config file and .7z file are merged together using a binary copy.
* eg: COPY /B sfx_module+sfx_config+files.7z installer.exe
*
* \note Run the "re-pack-files.cmd" batch file after modifying any part of the package.
*
* CUSTOMIZATION:
* - Customizing the SFX Module:
* - SFX customization is done in the "7zDP_LZMA.cfg" file.
* - See http://7zsfx.info/en/
* - Customizing the driver installation:
* - dpinst.exe customization is done in the "dpinst.xml" file.
* - See http://msdn.microsoft.com/en-us/library/windows/hardware/ff553383%28v=vs.85%29.aspx
* - Other customization:
* - .inf file can be hand modified as needed.
* - Files can be added or removed as needed.
* - Icon and resource text can be changed with a standard resource editor such as ResourcHacker:
* http://www.angusj.com/resourcehacker/
*
*/
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
19 changes: 19 additions & 0 deletions DigisparkExamplePrograms/C++/DigiUSB Windows Driver/dpinst.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!--
Summary of the DPInst XML Elements:
http://msdn.microsoft.com/en-us/library/windows/hardware/ff553383%28v=vs.85%29.aspx

Enabling Language Customization:
http://msdn.microsoft.com/en-us/library/windows/hardware/ff544886%28v=vs.85%29.aspx

Customizing the Items That Appear on the Wizard Pages:
http://msdn.microsoft.com/en-us/library/windows/hardware/ff540265%28v=vs.85%29.aspx

Dpinst.xml Example:
http://msdn.microsoft.com/en-us/library/windows/hardware/ff544778%28v=vs.85%29.aspx
-->

<?xml version="1.0"?>
<dpinst>
<forceIfDriverIsNotBetter>1</forceIfDriverIsNotBetter>
<installAllOrNone>1</installAllOrNone>
</dpinst>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
@ECHO OFF
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION

SET FILES_TO_PACK=*.inf dpinst* dpscat.* .\data* .\x86* .\amd64*
SET SFX_MODULE=7zDP_LZMA.sfx
SET SFX_MODULE_CFG=7zDP_LZMA.cfg
SET INSTALL_DRIVER_EXE=InstallDriver.exe
SET DRIVER_FILES_7Z=_DriverFiles.7z
SET 7Z_SWITCHES=-air0 -mx

SET CMD_EXIT_CODE=0

IF EXIST "!7ZA_EXE!" (SET 7Z_RUN="!7ZA_EXE!") ELSE CALL :Find7Zip 7z.exe 7za.exe 7zan.exe
IF !7Z_RUN! EQU "" (
ECHO 7Zip is required to re-pack this installer.
ECHO 1] Download and install 7Zip. http://www.7-zip.org/
ECHO 2] Add the bin folder to the PATH environment variable.
ECHO "Control Panel->System->Advanced->Environment Variables..."
SET CMD_EXIT_CODE=1
GOTO Error
)

IF EXIST "!INSTALL_DRIVER_EXE!" DEL /Q "!INSTALL_DRIVER_EXE!"
IF NOT "!ERRORLEVEL!" EQU "0" (
ECHO Access denied or file in-use "!INSTALL_DRIVER_EXE!"
SET CMD_EXIT_CODE=2
GOTO Error
)

IF EXIST "!DRIVER_FILES_7Z!" DEL /Q "!DRIVER_FILES_7Z!"
IF NOT "!ERRORLEVEL!" EQU "0" (
ECHO Access denied or file in-use "!DRIVER_FILES_7Z!"
SET CMD_EXIT_CODE=3
GOTO Error
)

!7Z_RUN! a "!DRIVER_FILES_7Z!" !FILES_TO_PACK! !7Z_SWITCHES!
IF NOT "!ERRORLEVEL!" EQU "0" (
ECHO Failed re-packing. Check your 7Zip installation at
ECHO !7Z_RUN!
SET CMD_EXIT_CODE=4
GOTO Error
)

COPY /B "!SFX_MODULE!"+"!SFX_MODULE_CFG!"+"!DRIVER_FILES_7Z!" "!INSTALL_DRIVER_EXE!"

ECHO.
ECHO Done.
ECHO "!INSTALL_DRIVER_EXE!" re-packed!
GOTO :EOF

:Find7Zip
SET 7Z_RUN="%~$PATH:1"
IF NOT !7Z_RUN! EQU "" (
ECHO 7Zip found at: !7Z_RUN!
SET 7Z_RUN="%~1"
GOTO :EOF
)
SHIFT /1
IF "%~1" EQU "" GOTO :EOF
GOTO Find7Zip
GOTO :EOF

:Error
IF NOT DEFINED NO_REPACK_ERROR_WAIT PAUSE
EXIT %CMD_EXIT_CODE%
GOTO :EOF
Binary file not shown.
Binary file not shown.
Binary file not shown.
32 changes: 32 additions & 0 deletions DigisparkExamplePrograms/C++/monitor/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@

ifeq ($(shell uname), Linux)
USBFLAGS = `libusb-config --cflags`
USBLIBS = `libusb-config --libs` -lncurses
EXE_SUFFIX =
OSFLAG = -D LINUX
else ifeq ($(shell uname), Darwin)
USBFLAGS = `libusb-config --cflags`
USBLIBS = `libusb-config --libs` -lcurses
EXE_SUFFIX =
OSFLAG = -D MAC_OS -D_DARWIN_USE_64_BIT_INODE=1
else
USBFLAGS = -I C:\MinGW\include
USBLIBS = -L C:\MinGW\lib -lusb -lpdcurses
EXE_SUFFIX = .exe
OSFLAG = -D WIN -static-libstdc++ -static-libgcc
endif

LIBS = $(USBLIBS)
CFLAGS = $(USBFLAGS) $(LIBS) -O -g $(OSFLAG)

CC= g++
PROGRAM= digiusb$(EXE_SUFFIX)
SOURCE= digiusb.cpp

all: $(PROGRAM)

$(PROGRAM): $(SOURCE)
$(CC) $(CFLAGS) -o $(PROGRAM) $(SOURCE) $(USBLIBS)

clean:
rm -f $(PROGRAM) *.o
Loading