mbed-os/targets/TARGET_Cypress/TARGET_PSOC6
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
..
COMPONENT_SCL CMake: Refactor Cypress targets 2021-02-15 17:20:23 +00:00
TARGET_CY8CKIT064B0S2_4343W Add <"WHD" IN_LIST MBED_TARGET_LABELS> condition to Cypress boards and wifi driver cmake files 2021-12-10 13:14:29 +01:00
TARGET_CY8CKIT_062S2_43012 Add <"CM0P_SLEEP" IN_LIST MBED_TARGET_LABELS> condition to Cypress boards and common PSOC6 cmake files 2021-12-15 21:37:14 +01:00
TARGET_CY8CKIT_062_BLE Add <"CM0P_SLEEP" IN_LIST MBED_TARGET_LABELS> condition to Cypress boards and common PSOC6 cmake files 2021-12-15 21:37:14 +01:00
TARGET_CY8CKIT_062_WIFI_BT Add <"CM0P_SLEEP" IN_LIST MBED_TARGET_LABELS> condition to Cypress boards and common PSOC6 cmake files 2021-12-15 21:37:14 +01:00
TARGET_CY8CPROTO_062S3_4343W Fix mbed-cy8cproto-062s3-4343w target 2021-12-15 22:16:14 +01:00
TARGET_CY8CPROTO_062_4343W Add <"CM0P_SLEEP" IN_LIST MBED_TARGET_LABELS> condition to Cypress boards and common PSOC6 cmake files 2021-12-15 21:37:14 +01:00
TARGET_CYSBSYSKIT_01 Add bluetooth support files to Cypress BSPs. 2021-08-12 10:06:40 -07:00
TARGET_CYTFM_064B0S2_4343W Add <"WHD" IN_LIST MBED_TARGET_LABELS> condition to Cypress boards and wifi driver cmake files 2021-12-10 13:14:29 +01:00
TARGET_CYW9P62S1_43012EVB_01 Add <"CM0P_SLEEP" IN_LIST MBED_TARGET_LABELS> condition to Cypress boards and common PSOC6 cmake files 2021-12-15 21:37:14 +01:00
TARGET_CYW9P62S1_43438EVB_01 Add <"CM0P_SLEEP" IN_LIST MBED_TARGET_LABELS> condition to Cypress boards and common PSOC6 cmake files 2021-12-15 21:37:14 +01:00
TESTS Addressed comments 2020-01-13 14:46:32 +02:00
abstraction-rtos Fix file modes. 2021-06-04 13:44:44 -07:00
core-lib Fix file modes. 2021-06-04 13:44:44 -07:00
ext-wifi-fw Reorganize assets. 2021-06-02 17:11:02 -07:00
mtb-hal-cat1 Fix file modes. 2021-06-04 13:44:44 -07:00
mtb-pdl-cat1 cypress: fix cy_syslib breakpoint undefined 2021-07-29 14:31:39 +01:00
psoc6cm0p Fixup license issues. 2021-07-06 15:40:48 -07:00
reserved-region-bd Reorganize assets. 2021-06-02 17:11:02 -07:00
sb-tools/keys Delete ES10 related sb-tools folder from TARGET_PSOC6, post build now use cysecuretools 2020-06-19 16:16:47 +03:00
serial-flash Fix file modes. 2021-06-04 13:44:44 -07:00
udb-sdio-whd Reorganize assets. 2021-06-02 17:11:02 -07:00
CMakeLists.txt Add <"CM0P_SLEEP" IN_LIST MBED_TARGET_LABELS> condition to Cypress boards and common PSOC6 cmake files 2021-12-15 21:37:14 +01:00
PeripheralNames.h Standardize target pin defines in cybsp_types.h. Make PinNames.h/PeripheralNames.h use standard defines 2019-11-19 07:46:27 -08:00
PeripheralPins.h PSOC6: cleanup DEVICE_QSPI mappings 2019-07-11 12:50:56 +03:00
PinNames.h Update UART pin names & add MBED_CONF_TARGET_STDIO_UART overrides 2021-03-23 11:17:17 +00:00
PinNamesTypes.h Cypress: fix gpio mode none 2019-10-30 12:03:53 +02:00
PortNames.h Added support for PSA target to WIFI_BT board 2019-03-07 08:40:20 -08:00
cmsis.h Update paths to cellular framework 2020-07-22 11:06:23 +01:00
cy_analogin_api.c Cypress: Add implementation of free() for gpio i2c analogin: #11830 2019-11-07 11:01:16 +02:00
cy_analogout_api.c Fix incorrect integer division in analogout_read 2019-09-18 12:06:33 -07:00
cy_crc_api.c Fix inconsistency between mbed crc and psoc6 crc implementations. 2020-01-24 18:23:25 +00:00
cy_flash_api.c CYTFM_064B0S2_4343W: use cytfm_flash only if TFM and PSA are present 2020-11-06 10:08:12 +00:00
cy_gpio_api.c Fix for Cypress GPIO driver 2019-11-15 10:10:29 +01:00
cy_gpio_irq_api.c GPIO: Use uintptr_t for gpio_irq_api context 2022-01-26 18:12:52 +00:00
cy_i2c_api.c I2C byte read/write transmition improvement. Added CY_SCB_I2C_READ_XFER to clear CY_SCB_I2C_WRITE_XFER status in i2c_byte_write() API. 2019-11-21 11:41:40 +02:00
cy_lp_ticker_api.c Add workaround for changes to cyhal_lptimer_irq_trigger. 2021-06-02 17:11:11 -07:00
cy_mbed_post_init.h Add optional post-bsp-init hook 2020-06-16 11:07:34 -07:00
cy_port_api.c fix 'enumerated type mixed with another type' IAR warnings 2019-12-12 17:05:11 -08:00
cy_pwmout_api.c Fix for PWM resume issue, SWINTEGRATION-57 2021-10-21 09:22:45 -07:00
cy_qspi_api.c Astyle run. 2021-06-23 15:40:09 -07:00
cy_reset_reason_api.c Astyle run. 2021-06-23 15:40:09 -07:00
cy_rtc_api.c PSOC6: fix license headers per review feedback 2019-07-08 18:25:03 +03:00
cy_serial_api.c Fix Unbuffered serial enable/disable issue on Cypress kits 2021-04-13 15:33:25 -07:00
cy_sleep_api.c PSoC 6: enable/disable sleep modes based on CY_CFG_PWR_SYS_IDLE_MODE 2020-11-27 17:10:24 +00:00
cy_spi_api.c Cypress: Fix unitialized memory in spi_master_write 2020-04-16 16:54:12 -07:00
cy_trng_api.c Update CSP to latest 2019-08-27 15:10:34 -07:00
cy_us_ticker.h Stop the us_ticker timer before deepsleep 2020-06-16 11:07:34 -07:00
cy_us_ticker_api.c Astyle run. 2021-06-23 15:40:09 -07:00
cy_usb_phy.cpp USB-Cypress: Lock sleep when USB is initialized 2019-10-17 13:12:58 +01:00
cy_usb_phy_hw.h Use consistant naming for Cypress USB target files. 2019-08-16 15:42:43 +01:00
cy_watchdog_api.c Add watchdog clock accuracy to Cypress targets. 2019-09-30 08:10:24 +02:00
device.h Update CSP to latest 2019-08-27 15:10:34 -07:00
gpio_object.h Fix for Cypress GPIO driver 2019-11-15 10:10:29 +01:00
mbed_overrides.c PSoC 6: remove debug sleep lock and hook from mbed_sdk_init 2020-11-27 17:10:24 +00:00
mbed_rtx.h Update CSP to latest 2019-08-27 15:10:34 -07:00
objects.h Update HAL CRC API 2019-12-02 14:45:37 +02:00
pinmap.c Update CSP to latest 2019-08-27 15:10:34 -07:00