Skip to content

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.

License

Notifications You must be signed in to change notification settings

thomascp/zephyr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hi,

This repo was added riscv32/riscv64 SMP support for zephyr.

The support is a quick one which based on v1.14-branch, so only support limited features.

It is only tested on renode simulator sifive-fe310 and hifive-unleashed model.

Renode dir is the configuration of renode tools, some are modified for this quick support.

This work is just for fun!

Some useful script:

export ZEPHYR_SDK_INSTALL_DIR= export ZEPHYR_TOOLCHAIN_VARIANT=cross-compile export CROSS_COMPILE=/opt/riscv/bin/riscv64-unknown-linux-gnu-

cd .. rm -rf build; mkdir build; cd build cmake -DBOARD=hifive_unleashed .. make

include @scripts/single-node/hifive_unleashed.resc

/opt/riscv/bin/riscv64-unknown-linux-gnu-gdb /home/neo/zephyr/zephyr/samples/hello_world/build/zephyr/zephyr.elf target remote 127.0.0.1:1234 display /i $pc

/opt/riscv/bin/riscv64-unknown-linux-gnu-objdump -D /home/neo/zephyr/zephyr/samples/hello_world/build/zephyr/zephyr.elf| less

BR, Peng

opps opps

About

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 98.1%
  • C++ 0.9%
  • Assembly 0.4%
  • Python 0.3%
  • CMake 0.2%
  • Perl 0.1%