Skip to content

Commit 223b468

Browse files
committed
add some explanations
1 parent 78a81b2 commit 223b468

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ void example(void) {
9696
9797
- Go to `Categories > Middleware > USB_HOST` and set the `Class For HS IP` option to `Human Interface Host Class (HID)`, and in the platform Settings set the `Driver_VBUS_HS` to `GPIO:Output` and select your pin (PC4 in my case)
9898
99-
- Go to `Categories > System > NVIC` and set `Prioriy Group` to `4 bits ...` and set the `USB On The Go HS Global Interrupt` priorities to the highest value.
99+
- Go to `Categories > System > NVIC` and set `Prioriy Group` to `4 bits ...` and set the `USB On The Go HS Global Interrupt` priorities to the highest value [[1]](#1).
100100
101101
- Go to `Project Manager > Advanced Settings` and uncheck the `Generate Code` checkbox for `MX_USB_HOST_Init`
102102
103-
1. Open a terminal and navigate to the project `Middlewares` folder, once there `git clone` this repo.
103+
1. Open a terminal and navigate to the project `Middlewares` folder [[2]](#2), once there `git clone` this repo.
104104
105105
1. Add the `include` and `examples/include` folders to the include directories.
106106
@@ -136,4 +136,10 @@ void main(void) {
136136

137137
- In `Project Properties > C/C++ Build > Settings > MCU GCC Compiler > Preprocessor`, the `USE_FULL_LL_DRIVER` definition should be set.
138138

139-
- In `NVIC` priority settings, lower value means higher priority.
139+
### [1]
140+
141+
In `NVIC` priority settings, lower value means higher priority.
142+
143+
### [2]
144+
145+
Actually you can clone this repo anywhere within the project. `Middlewares` just seemed the appropiate place, but in case it does not exist you can put it into any folder, just **make sure** the folder is a `Source Folder` so its contents get compiled.

0 commit comments

Comments
 (0)