diff mbox series

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

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

Commit Message

Khan, Sabeeh June 21, 2024, 10:52 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
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..cd5b7dc5
--- /dev/null
+++ b/meta-ti-extras/recipes-connectivity/cc33calibrator/cc33calibrator_git.bb
@@ -0,0 +1,24 @@ 
+SUMMARY = "The calibrator utility for TI wireless solution based on cc33xx driver"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d5fc448a36efe573623542dcb989afc4"
+
+SRCREV = "89d7e55b40972cbfc84f0734c35a7a6b4f7f5b31"
+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}/
+}