zephyr/drivers/i2c
Carlos Stuart 75f77db432 include: misc: util.h: Rename min/max to MIN/MAX
There are issues using lowercase min and max macros when compiling a C++
application with a third-party toolchain such as GNU ARM Embedded when
using some STL headers i.e. <chrono>.

This is because there are actual C++ functions called min and max
defined in some of the STL headers and these macros interfere with them.
By changing the macros to UPPERCASE, which is consistent with almost all
other pre-processor macros this naming conflict is avoided.

All files that use these macros have been updated.

Signed-off-by: Carlos Stuart <carlosstuart1970@gmail.com>
2019-02-14 22:16:03 -05:00
..
slave
CMakeLists.txt drivers/i2c: I2C driver for SiFive Freedom 2019-02-07 10:47:48 -06:00
Kconfig drivers/i2c: I2C driver for SiFive Freedom 2019-02-07 10:47:48 -06:00
Kconfig.dw drivers/interrupt_controller: shared_irq: configure by device tree 2019-02-06 07:18:15 -05:00
Kconfig.esp32
Kconfig.gpio
Kconfig.nrfx
Kconfig.qmsi
Kconfig.sbcon
Kconfig.sifive drivers/i2c: I2C driver for SiFive Freedom 2019-02-07 10:47:48 -06:00
Kconfig.stm32
i2c-priv.h
i2c_bitbang.c
i2c_bitbang.h
i2c_cc32xx.c
i2c_dw.c include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
i2c_dw.h
i2c_dw_registers.h
i2c_esp32.c include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
i2c_gecko.c drivers: i2c_gecko: use DT_<COMPAT>_<INSTANCE>_<PROP> defines 2019-02-01 19:09:06 -05:00
i2c_gpio.c
i2c_handlers.c
i2c_imx.c i2c: i2c_imx: Convert to use DT_ prefixed defines 2019-02-08 16:03:17 -06:00
i2c_ll_stm32.c
i2c_ll_stm32.h
i2c_ll_stm32_v1.c
i2c_ll_stm32_v2.c
i2c_mcux.c
i2c_mcux_lpi2c.c
i2c_nios2.c
i2c_nrfx_twi.c
i2c_nrfx_twim.c
i2c_qmsi.c
i2c_qmsi_ss.c
i2c_sam_twi.c
i2c_sam_twihs.c
i2c_sbcon.c
i2c_sifive.c drivers/i2c: I2C driver for SiFive Freedom 2019-02-07 10:47:48 -06:00