mirror of
https://git.yoctoproject.org/meta-zephyr
synced 2026-09-24 16:36:21 +02:00
arduino-101: Support for flashing via USB
Implement a class allowing flashing Arduino-101 using dfu-util.
User needs to have dfu-utils installed on the host machine.
All three cores supported (x86, ARM, ARC).
Sample usage:
$ MACHINE=arduino-101 bitbake xxx
$ MACHINE=arduino-101 bitbake xxx -c flash_usb
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
This commit is contained in:
@@ -16,3 +16,4 @@ 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"
|
||||
|
||||
@@ -8,3 +8,4 @@ require conf/machine/include/tune-iamcu.inc
|
||||
TUNE_PKGARCH_arduino-101 = "iamcu"
|
||||
|
||||
TARGET_LINK_HASH_STYLE = ""
|
||||
ZEPHYR_INHERIT_CLASSES += "zephyr-flash-dfu"
|
||||
|
||||
Reference in New Issue
Block a user