From 29dd755b30201bb6802751ce0300c91066daa6d1 Mon Sep 17 00:00:00 2001 From: "Jonathan Pallant (42 Technology)" Date: Mon, 27 Sep 2021 17:30:50 +0100 Subject: [PATCH] Ensure the bootloader static gets documented. --- boards/pico/examples/pico_blinky.rs | 4 ++-- boards/pico/examples/pico_gpio_in_out.rs | 4 ++-- boards/pico/examples/pico_pwm_blink.rs | 4 ++-- boards/pico/examples/pico_usb_serial.rs | 4 ++-- boards/pico/examples/pico_usb_serial_interrupt.rs | 4 ++-- boards/pico/examples/pico_usb_twitchy_mouse.rs | 4 ++-- boards/pico_lipo_16mb/examples/pico_lipo_16mb_blinky.rs | 4 ++-- boards/pro_micro_rp2040/examples/pro_micro_rainbow.rs | 2 +- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/boards/pico/examples/pico_blinky.rs b/boards/pico/examples/pico_blinky.rs index 7bb82ee..cf99c97 100644 --- a/boards/pico/examples/pico_blinky.rs +++ b/boards/pico/examples/pico_blinky.rs @@ -34,8 +34,8 @@ use pico::hal::pac; // higher-level drivers. use pico::hal; -/// The linker will place this boot block at the start of our program image. We -/// need this to help the ROM bootloader get our code up and running. +//// The linker will place this boot block at the start of our program image. We +//// need this to help the ROM bootloader get our code up and running. #[link_section = ".boot2"] #[used] pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; diff --git a/boards/pico/examples/pico_gpio_in_out.rs b/boards/pico/examples/pico_gpio_in_out.rs index d2c446e..81d1c9b 100644 --- a/boards/pico/examples/pico_gpio_in_out.rs +++ b/boards/pico/examples/pico_gpio_in_out.rs @@ -30,8 +30,8 @@ use pico::hal::pac; // higher-level drivers. use pico::hal; -/// The linker will place this boot block at the start of our program image. We -/// need this to help the ROM bootloader get our code up and running. +//// The linker will place this boot block at the start of our program image. We +//// need this to help the ROM bootloader get our code up and running. #[link_section = ".boot2"] #[used] pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; diff --git a/boards/pico/examples/pico_pwm_blink.rs b/boards/pico/examples/pico_pwm_blink.rs index 9bd1eb5..d3d5f6d 100644 --- a/boards/pico/examples/pico_pwm_blink.rs +++ b/boards/pico/examples/pico_pwm_blink.rs @@ -34,8 +34,8 @@ use pico::hal::pac; // higher-level drivers. use pico::hal; -/// The linker will place this boot block at the start of our program image. We -/// need this to help the ROM bootloader get our code up and running. +//// The linker will place this boot block at the start of our program image. We +//// need this to help the ROM bootloader get our code up and running. #[link_section = ".boot2"] #[used] pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; diff --git a/boards/pico/examples/pico_usb_serial.rs b/boards/pico/examples/pico_usb_serial.rs index 8a69aed..93bb34f 100644 --- a/boards/pico/examples/pico_usb_serial.rs +++ b/boards/pico/examples/pico_usb_serial.rs @@ -33,8 +33,8 @@ use usb_device::{class_prelude::*, prelude::*}; // USB Communications Class Device support use usbd_serial::SerialPort; -/// The linker will place this boot block at the start of our program image. We -/// need this to help the ROM bootloader get our code up and running. +//// The linker will place this boot block at the start of our program image. We +//// need this to help the ROM bootloader get our code up and running. #[link_section = ".boot2"] #[used] pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; diff --git a/boards/pico/examples/pico_usb_serial_interrupt.rs b/boards/pico/examples/pico_usb_serial_interrupt.rs index 6d9fd5c..49227fc 100644 --- a/boards/pico/examples/pico_usb_serial_interrupt.rs +++ b/boards/pico/examples/pico_usb_serial_interrupt.rs @@ -45,8 +45,8 @@ use usb_device::{class_prelude::*, prelude::*}; // USB Communications Class Device support use usbd_serial::SerialPort; -/// The linker will place this boot block at the start of our program image. We -/// need this to help the ROM bootloader get our code up and running. +//// The linker will place this boot block at the start of our program image. We +//// need this to help the ROM bootloader get our code up and running. #[link_section = ".boot2"] #[used] pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; diff --git a/boards/pico/examples/pico_usb_twitchy_mouse.rs b/boards/pico/examples/pico_usb_twitchy_mouse.rs index 0215bf3..8d656a7 100644 --- a/boards/pico/examples/pico_usb_twitchy_mouse.rs +++ b/boards/pico/examples/pico_usb_twitchy_mouse.rs @@ -44,8 +44,8 @@ use usbd_hid::descriptor::generator_prelude::*; use usbd_hid::descriptor::MouseReport; use usbd_hid::hid_class::HIDClass; -/// The linker will place this boot block at the start of our program image. We -/// need this to help the ROM bootloader get our code up and running. +//// The linker will place this boot block at the start of our program image. We +//// need this to help the ROM bootloader get our code up and running. #[link_section = ".boot2"] #[used] pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; diff --git a/boards/pico_lipo_16mb/examples/pico_lipo_16mb_blinky.rs b/boards/pico_lipo_16mb/examples/pico_lipo_16mb_blinky.rs index 0fc65f5..383facf 100644 --- a/boards/pico_lipo_16mb/examples/pico_lipo_16mb_blinky.rs +++ b/boards/pico_lipo_16mb/examples/pico_lipo_16mb_blinky.rs @@ -34,8 +34,8 @@ use pico_lipo_16_mb::hal::pac; // higher-level drivers. use pico_lipo_16_mb::hal; -/// The linker will place this boot block at the start of our program image. We -/// need this to help the ROM bootloader get our code up and running. +//// The linker will place this boot block at the start of our program image. We +//// need this to help the ROM bootloader get our code up and running. #[link_section = ".boot2"] #[used] pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; diff --git a/boards/pro_micro_rp2040/examples/pro_micro_rainbow.rs b/boards/pro_micro_rp2040/examples/pro_micro_rainbow.rs index f84a296..03ec2a3 100644 --- a/boards/pro_micro_rp2040/examples/pro_micro_rainbow.rs +++ b/boards/pro_micro_rp2040/examples/pro_micro_rainbow.rs @@ -28,7 +28,7 @@ use pro_micro_rp2040::{ use smart_leds::{brightness, SmartLedsWrite, RGB8}; use ws2812_pio::Ws2812; -/// The linker will place this boot block at the start of our program image. +//// The linker will place this boot block at the start of our program image. /// We need this to help the ROM bootloader get our code up and running. #[link_section = ".boot2"] #[used]