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
1f53a9c5b9
Update .gitignore and apply
...
Change-Id: I0060f1859f2ab423dea22937db36199c7c92cc73
2019-02-25 16:10:34 +09:00
joshua-yang
eea9557809
wiringPi: Fix wiringPiISR for working with a pin that is bigger than 255
...
Change-Id: I1927e6bcef6102e91af8241f728097bc616f7db0
2019-01-11 16:55:25 +09:00
joshua-yang
9ffe33a185
ODROID-N1: Implement get pin MUX mode
...
Because of the update for getting pin MUX, PUPD, DS status, its readall
command on N1 always shows all the alternative mode as ALT1. So it is
the partly update for that but won't update for support of the other new
functions.
Change-Id: If5e2c4894c4513d3b5c164b4918086022c2a3703
2019-01-10 15:45:47 +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
96152ee6bc
ODROID-XU3/4: Implement get pin MUX, PU/PD mode, get/set drive strength
...
Change-Id: I57586fcf2d1ebf4e6e938e67c8af0c194b22c3ea
2019-01-10 14:59:48 +09:00
joshua-yang
258ea143b2
ODROID-C2: Implement get pin MUX, PU/PD mode
...
Change-Id: I74ef2e650e5e5e88ef3bfe1a53be1a7877bc7020
2019-01-10 14:59:48 +09:00
joshua-yang
298d3f4c58
ODROID-C1: Implement get pin MUX, PU/PD mode
...
Change-Id: I65f7be92205a1808c6b2f9bb86fc3a468ca819b5
2019-01-10 14:59:48 +09:00
joshua-yang
efd0df390c
ODROID-N2: Remove logic for check I2C module loaded
...
Change-Id: I94bf3f5f40c4674c8a7d08b14f87833165d4a173
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
joshua-yang
3384341906
ODROID-N2: Change ADC node files
...
Change-Id: I32468207ed147020d174c2018677124cb0f7bf84
2019-01-04 18:19:57 +09:00
joshua-yang
55c66369da
ODROID-N2: Change SPI device file
...
Change-Id: Ic9dd082cdebd8d77399e57e3ea9f5b37bf8cdf38
2019-01-04 18:19:20 +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
175d1f6af0
ODROID C1/C2: Optimize I2C check code
...
Change-Id: I13d4273b8eeee055bde280cd1a25ba6e82b38f28
2018-09-04 11:24:49 +09:00
Joshua Yang
eb609f870b
ODROID C1: Enable I2C pins when the I2C module isn't loaded
...
Change-Id: I1b581fc1335b59bcb8565d96490d9c6fccada9ae
2018-05-10 17:15:44 +09:00
Joshua Yang
efb5151bb1
ODROID C2: Enable I2C pins when the I2C module isn't loaded
...
Change-Id: Ic96b92e5f697f2b7b2059969332c4f4835a77aa5
2018-05-10 13:52:42 +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
eccbc53116
ODROID N1: Fix bit calculation more clearly (CLK, IOMUX, PUPD)
...
Change-Id: I861fd27201099e4b65bbb783a93a2c2dfff05817
2018-02-19 17:21:38 +09:00
Joshua Yang
e3725a2be5
ODROID C1: Fix typo
...
Change-Id: I646ab50f1463153ae23640ce54c6c4a8c09087bb
2018-02-19 16:01:24 +09:00
charles.park
f9e84f54bc
wiringPi : I2C/SPI node fix.
...
Change-Id: I7d9e55d183d5c79214a33050977d5a3622e446b0
2018-02-13 10:01:44 +09:00
Joshua Yang
c989e8db95
ODROID N1: Correct aread source path
...
Change-Id: Ib8287d842162401518594a3947f66ffe708ad243
2018-01-18 14:23:11 +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
Joshua Yang
517d8dd349
wiringPi: Update ODROID board pin .tex files
...
Change-Id: I5e16aeda77f58f1e99a668124167b91bf13c964f
2017-12-07 14:18:04 +09:00
charles.park
f49f37444f
wiringPi : ODROID Board Pin tex file add.
...
Change-Id: I7f65d4e6edb19ad9721d32bb2761835e0b16ac75
2017-12-06 18:48:27 +09:00
charles.park
413ab3f5d2
wiringPi : warn message add.
...
Change-Id: I7c53a5221a3d26340a0b1d5df19519bf99ecd2b1
2017-12-06 18:33:05 +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
charles.park
1769321c56
wiringPi : wiringPiSetup error fix.
...
Change-Id: Icacc0baad028909be7e1733c8a60303e190eae61
2017-12-06 18:32:43 +09:00
charles.park
eb5e26f10d
wiringPi : ODROID wiringPi lib add.
...
Change-Id: Ia6ca9f12aedcf40c98a412c0eda2e7ab2f2ea57b
2017-12-06 18:32:25 +09:00
Philip Howard
0f7d03d9f0
Update README.TXT
2017-08-12 11:06:53 +01:00
Phil Howard
c947643601
Merge branch 'master' of git://git.drogon.net/wiringPi
2017-03-08 16:13:57 +00:00
Gordon Henderson
96344ff712
Fixed GPIO based address for Pi Zero-W
2017-03-03 15:56:24 +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
e77ee78b4d
Minor changes for the CM3.
...
Fixed some compiler warnings.
New wiringPi version mechanism.
Put 4800 baud (back) into the system.
Re-added piBoardRev (really an alias of piGpioLayout())
2017-01-21 17:35:10 +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
Philip Howard
39d53628e6
Merge pull request #19 from Firobe/patch-1
...
PULSE_TIME wasn't used.
2016-02-27 16:51:24 +00:00
Philip Howard
e488b1bc25
Merge pull request #34 from IsaoNakamura/wrkStudy
...
delete duplicated FSEL_ALT0 definition.
2016-02-27 16:49:04 +00:00
Phil Howard
579a7b839a
Removed pesky piFaceOld.c
2016-02-27 16:30:24 +00:00