pikapython/port/linux/test/hal-test.cpp

7 lines
127 B
C
Raw Normal View History

#include "test_common.h"
2022-12-17 16:02:59 +08:00
TEST(hal, open) {
pika_dev* io = pika_hal_open(PIKA_HAL_GPIO, "PA10");
2022-12-17 16:02:59 +08:00
pika_hal_close(io);
}