c-periphery icon indicating copy to clipboard operation
c-periphery copied to clipboard

test_gpio gpio_set_bias(gpio, GPIO_BIAS_PULL_UP) fails

Open pezi opened this issue 4 years ago • 0 comments

On a RPi 3B+ with Linux raspberrypi 5.10.17-v7+ #1403 SMP Mon Feb 22 11:29:51 GMT 2021 armv7l GNU/Linux

 ./test_gpio /dev/gpiochip0 17 27
[ OK ]  /home/pi/c-periphery/tests/test_gpio.c test_open_config_close():151  edge == GPIO_EDGE_NONE
 [FAIL]  /home/pi/c-periphery/tests/test_gpio.c test_open_config_close():154  gpio_set_bias(gpio, GPIO_BIAS_PULL_UP) == 0

Fails also for su, not cable connection at this point of the test. Any idea?

pezi avatar Apr 19 '21 05:04 pezi