Skip to content
Snippets Groups Projects
Commit bd5eb523 authored by Michał Łyszczek's avatar Michał Łyszczek
Browse files

Added check to make sure USBDEV is not set with USBHOST

parent 12e97600
No related branches found
No related tags found
No related merge requests found
......@@ -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
/*****************************************************************************
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment