jkhgit
75b0858c55
Add include headers & change linux default lib: gpiod
...
Signed-off-by: jkhgit <jkhpro1003@gmail.com >
Change-Id: Ie43c001db0b4eefa55925a246ca4af4ae6abbf46
2022-04-01 16:40:37 +09:00
Luke go
7be6d78a01
Check build MODE to check gpiod fw.
...
Some Android doesn't support gpiod frameworks. So check MODE to include
gpiod fw. It should be determined before building.
Signed-off-by: Luke go <sangch.go@gmail.com >
Change-Id: I5b4627c86b4b083622822576c5afa0dd72894faf
2022-02-09 11:16:03 +09:00
Dongjin Kim
f316f52636
Rework to build by autoconf/automake and new Debian scripts
...
Building in local machine:
$ sh autogen.sh
$ ./configure
$ make
$ sudo make install
Building Debian package:
$ debuild -uc -us -b
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: I76faa07c1586658d053a3e260ea231a19392f792
2022-01-20 06:30:34 +00:00
Steve Jeong
f78d982959
ODROID-M1: New support for ODROID-M1
...
Change-Id: I8691f53540d566d00945fe3c7b6fb2f5f317cc1f
Signed-off-by: Steve Jeong <jkhpro1003@gmail.com >
2022-01-20 06:30:20 +00:00
Deokgyu Yang
2f8842f1ff
Fix build error for gcc 10
...
Thanks to @jens1 on the Odroid forum for notifying us
Signed-off-by: Deokgyu Yang <secugyu@gmail.com >
Change-Id: I0c1658246e92b4c1b135be002cb365bd46c8e764
2021-03-12 17:57:33 +09:00
Deokgyu Yang
6bf0d6c125
Bump up version to 3.9
...
Signed-off-by: Deokgyu Yang <secugyu@gmail.com >
2020-11-20 10:55:28 +09:00
Luke go
bf7cd9a7de
WiringPi: Android: Add odroidhc4.c to compile on the android platform.
...
Change-Id: I36451f7c5c2ca99506e666f49a3d04a3f981310a
2020-11-20 10:51:35 +09:00
Deokgyu Yang
f9cbdb12df
Bump up version to 3.8
...
Signed-off-by: Deokgyu Yang <secugyu@gmail.com >
2020-11-17 18:23:25 +09:00
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
4416fa5183
Revert "WiringPi: Android: Add HC4 to ModelNames list."
...
This reverts commit f787046a63 .
2020-11-13 12:55:20 +09:00
Chris
b7b6d95525
Merge "WiringPi: Android: Add HC4 to ModelNames list."
2020-10-15 17:26:00 +09:00
Deokgyu Yang
7e937c75f1
WiringPi: Bump up version to 3.7
...
Signed-off-by: Deokgyu Yang <secugyu@gmail.com >
Change-Id: Ided1c49e7aa259a9d1d6b92d96d3b3e605a865ad
2020-09-07 18:17:45 +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
141eec2565
Odroid-C1: Fix to keep compatibility with Odroid-C series
...
which are not having proper model name like "Hardkernel ODROID-C1".
Signed-off-by: Deokgyu Yang <secugyu@gmail.com >
Change-Id: Ifcb1923435f2e7c1500d9ce14bd84b1e7ae0060d
2020-09-07 17:45:34 +09:00
Deokgyu Yang
2557a0a2d1
Odroid-C4: Add base number to GPIO_H pad pins
...
Signed-off-by: Deokgyu Yang <secugyu@gmail.com >
Change-Id: Ic99455f1d7e8b3ebb4a412dc6fd0b82da1e663a3
2020-09-04 14:15:23 +09:00
Deokgyu Yang
49bcab594c
WiringPi: Bump up version to 3.6
...
Signed-off-by: Deokgyu Yang <secugyu@gmail.com >
Change-Id: I0f2b9c1f08a8e8fc9575c17601b616b93eafd073
2020-08-25 17:52:33 +09:00
Deokgyu Yang
6a87102f90
Odroid-C4: Correct ADC nodes and change their access number as to the Odroid convention
...
Signed-off-by: Deokgyu Yang <secugyu@gmail.com >
Change-Id: I60db52cdf1ff4137b75b7336796a0fbd93eb7998
2020-08-25 17:50:32 +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
f6a49aa0d2
WiringPi: Bump up version to 3.5
...
Signed-off-by: Deokgyu Yang <secugyu@gmail.com >
Change-Id: I2b81a719d75fe9ce28ed25aea3c215da59c287b1
2020-08-24 17:40:47 +09:00
Deokgyu Yang
f85513d04f
Odroid-XU4: Use cmpKernelVersion to determine ADC node
...
Signed-off-by: Deokgyu Yang <secugyu@gmail.com >
Change-Id: I64a138c85592f75b0689e1c93c18511f966202ad
2020-08-24 17:37:52 +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
6f11fefcff
WiringPi: Remove utsname things from each board's file
...
Signed-off-by: Deokgyu Yang <secugyu@gmail.com >
Change-Id: I3b4be4eac57c31867a1a1b380eef26b0866da903
2020-08-20 18:28:45 +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
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
Chris
f787046a63
WiringPi: Android: Add HC4 to ModelNames list.
...
- Add N2Plus to default N2 string.
Change-Id: I151c2e61a3df2b1a9db62699559648b46ef52009
2020-07-29 13:52:42 +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