Skip to content

Commit

Permalink
added gpio0 and gpio1 to target spec
Browse files Browse the repository at this point in the history
  • Loading branch information
charles37 committed Nov 13, 2024
1 parent c0ac7b0 commit af40129
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions hwci/target_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,11 @@ pin_mappings:
target_pin_function: BUTTON2
target_pin_mode: input
target_pin_active: low
P1.01:
io_interface: raspberrypi5gpio
io_pin_spec: 16
target_pin_function: GPIO0
P1.02:
io_interface: raspberrypi5gpio
io_pin_spec: 13
target_pin_function: GPIO1
2 changes: 1 addition & 1 deletion hwci/tests/gpio_original.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def __init__(self):
def oneshot_test(self, board):
gpio = board.gpio

gpio_pin_label = "P0.13"
gpio_pin_label = "P1.01"
try:
gpio_pin = gpio.pin(gpio_pin_label)
except ValueError as e:
Expand Down

0 comments on commit af40129

Please sign in to comment.