Deokgyu Yang
e94695fd94
WiringPi: Add support for Odroid-HC4
...
Signed-off-by: Deokgyu Yang <secugyu@gmail.com >
Change-Id: If64c712eef681a2a9aa4b7828d95b612a1de91db
2020-11-17 18:23:20 +09:00
Deokgyu Yang
54aca3f6a3
Odroid-C1/C2: Add I2C support for mainline kernel
...
This patch makes it uses /dev/i2c-0 node if its kernel version is above 4.y.z.
Signed-off-by: Deokgyu Yang <secugyu@gmail.com >
Change-Id: I2d8d30f019465eb883b323d73e81a1ce086e85d8
2020-09-07 18:17:42 +09:00
Deokgyu Yang
858c8140ca
WiringPi: Remove patch string in kernel number and add whole release string
...
Signed-off-by: Deokgyu Yang <secugyu@gmail.com >
Change-Id: Ie1510c9b855d81cbbaee07a794bb584a70ebc53d
2020-08-25 17:13:34 +09:00
Deokgyu Yang
5ebe86a95c
WiringPi: Update in response to the latest regulations about I2C/SPI nodes
...
Signed-off-by: Deokgyu Yang <secugyu@gmail.com >
Change-Id: Ia6992332b157a6b078f5d1f67b280d2fc3a09774
2020-08-24 17:37:52 +09:00
Deokgyu Yang
912e3d952b
WiringPi: Add cmpKernelVersion and update the kernelVerion structure
...
Signed-off-by: Deokgyu Yang <secugyu@gmail.com >
Change-Id: Ia8431e26578f007fd98d152c4915ce3caba07fb9
2020-08-24 17:37:50 +09:00
Deokgyu Yang
26f8815087
WiringPi: Add showing current kernel version to the help text
...
Signed-off-by: Deokgyu Yang <secugyu@gmail.com >
Change-Id: I8c1bb3e900ea2ddfa497b8949f7e2909666b3f5b
2020-08-20 12:09:29 +09:00
Deokgyu Yang
2c7e86b898
WiringPi: Bring back all of the stuffs I removed to do with peripherals
...
Imported from the official WiringPi repository, version 2.60.
Signed-off-by: Deokgyu Yang <secugyu@gmail.com >
Change-Id: I82dc00ab9f038f9bc4c6a9c4ca3affe5a5d33ae1
2020-04-28 11:02:36 +09:00
Deokgyu Yang
a0bd5eb338
WiringPi: Minor changes
...
- Fix compile warning
- Remove pwmSetMode function that is not used
- Change the name of changing drive functions
- Aggressively use of WiringPi setupCheck() function
- Move usingGpiomem variable into libodroid structure
- etc...
Signed-off-by: Deokgyu Yang <secugyu@gmail.com >
Change-Id: I355556975cedc686885f3b91d7f1a4ec02f1e232
2020-03-20 18:19:09 +09:00
Deokgyu Yang
89cf23cbcd
WiringPi: Remove files that seem won't be used or already have not been used
...
Signed-off-by: Deokgyu Yang <secugyu@gmail.com >
Change-Id: I1189f950d0e51cbc4c569b1e7a1182dc5f8fe762
2020-03-19 17:27:55 +09:00
Yang Deokgyu
ffeba7f622
ODROID-C4: New support for ODROID-C4
...
Signed-off-by: Yang Deokgyu <secugyu@gmail.com >
Signed-off-by: Luke Go <sangch.go@gmail.com >
Change-Id: I0fd2de97d95bb8bf71cc1975081177571b1e8301
2020-03-19 17:27:53 +09:00
Yang Deokgyu
089a2ea5ae
gpio: Add options for readall command in help text
...
Signed-off-by: Yang Deokgyu <secugyu@gmail.com >
Change-Id: I10a582184e46b15c6387b21ce3bd810a1c90d524
2020-01-02 12:27:17 +09:00
Yang Deokgyu
01a38bd123
wiringPi: Change readall output width to 79 for compatibility
...
Signed-off-by: Yang Deokgyu <secugyu@gmail.com >
2019-09-20 14:59:55 +09:00
Yang Deokgyu
5106f2a102
wiringPi: Add readall option '--all' and refactor readall.c
...
Signed-off-by: Yang Deokgyu <secugyu@gmail.com >
2019-09-20 12:27:57 +09:00
Yang Deokgyu
020ff31733
wiringPi: Fix non-root user who has gpiomem cannot use gpio binary properly
...
Signed-off-by: Yang Deokgyu <secugyu@gmail.com >
2019-09-11 11:43:05 +09:00
Yang Deokgyu
6c20d2ca3d
wiringPi: Fix typo
...
Signed-off-by: Yang Deokgyu <secugyu@gmail.com >
2019-09-11 11:19:03 +09:00
Joshua Yang
58892f8d06
wiringPi: Add copyright in gpio help messages
...
Signed-off-by: Joshua Yang <joshua.yang@hardkernel.com >
2019-07-17 13:45:46 +09:00
Joshua Yang
41a423e5d3
wiringPi: Prepare to distribute as debian package
...
Signed-off-by: Joshua Yang <joshua.yang@hardkernel.com >
2019-07-16 18:08:16 +09:00
Joshua Yang
964b422564
wiringPi: Make doI2Cdetect function works for N2 and tiny logic update
...
Signed-off-by: Joshua Yang <joshua.yang@hardkernel.com >
2019-07-09 16:00:37 +09:00
Joshua Yang
6e7a6e6e38
wiringPi: Clean warning messages from gcc
...
Signed-off-by: Joshua Yang <joshua.yang@hardkernel.com >
2019-07-09 15:57:26 +09:00
Luke Go
2ee8a0d922
wiringPi: Apply unused attribute.
...
To avoid error message, apply "__attribute__((unused))" to unsupported
functions and unused parameters.
2019-07-08 16:35:26 +09:00
joshua-yang
4b08e7ff71
wiringPi: Refactor source codes including fixes for collisions that'd occur
...
Replace WiringPi header files to the ODROID specific files
- Note: To avoid unforeseen errors when working with Python Wrapper.
Python Wrapper doesn't recognize the ODROID specific header files and
its introduced functions, declarations. So just thought that fixing
Python Wrapper is much more complicated than replacing the header files
and it seems more suitable for the later updates.
Fix messaging implicit declaration of core functions
Fix collisions of functions/declarations by header files
- Note: In each ODROID sources, the prefix '_' have to be added to the
core functions in order to avoid the collisions that non-static function
follows static function. This is because of importing "wiringPi.h" header
file that has extern core functions which names the same as listed in
each ODROID source code file. So the core functions that exported from
here must have that prefix, and only to be assigned its pointer to the
"libodroid" structure.
Change-Id: Ia927c7946cfb6ca6ce3a02530936325e1acb0620
2019-02-25 16:10:39 +09:00
joshua-yang
ae9a8e9ced
wiringPi: Prevent showing -1 value for readall command
...
Change-Id: I32393427eaba8439fe86dcca7f212165b9339779
2019-01-10 14:59:48 +09:00
joshua-yang
827072123b
ODROID-N2: Implement get pin MUX, PU/PD mode, get/set drive strength
...
Change-Id: I75099b4e2919860f7190ef9cdcd841b1d38844a7
2019-01-10 14:59:48 +09:00
Kevin Kim
69b5bede45
ODROID-N2:ODROID-N2 board wiringPi support.
...
Change-Id: I119c85723700739ff04e0f4144bc96ef854a5188
2018-12-19 13:39:01 +09:00
Joshua Yang
c3752077c6
wiringPi: Refactor source codes
...
Change-Id: Id121bfc6cb211b78b7ade56d235d43bdf11fc690
2018-11-29 18:11:16 +09:00
Joshua Yang
c5a3877737
wiringPi: Define a symbol for aml_i2c
...
Change-Id: Ic2b2495d153babce0c8cd9ff33927533fe92e3b0
2018-05-10 13:50:42 +09:00
Joshua Yang
66663ae72a
wiringPi: Move moduleLoaded function to export
...
Change-Id: Ie74b852ebdd596bb3dfd7ec6ec37c7f050948195
2018-05-10 13:43:52 +09:00
Joshua Yang
180614e619
wiringPi: Enable 'gpio i2cdetect' command
...
Change-Id: I7c2e13e9bb4b6ba9147f2bf16bf94468902b3b98
2018-02-27 15:36:51 +09:00
Joshua Yang
f8b154ba75
wiringPi: Update the help for load/unload option
...
Change-Id: I162ed996bb34bff29d760dc4df4bb36fb6a541bf
2018-02-23 16:01:13 +09:00
Joshua Yang
37027fb9c8
wiringPi: Remove unused SPI/I2C load/unload code
...
Change-Id: I14666fbcb5551560257cc705c4779feeece3cde0
2018-02-23 15:45:18 +09:00
Joshua Yang
9048264cc2
wiringPi: Add support for ODROID N1
...
Change-Id: Id7952e7d220b50cdbfcc5f9084547bf46599c817
2018-01-11 14:32:58 +09:00
charles.park
9c84ec6db5
wiringPi : interrupt error fix(gpio sysfs unexport).
...
Change-Id: I1e826b7847dc140fe0edf79ed56aaa19be5c543c
2017-12-07 18:29:46 +09:00
charles.park
060da4d553
wiringPi : interrupt error fix.
...
Change-Id: I576ef6d2ef16723a7e23abf01c14caad7998c778
2017-12-07 14:38:25 +09:00
charles.park
ff2c1ddede
wiringPi : update gpio utility for odroid board.
...
Change-Id: I390cd14049f385cfcf6c2ae427f7d9b01a39765a
2017-12-06 18:32:57 +09:00
charles.park
066914ee14
wiringPi : gpio utility add for odroid
...
Change-Id: I6dcdfb0130eee7f38543598752da481d2408037f
2017-12-06 18:32:51 +09:00
Phil Howard
c947643601
Merge branch 'master' of git://git.drogon.net/wiringPi
2017-03-08 16:13:57 +00:00
Gordon Henderson
e8da87fbac
Added a fix to include -lcrypt for people who can't do it themselves.
...
Added gpio readall support for the Pi 0W.
2017-03-01 11:55:19 +00:00
Gordon Henderson
70fa99a127
Bumped the version to 2.40 - correctly this time, I hope.
...
Added fixed for a few minor things. pin driver for rht03/dht type
sensors. Network stuff is experimental - for now.
2017-02-27 19:51:32 +00:00
Phil Howard
5066e09747
Merge branch 'master' of git://git.drogon.net/wiringPi
2017-02-03 16:02:42 +00:00
Gordon Henderson
e687f3f2c6
Pushing to 2.39 as I have have not done the last one rightly...
2017-01-24 12:13:39 +00:00
Gordon Henderson
b1dfc186ef
A new version of wiringPi. Added in more stuff and fixed it up
...
for kernels 4.8 onwards.
Some very old stuff might break.
Additional fixes for the ISR code and some tweaks here and
there. I've removed the checks for some operations that might
fail when using the gpiomem interface - which is now the default
way of doing things - if your program segfaults, then you
may need to use sudo on it.
2016-12-12 14:19:55 +00:00
Phil Howard
9a8f8bee5d
Updated from git.drogon.net
2016-02-29 11:46:13 +00:00
Gordon Henderson
b0a60c3302
Many changes - tidying up the extensions interfaces.
...
Updating the GPIO command - new command - allreadall
ScrollPhat code
max31855 code (tested with adafruit breakout board)
more tests
updated rht03 code
Raspberry Pi v3 support.
2016-02-29 06:57:38 +00:00
Phil Howard
a402cac920
Removed redundant files
2016-02-27 16:25:17 +00:00
Phil Howard
26c7fe3332
Updated from git.drogon.net
2016-02-27 16:03:10 +00:00
Gordon Henderson
2dbecfca0a
Minor change to the scroll phat test program, and bumped the version.
2016-01-28 21:36:30 +00:00
Gordon Henderson
143b383b8d
Added support for the Pimoroni scrollPhat
...
Added support for the ADS1115 16-bit ADC
Updated the gpio readall command to correctly with with the Compute Module
and fixed a resulting bug in wiringPi...
2016-01-28 19:20:31 +00:00
Gordon Henderson
78b5c323b7
Bumped Version to 2.31
2015-12-02 15:13:50 +00:00
Gordon Henderson
31a8a2cdb8
gpio readall didn't work on the Zero. This fixed that little goof
2015-12-02 15:13:01 +00:00
Gordon Henderson
bb6f08487c
Updated wiringPi for the new Pi Zero.
...
Also affects the Pi v2 which also uses the new Revision
encoding scheme (It was slightly bodged before) This ought
to be relatively future proof, but who knows.
Fixed a minor thing in the examples Makefile
(not that anyone bothers to use it, judging by the emails I get )-:
2015-11-29 21:08:04 +00:00