Skip to contentSkip to conversation

arm/microbit-v1: Fix build break

PATCH New Jon Mason 1 participant 2 messages Feb 10, 2021

lore
Share & tools
lore

Jon Mason

author
#0 lore raw

PATCH 1/2 arm/microbit-v1: Fix build break

KAS is seeing build breaks on microbit-v1. This can be fixed by either setting the distro to zephyr or using newlib. Opting for the latter to match musca machines.

Change-Id I25f1cca3f7054f6c44974877350f8612643d55e6
---
 meta-arm/conf/machine/microbit-v1.conf | 3 +++
 1 file changed, 3 insertions(+)
meta-arm/conf/machine/microbit-v1.conf +3 -0
index c4cc4d5..b247d6e 100644
@@ -7,6 +7,9 @@ require conf/machine/include/tune-cortex-m0.inc
 
 MACHINEOVERRIDES =. "nordic:"
 
+# GLIBC will not work with Cortex-M.
+TCLIBC = "newlib"
+
 # For runqemu
 QB_SYSTEM_NAME = "qemu-system-arm"
 QB_MACHINE = "-machine microbit"
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/2 kas: microbit-v1 testing

Change-Id I8043c7be32a1e4029e73c3c9f603ae77c78ddf3c
---
 .gitlab-ci.yml      |  3 +++
 kas/microbit-v1.yml | 10 ++++++++++
 2 files changed, 13 insertions(+)
 create mode 100644 kas/microbit-v1.yml
.gitlab-ci.yml +3 -0
index ae888d8..d7a51fd 100644
@@ -79,6 +79,9 @@ juno:
 juno/clang:
   extends: .build
 
+microbit-v1:
+  extends: .build
+
 musca-b1:
   extends: .build
 
kas/microbit-v1.yml new file +10 -0
new file mode 100644
index 0000000..d5e7453
@@ -0,0 +1,10 @@
+header:
+  version: 9
+  includes:
+    - base.yml
+    - meta-zephyr.yml
+
+machine: microbit-v1
+
+target:
+  - zephyr-philosophers
Signature · 1 line
2.17.1