friendlyarm / RPi.GPIO_NP

GNU General Public License v2.0
12 stars 14 forks source link

GPIO library for s5p6818 based cards #5

Open frkn3206 opened 3 years ago

frkn3206 commented 3 years ago

Hello, do you plan to make such a library for your s5p6818-based friendlyELEC-based cards? I have nanopi fire3 and smart6818 cards but I don't have gpio access other than sysfs. The sysfs interface does not meet my needs.

djddb commented 2 years ago

I have a NanoPiS2 with S5P4418. I just completed migrate code. PIN 7 led can blink now. After test I will publish it. 我又一块NanoPiS2,CPU是S5P4418,S5P4418和S5P6818的寄存器是一致的,所以我参照了官方的WiringNP和 RPi.GPIO_NP移植的代码。官方的WiringNP只要修改一点点,然后完成PIN和GPIO编号的映射表就行,官方WiringNP支持NanoPC T3,这个也是S5P6818的。RPi.GPIO_NP移植比较费劲,刚刚成功,完整测试后会发出来。