Added check to make sure USBDEV is not set with USBHOST
This commit is contained in:
parent
12e97600ee
commit
bd5eb5233c
@ -32,8 +32,8 @@
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __CONFIGS_STM32_BUTTERFLY2_SRC_STM32_BUTTERFLY2_H 1
|
||||
#define __CONFIGS_STM32_BUTTERFLY2_SRC_STM32_BUTTERFLY2_H
|
||||
#ifndef __CONFIGS_STM32_BUTTERFLY2_SRC_STM32_BUTTERFLY2_H
|
||||
#define __CONFIGS_STM32_BUTTERFLY2_SRC_STM32_BUTTERFLY2_H 1
|
||||
|
||||
/*****************************************************************************
|
||||
* Included Files
|
||||
|
@ -56,7 +56,11 @@
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CONFIG_STM32_OTGFS
|
||||
#error "CONFIG_USBHOST requires CONFIG_STM32_OTGFS to be enabled"
|
||||
# error "CONFIG_USBHOST requires CONFIG_STM32_OTGFS to be enabled"
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USBDEV
|
||||
# error "CONFIG_USBHOST cannot be set alongside CONFIG_USBDEV"
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user