https://github.com/hjeldin/dive-computer-fw/blob/master/Cargo.toml
https://github.com/hjeldin/dive-computer-fw/blob/master/.cargo/config.toml

```
/nix/store/a5569za8ibrk6dgbk9grk9mn0vp6h7c5-rust-default-1.84.0/bin/cargo build --color=always --message-format=json-diagnostic-rendered-ansi --package stm-blink --bin stm-blink --target thumbv7m-none-eabi --profile release
   Compiling bitflags v1.3.2
   Compiling byteorder v1.5.0
   Compiling stable_deref_trait v1.2.0
   Compiling critical-section v1.2.0
   Compiling nb v1.1.0
   Compiling void v1.0.2
   Compiling pin-utils v0.1.0
   Compiling pin-project-lite v0.2.16
   Compiling futures-core v0.3.31
   Compiling futures-task v0.3.31
   Compiling cfg-if v1.0.0
   Compiling vcell v0.1.3
   Compiling embedded-hal v1.0.0
   Compiling futures-sink v0.3.31
   Compiling defmt v0.3.10
   Compiling cortex-m v0.7.7
   Compiling heapless v0.8.0
   Compiling embedded-hal-async v1.0.0
   Compiling bitfield v0.13.2
   Compiling typenum v1.17.0
   Compiling portable-atomic v1.10.0
   Compiling embedded-io-async v0.6.1
   Compiling num-traits v0.2.19
   Compiling embassy-sync v0.6.2 (/home/hjeldin/Projects/Personal/embassy/embassy-sync)
   Compiling embassy-time-driver v0.2.0 (/home/hjeldin/Projects/Personal/embassy/embassy-time-driver)
   Compiling generic-array v0.14.7
   Compiling ahash v0.8.11
   Compiling cortex-m-rt v0.7.5
   Compiling az v1.2.1
   Compiling bare-metal v0.2.5
   Compiling volatile-register v0.2.2
   Compiling embassy-futures v0.1.1 (/home/hjeldin/Projects/Personal/embassy/embassy-futures)
   Compiling serde v1.0.217
   Compiling nb v0.1.3
   Compiling embedded-storage v0.3.1
   Compiling futures-util v0.3.31
   Compiling encode_unicode v0.3.6
   Compiling micromath v2.1.0
   Compiling as-slice v0.2.1
   Compiling libm v0.2.11
   Compiling embassy-time-queue-utils v0.1.0 (/home/hjeldin/Projects/Personal/embassy/embassy-time-queue-utils)
   Compiling embassy-executor v0.7.0 (/home/hjeldin/Projects/Personal/embassy/embassy-executor)
   Compiling either v1.13.0
   Compiling embassy-hal-internal v0.2.0 (/home/hjeldin/Projects/Personal/embassy/embassy-hal-internal)
   Compiling stm32-metapac v16.0.0
   Compiling bitflags v2.8.0
   Compiling embedded-hal v0.2.7
   Compiling embassy-usb v0.4.0 (/home/hjeldin/Projects/Personal/embassy/embassy-usb)
   Compiling aligned v0.4.2
   Compiling signature v2.2.0
   Compiling embedded-hal-nb v1.0.0
   Compiling stm-graphics v0.1.0 (/home/hjeldin/Projects/Personal/dive-computer-gfx)
   Compiling defmt-rtt v0.4.1
   Compiling panic-probe v0.3.2
   Compiling embedded-can v0.4.1
   Compiling static_assertions v1.1.0
   Compiling bitfield v0.15.0
   Compiling format_no_std v1.2.0
error[E0425]: cannot find function `__basepri_r` in module `crate::asm::inline`
 --> /home/hjeldin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cortex-m-0.7.7/src/register/basepri.rs:6:15
  |
6 |     call_asm!(__basepri_r() -> u8)
  |               ^^^^^^^^^^^ not found in `crate::asm::inline`

error[E0425]: cannot find function `__basepri_w` in module `crate::asm::inline`
  --> /home/hjeldin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cortex-m-0.7.7/src/register/basepri.rs:22:19
   |
22 |         call_asm!(__basepri_w(basepri: u8));
   |                   ^^^^^^^^^^^ not found in `crate::asm::inline`

error[E0425]: cannot find function `__basepri_max` in module `crate::asm::inline`
  --> /home/hjeldin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cortex-m-0.7.7/src/register/basepri_max.rs:19:19
   |
19 |         call_asm!(__basepri_max(basepri: u8));
   |                   ^^^^^^^^^^^^^ not found in `crate::asm::inline`

error[E0425]: cannot find function `__faultmask_r` in module `crate::asm::inline`
  --> /home/hjeldin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cortex-m-0.7.7/src/register/faultmask.rs:29:28
   |
29 |     let r: u32 = call_asm!(__faultmask_r() -> u32);
   |                            ^^^^^^^^^^^^^ not found in `crate::asm::inline`

   Compiling embedded-storage-async v0.4.1
error: invalid register `r0`: unknown register
   --> /home/hjeldin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cortex-m-0.7.7/src/../asm/inline.rs:197:24
    |
197 |     asm!("bkpt #0xab", inout("r0") nr, in("r1") arg, options(nomem, nostack, preserves_flags));
    |                        ^^^^^^^^^^^^^^

error: invalid register `r1`: unknown register
   --> /home/hjeldin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cortex-m-0.7.7/src/../asm/inline.rs:197:40
    |
197 |     asm!("bkpt #0xab", inout("r0") nr, in("r1") arg, options(nomem, nostack, preserves_flags));
    |                                        ^^^^^^^^^^^^

   Compiling hash32 v0.3.1
   Compiling sdio-host v0.5.0
   Compiling block-device-driver v0.2.0
   Compiling rand_core v0.6.4
   Compiling bit_field v0.10.2
   Compiling stm-blink v0.1.0 (/home/hjeldin/Projects/Personal/dive-computer-fw)
   Compiling log v0.4.25
   Compiling stm32-fmc v0.3.2
   Compiling itertools v0.13.0
   Compiling hashbrown v0.13.2
For more information about this error, try `rustc --explain E0425`.
error: could not compile `cortex-m` (lib) due to 6 previous errors
warning: build failed, waiting for other jobs to finish...
Process finished with exit code 101
```