Does Rock 2F support wiringX?

Refer to this article:
https://wiki.radxa.com/Rock/wiringX

and:

I have successfully built and installed the dynamic link library on my system and compiled an application to test the PIN_3 outputs with the sample code, but I can’t seem to successfully control the GPIO ports.

This article is ancient and no longer relevant.

@Nasca

Thank you for your reply, are there any support programs for the Rock 2 Series? For development boards, I think wiringX is a good GPIO solution.

This needs to be ported and adapted, which will take a while.

Thanks and looking forward to it!

Is there an disk image anywhere?
I had a brief look and there is android 2a images but wondering if anyone had managed a linux image

1 Like

Apols as looked in products and the releases github and forgot the docs is seperate

Hello @PokerS, there is also a gpio library called libmraa that may be faster to port, you can check out its github repository, and MRAA has more API interfaces than WiringX.

Thank you! I’m very interested in it and will try to port and use it on Rock 2F/2A.

I’m porting libmraa to ROCK 2A/2F now.

Hi @PokerS, I have finished porting mraa to ROCK 2A/2F just now, you can try it.

Here is the step,

git clone https://github.com/nascs/mraa.git
cd mraa
git checkout -b Add_Radxa_ROCK2_Series_Support origin/Add_Radxa_ROCK2_Series_Support
mkdir build
cd build
cmake .. && make -j$(nproc) && sudo make install && sudo ldconfig

for, more info, you can refer to https://github.com/nascs/mraa/tree/Add_Radxa_ROCK2_Series_Support, and I’ll add mraa documents to radxa docs of ROCK 2A/2F next week.

2 Likes

And I’ll do a full test on ROCK 2A/2F next week.

1 Like

@Nasca That’s great news, I’ll try it out, thanks for all your hard work!

1 Like

Hi @PokerS, I have completed the mraa testing on the ROCK 2A/2F and have pushed the changes to GitHub, you can fetch the latest code.