Page 1 of 1

Luckfox Pico Mini support mmap for GPIO access?

Posted: 2024-09-02 16:48
by pdoanthuannb96
Hello everyone,

I am working with an Luckfox Pico Mini. I have successfully used sysfs for GPIO configuration as per the documentation, but I am wondering if mmap is supported on this board for more direct memory access, specifically for GPIO control.

I would like to confirm if mmap is officially supported or if there are any specific configurations or kernel modules I need to enable. Has anyone successfully implemented mmap on Luckfox Pico Mini, or can provide insights on how to verify mmap support for GPIO on the Luckfox Pico Mini ? Any advice or documentation references would be greatly appreciated.

Thank you.

Re: Luckfox Pico Mini support mmap for GPIO access?

Posted: 2024-09-03 1:24
by Crocodile
Hello,
Other members have previously attempted to write a kernel driver to control GPIO based on registers, which you can refer to viewtopic.php?p=2779&hilit=gpio#p2779.

Additionally, please post topics related to the Luckfox Pico in the corresponding section.