diff options
author | Uladzimir Pylinski <barthess@yandex.ru> | 2016-05-01 12:54:03 +0300 |
---|---|---|
committer | Uladzimir Pylinski <barthess@yandex.ru> | 2016-05-01 12:54:03 +0300 |
commit | 05a8a76ea0153fb1dded1a92ffc411002c11f612 (patch) | |
tree | 4c582c3a8e2cdb35c33d4c1bc45c6fa5c2655ce7 /testhal/STM32/STM32F4xx/USB_HOST/mcuconf_community.h | |
parent | ecab016be95ecfc51d0e0708d473eaf60f5f0ac7 (diff) | |
parent | 09a35652f719e7c21fea4063484625edc4091fe6 (diff) | |
download | ChibiOS-Contrib-05a8a76ea0153fb1dded1a92ffc411002c11f612.tar.gz ChibiOS-Contrib-05a8a76ea0153fb1dded1a92ffc411002c11f612.tar.bz2 ChibiOS-Contrib-05a8a76ea0153fb1dded1a92ffc411002c11f612.zip |
Merge pull request #66 from pl4nkton/stm32_fixes
Stm32 fixes
Diffstat (limited to 'testhal/STM32/STM32F4xx/USB_HOST/mcuconf_community.h')
-rw-r--r-- | testhal/STM32/STM32F4xx/USB_HOST/mcuconf_community.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/testhal/STM32/STM32F4xx/USB_HOST/mcuconf_community.h b/testhal/STM32/STM32F4xx/USB_HOST/mcuconf_community.h index 888662f..56775af 100644 --- a/testhal/STM32/STM32F4xx/USB_HOST/mcuconf_community.h +++ b/testhal/STM32/STM32F4xx/USB_HOST/mcuconf_community.h @@ -36,7 +36,7 @@ #define STM32_USE_FSMC_SRAM FALSE #define STM32_SRAM_USE_FSMC_SRAM1 FALSE #define STM32_SRAM_USE_FSMC_SRAM2 FALSE -#define STM32_SRAM_USE_FSMC_SRAM3 FLASE +#define STM32_SRAM_USE_FSMC_SRAM3 FALSE #define STM32_SRAM_USE_FSMC_SRAM4 FALSE /* @@ -48,19 +48,19 @@ /* * USBH driver system settings. */ +#define STM32_OTG1_CHANNELS_NUMBER 8 +#define STM32_OTG2_CHANNELS_NUMBER 12 -#define STM32_OTG1_CHANNELS_NUMBER 8 -#define STM32_OTG2_CHANNELS_NUMBER 12 +#define STM32_USBH_USE_OTG1 1 +#define STM32_OTG1_RXFIFO_SIZE 1024 +#define STM32_OTG1_PTXFIFO_SIZE 128 +#define STM32_OTG1_NPTXFIFO_SIZE 128 -#define STM32_USBH_USE_OTG1 1 -#define STM32_OTG1_RXFIFO_SIZE 1024 -#define STM32_OTG1_PTXFIFO_SIZE 128 -#define STM32_OTG1_NPTXFIFO_SIZE 128 +#define STM32_USBH_USE_OTG2 0 +#define STM32_OTG2_RXFIFO_SIZE 2048 +#define STM32_OTG2_PTXFIFO_SIZE 1024 +#define STM32_OTG2_NPTXFIFO_SIZE 1024 -#define STM32_USBH_USE_OTG2 0 -#define STM32_OTG2_RXFIFO_SIZE 2048 -#define STM32_OTG2_PTXFIFO_SIZE 1024 -#define STM32_OTG2_NPTXFIFO_SIZE 1024 +#define STM32_USBH_MIN_QSPACE 4 +#define STM32_USBH_CHANNELS_NP 4 -#define STM32_USBH_MIN_QSPACE 4 -#define STM32_USBH_CHANNELS_NP 4 |