Thanks, I'll check it out. Pierre FICHEUX <pierre.fich...@smile.fr> 于2020年4月7日周二 下午6:34写道:
> Hi, > > I wrote some RTDM examples for Pi 3 GPIO (based on BCM register access, > not GPIO kernel API). > > May be it could help... > > regards > > Le lun. 6 avr. 2020 à 09:45, Jan Kiszka via Xenomai <xenomai@xenomai.org> > a écrit : > >> On 06.04.20 09:22, 孙世龙 via Xenomai wrote: >> > Is anybody could show me a simple xenomai3 rtdm driver to read/write >> > virtual memory device? >> > A virtual memory device to: >> > write "hello world" to memory device in real real time(It's >> appricate >> > if the write operation could wake up the read task which allready >> waited to >> > read) >> > read the memory device in real time(It's appricate if the read >> operation >> > could wake up the write task which allready waited to write) >> > >> >> What do you mean with "virtual memory"? >> >> If you are looking for a pattern how a driver implements read/write >> callbacks, maybe study the serial drivers. They come closest to "simple". >> >> Jan >> >> -- >> Siemens AG, Corporate Technology, CT RDA IOT SES-DE >> Corporate Competence Center Embedded Linux >> >> > > -- > > Pierre FICHEUX -/- CTO Smile ECS, France -\- pierre.fich...@smile.fr > http://www.smile.fr > https://smile.eu/fr/offres/embarque-iot > I would love to change the world, but they won't give me the source code > >