dfe-lld: Add recipe for Digital Radio Front end low level driver
PATCH v2 1/4 dfe-lld: Add recipe for Digital Radio Front end low level driver
- Provides low level driver for Digital Radio front end
- Supports device k2l
Signed-off-by Sam Nelson <[email protected]>
---
Changes from previous version of patch
- test recipe removed to be a separate patch
---
--- recipes-bsp/dfe-lld/dfe-lld.inc | 13 +++++++++++++ recipes-bsp/dfe-lld/dfe-lld_git.bb | 15 +++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 recipes-bsp/dfe-lld/dfe-lld.inc create mode 100644 recipes-bsp/dfe-lld/dfe-lld_git.bb
recipes-bsp/dfe-lld/dfe-lld.inc new file +13 -0
@@ -0,0 +1,13 @@ +LICENSE = "BSD-3-Clause" + +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=1f4217b705bf98762a302fd720649dcc" +BRANCH = "master" +SRC_URI = "git://git.ti.com/keystone-rtos/dfe-lld.git;destsuffix=git/ti/drv/dfe;protocol=git;branch=${BRANCH}" +# The following commit correspond to DEV.DFE_LLD.01.00.00.03C +SRCREV = "ed20e87d3676e3e05ce2b78179b504a05083ad15" + +PV = "1.0.0.3" + +COMPATIBLE_MACHINE = "k2l-evm" + +S = "${WORKDIR}/git/ti/drv/dfe"
recipes-bsp/dfe-lld/dfe-lld_git.bb new file +15 -0
@@ -0,0 +1,15 @@ +DESCRIPTION = "Digital Radio Front End low level driver" + +DEPENDS = "common-csl-ip" + +include dfe-lld.inc + +EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}" + +do_compile () { + oe_runmake lib DEVICE=k2l +} + +do_install () { + oe_runmake install INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} +}
Signature · 1 line
1.7.9.5
PATCH v2 2/4 iqn2-lld: Add recipes for TI iqn2 peripheral module low level driver
- Provides low level driver for TI iqn2 peripheral module
- Supports k2l device
Signed-off-by Sam Nelson <[email protected]>
---
Changes from previous version of patch
- test recipe removed to be a separate patch
---
---
recipes-bsp/iqn2-lld/iqn2-lld.inc | 13 +++++++++++++
.../dfe-lld_git.bb => iqn2-lld/iqn2-lld_git.bb} | 7 ++++---
2 files changed, 17 insertions(+), 3 deletions(-)
create mode 100644 recipes-bsp/iqn2-lld/iqn2-lld.inc
copy recipes-bsp/{dfe-lld/dfe-lld_git.bb => iqn2-lld/iqn2-lld_git.bb} (67%)recipes-bsp/iqn2-lld/iqn2-lld.inc new file +13 -0
@@ -0,0 +1,13 @@ +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea" +LICENSE = "BSD-3-Clause" + +BRANCH = "master" +SRC_URI = "git://git.ti.com/keystone-rtos/iqn2-lld.git;destsuffix=git/ti/drv/iqn2;protocol=git;branch=${BRANCH}" +# Following commit corresponds to DEV.IQN_LLD.01.00.00.05B +SRCREV = "ca35079f41d06259be39f992f55a9f815d305ef5" + +PV = "1.0.0.5" + +COMPATIBLE_MACHINE = "k2l-evm" + +S = "${WORKDIR}/git/ti/drv/iqn2"
recipes-bsp/iqn2-lld/iqn2-lld_git.bb renamed from recipes-bsp/dfe-lld/dfe-lld_git.bb +4 -3
@@ -1,13 +1,14 @@ -DESCRIPTION = "Digital Radio Front End low level driver" +DESCRIPTION = "TI IQN2 peripheral module low level driver" DEPENDS = "common-csl-ip" -include dfe-lld.inc +include iqn2-lld.inc EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}" do_compile () { - oe_runmake lib DEVICE=k2l + oe_runmake clean + oe_runmake lib } do_install () {
Signature · 1 line
1.7.9.5
PATCH v2 3/4 dfe-lld: Add recipe for dfe test code
In reply to Sam Nelson- Adds test code for Digital front end low level driver
Signed-off-by Sam Nelson <[email protected]>
--- recipes-bsp/dfe-lld/dfe-lld-test_git.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 recipes-bsp/dfe-lld/dfe-lld-test_git.bb
recipes-bsp/dfe-lld/dfe-lld-test_git.bb new file +18 -0
@@ -0,0 +1,18 @@ +DESCRIPTION = "TI Digital Radio Front End lld test application" + +DEPENDS = "common-csl-ip dfe-lld iqn2-lld" + +include dfe-lld.inc + +EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} DFE_SRC_DIR=${S}" + +do_compile () { +# Now build the lld in the updated directory + oe_runmake clean DEVICE=k2l + oe_runmake tests DEVICE=k2l + oe_runmake tests DEVICE=k2l USEDYNAMIC_LIB=yes +} + +do_install () { + oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}/${bindir} +}
Signature · 1 line
1.7.9.5
PATCH v2 4/4 iqn2-lld: Add recipe for iqn2 lld test code
In reply to Sam Nelson- Adds test code for iqn2 peripheral low level driver
Signed-off-by Sam Nelson <[email protected]>
--- recipes-bsp/iqn2-lld/iqn2-lld-test_git.bb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 recipes-bsp/iqn2-lld/iqn2-lld-test_git.bb
recipes-bsp/iqn2-lld/iqn2-lld-test_git.bb new file +16 -0
@@ -0,0 +1,16 @@ +DESCRIPTION = "TI IQN2 peripheral module low level driver test binaries" + +DEPENDS = "common-csl-ip iqn2-lld dfe-lld" + +include iqn2-lld.inc + +EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} IQN2_SRC_DIR=${WORKDIR}/git" + +do_compile () { + oe_runmake clean DEVICE=k2l + oe_runmake tests DEVICE=k2l +} + +do_install () { + oe_runmake installbin DEVICE=k2l IQN2_SRC_DIR=${WORKDIR}/git INSTALL_BIN_BASE_DIR=${D}/${bindir} +}
Signature · 1 line
1.7.9.5