Done: emonPi manifest PR:
I have not been able to test this custom board since I seem to encounter an error while adding any custom board, I created a new topic:
I have also added the corresponding entry for GPIO4 / pin7 reset:
I have just tried to test GPIO and I’m having permissions error
scons: *** [upload] /sys/class/gpio/gpio18/direction: Permission denied
I’m not sure why there is a permissions error since I can successfully control the GPIO using non root commands (pi user) bash e.g.
echo 4 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio4/direction
echo 1 > /sys/class/gpio/gpio4/value
echo 0 > /sys/class/gpio/gpio4/value
echo 4 > /sys/class/gpio/unexport
Does platformio run as pi
user on a RaspberryPi? If not I will need to add platformio to the gpio
user group.