Skip to content

EFM32 support NC pin #10191

@dudmuck

Description

@dudmuck

Description

allow EFM32 platforms to permit NC pin. Other platforms ignore pins defined as NC. EFM32 gpio_irq_preinit() has MBED_ASSERT(pin != NC), causing lockup on NC pin. Also in gpio_init() in gpio_api.c for EFM32 has the same assert.
Other platforms (such as STM32) return out and do nothing for NC pin. Pins are sometimes defined as NC in mbed-app.json for pins not used.

Issue request type

[ ] Question
[ ] Enhancement
[x ] Bug

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions