Issue: "DEVMEM" not defined in pip package.
Solve: define "DEVMEM" in m1 header file.
Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
Change-Id: I5d6af496d78547971b03b77f02c6523dc5d20d3a
modify depends of libwiringpi2. it has itself as a depedency.
Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
Change-Id: Ie42ae9714584f24721521328dbc22d130ae525e7
gpio readall error:
gpio pin value dumped when using command "gpio write $PIN $VALUE" and call "gpio readall"
ODROID-M1: Add udev rules for gpiomem
default: gpiomem
change machanism gpiomem or libgpiod
use or not -DDEVMEM in wiringPi/Makefile.am (Linux) Android.bp (Android)
Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
Change-Id: Ie389c338e5082a94638d00983801f18fef1cbfaa
ODROID-COMMON: Add link libgpiod
ODROID-N2/C4: fix odroid-wiringpi postinst
server build error: link
./configure: line 3480: syntax error near unexpected token `LIBCRYPT,'
./configure: line 3480: `PKG_CHECK_MODULES(LIBCRYPT, libcrypt)'
local build error: link
/usr/bin/ld: undefined reference to `gpiod_line_set_value' ...
local build error: odroid-wiringpi.postinst error
cp: cannot stat '/tmp/odroid-wiringpi/rules.d/99-odroid-wiringpi-aml.rules': No such file or directory
Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
Change-Id: I0faf7710461ab487afdf02a8e5511ea2a6385f7e
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
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
Thanks to @jens1 on the Odroid forum for notifying us
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I0c1658246e92b4c1b135be002cb365bd46c8e764
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
which are not having proper model name like "Hardkernel ODROID-C1".
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ifcb1923435f2e7c1500d9ce14bd84b1e7ae0060d
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
- 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
Imported from the official WiringPi repository, version 2.60.
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I82dc00ab9f038f9bc4c6a9c4ca3affe5a5d33ae1