mbed-os/targets/TARGET_RENESAS/TARGET_RZ_A2XX
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_MANGO Update UART pin names & add MBED_CONF_TARGET_STDIO_UART overrides 2021-03-23 11:17:17 +00:00
common Modified license and code style. 2020-12-07 10:11:20 +09:00
r_can Added Apache-2.0 license to the files in r_can directory. 2020-11-13 08:56:15 +09:00
CMakeLists.txt CMake: Add `.cpp` files to target_sources 2021-04-19 16:19:51 +01:00
PeripheralPins.h Modifed some source files for GR-MANGO. 2020-08-18 10:48:56 +09:00
USBEndpoints_RZ_A2.h Added GR-MANGO to be a target. 2020-08-18 10:48:48 +09:00
USBPhyHw.h Added GR-MANGO to be a target. 2020-08-18 10:48:48 +09:00
USBPhy_RZ_A2.cpp Remove include dependency on `USBDevice_Types.h` 2021-04-19 16:20:25 +01:00
USBPhy_RZ_A2_Def.h Added GR-MANGO to be a target. 2020-08-18 10:48:48 +09:00
analogin_api.c Modifed some source files for GR-MANGO. 2020-08-18 10:48:56 +09:00
can_api.c CAN: Use uintptr_t for can_irq_ids 2021-09-17 13:36:43 +01:00
flash_api.c Modifed some source files for GR-MANGO. 2020-08-18 10:48:56 +09:00
gpio_addrdefine.h Added GR-MANGO to be a target. 2020-08-18 10:48:48 +09:00
gpio_api.c Modifed some source files for GR-MANGO. 2020-08-18 10:48:56 +09: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 Modifed some source files for GR-MANGO. 2020-08-18 10:48:56 +09:00
i2c_api.c Fixed I2C slave bugs on Renesas RZ/A series: 2020-10-16 18:00:42 +09:00
objects.h Modifed some source files for GR-MANGO. 2020-08-18 10:48:56 +09:00
pinmap.c Modifed some source files for GR-MANGO. 2020-08-18 10:48:56 +09:00
port_api.c Modifed some source files for GR-MANGO. 2020-08-18 10:48:56 +09:00
pwmout_api.c pwmout - RZ_A2XX - add read methods for period and pulsewidth 2020-09-02 13:39:15 +02:00
rtc_api.c Modifed some source files for GR-MANGO. 2020-08-18 10:48:56 +09:00
serial_api.c Modifed some source files for GR-MANGO. 2020-08-18 10:48:56 +09:00
sleep.c Modified the timing to wait UART completion in deep sleep function. 2020-10-09 17:28:52 +09:00
spi_api.c Modifed some source files for GR-MANGO. 2020-08-18 10:48:56 +09:00
spibsc.h Modifed some source files for GR-MANGO. 2020-08-18 10:48:56 +09:00
us_ticker.c Modifed some source files for GR-MANGO. 2020-08-18 10:48:56 +09:00