The AdBun-M46B (TMPM46B) target does not support instantiation of DigitalOut ios when the corresponding pin is NC (typically an unused SPI CS or Reset pin in a driver).
This is triggered by the MBED_ASSERT from gpio_set called gpio_api.c#L40.
gpio_init shall return transparently and the rest of the API shall ignored any NC pin.
[ ] Question
[ ] Enhancement
[x] Bug
Internal Jira reference: https://jira.arm.com/browse/MBOCUSTRIA-1060
cc @ARMmbed/team-toshiba
@ithinuel, created PR #10317 for this issue.
Closing since PR was merged. Feel free to reopen if the PR didn't solve this issue.