You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test-devices/loopback-stm32/README.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,9 @@ For testing the *Java Does USB* library, a dedicated USB test device is needed.
7
7
- BlackPill with STM32F401CC microcontroller
8
8
- BlackPill with STM32F411CE microcontroller
9
9
- BluePill with STM32F103C8 microcontroller
10
+
- STM32F723 Discovery board
10
11
11
-
To upload the firmware, the STM32F4x microcontroller have a built-in USB bootloader. The STM32F1x microcontrollers need an ST-Link debug adapter (or a USB-to-serial converter).
12
+
To upload the firmware, the STM32F4x microcontroller have a built-in USB bootloader. The STM32F1x microcontrollers need an ST-Link debug adapter (or a USB-to-serial converter). The STM32F723 Discovery board has a built-in ST-Link programmer.
12
13
13
14
14
15
## Test features
@@ -45,6 +46,13 @@ Two alternate interfaces are implemented:
45
46
- Alternate 1: only the control endpoint and the bulk endpoints (0x01 and 0x82) are available
46
47
47
48
49
+
### Suspend / resume
50
+
51
+
The device can be put into suspend mode by the host. It will go into a low-power mode. This is indicated by the user LED turning off. The power LED will stay on. The device can be woken up by the host.
52
+
53
+
A MacBook with macOS usually puts the device into suspend mode about 1 minuate after is has gone to sleep if it is not connected to a power supply. The device will wake up when the MacBook is woken up.
54
+
55
+
48
56
## Building the firmware
49
57
50
58
This project requires [PlatformIO](https://platformio.org/). The easiest way to get up and running is to use Visual Studio Code and then install the [PlatformIO IDE extension](https://marketplace.visualstudio.com/items?itemName=platformio.platformio-ide).
@@ -69,6 +77,7 @@ The directory `bin` contains a pre-built firmware:
69
77
-`blackpill-f401cc.bin`: Firmware for BlackPill with STM32F401CC microcontroller
70
78
-`blackpill-f411ce.bin`: Firmware for BlackPill with STM32F411CE microcontroller
71
79
-`bluepill-f103c8.bin`: Firmware for BluePill with STM32F103C8 microcontroller
80
+
-`disco_f723ie.bin`: Firmware for STM32F723 Discovery board
0 commit comments