mbed-os/targets/TARGET_ARM_SSG/TARGET_MUSCA_S1
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
..
Libraries Add platform support to Musca S1 2020-09-10 14:53:41 +02:00
device TFM: Remove BL2 macro workaround for mbed-cli1/ARMClang 2021-09-14 17:32:42 +01:00
partition TFM: MUSCA: Import partition maps from upstream 2021-09-14 17:32:42 +01:00
CMakeLists.txt tfm: Move tfm_ns_interface.c 2021-09-14 17:32:42 +01:00
LICENSE Add platform support to Musca S1 2020-09-10 14:53:41 +02:00
LICENSE-BSD-3-Clause Add platform support to Musca S1 2020-09-10 14:53:41 +02:00
LICENSE-permissive-binary-license-1.0.txt Add platform support to Musca S1 2020-09-10 14:53:41 +02:00
PeripheralNames.h Update UART pin names & add MBED_CONF_TARGET_STDIO_UART overrides 2021-03-23 11:17:17 +00:00
PinNames.h Update PinNames markers 2021-03-18 17:01:54 +00:00
bl2.bin "Update secure binaries for [('ARM_MUSCA_S1', 'ARMCLANG')]" 2021-09-14 17:32:42 +01:00
device.h Add platform support to Musca S1 2020-09-10 14:53:41 +02:00
flash_api_qspi.c Add platform support to Musca S1 2020-09-10 14:53:41 +02:00
gpio_api_ns.c musca targets: use IsException instead of removed isIrqMode 2021-07-29 14:31:39 +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 platform support to Musca S1 2020-09-10 14:53:41 +02:00
i2c_api.c Add platform support to Musca S1 2020-09-10 14:53:41 +02:00
lp_ticker.c Add platform support to Musca S1 2020-09-10 14:53:41 +02:00
mbed_serial_platform.c Add platform support to Musca S1 2020-09-10 14:53:41 +02:00
mbed_serial_platform.h Add platform support to Musca S1 2020-09-10 14:53:41 +02:00
musca_s1-root-rsa-3072.md Copy signing keys into each Musca target's path 2021-03-05 16:16:26 +00:00
musca_s1-root-rsa-3072.pem Copy signing keys into each Musca target's path 2021-03-05 16:16:26 +00:00
musca_s1-root-rsa-3072_1.pem Copy signing keys into each Musca target's path 2021-03-05 16:16:26 +00:00
objects.h Add platform support to Musca S1 2020-09-10 14:53:41 +02:00
pinmap.c Add platform support to Musca S1 2020-09-10 14:53:41 +02:00
s_veneers.o "Updated secure binaries for [('ARM_MUSCA_S1', 'ARMCLANG')]" 2021-02-25 14:02:57 +00:00
serial_api.c Add platform support to Musca S1 2020-09-10 14:53:41 +02:00
sleep_api.c Add platform support to Musca S1 2020-09-10 14:53:41 +02:00
tfm_ioctl_api.h Add platform support to Musca S1 2020-09-10 14:53:41 +02:00
tfm_ioctl_ns_api.c Add platform support to Musca S1 2020-09-10 14:53:41 +02:00
tfm_ns_interface.c tfm: Move tfm_ns_interface.c 2021-09-14 17:32:42 +01:00
tfm_s.axf "Update secure binaries for [('ARM_MUSCA_S1', 'ARMCLANG')]" 2021-09-14 17:32:42 +01:00
tfm_s.bin "Update secure binaries for [('ARM_MUSCA_S1', 'ARMCLANG')]" 2021-09-14 17:32:42 +01:00
us_ticker.c Add platform support to Musca S1 2020-09-10 14:53:41 +02:00