mirror of
https://github.com/mytechnotalent/Embedded-Hacking.git
synced 2026-06-08 15:24:00 +02:00
Add inline // comments to all main.rs and board.rs boilerplate across 0x01-0x08 Rust drivers
- Add // comments to mod declarations, use imports, static items, and PICOTOOL_ENTRIES in all 8 main.rs files matching rp-hal template style - Add //! file headers to all 8 board.rs files - Add // comments to all board.rs use imports and HAL alias - All 8 drivers build successfully, all 75 tests pass
This commit is contained in:
@@ -25,9 +25,14 @@
|
||||
//! OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
//! SOFTWARE.
|
||||
|
||||
//! @file board.rs
|
||||
//! @brief Board-level HAL helpers for the UART driver
|
||||
//! @author Kevin Thomas
|
||||
//! @date 2025
|
||||
|
||||
// Alias our HAL crate
|
||||
#[cfg(rp2350)]
|
||||
use rp235x_hal as hal;
|
||||
|
||||
#[cfg(rp2040)]
|
||||
use rp2040_hal as hal;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user