mirror of
https://github.com/apache/nuttx.git
synced 2026-08-26 20:00:42 +00:00
Added check to make sure USBDEV is not set with USBHOST
This commit is contained in:
parent
12e97600ee
commit
bd5eb5233c
2 changed files with 7 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue