zephyr/drivers/usb/device
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
..
CMakeLists.txt usb: driver: Add native_posix USB driver 2019-02-01 19:03:12 -05:00
Kconfig usb: driver: Add native_posix USB driver 2019-02-01 19:03:12 -05:00
usb_dc_dw.c drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
usb_dc_kinetis.c drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
usb_dc_native_posix_adapt.c usb: native_posix: Implement other then Control transfers 2019-02-01 19:03:12 -05:00
usb_dc_native_posix_adapt.h usb: native_posix: Implement other then Control transfers 2019-02-01 19:03:12 -05:00
usb_dc_native_posix.c usb: native_posix: Fix ep_configure() and ep_mps() 2019-02-08 07:56:24 -05:00
usb_dc_nrfx.c include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
usb_dc_sam0.c include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
usb_dc_sam.c include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
usb_dc_stm32.c include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
usb_dw_registers.h drivers: Remove board.h include 2018-11-01 13:21:11 -04:00