Ian Jackson
95a292824f
Build system: Add missing set -e
So that shell scripts do not blunder on after errors.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
9 years ago
IsaoNakamura
e7ca03ac8e
delete duplicated FSEL_ALT0 definition.
9 years ago
Gordon Henderson
5edd177112
Updated the board types to cope with an 0014 version in the new compute module
9 years ago
Gordon Henderson
72b2af231b
OK. So the Pi v2 I have had older firmware and it wasn't quite
the same as everyone elses.
This is an interim version which will work on both Pi v1 and v2
boards until I have a bit more time to implement the correct
stuff for v2.
9 years ago
Gordon Henderson
7cb817498e
OK, so an easier way to manage versions.
Debian package creation - crude, probably violated the Debian policys
but it seems to work just fine...
some other changes.
9 years ago
Gordon Henderson
eb1fc2c920
Updates to the build process
Moved the extensions into wiringPi from gpio and made it more general purpose
more so that RTB and anything else can dymanically add devices
into wiringPi.
Changes to GPIO to updates for the SPI and I2C module loads
Added gpio unload for SPI and I2C.
Added a new way to setup SPI - by passing the mode in.
Support for the new Pi2 thing too
9 years ago
Gordon Henderson
51fff3cab9
Updated a technicality in softPwm, and added a suggested memset to zero
for the SPI code - it's mentioned in spidev.h but not used in the actual
kernel documentation example spi_test.c program )-:
9 years ago
Gordon Henderson
d42e831089
Updated versions for new maker - mbest
10 years ago
Gordon Henderson
0a9fdeb29d
Minor changes to the PiGlow code - got the orange & yellow the right way
round at last..
Updated for the 0x0012 board revision on the new A+
10 years ago
Gordon Henderson
df45388f64
Fixed a bug in the gpio readall command on model B's (caused by a side-effect
of changing it for the B+)
Aded a gpio command: usbp hi/low - to change the usb power
10 years ago
Gordon Henderson
dca8a19fb8
Updated mostly to the gpio readall command to support the Raspberry Pi B+
10 years ago
Gordon Henderson
0150b02478
Fixed a small bug in the ISR code where it was looking for the gpio program.
Should now work correctly on Arch, or other systems that install gpio as
/usr/bin/gpio.
10 years ago
Gordon Henderson
7cbb8865c8
Bumped version to 2.15
10 years ago
Gordon Henderson
6fba403b2f
Updates for the Raspnerry Pi Compute Module - changes to the gpio program
to produce a nicer 'readall' output too.
It also understands new pins 53,54,55 and 56 in wiringPiSetupPhys()
mode to represent the pins on the P5 connector on the Rev 2 Pi's
Changes to pinMode() to allow new modes SOFT_PWM and SOFT_TONE.
10 years ago
Gordon Henderson
05e2f67e7f
changed to pin mode to support softPwm.
bugfix in blink.sh - wring pin
improving the maxdetect routing - a little.
gpio pins
10 years ago
Firobe
9074cc8964
PULSE_TIME wasn't used.
10 years ago
Gordon Henderson
f18c8f7204
Added some tweaks to gpio to set alt modes on pins (sssh!)
11 years ago
Gordon Henderson
43422be6ac
Bumped version
11 years ago
Gordon Henderson
477f856247
It helps if you add the files into GIT...
11 years ago
Gordon Henderson
f52dd8393c
Minor changes to the files and removed a bit of debug.
11 years ago
Gordon Henderson
5e16e15a59
tidied and tested DRC Serial (renamed it it drcSerial too)
Tweaked the mcp3422 code
altered the build script to let me build static
11 years ago
Gordon Henderson
e25cbc0a62
Added in the PiGlow devLib extension driver.
Written some examples for the PiGlow board
bumped wiringPi version
11 years ago
Gordon Henderson
cbf6d642b5
Added in PiGlow devLib and a couple of examples for the PiGlow
bumped version.
11 years ago
Gordon Henderson
d24cf0630b
Added in the SN3218 LED controller IC - as used in the PiGlow
so write a little test program with it too.
Updated gpio to use the sn3218 too.
11 years ago
Gordon Henderson
8c8578a26b
Reverted gpio readall to older version - new version is gpio nreadall
fixed the max5322 code.
11 years ago
Gordon Henderson
27afc017b9
Added in a max5322 SPI D to A chip
11 years ago
Gordon Henderson
4d43c8cdca
gpio Makefile changed to add PREFIX & DESTDIR
mcp3004.c bugfixed. It works now!
11 years ago
Gordon Henderson
45bfe43c1e
Typo in mcp3002.c
11 years ago
Gordon Henderson
02a3bd8d8f
Readall command in gpio changed.
11 years ago
Gordon Henderson
4a379ec085
Properly added the max31855 files now
11 years ago
Gordon Henderson
27698766b2
Fixed delayMicroseconds for more than 1 second.
Added new code for max31855
11 years ago
Gordon Henderson
348bc739d1
Sorted a variable initialisation issue that was giving incorrect results
with wiringPiISR.
Added the ability to readall/reset from extension modules.
Changed the build script to use /bin/sh rather than /bin/bash as it seems
some installations don't have /bin/bash (or if they do, then the people who
are telling me that ./build gives them command not found are wrong)
11 years ago
Gordon Henderson
711017ec36
More typos, added mcp3004/mcp3008
11 years ago
Gordon Henderson
41fb1b9e2a
Gah. another small fix to the I2C code.
11 years ago
Gordon Henderson
a7c21d3efc
Bumped version number to 2.04
11 years ago
Gordon Henderson
bfaf266ada
Aded lcd-adafruit to test/drive the Adafruit RGB LCD plate
Added the Quick 2 Wire codes, etc.
Minor typo/bug fixes.
Added more modules into gpio -x
11 years ago
Gordon Henderson
25895a8670
Bother. Small issue crept into the SPI code.
11 years ago
Gordon Henderson
da38443cb2
wiringPi Version 2 - First commit (of v2)
11 years ago
Gordon Henderson
ddf1b3ffaa
Merge branch 'master' of https://github.com/WiringPi/WiringPi
11 years ago
Gordon Henderson
3fbc564d00
Synced to git.drogon.net
11 years ago
Philip Howard
234e34450b
Synced to git.drogon.net
11 years ago
Gordon Henderson
98bcb20d93
Slight change to the gpio program to fix SPI buffer size when loading
the module.
Typo in gpio man page
Bug fixed in board revision detection (which would never happen
anyway, however)
11 years ago
Gordon Henderson
4c8862eac9
Botched the ALT order in gpio )-:
(Or maybe Broadcom did!!!)
11 years ago
Gordon Henderson
56c77b5a2e
Added a clock mode to enable the GPIo pins to be set with
one of the GPCLK drivers to generate a frequency up to
19.2MHz.
Tidied some code up and added the clock functions into the gpio
utility.
11 years ago
Gordon Henderson
4ba36e247a
Fixed a minor formatting issue in gpio readall
11 years ago
Gordon Henderson
e8f6258004
Quite a few changes here.
Added in generic 'blink' programs in the examples in C, RTB and Shell.
Updated wiringPi with a little big-file on the millis() function and
added in a new micros() function too.
Updated the examples with standard LGPL headers.
Added a new isr-osc.c test program - just for ISR timing purposes.
11 years ago
Gordon Henderson
db925cea18
Updated the build & makefile to allow for building the
I2C libraries again - but only if the right headers are
installed!
12 years ago
Gordon Henderson
95342e1f83
changed build to not do the I2C checks.
12 years ago
Gordon Henderson
be04c1bd52
Changed the build system to drop I2C for now. Seems to cause too many issues
on non Raspbian systems (and even on some Raspbian systems it would appear ):
fixed a timing issue on softTone
fixed some issues in wiringPisetup introduced when optimising the mmap calls.
12 years ago
Gordon Henderson
c82fb8735d
Updated the build script to better try to detect lack of i2c-dev
(hopefully!)
Also updated all the mmap code in wiringPiSetup() to make it a bit more
sane and efficient to a degree.
12 years ago