mbed-os/hal
Alastair D'Silva 2617c5d55b Don't use define checks on DEVICE_FOO macros (mbed code)
The DEVICE_FOO macros are always defined (either 0 or 1).

This patch replaces any instances of a define check on a DEVICE_FOO
macro with value test instead.

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2018-12-20 10:16:42 +11:00
..
TARGET_FLASH_CMSIS_ALGO hal: add spdx license 2018-11-28 10:39:51 +00:00
mpu Fix target.mpu-rom-end setting, for ARMv8-M too 2018-12-12 15:44:21 +02:00
storage_abstraction Removed bad \ref tag, but left in the tag name. Updated old param names in gpio_api.h and added new params in ticker_api.h 2017-06-08 15:52:31 -05:00
LowPowerTickerWrapper.cpp Update Ticker wrapper to handle early interrupts 2018-12-03 17:55:22 -06:00
LowPowerTickerWrapper.h hal: add spdx license 2018-11-28 10:39:51 +00:00
analogin_api.h hal: add spdx license 2018-11-28 10:39:51 +00:00
analogout_api.h hal: add spdx license 2018-11-28 10:39:51 +00:00
buffer.h hal: add spdx license 2018-11-28 10:39:51 +00:00
can_api.h hal: add spdx license 2018-11-28 10:39:51 +00:00
can_helper.h hal: add spdx license 2018-11-28 10:39:51 +00:00
crc_api.h Don't use define checks on DEVICE_FOO macros (mbed code) 2018-12-20 10:16:42 +11:00
critical_section_api.h hal: add spdx license 2018-11-28 10:39:51 +00:00
dma_api.h hal: add spdx license 2018-11-28 10:39:51 +00:00
ethernet_api.h hal: add spdx license 2018-11-28 10:39:51 +00:00
flash_api.h hal: add spdx license 2018-11-28 10:39:51 +00:00
gpio_api.h hal: add spdx license 2018-11-28 10:39:51 +00:00
gpio_irq_api.h hal: add spdx license 2018-11-28 10:39:51 +00:00
i2c_api.h hal: add spdx license 2018-11-28 10:39:51 +00:00
itm_api.h Don't use define checks on DEVICE_FOO macros (mbed code) 2018-12-20 10:16:42 +11:00
lp_ticker_api.h hal: add spdx license 2018-11-28 10:39:51 +00:00
mbed_critical_section_api.c hal: add spdx license 2018-11-28 10:39:51 +00:00
mbed_flash_api.c hal: add spdx license 2018-11-28 10:39:51 +00:00
mbed_gpio.c hal: add spdx license 2018-11-28 10:39:51 +00:00
mbed_itm_api.c Don't use define checks on DEVICE_FOO macros (mbed code) 2018-12-20 10:16:42 +11:00
mbed_lp_ticker_api.c hal: add spdx license 2018-11-28 10:39:51 +00:00
mbed_lp_ticker_wrapper.cpp hal: add spdx license 2018-11-28 10:39:51 +00:00
mbed_lp_ticker_wrapper.h hal: add spdx license 2018-11-28 10:39:51 +00:00
mbed_pinmap_common.c hal: add spdx license 2018-11-28 10:39:51 +00:00
mbed_sleep_manager.c Don't use define checks on DEVICE_FOO macros (mbed code) 2018-12-20 10:16:42 +11:00
mbed_ticker_api.c hal: add spdx license 2018-11-28 10:39:51 +00:00
mbed_us_ticker_api.c hal: add spdx license 2018-11-28 10:39:51 +00:00
mpu_api.h Save ROM by specifying initial MPU state 2018-12-10 15:53:34 +02:00
pinmap.h hal: add spdx license 2018-11-28 10:39:51 +00:00
port_api.h hal: add spdx license 2018-11-28 10:39:51 +00:00
pwmout_api.h hal: add spdx license 2018-11-28 10:39:51 +00:00
qspi_api.h hal: add spdx license 2018-11-28 10:39:51 +00:00
rtc_api.h hal: add spdx license 2018-11-28 10:39:51 +00:00
serial_api.h hal: add spdx license 2018-11-28 10:39:51 +00:00
sleep_api.h hal: add spdx license 2018-11-28 10:39:51 +00:00
spi_api.h hal: add spdx license 2018-11-28 10:39:51 +00:00
spm_api.h set proper groups for spm and HAL 2018-11-28 12:17:37 +02:00
ticker_api.h hal: add spdx license 2018-11-28 10:39:51 +00:00
trng_api.h hal: add spdx license 2018-11-28 10:39:51 +00:00
us_ticker_api.h hal: add spdx license 2018-11-28 10:39:51 +00:00