OS-less SDK


Jose Quaresma
 

Hi Alessio,

meta-arm have some binary baremetal toolchains for arm and aarch64 at:

Jose

Khem Raj <raj.khem@...> escreveu no dia sexta, 29/04/2022 à(s) 16:53:



On 4/29/22 4:51 AM, Alessio Igor Bogani wrote:
> Dear Yocto developers,
>
> Is there a way to generate an SDK which contains the toolchain for
> bare-metal systems (i.e. MCU without operating system)?
>

its possible to build baremetal toolchains, e.g. look at meta-riscv
baremetal machines e.g.


https://github.com/riscv/meta-riscv/blob/master/conf/machine/baremetal-riscv32.conf


you can do

MACHINE=baremetal-riscv32 bitbake meta-toolchain

Which will give you a toolchain, but if you want more like what we can
do with MCU OSes like freertos and zephyr take a look at

meta-zephyr (https://git.yoctoproject.org/meta-zephyr/) and
meta-freertos (https://github.com/aehs29/meta-freertos)

> Thanks in advance!
>
> Ciao,
> Alessio
>
>
>
>
>





--
Best regards,

José Quaresma


Khem Raj
 

On 4/29/22 4:51 AM, Alessio Igor Bogani wrote:
Dear Yocto developers,
Is there a way to generate an SDK which contains the toolchain for
bare-metal systems (i.e. MCU without operating system)?
its possible to build baremetal toolchains, e.g. look at meta-riscv baremetal machines e.g.


https://github.com/riscv/meta-riscv/blob/master/conf/machine/baremetal-riscv32.conf


you can do

MACHINE=baremetal-riscv32 bitbake meta-toolchain

Which will give you a toolchain, but if you want more like what we can do with MCU OSes like freertos and zephyr take a look at

meta-zephyr (https://git.yoctoproject.org/meta-zephyr/) and meta-freertos (https://github.com/aehs29/meta-freertos)

Thanks in advance!
Ciao,
Alessio


Leon Woestenberg
 

Hello Alessio,

On Fri, 29 Apr 2022, 13:52 Alessio Igor Bogani, <alessio.bogani@...> wrote:
Is there a way to generate an SDK which contains the toolchain for
bare-metal systems (i.e. MCU without operating system)?
Good question. I know Xilinx has put effort to support their MCUs with Yocto.

However, define what you mean by SDK? Which libraries or programming
languages are you thinking of beyond the C library for example?

On Fri, Apr 29, 2022 at 1:58 PM Laurent Gauthier
<laurent.gauthier@...> wrote:
Have you had a look at crosstool-ng?
crosstool-ng is mostly the toolchain, I would not consider this an SDK
beyond that.

This might help:

https://elinux.org/images/e/e6/ELC-Yocto-Crosstool-ng.pdf

Regards,

Leon.


Laurent Gauthier
 

Hi Alessio,

Have you had a look at crosstool-ng?

Best regards, Laurent.

On Fri, 29 Apr 2022, 13:52 Alessio Igor Bogani, <alessio.bogani@...> wrote:
Dear Yocto developers,

Is there a way to generate an SDK which contains the toolchain for
bare-metal systems (i.e. MCU without operating system)?

Thanks in advance!

Ciao,
Alessio




Alessio Igor Bogani
 

Dear Yocto developers,

Is there a way to generate an SDK which contains the toolchain for
bare-metal systems (i.e. MCU without operating system)?

Thanks in advance!

Ciao,
Alessio