src/bare-metal/microcontrollers/pacs.md
svd2rust generates mostly-safe Rust
wrappers for memory-mapped peripherals from
CMSIS-SVD files.
# // Copyright 2023 Google LLC
# // SPDX-License-Identifier: Apache-2.0
#
{{#include examples/src/bin/pac.rs:Example}}
cortex-m-rt provides the vector table, among other things.cargo install cargo-binutils then you can run
cargo objdump --bin pac -- -d --no-show-raw-insn to see the resulting
binary.Run the example with:
cargo embed --bin pac