From 6b775825d5f23a9faccbcfa19404fb133c364427 Mon Sep 17 00:00:00 2001 From: Mahesh Radhakrishnan Date: Wed, 19 Jul 2017 05:03:29 +0000 Subject: [PATCH] spi-lld-rtos: Add rtos recipe for spi-lld Upstreaming TI RTOS driver for Serial Peripheral Interface (SPI) Signed-off-by: Mahesh Radhakrishnan Signed-off-by: Denys Dmytriyenko --- recipes-bsp/spi-lld/spi-lld-rtos_git.bb | 41 +++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 recipes-bsp/spi-lld/spi-lld-rtos_git.bb diff --git a/recipes-bsp/spi-lld/spi-lld-rtos_git.bb b/recipes-bsp/spi-lld/spi-lld-rtos_git.bb new file mode 100644 index 00000000..4ed72483 --- /dev/null +++ b/recipes-bsp/spi-lld/spi-lld-rtos_git.bb @@ -0,0 +1,41 @@ +SUMMARY = "TI RTOS low level driver for Serial Peripheral Interface (SPI)" + +inherit ti-pdk + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://SPI.h;beginline=1;endline=31;md5=8580f9c5c0de8d5d13518cf18a0122b8" + +COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|omapl1" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +SPI_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/spi-lld.git" +SPI_LLD_GIT_PROTOCOL = "git" +SPI_LLD_GIT_BRANCH = "master" + +# Below commit ID corresponds to "DEV.SPI_LLD.01.00.00.07A" +SPI_LLD_SRCREV = "d37daaf3a922e893fe845d44324393994321d443" + +BRANCH = "${SPI_LLD_GIT_BRANCH}" +SRC_URI = "${SPI_LLD_GIT_URI};protocol=${SPI_LLD_GIT_PROTOCOL};branch=${BRANCH}" + +SRCREV = "${SPI_LLD_SRCREV}" +PV = "01.00.00.07A" +PR = "r0" + +DEPENDS_append = " osal-rtos \ + edma3-lld-rtos \ +" +DEPENDS_append_ti33x = " starterware-rtos" +DEPENDS_append_ti43x = " starterware-rtos" + +# Build with make instead of XDC +TI_PDK_XDCMAKE = "0" + +export PDK_SPI_ROOT_PATH ="${WORKDIR}/build" +export DEST_ROOT="${S}" + +export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}" +XDCPATH_append = ";${EDMA3_LLD_INSTALL_DIR}/packages" + +# HTML doc link params +PDK_COMP_LINK_TEXT = "SPI LLD"