mirror of https://github.com/ARMmbed/mbed-os.git
f6acb51893
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. |
||
---|---|---|
.. | ||
DynamicPinList.cpp | ||
DynamicPinList.h | ||
I2CTester.cpp | ||
I2CTester.h | ||
MbedTester.cpp | ||
MbedTester.h | ||
SPIMasterTester.cpp | ||
SPIMasterTester.h | ||
SPISlaveTester.cpp | ||
SPISlaveTester.h | ||
SPITester.cpp | ||
SPITester.h | ||
UARTTester.cpp | ||
UARTTester.h | ||
fpga_config.h | ||
test_utils.h |