Skip to content

Commit

Permalink
Added linux / freebsd USBaspHIDUART utility build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
dioannidis committed Jun 5, 2023
1 parent 72465f2 commit f1748a9
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,25 @@ Building USBaspHIDUART from source is very straightforward :

> Note: You'll need [FreePascal] 3.0.4 and higher installed.
( it's always better to build in another directory )

i.e. for Windows ( it's always better to build in another directory )
Windows

```
<pathtocloneddir>\utility\USBaspHIDUART>mkdir build
<pathtocloneddir>\utility\USBaspHIDUART>cd build
<pathtocloneddir>\utility\USBaspHIDUART\build>fpc.exe -MObjFPC -FU. -Fu..\hidapi.pas ..\USBaspHIDUART.pas -o.\USBaspHIDUART.exe
```

Linux \ FreeBSD

```
<pathtocloneddir>\utility\USBaspHIDUART>mkdir build
<pathtocloneddir>\utility\USBaspHIDUART>cd build
<pathtocloneddir>\utility\USBaspHIDUART\build>fpc.exe -MObjFPC -FU. -Fu../ -Fu../hidapi.pas -dUseCThreads ../USBaspHIDUART.pas -o./USBaspHIDUART
```


[a fork by Ralph Doncaster]: <https://github.com/nerdralph/usbasp>
[with USBISP modules]: <https://www.sciencetronics.com/greenphotons/?p=938>
[WCID]: <https://github.com/pbatard/libwdi/wiki/WCID-Devices>
Expand Down

0 comments on commit f1748a9

Please sign in to comment.