diff mbox series

[RFC,master/scarthgap,2/4] cc33calibrator: add new cc33calibrator tool for cc33xx devices

Message ID 20240620032202.169122-3-sabeeh-khan@ti.com
State RFC
Delegated to: Ryan Eatmon
Headers show
Series add FW and utilities for cc33xx wireless driver | expand

Commit Message

Khan, Sabeeh June 20, 2024, 3:22 a.m. UTC
cc33calibrator is a tool provided by TI to manually control the
radio frontend of the cc33xx device. This tool can also be used
for production line testing of the radio.
Documentation for this tool is provided within the following link:
https://www.ti.com/tool/CC33XX-SOFTWARE

Signed-off-by: Sabeeh Khan <sabeeh-khan@ti.com>
---
 .../cc33calibrator/cc33calibrator_git.bb      | 24 +++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-ti-extras/recipes-connectivity/cc33calibrator/cc33calibrator_git.bb

Comments

Denys Dmytriyenko June 20, 2024, 8:22 p.m. UTC | #1
On Wed, Jun 19, 2024 at 10:22:00PM -0500, Sabeeh Khan via lists.yoctoproject.org wrote:
> cc33calibrator is a tool provided by TI to manually control the
> radio frontend of the cc33xx device. This tool can also be used
> for production line testing of the radio.
> Documentation for this tool is provided within the following link:
> https://www.ti.com/tool/CC33XX-SOFTWARE
> 
> Signed-off-by: Sabeeh Khan <sabeeh-khan@ti.com>
> ---
>  .../cc33calibrator/cc33calibrator_git.bb      | 24 +++++++++++++++++++
>  1 file changed, 24 insertions(+)
>  create mode 100644 meta-ti-extras/recipes-connectivity/cc33calibrator/cc33calibrator_git.bb
> 
> diff --git a/meta-ti-extras/recipes-connectivity/cc33calibrator/cc33calibrator_git.bb b/meta-ti-extras/recipes-connectivity/cc33calibrator/cc33calibrator_git.bb
> new file mode 100644
> index 00000000..da2d0453
> --- /dev/null
> +++ b/meta-ti-extras/recipes-connectivity/cc33calibrator/cc33calibrator_git.bb
> @@ -0,0 +1,24 @@
> +DESCRIPTION = "The calibrator utility for TI wireless solution based on cc33xx driver"

SUMMARY


> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=d5fc448a36efe573623542dcb989afc4"
> +
> +SRCREV = "a2f84140b8d67cfc94472cf92676a409d1e47d86"
> +SRC_URI = "git://git.ti.com/git/cc33xx-wlan/cc33xx-utils.git;branch=master;protocol=https"
> +
> +PV = "1.0.0.50"
> +
> +DEPENDS = "libnl"
> +
> +S = "${WORKDIR}/git/cc33calibrator"
> +
> +export CROSS_COMPILE = "${TARGET_PREFIX}"
> +
> +EXTRA_OEMAKE = "CFLAGS="${CFLAGS} -I${STAGING_INCDIR}/libnl3/ -DCONFIG_LIBNL32 " \
> +		LDFLAGS="${LDFLAGS} -L${STAGING_LIBDIR}" \
> +		CC="${CC}" \
> +		NLVER=3"
> +
> +do_install() {
> +    install -d ${D}${bindir}
> +    install -m 0755 cc33calibrator ${D}${bindir}/
> +}
> -- 
> 2.34.1
diff mbox series

Patch

diff --git a/meta-ti-extras/recipes-connectivity/cc33calibrator/cc33calibrator_git.bb b/meta-ti-extras/recipes-connectivity/cc33calibrator/cc33calibrator_git.bb
new file mode 100644
index 00000000..da2d0453
--- /dev/null
+++ b/meta-ti-extras/recipes-connectivity/cc33calibrator/cc33calibrator_git.bb
@@ -0,0 +1,24 @@ 
+DESCRIPTION = "The calibrator utility for TI wireless solution based on cc33xx driver"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d5fc448a36efe573623542dcb989afc4"
+
+SRCREV = "a2f84140b8d67cfc94472cf92676a409d1e47d86"
+SRC_URI = "git://git.ti.com/git/cc33xx-wlan/cc33xx-utils.git;branch=master;protocol=https"
+
+PV = "1.0.0.50"
+
+DEPENDS = "libnl"
+
+S = "${WORKDIR}/git/cc33calibrator"
+
+export CROSS_COMPILE = "${TARGET_PREFIX}"
+
+EXTRA_OEMAKE = "CFLAGS="${CFLAGS} -I${STAGING_INCDIR}/libnl3/ -DCONFIG_LIBNL32 " \
+		LDFLAGS="${LDFLAGS} -L${STAGING_LIBDIR}" \
+		CC="${CC}" \
+		NLVER=3"
+
+do_install() {
+    install -d ${D}${bindir}
+    install -m 0755 cc33calibrator ${D}${bindir}/
+}