SEL4 tutorial-helloworld

简介: SEL4 tutorial-helloworld

代码下载:

mkdir sel4-tutorials
cd sel4-tutorials
repo init -u https://github.com/seL4/sel4-tutorials-manifest
repo sync

设置本地cmake版本

export PATH=/usr/cmake-3.23.0-linux-x86_64/bin:$PATH

查看编译指令的帮助:

./init -h
usage: init [-h] [--verbose] [--quiet] [--plat {pc99,zynq7000}] --tut
            {hello-world,ipc,dynamic-1,dynamic-2,dynamic-3,dynamic-4,hello-camkes-0,hello-camkes-1,hello-camkes-2,hello-camkes-timer,capabilities,untyped,mapping,camkes-vm-linux,camkes-vm-crossvm,threads,notifications,mcs,interrupts,fault-handlers}

首先我们编译hello world教程

开始编译

./init --tut hello-world
cd hello-worldsn_5olnb_build
ninja

开始运行:

./simulate

结束运行:

CRTL+A
X

安装缺少依赖python库(根据编译报错提示安装)

sudo pip3 install sh
sudo pip3 install pyaml
sudo apt-get install qemu-system-x86

参考网站:

链接: sel4 tutorial hello-world

链接: sel4 tutorial代码获取

相关文章
|
8月前
|
监控 Java
|
9月前
SEL4 tutorial hello-camkes-0
SEL4 tutorial hello-camkes-0
|
机器人 Unix API
move_group_python_interface_tutorial代码注释
move_group_python_interface_tutorial代码注释
|
JavaScript 前端开发 Ruby
|
安全 iOS开发 编译器
Effective Objective-C 2.0 Tips 总结 Chapter 3 & Chapter 4
Chapter 3 接口与 API 设计 Tips 15 使用前缀避免明明空间冲突 Objective-C 没有命名空间,所以我们在起名时要设法避免命名冲突 避免命名冲突的方法就是使用前缀 应用中的所有名称都需要加前缀(包括实现文件中的全局变量和...
1068 0