-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Description
Description of defect
The function gpio_apply_config
in gpio_api of NRF5x using a variable with uninitalized memory witch leads to wrong configured GPIO. The member skip_gpio_setup
is not initalized, so in our case the configuration of the pull up resistor was sometimes not applied.
[Source]
nrfx_gpiote_in_config_t cfg; |
Target(s) affected by this defect ?
We use a custom board with NRF52832. I think all targets with this MCU are affected.
Toolchain(s) (name and version) displaying this defect ?
GCC for Arm (gcc-arm-none-eabi-9-2019-q4-major)
What version of Mbed-os are you using (tag or sha) ?
mbed-os-5.15.4
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
mbed-cli 1.10.2
How is this defect reproduced ?
The error occurs randomly because the memory is uninitialized.