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
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
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
Imported from the official WiringPi repository, version 2.60.
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I82dc00ab9f038f9bc4c6a9c4ca3affe5a5d33ae1
- 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
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
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.