mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A1XX
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_GR_LYCHEE Update UART pin names & add MBED_CONF_TARGET_STDIO_UART overrides 2021-03-23 11:17:17 +00:00
TARGET_RZ_A1H Update UART pin names & add MBED_CONF_TARGET_STDIO_UART overrides 2021-03-23 11:17:17 +00:00
common Add missing license description to RZ/A1 driver 2019-02-26 11:52:29 +09:00
CMakeLists.txt CMake: Add `.cpp` files to target_sources 2021-04-19 16:19:51 +01:00
PeripheralPins.h Add SPDX license identifier to Arm files 2020-10-15 10:47:27 +01:00
USBEndpoints_RZ_A1.h Relocate USB target specific code to root `targets` directory 2019-08-16 15:42:43 +01:00
USBPhyHw.h Relocate USB target specific code to root `targets` directory 2019-08-16 15:42:43 +01:00
USBPhy_RZ_A1.cpp Remove include dependency on `USBDevice_Types.h` 2021-04-19 16:20:25 +01:00
USBPhy_RZ_A1_Def.h Relocate USB target specific code to root `targets` directory 2019-08-16 15:42:43 +01:00
analogin_api.c Add SPDX license identifier to Arm files 2020-10-15 10:47:27 +01:00
can_api.c CAN: Use uintptr_t for can_irq_ids 2021-09-17 13:36:43 +01:00
flash_api.c Add SPDX license identifier to Arm files 2020-10-15 10:47:27 +01:00
gpio_addrdefine.h Add missing license description to RZ/A1 driver 2019-02-26 11:52:29 +09:00
gpio_api.c Add SPDX license identifier to Arm files 2020-10-15 10:47:27 +01:00
gpio_irq_api.c GPIO: Use uintptr_t for gpio_irq_api context 2022-01-26 18:12:52 +00:00
gpio_object.h Add SPDX license identifier to Arm files 2020-10-15 10:47:27 +01:00
i2c_api.c Fixed I2C slave bugs on Renesas RZ/A series: 2020-10-16 18:00:42 +09:00
lp_ticker.c Add SPDX license identifier to Arm files 2020-10-15 10:47:27 +01:00
mtu2.c Add SPDX license identifier to Arm files 2020-10-15 10:47:27 +01:00
mtu2.h Add SPDX license identifier to Arm files 2020-10-15 10:47:27 +01:00
objects.h Add SPDX license identifier to Arm files 2020-10-15 10:47:27 +01:00
pinmap.c Add SPDX license identifier to Arm files 2020-10-15 10:47:27 +01:00
port_api.c Add SPDX license identifier to Arm files 2020-10-15 10:47:27 +01:00
pwmout_api.c Add SPDX license identifier to Arm files 2020-10-15 10:47:27 +01:00
rtc_api.c Add SPDX license identifier to Arm files 2020-10-15 10:47:27 +01:00
serial_api.c Add SPDX license identifier to Arm files 2020-10-15 10:47:27 +01:00
sleep.c Merge pull request #13747 from RyoheiHagimoto/modify_renesas_deepsleep 2020-10-27 14:09:04 +00:00
spi_api.c Add SPDX license identifier to Arm files 2020-10-15 10:47:27 +01:00
spibsc.h Support Flash iAP for GR-PEACH and GR-LYCHEE 2018-06-22 10:40:45 +09:00
trng_api.c Add SPDX license identifier to Arm files 2020-10-15 10:47:27 +01:00
us_ticker.c Add SPDX license identifier to Arm files 2020-10-15 10:47:27 +01:00