Commit Graph

92 Commits

Author SHA1 Message Date
Drahoslav
c0dfd7a7e3 fixup! Use mash filter if it makes sense 2017-11-16 13:52:24 +01:00
Drahoslav
7e21224c69 Do not change mash while busy 2017-11-16 01:47:08 +01:00
Drahoslav
ec703e92e8 Use /mem/dev primarily - it is needed for clock settings to work 2017-11-16 01:28:34 +01:00
Drahoslav
95bb91625f Use mash filter if it makes sense 2017-11-16 01:14:01 +01:00
Drahoslav
fd0764b709 Fix bad indexing of clk rigisters 2017-11-16 01:12:13 +01:00
Drahoslav Bednář
8208ca5f0d
fix memMap base attr
How could it even work before?
2017-11-15 17:48:18 +01:00
Drahoslav
0122f1902d Fix divf computation 2017-11-15 11:26:49 +01:00
Drahoslav
9b13a0969b Change clock public api 2017-11-14 23:16:39 +01:00
Drahoslav
cdcd97f287 go fmt 2017-11-14 22:33:04 +01:00
Drahoslav
b604d03178 Minor fixes 2017-11-14 22:25:26 +01:00
Drahoslav
b7b1bd8b81 Do minor renaming 2017-11-14 22:16:15 +01:00
Drahoslav
aae3fc6504 Implement setClock - using clock manager registers 2017-11-14 22:04:03 +01:00
Drahoslav
12feac8555 Add pin mode Clock 2017-11-14 17:52:05 +01:00
Drahoslav
3e0491354c Do minor refactoring 2017-11-14 17:06:00 +01:00
Stian Eikeland
896db2ee1c Described how to use /dev/gpiomem 2015-12-08 01:50:14 +01:00
Stian Eikeland
5e579e38a5 Merge pull request #6 from dasfoo/master
Use /dev/gpiomem (with offset=0), if available
2015-12-08 01:37:23 +01:00
Artem Sheremet
f2af793fd7 Use /dev/gpiomem (with offset=0), if available
/dev/gpiomem is a map of GPIO-related memory region.
No longer need root for user GPIO access, but without relaxing
permissions on /dev/mem.

See https://github.com/raspberrypi/linux/pull/1112/files
2015-12-07 13:31:10 +01:00
Stian Eikeland
ab68f61e91 Updated readme with release info 2015-03-08 14:34:25 +01:00
Stian Eikeland
d272d491cc Merge pull request #4 from akramer/master
Support the new IO port range for raspberry pi 2.
2015-03-08 14:31:26 +01:00
Adam Kramer
07b12a1539 Removing a debugging statement 2015-03-07 19:01:39 -08:00
Adam Kramer
10a90652fd Fixed the comment for getGPIOBase() 2015-03-07 18:54:44 -08:00
Adam Kramer
733fee47fc Fixing a bug (oops) 2015-03-07 18:53:00 -08:00
Adam Kramer
cf3a8b7ed1 Using a better method of base address detection. 2015-03-07 18:45:00 -08:00
Adam Kramer
acd8baadbf Support the new IO port range for raspberry pi 2. 2015-03-07 17:57:06 -08:00
Stian Eikeland
e7909f46c9 update blog url in readme.md 2014-08-25 12:38:50 +02:00
Stian Eikeland
7c94922b99 Merge pull request #3 from kbudde/mutex
defer unlock mutex, close returns munmap error
2014-08-24 12:39:38 +02:00
Kris Budde
8492756a0e Always unlock mutex. Just to be sure. 2014-08-23 14:43:15 +02:00
Stian Eikeland
9484bd71e5 Temporary revert "Unmap both arrays"
775d4168c6 (commitcomment-7332915)
2014-08-10 22:39:52 +02:00
Stian Eikeland
328f764d40 Merge pull request #2 from pothibo/master
Unmap both arrays
2014-07-22 23:06:27 +02:00
Pier-Olivier Thibault
775d4168c6 Unmap both arrays 2014-07-22 15:23:56 -04:00
Stian Eikeland
08ca9d41c7 Merge pull request #1 from omardelarosa/master
corrected a typo in the readme.md
2014-02-12 23:19:18 +01:00
omardelarosa
4507e0d0b8 corrected a typo in the readme.md 2014-02-12 15:28:37 -05:00
Stian Eikeland
1d8a97a9f8 Fix some comments 2014-01-07 23:15:25 +01:00
Stian Eikeland
8b18ea0634 Added blinking gif to readme 2013-12-05 19:39:42 +01:00
Stian Eikeland
70c7256ee4 Update README.md 2013-07-30 20:27:10 +02:00
Stian Eikeland
e934c432f9 Added support for PullUp / PullDown / PullOff 2013-07-30 19:25:43 +02:00
Stian Eikeland
7136a1a68f Added basic description to README.md 2013-07-30 17:16:42 +02:00
Stian Eikeland
df0edecd6c Added example program: blinker.go 2013-07-30 16:31:28 +02:00
Stian Eikeland
ce23315e88 Package name: rpio 2013-07-30 16:12:13 +02:00
Stian Eikeland
cc2855b1d8 Basic functionality working
Added support for:
- pin mode
- write
- read
2013-07-30 16:06:02 +02:00
Stian Eikeland
942b04b4d0 Started on rpi gpio library 2013-07-30 06:10:01 +02:00
Stian Eikeland
12d6303a60 Initial commit 2013-07-29 20:58:34 -07:00