Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.vscode/tasks.json
.vscode/c_cpp_properties.json
.vscode/launch.json
17 changes: 17 additions & 0 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/AIOUSB/lib/*",
"/usr/include/libusb-1.0"
],
"defines": [],
"compilerPath": "/usr/bin/gcc",
"cStandard": "gnu11",
"cppStandard": "gnu++14",
"intelliSenseMode": "clang-x64"
}
],
"version": 4
}
29 changes: 29 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "gcc-7 - Build and debug active file",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}/${fileBasenameNoExtension}",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "C/C++: gcc-7 build active file",
"miDebuggerPath": "/usr/bin/gdb"
}
]
}
26 changes: 26 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"tasks": [
{
"type": "shell",
"label": "C/C++: gcc-7 build active file",
"command": "/usr/bin/gcc-7",
"args": [
"-g",
"${file}",
"-o",
"${fileDirname}/${fileBasenameNoExtension}"
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
}
}
],
"version": "2.0.0"
}
216 changes: 108 additions & 108 deletions AIOUSB/Firmware/10-acces_usb.alt.rules

Large diffs are not rendered by default.

249 changes: 117 additions & 132 deletions AIOUSB/Firmware/10-acces_usb.rules

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions AIOUSB/Firmware/README.doc
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ seconds before attempting to make all ACCES USB devices on the system usable by
than root. This script must be run with root privileges.

\code{.sh}
fxload -t fx2 -D /dev/bus/usb/008/006 -I /usr/share/usb/USB-AI16-16.hex
fxload -t fx2lp -D /dev/bus/usb/008/006 -I /usr/share/usb/USB-AI16-16.hex
chmod 0666 /dev/bus/usb/008/007
\endcode

Expand Down Expand Up @@ -167,7 +167,7 @@ The table below summarizes the files and utilities required for automatic and ma
<td colspan="3">
<p>1. In order to upload firmware to USB devices you must have the <span class="filename">fxload</span> package
installed on your system. To check if you have <span class="filename">fxload</span> installed on your system simply
type <span class="computer bold italic">fxload -V</span> or <span class="computer bold italic">/sbin/fxload -V</span>
type <span class="computer bold italic">fxload -V</span> or <span class="computer bold italic">/etc/bin/fxload -V</span>
on the command line. If <span class="filename">fxload</span> is installed on your system you will see version
information displayed on your screen. If <span class="filename">fxload</span> is not installed on your system you
can find more information at
Expand All @@ -181,4 +181,4 @@ The table below summarizes the files and utilities required for automatic and ma
</tr>
</table>

*/
*/
Loading