Hello,
I have installed the armStoneA8-V1.1 package and already written a simple hello world to ensure the toolchain works. It does.
Because I am a Linux newbie, I am already proud of what I reached so far.
Now, I am trying to address a 3,3V serial device via rx and tx pins on the armstone A8 rev1.0. but i do not have any idea how to do this.
I transferred the gpio example I downloaded from your site and tried to start it. It crashed.
in your source you use:
#define SYS_DIR "/sys/class/gpio/gpio145/direction"
#define SYS_VAL "/sys/class/gpio/gpio145/value".
Those directories do not exist on my system.
There are a lot of other "gpio" directories, but none of them contains a "direction" or a "value" folder.
Are there any other examples how to "talk" to hardware?
The spi example does not work either.
#define DEFAULT_ADAPTER "/dev/spidev1.0" odes not exist...
Regards,
Johann