-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Description
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