Skip to contentSkip to conversation

GSoC IIO Project: Christopher Díaz Riveros

DISCUSSION Christopher Díaz Riveros 2 participants 4 messages Feb 20, 2018 IIO

lore
Share & tools
lore
#0 lore raw

Introduction and Task 01 result

Good morning IIO community,

My name is Christopher Díaz Riveros, I'm living in Lima, Perú. I'm starting my last semester of studies, "Software development and Systems Integration" is the name of the career. Since a couple of months I've been trying to contribute in the kernel community, I have a couple of trivial fixes already in the main tree. I hope I'll be able to contribute here as well and learn more about driver development and specially the IIO subsystem.

I have previously worked with Arduino and several kinds of sensors as part of my IoT course in the institute.

If there is any other info that you need me to provide, feel free to ask please.

Here is the my solution for Task 01:

chris@gentoo ~/Repos/linux-next $ grep IIO .config # CONFIG_SENSORS_IIO_HWMON is not set CONFIG_IIO=y
CONFIG_IIO_BUFFER=y
# CONFIG_IIO_BUFFER_CB is not set
# CONFIG_IIO_BUFFER_HW_CONSUMER is not set CONFIG_IIO_KFIFO_BUF=y CONFIG_IIO_CONFIGFS=y
CONFIG_IIO_TRIGGER=y CONFIG_IIO_CONSUMERS_PER_TRIGGER=2 CONFIG_IIO_SW_DEVICE=y
# CONFIG_IIO_SW_TRIGGER is not set
# CONFIG_IIO_CROS_EC_ACCEL_LEGACY is not set # CONFIG_IIO_ST_ACCEL_3AXIS is not set
# Hid Sensor IIO Common
# IIO dummy driver CONFIG_IIO_DUMMY_EVGEN=y CONFIG_IIO_SIMPLE_DUMMY=y CONFIG_IIO_SIMPLE_DUMMY_EVENTS=y CONFIG_IIO_SIMPLE_DUMMY_BUFFER=y
# CONFIG_IIO_ST_GYRO_3AXIS is not set
# CONFIG_IIO_ST_LSM6DSX is not set
# CONFIG_IIO_ST_MAGN_3AXIS is not set
# CONFIG_IIO_INTERRUPT_TRIGGER is not set # CONFIG_IIO_SYSFS_TRIGGER is not set
# CONFIG_IIO_ST_PRESS is not set

Signature · 3 lines
Christopher Díaz Riveros
Gentoo Linux Developer
GPG Fingerprint: E517 5ECB 8152 98E4 FEBC  2BAA 4DBB D10F 0FDD 2547
#1 lore raw

Hi Christopher,

The solution looks good! Please do not Cc linux-iio mailing list for non-coding tasks!

Just send the solutions privately to me.

You have now shown your solution to all your opponents ;)

thanks,
Daniel.

Quoted 5 lines · On Tue, Feb 20, 2018 at 3:46 PM, Christopher D=C3=ADaz Riveros…

Introduction and Task 01 result

Good morning IIO community,

My name is Christopher D=C3=ADaz Riveros, I'm living in Lima, Per=C3=BA. =

I'm

Quoted 46 lines

starting my last semester of studies, "Software development and Systems Integration" is the name of the career. Since a couple of months I've been trying to contribute in the kernel community, I have a couple of trivial fixes already in the main tree. I hope I'll be able to contribute here as well and learn more about driver development and specially the IIO subsystem.

I have previously worked with Arduino and several kinds of sensors as part of my IoT course in the institute.

If there is any other info that you need me to provide, feel free to ask please.

Here is the my solution for Task 01:

chris@gentoo ~/Repos/linux-next $ grep IIO .config
# CONFIG_SENSORS_IIO_HWMON is not set
CONFIG_IIO=3Dy
CONFIG_IIO_BUFFER=3Dy
# CONFIG_IIO_BUFFER_CB is not set
# CONFIG_IIO_BUFFER_HW_CONSUMER is not set CONFIG_IIO_KFIFO_BUF=3Dy
CONFIG_IIO_CONFIGFS=3Dy
CONFIG_IIO_TRIGGER=3Dy CONFIG_IIO_CONSUMERS_PER_TRIGGER=3D2 CONFIG_IIO_SW_DEVICE=3Dy
# CONFIG_IIO_SW_TRIGGER is not set
# CONFIG_IIO_CROS_EC_ACCEL_LEGACY is not set
# CONFIG_IIO_ST_ACCEL_3AXIS is not set
# Hid Sensor IIO Common
# IIO dummy driver
CONFIG_IIO_DUMMY_EVGEN=3Dy
CONFIG_IIO_SIMPLE_DUMMY=3Dy CONFIG_IIO_SIMPLE_DUMMY_EVENTS=3Dy CONFIG_IIO_SIMPLE_DUMMY_BUFFER=3Dy
# CONFIG_IIO_ST_GYRO_3AXIS is not set
# CONFIG_IIO_ST_LSM6DSX is not set
# CONFIG_IIO_ST_MAGN_3AXIS is not set
# CONFIG_IIO_INTERRUPT_TRIGGER is not set
# CONFIG_IIO_SYSFS_TRIGGER is not set
# CONFIG_IIO_ST_PRESS is not set
--
Christopher D=C3=ADaz Riveros
Gentoo Linux Developer
GPG Fingerprint: E517 5ECB 8152 98E4 FEBC 2BAA 4DBB D10F 0FDD 2547

#2 lore raw
In reply to Christopher Díaz Riveros

Coding Task 01: Send 2 cleanup patches to the linux kernel.

Since each driver has it's own list of CC and To addresses, I leave links for patches sent today for the staging subsystem.

http://lkml.iu.edu/hypermail/linux/kernel/1802.2/02742.html
http://lkml.iu.edu/hypermail/linux/kernel/1802.2/02745.html
http://lkml.iu.edu/hypermail/linux/kernel/1802.2/02749.html
http://lkml.iu.edu/hypermail/linux/kernel/1802.2/02755.html

If required, I'll add a cc to linux-iio or any personal address in the next group of patches.

Thank you

Signature · 3 lines
Christopher Díaz Riveros
Gentoo Linux Developer
GPG Fingerprint: E517 5ECB 8152 98E4 FEBC  2BAA 4DBB D10F 0FDD 2547
#3 lore raw
Quoted 10 lines · On Tue, Feb 20, 2018 at 6:44 PM, Christopher D=C3=ADaz Riveros…

Coding Task 01: Send 2 cleanup patches to the linux kernel.

Since each driver has it's own list of CC and To addresses, I leave links for patches sent today for the staging subsystem.

http://lkml.iu.edu/hypermail/linux/kernel/1802.2/02742.html
http://lkml.iu.edu/hypermail/linux/kernel/1802.2/02745.html
http://lkml.iu.edu/hypermail/linux/kernel/1802.2/02749.html
http://lkml.iu.edu/hypermail/linux/kernel/1802.2/02755.html

Congrats this looks good!

Quoted 2 lines

If required, I'll add a cc to linux-iio or any personal address in the next group of patches.

No need to Cc me for the patches (unless they are for IIO).

thanks,
Daniel.