Skip to content
Snippets Groups Projects
Commit 7574ff04 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski
Browse files

zephyr-openthread-rcp: refuse to build with ACM0 console enabled


The OpenThread border router on linux uses the USB console on the
antenna running zephyr. The ACM0 patch gets in the way and disables the
OpenThread interface. Error out if the user tries to have this option
enabled and build the antenna firmware.

Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@huawei.com>
parent 0c0f37c1
No related branches found
No related tags found
1 merge request!18OpenThread updates for kirkstone port of the gateway blueprint
Pipeline #6959 passed with warnings
...@@ -8,3 +8,9 @@ EXTRA_OECMAKE += "-DCONF_FILE="prj.conf overlay-rcp.conf overlay-usb-nrf-br.conf ...@@ -8,3 +8,9 @@ EXTRA_OECMAKE += "-DCONF_FILE="prj.conf overlay-rcp.conf overlay-usb-nrf-br.conf
# towards the boards (e.g. flash layout and ieee802154 radio) so we need to # towards the boards (e.g. flash layout and ieee802154 radio) so we need to
# limit to known working machines here. # limit to known working machines here.
COMPATIBLE_MACHINE = "(arduino-nano-33-ble)" COMPATIBLE_MACHINE = "(arduino-nano-33-ble)"
python __anonymous() {
has_acm0 = d.getVar("ONIRO_ENABLE_ACM0")
if has_acm0 and has_acm0 != "0":
raise bb.parse.SkipRecipe("OpenThread coprocessor cannot work with the ACM0 console enabled")
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment