mbed-os/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS
Hari Limaye f4e5359710 GPIO: Use uintptr_t for gpio_irq_api context
The HAL gpio_irq_api stores object IDs, which serve as a form of context
for the dispatch of the interrupt handler in the drivers level
InterruptIn Class. The way this is achieved is that the InterruptIn
Class casts its address to uint32_t, which is stored as the ID.
This results in compilation failure when the size of an object pointer
is greater than uint32_t, for example when building on a PC for unit
testing.

In order to allow Unit Testing of the InterruptIn Class, we replace the
use of uint32_t with uintptr_t (type capable of holding a pointer),
which allows portability and expresses intentions more clearly.
In aid of this latter goal, we also replace the use of the name "id"
with "context", to improve clarity - these are addresses of the context
related to that callback.
2022-01-26 18:12:52 +00:00
..
TARGET_K66F Update UART pin names & add MBED_CONF_TARGET_STDIO_UART overrides 2021-03-23 11:17:17 +00:00
TARGET_K82F Update UART pin names & add MBED_CONF_TARGET_STDIO_UART overrides 2021-03-23 11:17:17 +00:00
TARGET_KL43Z Update UART pin names & add MBED_CONF_TARGET_STDIO_UART overrides 2021-03-23 11:17:17 +00:00
TARGET_KW41Z Update UART pin names & add MBED_CONF_TARGET_STDIO_UART overrides 2021-03-23 11:17:17 +00:00
TARGET_MCU_K22F Update UART pin names & add MBED_CONF_TARGET_STDIO_UART overrides 2021-03-23 11:17:17 +00:00
TARGET_MCU_K64F K64F: Fix pin names and migrate to Arduino Uno form factor 2021-06-28 17:47:25 +01:00
api GPIO: Use uintptr_t for gpio_irq_api context 2022-01-26 18:12:52 +00:00
middleware/wireless/TARGET_FRAMEWORK_5_3_3 CMake: Refactor Freescale targets 2021-02-11 11:02:18 +00:00
CMakeLists.txt CMake Freescale: add freescale prefix to avoid conflict with NXP 2021-03-16 17:30:09 +00:00
fsl_common.c nxp: fix vector redefinition from CMSIS 2020-06-04 09:10:08 +01:00