Commit Graph

268 Commits

Author SHA1 Message Date
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
9e7f5c612f WiringPi: Implement storing current operating board's kernel version
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I663d1df07e88ebae4e975afc2ebae6122d5918e9
2020-08-20 12:08:49 +09:00
Deokgyu Yang
63443ff7a1 WiringPi: Bump up version to 3.4
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2020-07-15 16:36:19 +09:00
Luke Go
10b2f2b655 WiringPi: Android: Add N2Plus to ModelNames list.
- Add N2Plus to default N2 string.

Change-Id: I0a04d57ec1ffcb6ca63b78275df52243abccb02e
2020-07-15 16:16:39 +09:00
Deokgyu Yang
41f80168b4 WiringPi: Bump up version to 3.3
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I39e300fe2808ac807df860a3f9ffc058d4968a07
2020-06-26 14:50:08 +09:00
Deokgyu Yang
38b0248eb9 WiringPi: Check Device Tree first to recognize and change the referenced DT path
As of this quotes from the /sys/firmware/devicetree documents.

Userspace must not use the /sys/firmware/devicetree/base path directly,
but instead should follow /proc/device-tree symlink.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib6cd8694cf3b429297e5e7154387c1fb18716600
2020-06-26 14:31:21 +09:00
Luke Go
c61f82baa6 WiringPi: Android: Redefine some function that's not supported.
- Some api are not supported or redefined by android libraries. So to
support them on the android, this patch redefined the apis. And, some
api are not allowed. So avoid including the package by the problem.

Change-Id: Icaf2716a82dd98fc3c4fc3c597d4e67f3df8d755
2020-04-29 11:53:33 +09:00
Deokgyu Yang
a81abab325 WiringPi: Bump up version to 3.2
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I31b75e0019b747950308da756b65d871031a5d28
2020-04-28 13:56:02 +09:00
Deokgyu Yang
685816b696 Revert "WiringPi: Android: Apply removes to Android.bp"
This reverts commit e5a99034ba.

Change-Id: Iae25108e053224e69a470b508c1026feb6d63c4c
2020-04-28 13:50:01 +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
73d5c3f375 WiringPi: Bump up version to 3.1
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ieab47180823f028b7c67ed56e24e6b72ae6d7f8c
2020-04-21 11:38:11 +09:00
Deokgyu Yang
152712d3ee debian: Fix typo
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I6ab68c20633549bb3f13aab592862377912d4971
2020-04-21 11:37:37 +09:00
Deokgyu Yang
2fa3784651 debian: Add explicit package dependency
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I6c840db8b188148bdce303b7b4ab0110f0d54644
2020-04-21 11:24:39 +09:00
Deokgyu Yang
cac5556425 WiringPi: Bump up version to 3.0
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ia3586cad02d45bc34bf7dc6409c1eae09fe50af6
2020-04-17 16:59:29 +09:00
Deokgyu Yang
6738d3e8e9 newVersion: Remove unused codes
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I50da462320edefe4cf552718d0a457b91142f50b
2020-04-17 16:54:46 +09:00
Deokgyu Yang
9a27ae8fd8 Revert "wiringPi: newVersion: Fix for adding minor-fixed version"
This reverts commit 07cc4620e0.

Change-Id: I9023d16ddfe808fccb74b58981933091e6917c1f
2020-04-17 16:53:58 +09:00
Deokgyu Yang
6d5f5daf09 WiringPi: Bump up version to 2.44-7.0
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: If50894454b6ea118e0ab6699816648c197261869
2020-04-17 16:11:23 +09:00
Deokgyu Yang
3f787a1912 Bring devLib/lcd* back
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ifcc4338c95d185b730e87542a5c053a6906c86cb
2020-03-31 11:35:13 +09:00
Deokgyu Yang
40b5bc139c Add definition _GNU_SOURCE to remove warnings to do with implicit functions
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I02489bde9498c3acb22af381bd4852e5a667c677
2020-03-30 15:07:49 +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
90fb4b9435 WiringPi: Remove unused codes from newVersion script
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Id85bd9d589c4b7e176f594cce6505e72e4765027
2020-03-20 15:08:26 +09:00
Deokgyu Yang
e5a99034ba WiringPi: Android: Apply removes to Android.bp
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I7255c36857185ed18811695ce5ad88dafe5d27ab
2020-03-19 18:22:03 +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
Deokgyu Yang
b3a297e09b WiringPi: Improve logic of getting board information
Now WiringPi doesn't require editted /proc/cpuinfo if a proper model
name is defined in target board's device tree.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I94b6b9595577546d785f018258746032bf9a9494
2020-03-19 17:27:54 +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
Deokgyu Yang
8c26c89486 WiringPi: Bump up version to 2.44-6.2
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2020-02-19 14:41:02 +09:00
Deokgyu Yang
79b6474ae3 Merge pull request #29 from hhk7734/master
Fix issue where 'wiringPiISR' can't run without sudo
2020-02-17 18:38:46 +09:00
Hyeonki Hong
d3a9aad442 Fix issue where 'wiringPiISR' can't run without sudo
If using gpio command without sudo after changing group of gpio* from
'root' to 'gpio', the command failed. So, deleted the part using
the command.

https://github.com/hhk7734/oduino/issues/7
2020-02-17 18:24:55 +09:00
Yang Deokgyu
c9cf4971b7 WiringPi: Bump up version to 2.44-6.1
Signed-off-by: Yang Deokgyu <secugyu@gmail.com>
2020-02-14 11:57:30 +09:00
Yang Deokgyu
ae873a291e WiringPi: Make it does not configure /dev/gpiomem during deb package build
Signed-off-by: Yang Deokgyu <secugyu@gmail.com>
2020-02-14 11:45:21 +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
2363e5811b WiringPi: Ignore case when identifying a board
Signed-off-by: Yang Deokgyu <secugyu@gmail.com>
Change-Id: Ia9edd472026f45ad9b9b923f652ca27d43d51f19
2020-01-02 12:21:23 +09:00
Yang Deokgyu
51d37029a1 WiringPi: Bump up version to 2.44-6.0
Signed-off-by: Yang Deokgyu <secugyu@gmail.com>
Change-Id: Ic8a3e66f58018b965ecbe893f6d318f0e1c9f9f1
2019-12-24 14:11:06 +09:00
Yang Deokgyu
1d462d6600 debian: libwiringpi2: Remove previous built header files after installing
To make sure avoiding conflicts with legacy files.

Signed-off-by: Yang Deokgyu <secugyu@gmail.com>
Change-Id: I6c2ef994ce0b4c76603c89f76091d7cf8cfdca5e
2019-12-24 14:11:06 +09:00
Yang Deokgyu
868f262b5d build: Clean up build script and do uninstall/clean before install
This because to make sure removing legacy files that could occurs
library conflicts.

Signed-off-by: Yang Deokgyu <secugyu@gmail.com>
Change-Id: Id795969241ba925104d374b99b496c799b9ed1df
2019-12-24 14:11:05 +09:00
Yang Deokgyu
8bea63643a wiringPi/Makefile: Remove legacy files when uninstallation
Signed-off-by: Yang Deokgyu <secugyu@gmail.com>
Change-Id: Ic126b5d27b92f265151b29d287e2dcce3fcbc815
2019-12-24 14:10:13 +09:00
Yang Deokgyu
0e022544ef WiringPi: Get model name from Device Tree if not able from cpuinfo
Signed-off-by: Yang Deokgyu <secugyu@gmail.com>
Change-Id: I0ca6497da3a9b0123b552fe7c245f08915d69a39
2019-12-24 14:10:12 +09:00
Yang Deokgyu
8ec73fe14e wiringPi: Bump up version to 2.44-5.3
Signed-off-by: Yang Deokgyu <secugyu@gmail.com>
2019-10-22 16:57:05 +09:00
Yang Deokgyu
3ffc5831d5 wiringPi: Add a udev rules file for meson-gpiomem for ODROID-C/C2 boards
Signed-off-by: Yang Deokgyu <secugyu@gmail.com>
2019-10-22 16:57:05 +09:00
Yang Deokgyu
2515484821 wiringPi: Bump up version to 2.44-5.2
Signed-off-by: Yang Deokgyu <secugyu@gmail.com>
2019-10-22 16:57:02 +09:00
Yang Deokgyu
639f1b4312 wiringPi: Fix for parsing /proc/cpuinfo on ODROID-C
Signed-off-by: Yang Deokgyu <secugyu@gmail.com>
2019-10-22 15:26:50 +09:00
Yang Deokgyu
e7ff9b5810 wiringPi: Bump up version to 2.44-5.1
Signed-off-by: Yang Deokgyu <secugyu@gmail.com>
2019-10-22 14:49:22 +09:00
Yang Deokgyu
d26507ba76 wiringPi: Fix for parsing /proc/cpuinfo properly
Signed-off-by: Yang Deokgyu <secugyu@gmail.com>
2019-10-22 14:46:55 +09:00
Yang Deokgyu
dfcb6e2e5d wiringPi: Bump up version to 2.44-5.0
Signed-off-by: Yang Deokgyu <secugyu@gmail.com>
2019-09-20 15:14:21 +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
57890f889f build: Tune make jobs
Signed-off-by: Yang Deokgyu <secugyu@gmail.com>
2019-09-19 15:59:02 +09:00
Yang Deokgyu
2ef868b961 wiringPi: Add udev rules to correct /dev/gpiomem permission
Signed-off-by: Yang Deokgyu <secugyu@gmail.com>
2019-09-19 15:58:55 +09:00
Yang Deokgyu
d848750e6a wiringPi: Bump up version to 2.44-4.1
Signed-off-by: Yang Deokgyu <secugyu@gmail.com>
2019-09-11 11:45:44 +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