Re-raising this issue from here: https://github.com/ARMmbed/mbed-os/issues/11731
During the mbed_hal-reset_reason greentea test the device is reset using DAP and the test expects to see a PIN_RESET reason upon reset. The Cypress PSoC6 hardware does not support a reset reason for a DAP reset and is therefore unable to differentiate between a DAP reset and a basic power on. Would it be advisable for the test to additionally accept an UNKNOWN reset reason following the DAP reset? If not, is there a mechanism to skip the test given that it depends on functionality which the hardware does not support?
On a side note, could passing a different reset method to mbedgt (e.g -r pyocd) result in a different reset reason following the DAP reset?