Skip to contentSkip to conversation

arm-bsp/musca-*: use newlib for libc

PATCH In review Ross Burton 2 participants 2 messages Oct 14, 2020 – Oct 15, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm-bsp/musca-*: use newlib for libc

Whilst glibc is definitely not an option for Cortex-M cores, newlib is a viable libc implementation that is useful to default too.

Change-Id I1f3a53e43945f486aa2e7bce019f105c55df5e87
---
 meta-arm-bsp/conf/machine/musca-b1.conf | 2 +-
 meta-arm-bsp/conf/machine/musca-s1.conf | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-arm-bsp/conf/machine/musca-b1.conf +1 -1
index 40964be..50b2f05 100644
@@ -10,7 +10,7 @@ PREFERRED_VERSION_trusted-firmware-m = "1.0"
 require conf/machine/include/tune-cortexm33.inc
 
 # GLIBC will not work with Cortex-M.
-TCLIBC = "baremetal"
+TCLIBC = "newlib"
 
 # For runqemu
 require conf/machine/include/qemu.inc
meta-arm-bsp/conf/machine/musca-s1.conf +1 -1
index d2e5ab7..66e0a35 100644
@@ -10,4 +10,4 @@ PREFERRED_VERSION_trusted-firmware-m = "1.0"
 require conf/machine/include/tune-cortexm33.inc
 
 # GLIBC will not work with Cortex-M.
-TCLIBC = "baremetal"
+TCLIBC = "newlib"
Signature · 1 line
2.25.1
#1 lore raw
Quoted 5 lines · Ross Burton

Whilst glibc is definitely not an option for Cortex-M cores, newlib is a viable libc implementation that is useful to default too.

Change-Id I1f3a53e43945f486aa2e7bce019f105c55df5e87

Pulled into master.

Thanks,
Jon

Quoted 35 lines
---
 meta-arm-bsp/conf/machine/musca-b1.conf | 2 +-
 meta-arm-bsp/conf/machine/musca-s1.conf | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-arm-bsp/conf/machine/musca-b1.conf +1 -1
index 40964be..50b2f05 100644
@@ -10,7 +10,7 @@ PREFERRED_VERSION_trusted-firmware-m = "1.0"
 require conf/machine/include/tune-cortexm33.inc
 
 # GLIBC will not work with Cortex-M.
-TCLIBC = "baremetal"
+TCLIBC = "newlib"
 
 # For runqemu
 require conf/machine/include/qemu.inc
meta-arm-bsp/conf/machine/musca-s1.conf +1 -1
index d2e5ab7..66e0a35 100644
@@ -10,4 +10,4 @@ PREFERRED_VERSION_trusted-firmware-m = "1.0"
 require conf/machine/include/tune-cortexm33.inc
 
 # GLIBC will not work with Cortex-M.
-TCLIBC = "baremetal"
+TCLIBC = "newlib"
Signature · 1 line
2.25.1