Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:gpio-bb [2022/08/01 14:04] – [OpenWRT] darron | projects:gpio-bb [2024/05/16 10:54] (current) – [GPIO bit-bang driver for Linux] darron | ||
---|---|---|---|
Line 6: | Line 6: | ||
GPIO bit-bang is well suited to PICMicro ICSP but not exclusively. | GPIO bit-bang is well suited to PICMicro ICSP but not exclusively. | ||
+ | |||
+ | WARNING: The underlying kernel API this module uses may have been removed from your running kernel. | ||
+ | === Build === | ||
+ | |||
+ | This module is built out of kernel and depends on the header files and tools found locally or may be cross compiled. | ||
+ | |||
+ | For cross compilation, | ||
+ | |||
+ | If the linux source directory was cross compiled and then copied to the target system to build the module, `scripts.sh' | ||
+ | |||
+ | |||
=== Raspberry Pi OS=== | === Raspberry Pi OS=== | ||
Line 29: | Line 40: | ||
</ | </ | ||
+ | === Armbian === | ||
+ | |||
+ | ==BPI== | ||
+ | |||
+ | < | ||
+ | apt install linux-headers-current-sunxi | ||
+ | hg clone http:// | ||
+ | cd gpio-bb | ||
+ | make | ||
+ | make install | ||
+ | </ | ||
=== Configuration === | === Configuration === | ||
Line 45: | Line 67: | ||
[[projects: | [[projects: | ||
[[projects: | [[projects: | ||
- | |||
- | === Raspbian for Raspberry Pi (obsolete) === | ||
- | [[projects: | ||
=== Troubleshooting === | === Troubleshooting === | ||
- | gpio-bb uses the kernel API to access pins, this API demands | + | gpio-bb uses the kernel API to access pins, this API demands exclusive access to a pin per process. This means you cannot use gpio-bb and sysfs export simultaneously for a single pin. |
- | exclusive access to a pin per process. This means you cannot use | + | |
- | gpio-bb and sysfs export simultaneously for a single pin. | + | |
=== Resources === | === Resources === | ||
[[https:// | [[https:// |