Re: OS-less SDK


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

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.