📄 readme.simple_device
字号:
simple_device.c is actually not related to rtlinux at all - but as there are questions about how to write a simple driver on the mailing list from time to time a very simple driver is included here. It only provides open/read/release and these do nothing but issue a printk (view with dmesg)to trigger the open/read/release load simple_driver.o and then run ./read_simple_driver folowed by dmesg to see the printk's .If you want to get a serious intro to writing linux device drivers and not only how to missuse them as an interface to rt-threads check "Linux DeviceDrivers 2nd Edition" by Allessandro Rubini (publisher: O'Reilly)hofrat
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -