mbed-os/components/testing/COMPONENT_FPGA_CI_TEST_SHIELD
Przemyslaw Stekiel f6acb51893 Update find_ports() FPGA testing utility function to loop through the form factor pins instead the pin-map
This change is required to fully remove gpio pin-maps which were already added for FPGA testing.
One use case of adding gpio pinmap was that pin-map must have the specific format - must be ended with NC pin. Functions that deal with pin-maps loops through the pin-map until NC pin is encountered.
Also, our FPGA testing utility function to find pins for testing does that. When gpio pinmaps are fully removed we will have one generic gpio pinmap which provides Arduino pins: D0, D1, D2, etc. (only Arduino form factor is supported at the moment).
In some cases may happen that an arduino pin is not connected (e.g. KW24D: D4 == NC). As a result we will have NC not only at the end, but also in the middle of the gpio pin-map.
In this case find_ports() function will finish processing pin-map to early (when first NC is encountered).
The proposition is to change the find_ports() FPGA testing utility function to loop through form factor pins (instead pin-map) and then check if the pin is not NC and is available on the specific pin-map before using it for testing.
2020-02-24 14:44:33 +01:00
..
DynamicPinList.cpp Check in files for the FPGA CI Test Shield 2019-05-07 15:10:47 -05:00
DynamicPinList.h Remove inclusion of mbed.h from FPGA 2019-05-07 17:01:44 -05:00
I2CTester.cpp I2CTester: add address mismatch statistics 2019-07-03 10:05:53 +02:00
I2CTester.h I2CTester: fix dosc 2019-07-03 10:26:41 +02:00
MbedTester.cpp Merge pull request #10104 from kjbracey-arm/sleep_api 2019-07-17 14:37:53 +03:00
MbedTester.h Fix typos in the FPGA CI Test Shield component 2019-05-26 13:29:14 -05:00
SPIMasterTester.cpp Add SCLK and SIN stats to SPIMasterTester. 2019-05-27 09:48:33 +02:00
SPIMasterTester.h Add SCLK and SIN stats to SPIMasterTester. 2019-05-27 09:48:33 +02:00
SPISlaveTester.cpp Run astyle on all FPGA files 2019-05-08 11:01:17 -05:00
SPISlaveTester.h Check in files for the FPGA CI Test Shield 2019-05-07 15:10:47 -05:00
SPITester.cpp Run astyle on all FPGA files 2019-05-08 11:01:17 -05:00
SPITester.h Check in files for the FPGA CI Test Shield 2019-05-07 15:10:47 -05:00
UARTTester.cpp Bring in more changes from FPGA repo 2019-05-23 19:17:32 -05:00
UARTTester.h Bring in more changes from FPGA repo 2019-05-23 19:17:32 -05:00
fpga_config.h I2CTester: add address mismatch statistics 2019-07-03 10:05:53 +02:00
test_utils.h Update find_ports() FPGA testing utility function to loop through the form factor pins instead the pin-map 2020-02-24 14:44:33 +01:00