readme

来自「fsmlabs的real time linux的内核」· 代码 · 共 15 行

TXT
15
字号
Here you find an example of communicating between rtlinux rt-threads and userspace applications using /dev/mem. hello.o		rtlinux kernel module that rtl_printf's the value stored in 		shared memory - see hello_func.c for the thread code, run 		dmesg to view output.read_dev_mem 	user-space app reading the value from the same shared memory 		locationwrite_dev_mem 	write integers to /dev/mem, on exit the string quit is entered		which is converted to 0 by atoi so after you type in quite 		shared memory is set to 0.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?