STM32 Rust, OpenOCD – issues debugging and finding executable

I am here to learn. I am open to rough feedback. I’m currently browsing the Discovery and Embedded Rust documentation.

Initially I was having issues with permissions and dealing with the cargo.lock when compiling. After solving it with sudo chmod -vR 777 ../blinky/* now my main issue is with debugging the project with OpenOCD.

launch.json

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "cwd": "${workspaceFolder}",
            "executable": "./target/debug/blinky",
            "name": "Debug with ST-Link",
            "request": "launch",
            "type": "cortex-debug",
            "runToEntryPoint": "main",
            "showDevDebugOutput": "none",
            "serverpath": "/opt/ST/STM32CubeCLT/STLink-gdb-server/bin/ST-LINK_gdbserver", // Update this path to the location of ST-LINK_gdbserver on your system
            "servertype": "stlink",
            "device": "STM32U575",
            "interface": "swd",
            "svdFile": "${workspaceRoot}/config/STM32L4x5.svd"
//            "showDevDebugOutput" : "raw"
        },
    ]
}

launch.json 2

{
    /* 
     * Requires the Rust Language Server (rust-analyzer) and Cortex-Debug extensions
     * https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer
     * https://marketplace.visualstudio.com/items?itemName=marus25.cortex-debug
     */
    "version": "0.2.0",
    "configurations": [
        {
            "type": "cortex-debug",
            "request": "launch",
            "name": "Debug (QEMU)",
            "servertype": "qemu",
            "cwd": "${workspaceRoot}",
            "preLaunchTask": "Cargo Build (debug)",
            "runToEntryPoint": "main",
            "executable": "./target/thumbv7m-none-eabi/debug/blinky",
            /* Run `cargo build --example hello` and uncomment this line to run semi-hosting example */
            //"executable": "./target/thumbv7m-none-eabi/debug/examples/hello",
            "cpu": "cortex-m3",
            "machine": "lm3s6965evb",
        },
        {
            /* Configuration for the STM32F303 Discovery board */
            "type": "cortex-debug",
            "request": "launch",
            "name": "Debug (OpenOCD)",
            "servertype": "openocd",
            "cwd": "${workspaceRoot}",
            "preLaunchTask": "Cargo Build (debug)",
            "runToEntryPoint": "main",
            "executable": "./target/thumbv8m.main-none-eabihf/debug/blinky",
            /* Run `cargo build --example itm` and uncomment this line to run itm example */
            // "executable": "./target/thumbv7em-none-eabihf/debug/examples/itm",
            "device": "STM32U575ZIT",
            "configFiles": [
                "interface/stlink-v2-1.cfg",
                "target/stm32u5x.cfg"
            ],
            "svdFile": "${workspaceRoot}/.vscode/stmu575.svd",
            "swoConfig": {
                "enabled": true,
                "cpuFrequency": 8000000,
                "swoFrequency": 2000000,
                "source": "probe",
                "decoders": [
                    { "type": "console", "label": "ITM", "port": 0 }
                ]
            }
        }
    ]
}

input and output ls -alR target

base) vboxuser@Ubuntu20:~/Desktop/GitHub/RUST/blinky3/svd2rustU5/blinky$ ls -alR target

target:

total 24

drwxrwxrwx 4 root root 4096 Jul 13 00:55 .

drwxrwxrwx 13 root root    4096 Jul 13 17:27 ..

-rwxrwxrwx  2 root root 3732144 Jul 13 00:56 build-script-build

-rwxrwxrwx  2 root root 3732144 Jul 13 00:56 build_script_build-e3caffbbe3b69672

-rwxrwxrwx  1 root root     512 Jul 13 00:56 build_script_build-e3caffbbe3b69672.d



target/debug/build/proc-macro2-1bcfc40556df9dbc:

total 7812

drwxrwxrwx  2 root root    4096 Jul 13 00:55 .

drwxrwxrwx 13 root root    4096 Ju
total 24

drwxrwxrwx  2 root root 4096 Jul 13 00:56 .

drwxrwxrwx 21 root root 4096 Jul 13 17:27 ..

-rwxrwxrwx  1 root root   16 Jul 13 00:56 build-script-build-script-build

-rwxrwxrwx  1 root root  460 Jul 13 00:56 build-script-build-script-build.json

-rwxrwxrwx  1 root root    8 Jul 13 00:56 dep-build-script-build-script-build

-rwxrwxrwx  1 root root   48 Jul 13 00:56 invoked.timestamp



target/debug/.fingerprint/blinky-92dc54b7f9eafba9:

total 24

drwxrwxrwx  2 root root 4096 Jul 13 00:56 .

drwxrwxrwx 21 root root 4096 Jul 13 17:27 ..

-rwxrwxrwx  1 root root   16 Jul 13 00:56 build-script-build-script-build

-rwxrwxrwx  1 root root  381 Jul 13 00:56 build-script-build-script-build.json

-rwxrwxrwx  1 root root   34 Jul 13 00:56 dep-build-script-build-script-build

-rwxrwxrwx  1 root root   48 Jul 13 00:56 invoked.timestamp



target/debug/.fingerprint/cortex-m-cab231c3733a7a46:

total 24

drwxrwxrwx  2 root root 4096 Jul 13 00:55 .

drwxrwxrwx 21 root root 4096 Jul 13 17:27 ..

-rwxrwxrwx  1 root root   16 Jul 13 00:55 build-script-build-script-build

-rwxrwxrwx  1 root root  438 Jul 13 00:55 build-script-build-script-build.json

-rwxrwxrwx  1 root root    8 Jul 13 00:55 dep-build-script-build-script-build

-rwxrwxrwx  1 root root   48 Jul 13 00:55 invoked.timestamp



target/debug/.fingerprint/cortex-m-rt-128ca5414ffbd6d5:

total 24

drwxrwxrwx  2 root root 4096 Jul 13 00:56 .

drwxrwxrwx 21 root root 4096 Jul 13 17:27 ..

-rwxrwxrwx  1 root root   16 Jul 13 00:56 build-script-build-script-build

-rwxrwxrwx  1 root root  395 Jul 13 00:56 build-script-build-script-build.json

-rwxrwxrwx  1 root root    8 Jul 13 00:56 dep-build-script-build-script-build

-rwxrwxrwx  1 root root   48 Jul 13 00:56 invoked.timestamp



target/debug/.fingerprint/cortex-m-rt-macros-63e979ee74f876a2:

total 24

drwxrwxrwx  2 root root 4096 Jul 13 00:56 .

drwxrwxrwx 21 root root 4096 Jul 13 17:27 ..

-rwxrwxrwx  1 root root    8 Jul 13 00:56 dep-lib-cortex_m_rt_macros

-rwxrwxrwx  1 root root   48 Jul 13 00:56 invoked.timestamp

-rwxrwxrwx  1 root root   16 Jul 13 00:56 lib-cortex_m_rt_macros

-rwxrwxrwx  1 root root  556 Jul 13 00:56 lib-cortex_m_rt_macros.json



target/debug/.fingerprint/cortex-m-semihosting-9a1c614786402eb2:

total 24

drwxrwxrwx  2 root root 4096 Jul 13 17:27 .

drwxrwxrwx 21 root root 4096 Jul 13 17:27 ..

-rwxrwxrwx  1 root root   16 Jul 13 17:27 build-script-build-script-build

-rwxrwxrwx  1 root root  393 Jul 13 17:27 build-script-build-script-build.json

-rwxrwxrwx  1 root root    8 Jul 13 17:27 dep-build-script-build-script-build

-rwxrwxrwx  1 root root   48 Jul 13 17:27 invoked.timestamp



target/debug/.fingerprint/cortex-m-semihosting-e3caffbbe3b69672:

total 24

drwxrwxrwx  2 root root 4096 Jul 13 00:56 .

drwxrwxrwx 21 root root 4096 Jul 13 17:27 ..

-rwxrwxrwx  1 root root   16 Jul 13 00:56 build-script-build-script-build

-rwxrwxrwx  1 root root  394 Jul 13 00:56 build-script-build-script-build.json

-rwxrwxrwx  1 root root    8 Jul 13 00:56 dep-build-script-build-script-build

-rwxrwxrwx  1 root root   48 Jul 13 00:56 invoked.timestamp



target/debug/.fingerprint/proc-macro2-1bcfc40556df9dbc:

total 24

drwxrwxrwx  2 root root 4096 Jul 13 00:55 .

drwxrwxrwx 21 root root 4096 Jul 13 17:27 ..

-rwxrwxrwx  1 root root   16 Jul 13 00:55 build-script-build-script-build

-rwxrwxrwx  1 root root  411 Jul 13 00:55 build-script-build-script-build.json

-rwxrwxrwx  1 root root    8 Jul 13 00:55 dep-build-script-build-script-build

-rwxrwxrwx  1 root root   48 Jul 13 00:55 invoked.timestamp



target/debug/.fingerprint/proc-macro2-2325c651b0f3264e:

total 16

drwxrwxrwx  2 root root 4096 Jul 13 00:56 .

drwxrwxrwx 21 root root 4096 Jul 13 17:27 ..

-rwxrwxrwx  1 root root   16 Jul 13 00:56 run-build-script-build-script-build

-rwxrwxrwx  1 root root  410 Jul 13 00:56 run-build-script-build-script-build.json



target/debug/.fingerprint/proc-macro2-f6a64b041a3c8b7c:

total 24

drwxrwxrwx  2 root root 4096 Jul 13 00:56 .

drwxrwxrwx 21 root root 4096 Jul 13 17:27 ..

-rwxrwxrwx  1 root root    8 Jul 13 00:56 dep-lib-proc_macro2

-rwxrwxrwx  1 root root   48 Jul 13 00:56 invoked.timestamp

-rwxrwxrwx  1 root root   16 Jul 13 00:56 lib-proc_macro2

-rwxrwxrwx  1 root root  529 Jul 13 00:56 lib-proc_macro2.json



target/debug/.fingerprint/quote-232e29e6b404bb4c:

total 24

drwxrwxrwx  2 root root 4096 Jul 13 00:56 .

drwxrwxrwx 21 root root 4096 Jul 13 17:27 ..

-rwxrwxrwx  1 root root    8 Jul 13 00:56 dep-lib-quote

-rwxrwxrwx  1 root root   48 Jul 13 00:56 invoked.timestamp

-rwxrwxrwx  1 root root   16 Jul 13 00:56 lib-quote

-rwxrwxrwx  1 root root  445 Jul 13 00:56 lib-quote.json



target/debug/.fingerprint/rustc_version-c5f91e5d39784817:

total 24

drwxrwxrwx  2 root root 4096 Jul 13 00:56 .

drwxrwxrwx 21 root root 4096 Jul 13 17:27 ..

-rwxrwxrwx  1 root root    8 Jul 13 00:56 dep-lib-rustc_version

-rwxrwxrwx  1 root root   48 Jul 13 00:56 invoked.timestamp

-rwxrwxrwx  1 root root   16 Jul 13 00:56 lib-rustc_version

-rwxrwxrwx  1 root root  429 Jul 13 00:56 lib-rustc_version.json



target/debug/.fingerprint/semver-7e052c5de9ec6b02:

total 24

drwxrwxrwx  2 root root 4096 Jul 13 00:56 .

drwxrwxrwx 21 root root 4096 Jul 13 17:27 ..

-rwxrwxrwx  1 root root    8 Jul 13 00:56 dep-lib-semver

-rwxrwxrwx  1 root root   48 Jul 13 00:56 invoked.timestamp

-rwxrwxrwx  1 root root   16 Jul 13 00:56 lib-semver

-rwxrwxrwx  1 root root  434 Jul 13 00:56 lib-semver.json



target/debug/.fingerprint/semver-parser-bcd6c7a833291f16:

total 24

drwxrwxrwx  2 root root 4096 Jul 13 00:55 .

drwxrwxrwx 21 root root 4096 Jul 13 17:27 ..

-rwxrwxrwx  1 root root    8 Jul 13 00:55 dep-lib-semver_parser

-rwxrwxrwx  1 root root   48 Jul 13 00:55 invoked.timestamp

-rwxrwxrwx  1 root root   16 Jul 13 00:55 lib-semver_parser

-rwxrwxrwx  1 root root  373 Jul 13 00:55 lib-semver_parser.json



target/debug/.fingerprint/stm32u575_pac-e5d67c9d29916d67:

total 24

drwxrwxrwx  2 root root 4096 Jul 13 00:56 .

drwxrwxrwx 21 root root 4096 Jul 13 17:27 ..

-rwxrwxrwx  1 root root   16 Jul 13 00:56 build-script-build-script-build

-rwxrwxrwx  1 root root  415 Jul 13 00:56 build-script-build-script-build.json

-rwxrwxrwx  1 root root   34 Jul 13 00:56 dep-build-script-build-script-build

-rwxrwxrwx  1 root root   48 Jul 13 00:56 invoked.timestamp



target/debug/.fingerprint/syn-06e8ada3b5f5ba9f:

total 16

drwxrwxrwx  2 root root 4096 Jul 13 00:56 .

drwxrwxrwx 21 root root 4096 Jul 13 17:27 ..

-rwxrwxrwx  1 root root   16 Jul 13 00:56 run-build-script-build-script-build

-rwxrwxrwx  1 root root  272 Jul 13 00:56 run-build-script-build-script-build.json



target/debug/.fingerprint/syn-f50d7725ae2a3db1:

total 24

drwxrwxrwx  2 root root 4096 Jul 13 00:56 .

drwxrwxrwx 21 root root 4096 Jul 13 17:27 ..

-rwxrwxrwx  1 root root   16 Jul 13 00:56 build-script-build-script-build

-rwxrwxrwx  1 root root  500 Jul 13 00:56 build-script-build-script-build.json

-rwxrwxrwx  1 root root    8 Jul 13 00:56 dep-build-script-build-script-build

-rwxrwxrwx  1 root root   48 Jul 13 00:56 invoked.timestamp



target/debug/.fingerprint/syn-fffa866953c610c7:

total 24

drwxrwxrwx  2 root root 4096 Jul 13 00:56 .

drwxrwxrwx 21 root root 4096 Jul 13 17:27 ..

-rwxrwxrwx  1 root root    8 Jul 13 00:56 dep-lib-syn

-rwxrwxrwx  1 root root   48 Jul 13 00:56 invoked.timestamp

-rwxrwxrwx  1 root root   16 Jul 13 00:56 lib-syn

-rwxrwxrwx  1 root root  729 Jul 13 00:56 lib-syn.json



target/debug/.fingerprint/unicode-ident-d196e8366f1b2567:

total 24

drwxrwxrwx  2 root root 4096 Jul 13 00:55 .

drwxrwxrwx 21 root root 4096 Jul 13 17:27 ..

-rwxrwxrwx  1 root root    8 Jul 13 00:55 dep-lib-unicode_ident

-rwxrwxrwx  1 root root   48 Jul 13 00:55 invoked.timestamp

-rwxrwxrwx  1 root root   16 Jul 13 00:55 lib-unicode_ident

-rwxrwxrwx  1 root root  373 Jul 13 00:55 lib-unicode_ident.json



target/debug/incremental:

total 16

drwxrwxrwx 4 root root 4096 Jul 13 00:56 .

drwxrwxrwx 7 root root 4096 Jul 13 00:55 ..

drwxrwxrwx 3 root root 4096 Jul 13 00:56 build_script_build-1kz9qv6l0b0nd

drwxrwxrwx 3 root root 4096 Jul 13 00:56 build_script_build-1sg8db26otov1



target/debug/incremental/build_script_build-1kz9qv6l0b0nd:

total 12

drwxrwxrwx 3 root root 4096 Jul 13 00:56 .

drwxrwxrwx 4 root root 4096 Jul 13 00:56 ..

drwxrwxrwx 2 root root 4096 Jul 13 00:56 s-gxzpb90pdf-1dswofr-280el5aifalnrh6r0e31w7si

-rwxrwxrwx 1 root root    0 Jul 13 00:56 s-gxzpb90pdf-1dswofr.lock



target/debug/incremental/build_script_build-1kz9qv6l0b0nd/s-gxzpb90pdf-1dswofr-280el5aifalnrh6r0e31w7si:

total 1052

drwxrwxrwx 2 root root   4096 Jul 13 00:56 .

drwxrwxrwx 3 root root   4096 Jul 13 00:56 ..

-rwxrwxrwx 1 root root   3232 Jul 13 00:56 12gnlp4p5ezabr0y.o

-rwxrwxrwx 1 root root   3352 Jul 13 00:56 18w46bncogam5s4j.o

-rwxrwxrwx 1 root root  52744 Jul 13 00:56 1abq16ausb4x42ti.o

-rwxrwxrwx 1 root root  12832 Jul 13 00:56 1bpqgsk1d2e4vmil.o

-rwxrwxrwx 1 root root  14896 Jul 13 00:56 1cxicggfcwsimk41.o

-rwxrwxrwx 1 root root  11360 Jul 13 00:56 1t27iuxyqmaxa260.o

-rwxrwxrwx 1 root root   5400 Jul 13 00:56 1y082jg0isy8n4rr.o

-rwxrwxrwx 1 root root   6336 Jul 13 00:56 2ar0fbfk60irxn5c.o

-rwxrwxrwx 1 root root   4144 Jul 13 00:56 2jwliepe9layy6ld.o

-rwxrwxrwx 1 root root   9176 Jul 13 00:56 3c7z2uuxsh6uqyhm.o

-rwxrwxrwx 1 root root  39512 Jul 13 00:56 3gord26qazd585oj.o

-rwxrwxrwx 1 root root   7576 Jul 13 00:56 3t6356jvc31dz576.o

-rwxrwxrwx 1 root root  12856 Jul 13 00:56 3vsim2boo8dewmin.o

-rwxrwxrwx 1 root root  10704 Jul 13 00:56 450cqkq2pih2mtt3.o

-rwxrwxrwx 1 root root  12584 Jul 13 00:56 4d735syci9c8s11d.o

-rwxrwxrwx 1 root root  11920 Jul 13 00:56 4w0falter8l7a85l.o

-rwxrwxrwx 1 root root   5616 Jul 13 00:56 4wjopzi7pzyh3zfv.o

-rwxrwxrwx 1 root root  30264 Jul 13 00:56 9iabvwqpllacr9x.o

-rwxrwxrwx 1 root root 515231 Jul 13 00:56 dep-graph.bin

-rwxrwxrwx 1 
drwxrwxrwx 7 root root 4096 Jul 13 17:27 debug



target/thumbv8m.main-none-eabihf/debug:

total 976

drwxrwxrwx  7 root root   4096 Jul 13 17:27 .

drwxrwxrwx  3 root root   4096 Jul 13 00:55 ..

-rwxrwxrwx  2 root root 869248 Jul 13 17:27 blinky

-rwxrwxrwx  1 root root  87050 Jul 13 00:56 blinky.d

drwxrwxrwx  9 root root   4096 Jul 13 17:27 build

-rwxrwxrwx  1 root root      0 Jul 13 00:55 .cargo-lock

drwxrwxrwx  2 root root  12288 Jul 13 17:27 deps

drwxrwxrwx  2 root root   4096 Jul 13 01:05 examples


target/thumbv8m.main-none-eabihf/debug/.fingerprint/embedded-hal-076f97c38076efa9:

total 24

drwxrwxrwx  2 root root 4096 Jul 13 02:18 .

drwxrwxrwx 42 root root 4096 Jul 13 17:27 ..

-rwxrwxrwx  1 root root    8 Jul 13 02:18 dep-lib-embedded_hal

-rwxrwxrwx  1 root root   48 Jul 13 02:18 invoked.timestamp

-rwxrwxrwx  1 root root   16 Jul 13 02:18 lib-embedded_hal

-rwxrwxrwx  1 root root  528 Jul 13 02:18 lib-embedded_hal.json



target/thumbv8m.main-none-eabihf/debug/.fingerprint/embedded-hal-7ff9a7d20745fa86:

total 24

drwxrwxrwx  2 root root 4096 Jul 13 00:56 .

drwxrwxrwx 42 root root 4096 Jul 13 17:27 ..

-rwxrwxrwx  1 root root    8 Jul 13 00:56 dep-lib-embedded_hal

-rwxrwxrwx  1 root root   48 Jul 13 00:56 invoked.timestamp

-rwxrwxrwx  1 root root   16 Jul 13 00:56 lib-embedded_hal

-rwxrwxrwx  1 root root  528 Jul 13 00:56 lib-embedded_hal.json



target/thumbv8m.main-none-eabihf/debug/.fingerprint/nb-4480498984947b9d:

total 24


target/thumbv8m.main-none-eabihf/debug/incremental/blinky-8es08fzkeqt9:

total 12

drwxrwxrwx 3 root root 4096 Jul 13 00:56 .

drwxrwxrwx 8 root root 4096 Jul 13 17:27 ..

drwxrwxrwx 2 root root 4096 Jul 13 00:56 s-gxzpbm4ilz-h2rlb5-9q6x8iy08xuchfggnhcrbgoaf

-rwxrwxrwx 1 root root    0 Jul 13 00:56 s-gxzpbm4ilz-h2rlb5.lock



target/thumbv8m.main-none-eabihf/debug/incremental/blinky-8es08fzkeqt9/s-gxzpbm4ilz-h2rlb5-9q6x8iy08xuchfggnhcrbgoaf:

total 2216

drwxrwxrwx 2 root root    4096 Jul 13 00:56 .

drwxrwxrwx 3 root root    4096 Jul 13 00:56 ..

-rwxrwxrwx 1 root root    4832 Jul 13 00:56 1h9xm9l59trgur9b.o

-rwxrwxrwx 1 root root   10608 Jul 13 00:56 1r1beb1tnvfrnix8.o

-rwxrwxrwx 1 root root    6216 Jul 13 00:56 1tg4brl3xhsjrg0y.o

-rwxrwxrwx 1 root root    4228 Jul 13 00:56 29tf0izmdx8oyc9x.o

-rwxrwxrwx 1 root root   17836 Jul 13 00:56 2q48i1v0uwy5kxtw.o

-rwxrwxrwx 1 root root    3284 Jul 13 00:56 2qyss0f4wz3k7ul9.o

-rwxrwxrwx 1 root root   29972 Jul 13 00:56 36gax0vasdid1sd2.o

-rwxrwxrwx 1 root root    2984 Jul 13 00:56 37r709h5viklr85i.o

-rwxrwxrwx 1 root root   34880 Jul 13 00:56 4m84eldnglqfgo5g.o

-rwxrwxrwx 1 root root    4528 Jul 13 00:56 5dclnfm63pvp4mzx.o

-rwxrwxrwx 1 root root   18320 Jul 13 00:56 c85e9525ku7oi4q.o

-rwxrwxrwx 1 root root 1751539 Jul 13 00:56 dep-graph.bin

-rwxrwxrwx 1 root root  313096 Jul 13 00:56 query-cache.bin

-rwxrwxrwx 1 root root   18672 Jul 13 00:56 wh2pazdinxmtyzw.o

-rwxrwxrwx 1 root root     785 Jul 13 00:56 work-products.bin

-rwxrwxrwx 1 root root    2028 Jul 13 00:56 z0jenua8jd26oda.o



target/thumbv8m.main-none-eabihf/debug/incremental/hello-j0vk3kttgly:

total 12

drwxrwxrwx 3 root root 4096 Jul 13 01:05 .

drwxrwxrwx 8 root root 4096 Jul 13 17:27 ..

drwxrwxrwx 2 root root 4096 Jul 13 01:05 s-gxzpk613c2-1mhi7hr-4ga6k5p427usnea21ij850nra

-rwxrwxrwx 1 root root    0 Jul 13 01:05 s-gxzpk613c2-1mhi7hr.lock



target/thumbv8m.main-none-eabihf/debug/incremental/hello-j0vk3kttgly/s-gxzpk613c2-1mhi7hr-4ga6k5p427usnea21ij850nra:

total 156

drwxrwxrwx 2 root root  4096 Jul 13 01:05 .

drwxrwxrwx 3 root root  4096 Jul 13 01:05 ..

-rwxrwxrwx 2 root root  2180 Jul 13 01:05 1liar6mxj6fy3qm7.o

-rwxrwxrwx 2 root root  3908 Jul 13 01:05 234dej3akk64wb5w.o

-rwxrwxrwx 2 root root  5504 Jul 13 01:05 4cetckt1wfve6x23.o

-rwxrwxrwx 1 root root 86542 Jul 13 01:05 dep-graph.bin

-rwxrwxrwx 1 root root 37988 Jul 13 01:05 query-cache.bin

-rwxrwxrwx 1 root root   211 Jul 13 01:05 work-products.bin



target/thumbv8m.main-none-eabihf/debug/incremental/stm32u575_pac-16er7cfwja1vs:

total 12

drwxrwxrwx 3 root root 4096 Jul 13 02:19 .

drwxrwxrwx 8 root root 4096 Jul 13 17:27 ..

drwxrwxrwx 2 root root 4096 Jul 13 02:19 s-gxzrl5d5p1-1qh3m2d-2r3bnmpfki5ah588vy8fmkrik

-rwxrwxrwx 1 root root    0 Jul 13 02:18 s-gxzrl5d5p1-1qh3m2d.lock



target/thumbv8m.main-none-eabihf/debug/incremental/stm32u575_pac-16er7cfwja1vs/s-gxzrl5d5p1-1qh3m2d-2r3bnmpfki5ah588vy8fmkrik:

total 251220

drwxrwxrwx 2 root root      4096 Jul 13 02:19 .

drwxrwxrwx 3 root root      4096 Jul 13 02:19 ..

-rwxrwxrwx 1 root root 198051745 Jul 13 02:19 dep-graph.bin

-rwxrwxrwx 1 root root  59179621 Jul 13 02:19 query-cache.bin

-rwxrwxrwx 1 root root        37 Jul 13 02:19 work-products.bin



target/thumbv8m.main-none-eabihf/debug/incremental/stm32u575_pac-3h7g4xgil6jk6:

total 12

drwxrwxrwx 3 root root 4096 Jul 13 00:56 .

drwxrwxrwx 8 root root 4096 Jul 13 17:27 ..

drwxrwxrwx 2 root root 4096 Jul 13 00:56 s-gxzpbc1be5-1bx9ljq-27x66fii1iacol9ldg297n8hk

-rwxrwxrwx 1 root root    0 Jul 13 00:56 s-gxzpbc1be5-1bx9ljq.lock



target/thumbv8m.main-none-eabihf/debug/incremental/stm32u575_pac-3h7g4xgil6jk6/s-gxzpbc1be5-1bx9ljq-27x66fii1iacol9ldg297n8hk:

total 287612

drwxrwxrwx 2 root root      4096 Jul 13 00:56 .

drwxrwxrwx 3 root root      4096 Jul 13 00:56 ..

-rwxrwxrwx 1 root root    301492 Jul 13 00:56 4o9phb3bv1nowbsg.o

-rwxrwxrwx 1 root root 212736646 Jul 13 00:56 dep-graph.bin

-rwxrwxrwx 1 root root  81454398 Jul 13 00:56 query-cache.bin

-rwxrwxrwx 1 root root        95 Jul 13 00:56 work-products.bin

(base) vboxuser@Ubuntu20:~/Desktop/GitHub/RUST/blinky3/svd2rustU5/blinky$ 

build, checked, run cargo

root@fac0ad0d6590:/home/app/blinky# cargo build
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.03s
root@fac0ad0d6590:/home/app/blinky# cargo run
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.02s
     Running `target/thumbv8m.main-none-eabihf/debug/blinky`
target/thumbv8m.main-none-eabihf/debug/blinky: 1: Syntax error: word unexpected (expecting ")")

updated cargo.toml file dependencies.

[dependencies]
cortex-m = { version = "0.7.7", features = ["critical-section-single-core"] }
cortex-m-rt = "0.7.3"
cortex-m-semihosting = "0.5.0"
panic-halt = "0.2.0"
stm32u575_pac = { path = "../stm32u575_pac", features = ["rt", "critical-section"] }

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật