We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37158ed commit ea885d5Copy full SHA for ea885d5
hw/bsp/rp2040/family.c
@@ -166,6 +166,12 @@ void board_init(void)
166
#if CFG_TUH_ENABLED
167
// set portfunc to host !!!
168
#endif
169
+
170
+#if !CFG_TUD_ENABLED && !CFG_TUH_ENABLED
171
+ // board test exxample, reset usb controller
172
+ reset_block(RESETS_RESET_USBCTRL_BITS);
173
+ unreset_block_wait(RESETS_RESET_USBCTRL_BITS);
174
+#endif
175
}
176
177
//--------------------------------------------------------------------+
test/hil/hil_pi4.json
@@ -15,7 +15,7 @@
15
],
16
"flasher": "esptool",
17
"flasher_sn": "461cb8d7decdeb119be9b506e93fd3f1",
18
- "flasher_args": "-b 1500000"
+ "flasher_args": "-b 921600"
19
20
]
21
0 commit comments