Skip to content

Commit

Permalink
[am62a] added the enabled GPIO1 pins support in test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
sinha-shreyash committed Apr 2, 2024
1 parent bb698b7 commit b78e5c3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion samples/test_all_pins.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"hw_pwm": (32, 33, 36), # HW PWMs to skip for this test
},
"AM62A_SK": {
"unimplemented": (7, 8, 10, 11, 19, 21, 23, 24, 26, 38, 40),
"unimplemented": (7, ),
"input_only": (),
"hw_pwm": (12, 33, 35, 36), # HW PWMs to skip for this test
},
Expand Down
12 changes: 12 additions & 0 deletions samples/test_all_pins_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,27 @@

am62a_sk_pin_defs = [
# BOARD BCM SOC
# (7, 4, "GPIO1_30"),
(8, 14, "GPIO1_25"),
(10, 15, "GPIO1_24"),
# (11, 17, "GPIO1_11"),
(12, 18, "GPIO1_14"),
(13, 27, "GPIO0_42"),
(15, 22, "GPIO1_22"),
(16, 23, "GPIO0_38"),
(18, 24, "GPIO0_39"),
(19, 10, "GPIO1_18"),
(21, 9, "GPIO1_19"),
# (22, 25, "GPIO0_14"),
(23, 11, "GPIO1_17"),
# (24, 8, "GPIO1_15"),
# (26, 7, "GPIO1_16"),
(29, 5, "GPIO0_36"),
(31, 6, "GPIO0_33"),
(32, 12, "GPIO0_40"),
(37, 26, "GPIO0_41"),
(38, 20, "GPIO1_08"),
(40, 21, "GPIO1_07"),
]

am62p_sk_pin_defs = [
Expand Down
2 changes: 1 addition & 1 deletion samples/test_all_pins_pwm.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"hw_pwm": [32, 33, 36], # Designated HW PWM pins
},
"AM62A_SK": {
"sw_pwm": [13, 15, 16, 18, 22, 29, 31, 32, 37], # Can be any valid GPIO pins
"sw_pwm": [8, 10, 11, 12, 13, 15, 16, 18, 19, 21, 22, 23, 24, 26, 29, 31, 32, 37, 38, 40], # Can be any valid GPIO pins
"hw_pwm": [12, 33, 35, 36], # Designated HW PWM pins
},
"AM62P_SK": {
Expand Down

0 comments on commit b78e5c3

Please sign in to comment.