Skip to content

kubo39/zephyr_ldc_examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LDC on Zephyr examples

Prerequiresites

  • LDC
  • Dub

For Zephyr, read https://docs.zephyrproject.org/latest/develop/getting_started/index.html

For Qemu on Zephyr, read https://docs.zephyrproject.org/latest/develop/beyond-GSG.html#run-the-application-in-qemu

How to build

Currently requires upstream ldc compiler: https://github.com/ldc-developers/ldc

Example: pthread

$ cd $ZEPHYR_BASE
$ west build -b qemu_cortex_m3 samples/ldc_examples/pthread
$ west build -t run
(...)
*** Booting Zephyr OS build zephyr-v3.3.0-592-gcaa88b2cfdf2 ***
thread stack: 0x20000698
Hello World!
QEMU: Terminated

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published