Skip to content

Commit

Permalink
Migrate changes from nanoframework#2850
Browse files Browse the repository at this point in the history
  • Loading branch information
josesimoes committed Jan 15, 2024
1 parent 3737e24 commit b60e044
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions targets/ChibiOS/ORGPAL_PALX/nanoCLR/mcuconf_community.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,19 @@
// See LICENSE file in the project root for full license information.
//

/*
* USBH driver system settings.
*/
#define STM32_OTG1_CHANNELS_NUMBER 8
#define STM32_OTG2_CHANNELS_NUMBER 12
// USBH driver system settings
#define STM32_OTG_FS_CHANNELS_NUMBER 8
#define STM32_OTG_HS_CHANNELS_NUMBER 12

#define STM32_USBH_USE_OTG1 FALSE
#define STM32_OTG1_RXFIFO_SIZE 1024
#define STM32_OTG1_PTXFIFO_SIZE 128
#define STM32_OTG1_NPTXFIFO_SIZE 128
#define STM32_USBH_USE_OTG1 FALSE
#define STM32_OTG1_RXFIFO_SIZE 1024
#define STM32_OTG1_PTXFIFO_SIZE 128
#define STM32_OTG1_NPTXFIFO_SIZE 128

#define STM32_USBH_USE_OTG2 TRUE
#define STM32_OTG2_RXFIFO_SIZE 2048
#define STM32_OTG2_PTXFIFO_SIZE 1024
#define STM32_OTG2_NPTXFIFO_SIZE 1024
#define STM32_USBH_USE_OTG2 TRUE
#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

0 comments on commit b60e044

Please sign in to comment.