Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling SPI support for the yocto build #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

shreyan-collab
Copy link

@shreyan-collab shreyan-collab commented May 1, 2022

Following features added to the build script for SPI support:

  1. Raspberry pi boot configuration by adding meta-poky, meta-openembedded and meta-raspberrypi. (dunfell branch)
  2. SPI module enabled for raspberry-pi and autoloaded on boot
  3. spidev tools added for detecting the spi devices connected to the raspberry-pi SPI bus.
  4. Necassary changes are updated in the local.conf file
  5. Verification of the above functionalities done for raspberry-pi 3b+


# TODO: Set this with the path to your assignments rep. Use ssh protocol and see lecture notes
# about how to setup ssh-agent for passwordless access
SRC_URI = "git://[email protected]/cu-ecen-aeld/Finalproject-Shreyan-Bala-shared.git;protocol=ssh;branch=master"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shreyan-collab can you put a README at https://github.com/cu-ecen-aeld/Finalproject-Shreyan-Bala-shared/tree/master/spi_package detailing where this utility came from (my guess is https://github.com/torvalds/linux/blob/master/tools/spi/spidev_test.c but it would also be great to link a specific version) and also what, if any changes you needed to make to it?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dwalkes I have added a README file and pushed the code

@@ -0,0 +1,44 @@
# See http://git.yoctoproject.org/cgit.cgi/poky/tree/meta/files/common-licenses
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dwalkes You want me to change the license and push the code again?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dwalkes I have modified the license to GPL Version 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants