Mbed-os: TMPM46B does not support `DigitalOut(NC)` instantiation.

Created on 27 Mar 2019  路  4Comments  路  Source: ARMmbed/mbed-os

Description

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.

Issue request type

[ ] Question
[ ] Enhancement
[x] Bug
CLOSED toshiba mirrored bug

All 4 comments

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.

Was this page helpful?
0 / 5 - 0 ratings