| |
projects:pickle [2021/10/30 09:53] – [Example configuration] darron | projects:pickle [2024/07/10 12:34] (current) – external edit 127.0.0.1 |
---|
| |
^Device^Description^Speed^Data^ | ^Device^Description^Speed^Data^ |
|[[projects:pickle#bananapi|BPI]]/[[projects:pickle#orangepi0|OPI]]|Linux AllWinner Banana Pi (A20) and Orange Pi (H2+/H3) GPIO.|Fast|[[:boards:bpi|BPi]] [[:boards:opi0|OPi0]]| | |[[projects:pickle#bananapi|BPI]]/[[projects:pickle#orangepi0|OPI]] (1)|Linux AllWinner Banana Pi (A20) and Orange Pi (H2+/H3) GPIO.|Fast|[[:boards:bpi|BPi]] [[:boards:opi0|OPi0]]| |
|[[projects:pickle#linuxcp2104|CP2104]] |Linux CP2104 GPIO.|Slow|CP210x_VCP_Linux_3.13| | |[[projects:pickle#linuxcp2104|CP2104]] |Linux CP2104 GPIO.|Slow|CP210x_VCP_Linux_3.13| |
|[[projects:pickle#linuxftdi|FTDI]] |Linux FTDI USB bit-bang.|Slow|libftdi or libftdi1| | |[[projects:pickle#linuxftdi|FTDI]] |Linux FTDI USB bit-bang.|Slow|libftdi or libftdi1| |
|[[projects:pickle#linuxmcp23sxx|MCP23SXX]]|Linux MCP23S08/17 SPI.|Slow|Wire as PI/O above| | |[[projects:pickle#linuxmcp23sxx|MCP23SXX]]|Linux MCP23S08/17 SPI.|Slow|Wire as PI/O above| |
|[[projects:pickle#linuxpcf8574|PCF8574]] |Linux PCF8574 I2C.|Slow|Single data I/O| | |[[projects:pickle#linuxpcf8574|PCF8574]] |Linux PCF8574 I2C.|Slow|Single data I/O| |
|[[projects:pickle#rpi1|RPI]] |Linux Raspberry Pi GPIO (Pi0/Pi1/Pi2/Pi3/Pi4).|Fast|[[:boards:rpi|RPi]] [[:boards:chipkitpi|chipKITPi]]| | |SYSFSGPIO|Linux SYSFS|Slow|Single data I/O| |
| |[[projects:pickle#rpi1|RPI]] (2) |Linux Raspberry Pi GPIO (Pi0/Pi1/Pi2/Pi3/Pi4).|Fast|[[:boards:rpi|RPi]] [[:boards:chipkitpi|chipKITPi]]| |
|[[projects:pickle#k8048tty|TTY]] |POSIX Serial bit-bang.|Variable|8250/16550 is fast, USB is slow, Eg. [[:interfaces:cp2102|CP2102]]| | |[[projects:pickle#k8048tty|TTY]] |POSIX Serial bit-bang.|Variable|8250/16550 is fast, USB is slow, Eg. [[:interfaces:cp2102|CP2102]]| |
| |
| (1) Memory mapped I/O on BPI can cause a lock-up on latest kernels. Use GPIO-BB instead.\\ |
| (2) Board auto-detect does not work with newer Kernels. |
| |
<wrap right>[[projects:pickle#pickle_microchip_pic_icsp|TOC]]</wrap>\\ | <wrap right>[[projects:pickle#pickle_microchip_pic_icsp|TOC]]</wrap>\\ |
=== Installation === | === Installation === |
| |
Download the latest archive file [[https://wiki.kewl.org/downloads/pickle-5.01.tgz|pickle-5.01.tgz]] or check out the latest development version here [[http://hg.kewl.org/pub/pickle/archive/tip.tar.gz|tip.tar.gz]]. | Download the latest archive file {{downloads:pickle-5.01.tgz|pickle-5.01.tgz}} or check out the latest development version here [[http://hg.kewl.org/pub/pickle/archive/tip.tar.gz|tip.tar.gz]]. |
| |
Decompress and extract the application source code from the archive. Perform `sudo make && sudo make install', the application will be ready for use. | Decompress and extract the application source code from the archive. Perform `sudo make && sudo make install', the application will be ready for use. |
This has been tested on FreeBSD 5 and 6 yet should work on all FreeBSD variants and other BSD derived systems. It has also been test to work in Linux 2.6 but only compiled for 2.4. | This has been tested on FreeBSD 5 and 6 yet should work on all FreeBSD variants and other BSD derived systems. It has also been test to work in Linux 2.6 but only compiled for 2.4. |
| |
A binary build is available for the RPi [[https://wiki.kewl.org/downloads/pickle-5.02-pi.tgz|pickle-5.02-pi.tgz]]. This pre-built binary must be extracted as root into / as /opt/pickle/. | A binary build is available for the RPi {{downloads:pickle-5.02-pi.tgz|pickle-5.02-pi.tgz}}. This pre-built binary must be extracted as root into / as /opt/pickle/. |
| |
Here are some sample sessions obtaining the source of the application and then compiling and installing it. | Here are some sample sessions obtaining the source of the application and then compiling and installing it. |
rehash | rehash |
cd /root | cd /root |
fetch "https://wiki.kewl.org/downloads/pickle-5.01.tgz" | fetch "https://wiki.kewl.org/_media/downloads:pickle-5.01.tgz" |
tar zxf pickle-5.01.tgz | tar zxf pickle-5.01.tgz |
cd pickle | cd pickle |
| |
<code> | <code> |
wget "https://wiki.kewl.org/downloads/pickle-5.01.tgz" | wget "https://wiki.kewl.org/_media/downloads:pickle-5.01.tgz" |
tar zxf pickle-5.01.tgz | tar zxf pickle-5.01.tgz |
cd pickle | cd pickle |
| |
<code> | <code> |
wget "https://wiki.kewl.org/downloads/pickle-5.01.tgz" | wget "https://wiki.kewl.org/_media/downloads:pickle-5.01.tgz" |
tar zxf pickle-5.01.tgz | tar zxf pickle-5.01.tgz |
cd pickle | cd pickle |