From: Wojciech Zmuda <wojciech.zm...@huawei.com> This patch set adds support for nRF52-based Arduino boards - Nano 33 BLE and BLE Sense - to both build and flash Zephyr applications.
The board support itself is a trivial MACHINE config. Flashing is done with a new bbclass, that is a wrapper around `bossac` flashing tool. One general kernel recipe fix was necessary to produce and copy over the .bin file, as the flasher requires input in that format. This does not affect scenarios where .elf file is required. Tested on an actual Arduino Nano 33 BLE dev board. Nagesh Shamnur (3): zephyr-kernel: install .bin image if available arduino-nano-33-ble.conf: Add Arduino Nano 33 BLE and BLE Sense support zephyr-flash-bossac.bbclass: Enable board flashing via bossac classes/zephyr-flash-bossac.bbclass | 50 +++++++++++++++++++ conf/machine/arduino-nano-33-ble.conf | 9 ++++ .../zephyr-kernel/zephyr-kernel-common.inc | 1 + .../zephyr-kernel/zephyr-sample.inc | 4 ++ 4 files changed, 64 insertions(+) create mode 100644 classes/zephyr-flash-bossac.bbclass create mode 100644 conf/machine/arduino-nano-33-ble.conf -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#53836): https://lists.yoctoproject.org/g/yocto/message/53836 Mute This Topic: https://lists.yoctoproject.org/mt/83464482/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-