Skip to content

kubo39/zephyr_ldc_examples

Repository files navigation

LDC on Zephyr examples

Prerequiresites

  • LDC (>=1.32.1)
  • DUB

For Zephyr, read Getting Started Guide

For Qemu on Zephyr, read Run the Application in QEMU

How to build

Example: pthread

QEMU

$ source ~/zephyrproject/.venv/bin/activate
$ west build -b qemu_cortex_m3 pthread
$ west build -t run
(...)
*** Booting Zephyr OS build v4.0.0-4204-gcef0c1af0d8f ***
thread stack: 0x200026e4
Hello World!
QEMU: Terminated

native sim

$ source ~/zephyrproject/.venv/bin/activate
$ west build -b native_sim pthread
$ west build -t run
(...)
*** Booting Zephyr OS build v4.0.0-4204-gcef0c1af0d8f ***
thread stack: 0xf7416218
Hello World!
^C

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published