Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USB: update USB Host config file #11

Merged
merged 2 commits into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 20 additions & 15 deletions .ci/USB/Host/RTE/USB/USBH_Config_0.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,35 @@
// <i>Specifies instance of the Host Controller hardware interface.
#define USBH0_HC_NUM 0

// <o>Maximum Port Power Consumption<2-500:2>
// <i>Specifies the maximum power consumption per port (in mA)
// <o>Maximum Port Power Delivery (in mA) <2-500:2>
// <i>Specifies the maximum power delivery per port.
#define USBH0_HC_POWER 500

// <o>Maximum Pipes in system
// <o>Maximum Pipes in System
// <i>Specifies the maximum number of Pipes that will be used by
// <i>the USB Host controller in the system simultaneously.
#define USBH0_HC_PIPE_NUM 3

// <o>Memory Pool Size <640-1048576:4>
// <i>Specifies the size of the memory pool (in bytes) that
// <i>the USB Host controller will use for the USB communication data.
// <i>This size should be at least equal to
// <i>size of maximum expected packet + 128 bytes.
// <h>Memory Pool
// <o>Size <640-1048576:4>
// <i>Specifies the size of the USB memory pool (in bytes) that
// <i>the USB Host controller will use for the USB communication data.
// <i>This size should be at least equal to the size
// <i>of the maximum expected packet + 128 bytes.
#define USBH0_HC_MEM_POOL_SIZE 640

// <e>Relocate Memory Pool
// <i>Specifies if the memory pool is located at a specific address
// <i>(via linker script).
#define USBH0_HC_MEM_POOL_RELOC 0
// <e>Locate
// <i>Specifies if the USB memory pool is located in a specific memory
// <i>(via the linker script).
#define USBH0_HC_MEM_POOL_LOCATE 0

// <s.128>Memory Pool section name
// <i>Specifies the section name of the Memory Pool
// <s.128>Section Name
// <i>Specifies the section name for the USB memory pool
// <i>(for positioning via the linker script).
#define USBH0_HC_MEM_POOL_SECTION_NAME ".driver.usbh0"
// </e>

// </e>
// </h>

// <h>OS Resources Settings
// <i>These settings are used to optimize usage of OS resources.
Expand All @@ -47,5 +51,6 @@

// Core Thread Priority
#define USBH0_CORE_THREAD_PRIORITY osPriorityAboveNormal

// </h>
// </h>
35 changes: 20 additions & 15 deletions .ci/USB/Host/RTE/USB/USBH_Config_0.h.base@8.0.0
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,35 @@
// <i>Specifies instance of the Host Controller hardware interface.
#define USBH0_HC_NUM 0

// <o>Maximum Port Power Consumption<2-500:2>
// <i>Specifies the maximum power consumption per port (in mA)
// <o>Maximum Port Power Delivery (in mA) <2-500:2>
// <i>Specifies the maximum power delivery per port.
#define USBH0_HC_POWER 500

// <o>Maximum Pipes in system
// <o>Maximum Pipes in System
// <i>Specifies the maximum number of Pipes that will be used by
// <i>the USB Host controller in the system simultaneously.
#define USBH0_HC_PIPE_NUM 3

// <o>Memory Pool Size <640-1048576:4>
// <i>Specifies the size of the memory pool (in bytes) that
// <i>the USB Host controller will use for the USB communication data.
// <i>This size should be at least equal to
// <i>size of maximum expected packet + 128 bytes.
// <h>Memory Pool
// <o>Size <640-1048576:4>
// <i>Specifies the size of the USB memory pool (in bytes) that
// <i>the USB Host controller will use for the USB communication data.
// <i>This size should be at least equal to the size
// <i>of the maximum expected packet + 128 bytes.
#define USBH0_HC_MEM_POOL_SIZE 640

// <e>Relocate Memory Pool
// <i>Specifies if the memory pool is located at a specific address
// <i>(via linker script).
#define USBH0_HC_MEM_POOL_RELOC 0
// <e>Locate
// <i>Specifies if the USB memory pool is located in a specific memory
// <i>(via the linker script).
#define USBH0_HC_MEM_POOL_LOCATE 0

// <s.128>Memory Pool section name
// <i>Specifies the section name of the Memory Pool
// <s.128>Section Name
// <i>Specifies the section name for the USB memory pool
// <i>(for positioning via the linker script).
#define USBH0_HC_MEM_POOL_SECTION_NAME ".driver.usbh0"
// </e>

// </e>
// </h>

// <h>OS Resources Settings
// <i>These settings are used to optimize usage of OS resources.
Expand All @@ -47,5 +51,6 @@

// Core Thread Priority
#define USBH0_CORE_THREAD_PRIORITY osPriorityAboveNormal

// </h>
// </h>
35 changes: 20 additions & 15 deletions .ci/USB/Host/RTE/USB/USBH_Config_1.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,35 @@
// <i>Specifies instance of the Host Controller hardware interface.
#define USBH1_HC_NUM 1

// <o>Maximum Port Power Consumption<2-500:2>
// <i>Specifies the maximum power consumption per port (in mA)
// <o>Maximum Port Power Delivery (in mA) <2-500:2>
// <i>Specifies the maximum power delivery per port.
#define USBH1_HC_POWER 500

// <o>Maximum Pipes in system
// <o>Maximum Pipes in System
// <i>Specifies the maximum number of Pipes that will be used by
// <i>the USB Host controller in the system simultaneously.
#define USBH1_HC_PIPE_NUM 3

// <o>Memory Pool Size <640-1048576:4>
// <i>Specifies the size of the memory pool (in bytes) that
// <i>the USB Host controller will use for the USB communication data.
// <i>This size should be at least equal to
// <i>size of maximum expected packet + 128 bytes.
// <h>Memory Pool
// <o>Size <640-1048576:4>
// <i>Specifies the size of the USB memory pool (in bytes) that
// <i>the USB Host controller will use for the USB communication data.
// <i>This size should be at least equal to the size
// <i>of the maximum expected packet + 128 bytes.
#define USBH1_HC_MEM_POOL_SIZE 640

// <e>Relocate Memory Pool
// <i>Specifies if the memory pool is located at a specific address
// <i>(via linker script).
#define USBH1_HC_MEM_POOL_RELOC 0
// <e>Locate
// <i>Specifies if the USB memory pool is located in a specific memory
// <i>(via the linker script).
#define USBH1_HC_MEM_POOL_LOCATE 0

// <s.128>Memory Pool section name
// <i>Specifies the section name of the Memory Pool
// <s.128>Section Name
// <i>Specifies the section name for the USB memory pool
// <i>(for positioning via the linker script).
#define USBH1_HC_MEM_POOL_SECTION_NAME ".driver.usbh1"
// </e>

// </e>
// </h>

// <h>OS Resources Settings
// <i>These settings are used to optimize usage of OS resources.
Expand All @@ -47,5 +51,6 @@

// Core Thread Priority
#define USBH1_CORE_THREAD_PRIORITY osPriorityAboveNormal

// </h>
// </h>
35 changes: 20 additions & 15 deletions .ci/USB/Host/RTE/USB/USBH_Config_1.h.base@8.0.0
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,35 @@
// <i>Specifies instance of the Host Controller hardware interface.
#define USBH1_HC_NUM 1

// <o>Maximum Port Power Consumption<2-500:2>
// <i>Specifies the maximum power consumption per port (in mA)
// <o>Maximum Port Power Delivery (in mA) <2-500:2>
// <i>Specifies the maximum power delivery per port.
#define USBH1_HC_POWER 500

// <o>Maximum Pipes in system
// <o>Maximum Pipes in System
// <i>Specifies the maximum number of Pipes that will be used by
// <i>the USB Host controller in the system simultaneously.
#define USBH1_HC_PIPE_NUM 3

// <o>Memory Pool Size <640-1048576:4>
// <i>Specifies the size of the memory pool (in bytes) that
// <i>the USB Host controller will use for the USB communication data.
// <i>This size should be at least equal to
// <i>size of maximum expected packet + 128 bytes.
// <h>Memory Pool
// <o>Size <640-1048576:4>
// <i>Specifies the size of the USB memory pool (in bytes) that
// <i>the USB Host controller will use for the USB communication data.
// <i>This size should be at least equal to the size
// <i>of the maximum expected packet + 128 bytes.
#define USBH1_HC_MEM_POOL_SIZE 640

// <e>Relocate Memory Pool
// <i>Specifies if the memory pool is located at a specific address
// <i>(via linker script).
#define USBH1_HC_MEM_POOL_RELOC 0
// <e>Locate
// <i>Specifies if the USB memory pool is located in a specific memory
// <i>(via the linker script).
#define USBH1_HC_MEM_POOL_LOCATE 0

// <s.128>Memory Pool section name
// <i>Specifies the section name of the Memory Pool
// <s.128>Section Name
// <i>Specifies the section name for the USB memory pool
// <i>(for positioning via the linker script).
#define USBH1_HC_MEM_POOL_SECTION_NAME ".driver.usbh1"
// </e>

// </e>
// </h>

// <h>OS Resources Settings
// <i>These settings are used to optimize usage of OS resources.
Expand All @@ -47,5 +51,6 @@

// Core Thread Priority
#define USBH1_CORE_THREAD_PRIORITY osPriorityAboveNormal

// </h>
// </h>
35 changes: 20 additions & 15 deletions .ci/USB/Host/RTE/USB/USBH_Config_2.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,35 @@
// <i>Specifies instance of the Host Controller hardware interface.
#define USBH2_HC_NUM 2

// <o>Maximum Port Power Consumption<2-500:2>
// <i>Specifies the maximum power consumption per port (in mA)
// <o>Maximum Port Power Delivery (in mA) <2-500:2>
// <i>Specifies the maximum power delivery per port.
#define USBH2_HC_POWER 500

// <o>Maximum Pipes in system
// <o>Maximum Pipes in System
// <i>Specifies the maximum number of Pipes that will be used by
// <i>the USB Host controller in the system simultaneously.
#define USBH2_HC_PIPE_NUM 3

// <o>Memory Pool Size <640-1048576:4>
// <i>Specifies the size of the memory pool (in bytes) that
// <i>the USB Host controller will use for the USB communication data.
// <i>This size should be at least equal to
// <i>size of maximum expected packet + 128 bytes.
// <h>Memory Pool
// <o>Size <640-1048576:4>
// <i>Specifies the size of the USB memory pool (in bytes) that
// <i>the USB Host controller will use for the USB communication data.
// <i>This size should be at least equal to the size
// <i>of the maximum expected packet + 128 bytes.
#define USBH2_HC_MEM_POOL_SIZE 640

// <e>Relocate Memory Pool
// <i>Specifies if the memory pool is located at a specific address
// <i>(via linker script).
#define USBH2_HC_MEM_POOL_RELOC 0
// <e>Locate
// <i>Specifies if the USB memory pool is located in a specific memory
// <i>(via the linker script).
#define USBH2_HC_MEM_POOL_LOCATE 0

// <s.128>Memory Pool section name
// <i>Specifies the section name of the Memory Pool
// <s.128>Section Name
// <i>Specifies the section name for the USB memory pool
// <i>(for positioning via the linker script).
#define USBH2_HC_MEM_POOL_SECTION_NAME ".driver.usbh2"
// </e>

// </e>
// </h>

// <h>OS Resources Settings
// <i>These settings are used to optimize usage of OS resources.
Expand All @@ -47,5 +51,6 @@

// Core Thread Priority
#define USBH2_CORE_THREAD_PRIORITY osPriorityAboveNormal

// </h>
// </h>
35 changes: 20 additions & 15 deletions .ci/USB/Host/RTE/USB/USBH_Config_2.h.base@8.0.0
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,35 @@
// <i>Specifies instance of the Host Controller hardware interface.
#define USBH2_HC_NUM 2

// <o>Maximum Port Power Consumption<2-500:2>
// <i>Specifies the maximum power consumption per port (in mA)
// <o>Maximum Port Power Delivery (in mA) <2-500:2>
// <i>Specifies the maximum power delivery per port.
#define USBH2_HC_POWER 500

// <o>Maximum Pipes in system
// <o>Maximum Pipes in System
// <i>Specifies the maximum number of Pipes that will be used by
// <i>the USB Host controller in the system simultaneously.
#define USBH2_HC_PIPE_NUM 3

// <o>Memory Pool Size <640-1048576:4>
// <i>Specifies the size of the memory pool (in bytes) that
// <i>the USB Host controller will use for the USB communication data.
// <i>This size should be at least equal to
// <i>size of maximum expected packet + 128 bytes.
// <h>Memory Pool
// <o>Size <640-1048576:4>
// <i>Specifies the size of the USB memory pool (in bytes) that
// <i>the USB Host controller will use for the USB communication data.
// <i>This size should be at least equal to the size
// <i>of the maximum expected packet + 128 bytes.
#define USBH2_HC_MEM_POOL_SIZE 640

// <e>Relocate Memory Pool
// <i>Specifies if the memory pool is located at a specific address
// <i>(via linker script).
#define USBH2_HC_MEM_POOL_RELOC 0
// <e>Locate
// <i>Specifies if the USB memory pool is located in a specific memory
// <i>(via the linker script).
#define USBH2_HC_MEM_POOL_LOCATE 0

// <s.128>Memory Pool section name
// <i>Specifies the section name of the Memory Pool
// <s.128>Section Name
// <i>Specifies the section name for the USB memory pool
// <i>(for positioning via the linker script).
#define USBH2_HC_MEM_POOL_SECTION_NAME ".driver.usbh2"
// </e>

// </e>
// </h>

// <h>OS Resources Settings
// <i>These settings are used to optimize usage of OS resources.
Expand All @@ -47,5 +51,6 @@

// Core Thread Priority
#define USBH2_CORE_THREAD_PRIORITY osPriorityAboveNormal

// </h>
// </h>
Loading