File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
TESTS/mbed_hal_fpga_ci_test_shield Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,9 @@ void gpio_inout_test()
6666{
6767 for (int i = 0 ; i < form_factor->count ; i++) {
6868 const PinName test_pin = form_factor->pins [i];
69+ if (test_pin == NC) {
70+ continue ;
71+ }
6972 if (pinmap_list_has_pin (restricted, test_pin)) {
7073 printf (" Skipping gpio pin %s (%i)\r\n " , pinmap_ff_default_pin_to_string (test_pin), test_pin);
7174 continue ;
Original file line number Diff line number Diff line change @@ -248,6 +248,9 @@ void gpio_irq_test()
248248{
249249 for (uint32_t i = 0 ; i < form_factor->count ; i++) {
250250 const PinName test_pin = form_factor->pins [i];
251+ if (test_pin == NC) {
252+ continue ;
253+ }
251254 if (pinmap_list_has_pin (restricted, test_pin)) {
252255 printf (" Skipping gpio pin %s (%i)\r\n " , pinmap_ff_default_pin_to_string (test_pin), test_pin);
253256 continue ;
You can’t perform that action at this time.
0 commit comments