* [meta-zephyr][PATCH 1/5] zephyr-hci-uart: set COMPATIBLE_MACHINE to 96b-nitrogen machine
@ 2021-02-05 9:45 Naveen Saini
2021-02-05 9:45 ` [meta-zephyr][PATCH 2/5] zephyr-ipm: drop recipe Naveen Saini
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Naveen Saini @ 2021-02-05 9:45 UTC (permalink / raw)
To: yocto
Fix recipe to build.
Support for Board arduino-101-ble already dropped from v1.12
Ref:
https://github.com/zephyrproject-rtos/zephyr/blob/v2.4-branch/samples/bluetooth/hci_uart/README.rst
https://github.com/zephyrproject-rtos/zephyr/blob/v2.4-branch/samples/bluetooth/hci_uart/boards/96b_nitrogen.conf
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
---
recipes-kernel/zephyr-kernel/zephyr-hci-uart.bb | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/recipes-kernel/zephyr-kernel/zephyr-hci-uart.bb b/recipes-kernel/zephyr-kernel/zephyr-hci-uart.bb
index b70542a..ec6b13e 100644
--- a/recipes-kernel/zephyr-kernel/zephyr-hci-uart.bb
+++ b/recipes-kernel/zephyr-kernel/zephyr-hci-uart.bb
@@ -2,19 +2,16 @@ require zephyr-kernel.inc
require zephyr-kernel-common.inc
inherit deploy
-COMPATIBLE_MACHINE = "(arduino-101-ble)"
+COMPATIBLE_MACHINE = "(96b-nitrogen)"
ZEPHYR_SRC_DIR = "${S}/samples/bluetooth/hci_uart"
ZEPHYR_BASE = "${S}"
-do_compile () {
- cd ${ZEPHYR_SRC_DIR}
- oe_runmake ${ZEPHYR_MAKE_ARGS}
-}
+OECMAKE_SOURCEPATH = "${ZEPHYR_SRC_DIR}"
do_deploy () {
- install -D samples/bluetooth/hci_uart/outdir/${BOARD}/zephyr.elf ${DEPLOYDIR}/${PN}.elf
- install -D samples/bluetooth/hci_uart/outdir/${BOARD}/zephyr.bin ${DEPLOYDIR}/${PN}.bin
+ install -D ${B}/zephyr/${ZEPHYR_MAKE_OUTPUT} ${DEPLOYDIR}/${PN}.elf
}
addtask deploy after do_compile
+do_install[noexec] = "1"
--
2.17.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [meta-zephyr][PATCH 2/5] zephyr-ipm: drop recipe
2021-02-05 9:45 [meta-zephyr][PATCH 1/5] zephyr-hci-uart: set COMPATIBLE_MACHINE to 96b-nitrogen machine Naveen Saini
@ 2021-02-05 9:45 ` Naveen Saini
2021-02-05 9:45 ` [meta-zephyr][PATCH 3/5] arduino-101: drop machine configuration Naveen Saini
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Naveen Saini @ 2021-02-05 9:45 UTC (permalink / raw)
To: yocto
ipm moved to driver folder. Sample is no longer available.
Ref:
https://github.com/zephyrproject-rtos/zephyr/commit/131cfa2043b255246ae5c30c2c1383dff49a0442
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
---
recipes-kernel/zephyr-kernel/zephyr-ipm.bb | 24 ----------------------
1 file changed, 24 deletions(-)
delete mode 100644 recipes-kernel/zephyr-kernel/zephyr-ipm.bb
diff --git a/recipes-kernel/zephyr-kernel/zephyr-ipm.bb b/recipes-kernel/zephyr-kernel/zephyr-ipm.bb
deleted file mode 100644
index 2f158c8..0000000
--- a/recipes-kernel/zephyr-kernel/zephyr-ipm.bb
+++ /dev/null
@@ -1,24 +0,0 @@
-require zephyr-kernel.inc
-require zephyr-kernel-common.inc
-inherit deploy
-
-SRC_DIR_IPM_arduino-101-sss = "samples/ipm/ipm_demo_arc"
-SRC_DIR_IPM_arduino-101 = "samples/ipm/ipm_demo_lmt"
-
-COMPATIBLE_MACHINE = "(arduino-101-sss|arduino-101)"
-
-ZEPHYR_SRC_DIR = "${S}/${SRC_DIR_IPM}/src"
-
-ZEPHYR_BASE = "${S}"
-
-do_compile () {
- cd ${SRC_DIR_IPM}
- oe_runmake ${ZEPHYR_MAKE_ARGS}
-}
-
-do_deploy () {
- install -D ${SRC_DIR_IPM}/outdir/${BOARD}/zephyr.elf ${DEPLOYDIR}/${PN}.elf
- install -D ${SRC_DIR_IPM}/outdir/${BOARD}/zephyr.bin ${DEPLOYDIR}/${PN}.bin
-}
-
-addtask deploy after do_compile
--
2.17.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [meta-zephyr][PATCH 3/5] arduino-101: drop machine configuration
2021-02-05 9:45 [meta-zephyr][PATCH 1/5] zephyr-hci-uart: set COMPATIBLE_MACHINE to 96b-nitrogen machine Naveen Saini
2021-02-05 9:45 ` [meta-zephyr][PATCH 2/5] zephyr-ipm: drop recipe Naveen Saini
@ 2021-02-05 9:45 ` Naveen Saini
2021-02-05 9:45 ` [meta-zephyr][PATCH 4/5] arduino-101-sss.conf: " Naveen Saini
2021-02-05 9:45 ` [meta-zephyr][PATCH 5/5] arduino-101-ble.conf: " Naveen Saini
3 siblings, 0 replies; 5+ messages in thread
From: Naveen Saini @ 2021-02-05 9:45 UTC (permalink / raw)
To: yocto
No longer supported.
https://github.com/zephyrproject-rtos/zephyr/commit/ffaba63b107780562c2c76ca066a7857bc497303
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
---
conf/machine/arduino-101.conf | 14 --------------
1 file changed, 14 deletions(-)
delete mode 100644 conf/machine/arduino-101.conf
diff --git a/conf/machine/arduino-101.conf b/conf/machine/arduino-101.conf
deleted file mode 100644
index 0773903..0000000
--- a/conf/machine/arduino-101.conf
+++ /dev/null
@@ -1,14 +0,0 @@
-#@TYPE: Machine
-#@NAME: arduino-101
-
-#@DESCRIPTION: Machine configuration for Arduino 101 Board.
-
-TARGET_OS_arduino-101 = "elfiamcu"
-require conf/machine/include/tune-iamcu.inc
-TUNE_PKGARCH_arduino-101 = "iamcu"
-
-TARGET_LINK_HASH_STYLE = ""
-ZEPHYR_INHERIT_CLASSES += "zephyr-flash-dfu"
-
-ARCH_arduino-101 = "x86"
-
--
2.17.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [meta-zephyr][PATCH 4/5] arduino-101-sss.conf: drop machine configuration
2021-02-05 9:45 [meta-zephyr][PATCH 1/5] zephyr-hci-uart: set COMPATIBLE_MACHINE to 96b-nitrogen machine Naveen Saini
2021-02-05 9:45 ` [meta-zephyr][PATCH 2/5] zephyr-ipm: drop recipe Naveen Saini
2021-02-05 9:45 ` [meta-zephyr][PATCH 3/5] arduino-101: drop machine configuration Naveen Saini
@ 2021-02-05 9:45 ` Naveen Saini
2021-02-05 9:45 ` [meta-zephyr][PATCH 5/5] arduino-101-ble.conf: " Naveen Saini
3 siblings, 0 replies; 5+ messages in thread
From: Naveen Saini @ 2021-02-05 9:45 UTC (permalink / raw)
To: yocto
No longer supported.
https://github.com/zephyrproject-rtos/zephyr/commit/ffaba63b107780562c2c76ca066a7857bc497303
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
---
conf/machine/arduino-101-sss.conf | 21 ---------------------
1 file changed, 21 deletions(-)
delete mode 100644 conf/machine/arduino-101-sss.conf
diff --git a/conf/machine/arduino-101-sss.conf b/conf/machine/arduino-101-sss.conf
deleted file mode 100644
index a27f672..0000000
--- a/conf/machine/arduino-101-sss.conf
+++ /dev/null
@@ -1,21 +0,0 @@
-#@TYPE: Machine
-#@NAME: arduino-101-sss
-
-#@DESCRIPTION: Machine configuration for Arduino 101 Board (ARC Core).
-
-TUNE_FEATURES ="arc quark-se no-sdata no-delete-null-pointer-checks"
-
-require conf/machine/include/tune-arc.inc
-PACKAGE_EXTRA_ARCHS_tune-arc = "arc"
-
-PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} = "6.x.arc"
-PREFERRED_VERSION_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} = "6.x.arc"
-PREFERRED_VERSION_libgcc = "6.x.arc"
-
-PREFERRED_VERSION_binutils-cross-${TARGET_ARCH} = "2.26+gitarc"
-PREFERRED_VERSION_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} = "2.26+gitarc"
-
-TARGET_LINK_HASH_STYLE = ""
-ZEPHYR_INHERIT_CLASSES += "zephyr-flash-dfu"
-
-ARCH_arduino-101-sss = "arc"
--
2.17.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [meta-zephyr][PATCH 5/5] arduino-101-ble.conf: drop machine configuration
2021-02-05 9:45 [meta-zephyr][PATCH 1/5] zephyr-hci-uart: set COMPATIBLE_MACHINE to 96b-nitrogen machine Naveen Saini
` (2 preceding siblings ...)
2021-02-05 9:45 ` [meta-zephyr][PATCH 4/5] arduino-101-sss.conf: " Naveen Saini
@ 2021-02-05 9:45 ` Naveen Saini
3 siblings, 0 replies; 5+ messages in thread
From: Naveen Saini @ 2021-02-05 9:45 UTC (permalink / raw)
To: yocto
No longer supported.
https://github.com/zephyrproject-rtos/zephyr/commit/66d60d29411fa34725b450a9e5fa000f1c69b747
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
---
conf/machine/arduino-101-ble.conf | 12 ------------
1 file changed, 12 deletions(-)
delete mode 100644 conf/machine/arduino-101-ble.conf
diff --git a/conf/machine/arduino-101-ble.conf b/conf/machine/arduino-101-ble.conf
deleted file mode 100644
index 55c3857..0000000
--- a/conf/machine/arduino-101-ble.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-#@TYPE: Machine
-#@NAME: arduino-101-ble
-
-#@DESCRIPTION: Machine configuration for Arduino 101 Board.
-
-DEFAULTTUNE = "cortexm0"
-require conf/machine/include/tune-cortexm0.inc
-
-TARGET_LINK_HASH_STYLE = ""
-ZEPHYR_INHERIT_CLASSES += "zephyr-flash-dfu"
-
-ARCH_arduino-101-ble = "arm"
--
2.17.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-02-05 9:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-05 9:45 [meta-zephyr][PATCH 1/5] zephyr-hci-uart: set COMPATIBLE_MACHINE to 96b-nitrogen machine Naveen Saini
2021-02-05 9:45 ` [meta-zephyr][PATCH 2/5] zephyr-ipm: drop recipe Naveen Saini
2021-02-05 9:45 ` [meta-zephyr][PATCH 3/5] arduino-101: drop machine configuration Naveen Saini
2021-02-05 9:45 ` [meta-zephyr][PATCH 4/5] arduino-101-sss.conf: " Naveen Saini
2021-02-05 9:45 ` [meta-zephyr][PATCH 5/5] arduino-101-ble.conf: " Naveen Saini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.