aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/stm32f4/src/bin/usb_ethernet.rs2
-rw-r--r--examples/stm32f4/src/bin/usb_hid_keyboard.rs4
-rw-r--r--examples/stm32f4/src/bin/usb_hid_mouse.rs2
-rw-r--r--examples/stm32f4/src/bin/usb_raw.rs4
-rw-r--r--examples/stm32f4/src/bin/usb_serial.rs4
-rw-r--r--examples/stm32f7/src/bin/usb_serial.rs4
-rw-r--r--examples/stm32h7/src/bin/usb_serial.rs4
-rw-r--r--examples/stm32l4/src/bin/usb_serial.rs2
8 files changed, 13 insertions, 13 deletions
diff --git a/examples/stm32f4/src/bin/usb_ethernet.rs b/examples/stm32f4/src/bin/usb_ethernet.rs
index 284c74564..34e58f282 100644
--- a/examples/stm32f4/src/bin/usb_ethernet.rs
+++ b/examples/stm32f4/src/bin/usb_ethernet.rs
@@ -79,7 +79,7 @@ async fn main(spawner: Spawner) {
79 79
80 // Enable vbus_detection 80 // Enable vbus_detection
81 // Note: some boards don't have this wired up and might not require it, 81 // Note: some boards don't have this wired up and might not require it,
82 // as they are powered through usb! 82 // as they are powered through usb!
83 // If you hang on boot, try setting this to "false"! 83 // If you hang on boot, try setting this to "false"!
84 // See https://embassy.dev/book/dev/faq.html#_the_usb_examples_are_not_working_on_my_board_is_there_anything_else_i_need_to_configure 84 // See https://embassy.dev/book/dev/faq.html#_the_usb_examples_are_not_working_on_my_board_is_there_anything_else_i_need_to_configure
85 // for more information 85 // for more information
diff --git a/examples/stm32f4/src/bin/usb_hid_keyboard.rs b/examples/stm32f4/src/bin/usb_hid_keyboard.rs
index 4d9086156..7067d15a3 100644
--- a/examples/stm32f4/src/bin/usb_hid_keyboard.rs
+++ b/examples/stm32f4/src/bin/usb_hid_keyboard.rs
@@ -57,12 +57,12 @@ async fn main(_spawner: Spawner) {
57 57
58 // Enable vbus_detection 58 // Enable vbus_detection
59 // Note: some boards don't have this wired up and might not require it, 59 // Note: some boards don't have this wired up and might not require it,
60 // as they are powered through usb! 60 // as they are powered through usb!
61 // If you hang on boot, try setting this to "false"! 61 // If you hang on boot, try setting this to "false"!
62 // See https://embassy.dev/book/dev/faq.html#_the_usb_examples_are_not_working_on_my_board_is_there_anything_else_i_need_to_configure 62 // See https://embassy.dev/book/dev/faq.html#_the_usb_examples_are_not_working_on_my_board_is_there_anything_else_i_need_to_configure
63 // for more information 63 // for more information
64 config.vbus_detection = true; 64 config.vbus_detection = true;
65 65
66 let driver = Driver::new_fs(p.USB_OTG_FS, Irqs, p.PA12, p.PA11, &mut ep_out_buffer, config); 66 let driver = Driver::new_fs(p.USB_OTG_FS, Irqs, p.PA12, p.PA11, &mut ep_out_buffer, config);
67 67
68 // Create embassy-usb Config 68 // Create embassy-usb Config
diff --git a/examples/stm32f4/src/bin/usb_hid_mouse.rs b/examples/stm32f4/src/bin/usb_hid_mouse.rs
index 2b8e2f147..0d04d2a9c 100644
--- a/examples/stm32f4/src/bin/usb_hid_mouse.rs
+++ b/examples/stm32f4/src/bin/usb_hid_mouse.rs
@@ -54,7 +54,7 @@ async fn main(_spawner: Spawner) {
54 54
55 // Enable vbus_detection 55 // Enable vbus_detection
56 // Note: some boards don't have this wired up and might not require it, 56 // Note: some boards don't have this wired up and might not require it,
57 // as they are powered through usb! 57 // as they are powered through usb!
58 // If you hang on boot, try setting this to "false"! 58 // If you hang on boot, try setting this to "false"!
59 // See https://embassy.dev/book/dev/faq.html#_the_usb_examples_are_not_working_on_my_board_is_there_anything_else_i_need_to_configure 59 // See https://embassy.dev/book/dev/faq.html#_the_usb_examples_are_not_working_on_my_board_is_there_anything_else_i_need_to_configure
60 // for more information 60 // for more information
diff --git a/examples/stm32f4/src/bin/usb_raw.rs b/examples/stm32f4/src/bin/usb_raw.rs
index 00fdff2bf..d058abdd0 100644
--- a/examples/stm32f4/src/bin/usb_raw.rs
+++ b/examples/stm32f4/src/bin/usb_raw.rs
@@ -107,12 +107,12 @@ async fn main(_spawner: Spawner) {
107 107
108 // Enable vbus_detection 108 // Enable vbus_detection
109 // Note: some boards don't have this wired up and might not require it, 109 // Note: some boards don't have this wired up and might not require it,
110 // as they are powered through usb! 110 // as they are powered through usb!
111 // If you hang on boot, try setting this to "false"! 111 // If you hang on boot, try setting this to "false"!
112 // See https://embassy.dev/book/dev/faq.html#_the_usb_examples_are_not_working_on_my_board_is_there_anything_else_i_need_to_configure 112 // See https://embassy.dev/book/dev/faq.html#_the_usb_examples_are_not_working_on_my_board_is_there_anything_else_i_need_to_configure
113 // for more information 113 // for more information
114 config.vbus_detection = true; 114 config.vbus_detection = true;
115 115
116 let driver = Driver::new_fs(p.USB_OTG_FS, Irqs, p.PA12, p.PA11, &mut ep_out_buffer, config); 116 let driver = Driver::new_fs(p.USB_OTG_FS, Irqs, p.PA12, p.PA11, &mut ep_out_buffer, config);
117 117
118 // Create embassy-usb Config 118 // Create embassy-usb Config
diff --git a/examples/stm32f4/src/bin/usb_serial.rs b/examples/stm32f4/src/bin/usb_serial.rs
index 94c6a4301..25806dd85 100644
--- a/examples/stm32f4/src/bin/usb_serial.rs
+++ b/examples/stm32f4/src/bin/usb_serial.rs
@@ -54,12 +54,12 @@ async fn main(_spawner: Spawner) {
54 54
55 // Enable vbus_detection 55 // Enable vbus_detection
56 // Note: some boards don't have this wired up and might not require it, 56 // Note: some boards don't have this wired up and might not require it,
57 // as they are powered through usb! 57 // as they are powered through usb!
58 // If you hang on boot, try setting this to "false"! 58 // If you hang on boot, try setting this to "false"!
59 // See https://embassy.dev/book/dev/faq.html#_the_usb_examples_are_not_working_on_my_board_is_there_anything_else_i_need_to_configure 59 // See https://embassy.dev/book/dev/faq.html#_the_usb_examples_are_not_working_on_my_board_is_there_anything_else_i_need_to_configure
60 // for more information 60 // for more information
61 config.vbus_detection = true; 61 config.vbus_detection = true;
62 62
63 let driver = Driver::new_fs(p.USB_OTG_FS, Irqs, p.PA12, p.PA11, &mut ep_out_buffer, config); 63 let driver = Driver::new_fs(p.USB_OTG_FS, Irqs, p.PA12, p.PA11, &mut ep_out_buffer, config);
64 64
65 // Create embassy-usb Config 65 // Create embassy-usb Config
diff --git a/examples/stm32f7/src/bin/usb_serial.rs b/examples/stm32f7/src/bin/usb_serial.rs
index bb42f4cc8..2fee561c7 100644
--- a/examples/stm32f7/src/bin/usb_serial.rs
+++ b/examples/stm32f7/src/bin/usb_serial.rs
@@ -54,12 +54,12 @@ async fn main(_spawner: Spawner) {
54 54
55 // Enable vbus_detection 55 // Enable vbus_detection
56 // Note: some boards don't have this wired up and might not require it, 56 // Note: some boards don't have this wired up and might not require it,
57 // as they are powered through usb! 57 // as they are powered through usb!
58 // If you hang on boot, try setting this to "false"! 58 // If you hang on boot, try setting this to "false"!
59 // See https://embassy.dev/book/dev/faq.html#_the_usb_examples_are_not_working_on_my_board_is_there_anything_else_i_need_to_configure 59 // See https://embassy.dev/book/dev/faq.html#_the_usb_examples_are_not_working_on_my_board_is_there_anything_else_i_need_to_configure
60 // for more information 60 // for more information
61 config.vbus_detection = true; 61 config.vbus_detection = true;
62 62
63 let driver = Driver::new_fs(p.USB_OTG_FS, Irqs, p.PA12, p.PA11, &mut ep_out_buffer, config); 63 let driver = Driver::new_fs(p.USB_OTG_FS, Irqs, p.PA12, p.PA11, &mut ep_out_buffer, config);
64 64
65 // Create embassy-usb Config 65 // Create embassy-usb Config
diff --git a/examples/stm32h7/src/bin/usb_serial.rs b/examples/stm32h7/src/bin/usb_serial.rs
index 725c9bb02..872ff815c 100644
--- a/examples/stm32h7/src/bin/usb_serial.rs
+++ b/examples/stm32h7/src/bin/usb_serial.rs
@@ -55,12 +55,12 @@ async fn main(_spawner: Spawner) {
55 55
56 // Enable vbus_detection 56 // Enable vbus_detection
57 // Note: some boards don't have this wired up and might not require it, 57 // Note: some boards don't have this wired up and might not require it,
58 // as they are powered through usb! 58 // as they are powered through usb!
59 // If you hang on boot, try setting this to "false"! 59 // If you hang on boot, try setting this to "false"!
60 // See https://embassy.dev/book/dev/faq.html#_the_usb_examples_are_not_working_on_my_board_is_there_anything_else_i_need_to_configure 60 // See https://embassy.dev/book/dev/faq.html#_the_usb_examples_are_not_working_on_my_board_is_there_anything_else_i_need_to_configure
61 // for more information 61 // for more information
62 config.vbus_detection = true; 62 config.vbus_detection = true;
63 63
64 let driver = Driver::new_fs(p.USB_OTG_FS, Irqs, p.PA12, p.PA11, &mut ep_out_buffer, config); 64 let driver = Driver::new_fs(p.USB_OTG_FS, Irqs, p.PA12, p.PA11, &mut ep_out_buffer, config);
65 65
66 // Create embassy-usb Config 66 // Create embassy-usb Config
diff --git a/examples/stm32l4/src/bin/usb_serial.rs b/examples/stm32l4/src/bin/usb_serial.rs
index 58229d0be..b905fc66f 100644
--- a/examples/stm32l4/src/bin/usb_serial.rs
+++ b/examples/stm32l4/src/bin/usb_serial.rs
@@ -49,7 +49,7 @@ async fn main(_spawner: Spawner) {
49 49
50 // Enable vbus_detection 50 // Enable vbus_detection
51 // Note: some boards don't have this wired up and might not require it, 51 // Note: some boards don't have this wired up and might not require it,
52 // as they are powered through usb! 52 // as they are powered through usb!
53 // If you hang on boot, try setting this to "false"! 53 // If you hang on boot, try setting this to "false"!
54 // See https://embassy.dev/book/dev/faq.html#_the_usb_examples_are_not_working_on_my_board_is_there_anything_else_i_need_to_configure 54 // See https://embassy.dev/book/dev/faq.html#_the_usb_examples_are_not_working_on_my_board_is_there_anything_else_i_need_to_configure
55 // for more information 55 // for more information