Replace deprecated runToMain with runToEntryPoint

This commit is contained in:
Remo Senekowitsch
2022-10-02 16:45:22 +02:00
parent 7ef7c35350
commit 62d6a84b52

4
.vscode/launch.json vendored
View File

@@ -13,7 +13,7 @@
"servertype": "qemu", "servertype": "qemu",
"cwd": "${workspaceRoot}", "cwd": "${workspaceRoot}",
"preLaunchTask": "Cargo Build (debug)", "preLaunchTask": "Cargo Build (debug)",
"runToMain": true, "runToEntryPoint": "main",
"executable": "./target/thumbv7m-none-eabi/debug/{{project-name}}", "executable": "./target/thumbv7m-none-eabi/debug/{{project-name}}",
/* Run `cargo build --example hello` and uncomment this line to run semi-hosting example */ /* Run `cargo build --example hello` and uncomment this line to run semi-hosting example */
//"executable": "./target/thumbv7m-none-eabi/debug/examples/hello", //"executable": "./target/thumbv7m-none-eabi/debug/examples/hello",
@@ -28,7 +28,7 @@
"servertype": "openocd", "servertype": "openocd",
"cwd": "${workspaceRoot}", "cwd": "${workspaceRoot}",
"preLaunchTask": "Cargo Build (debug)", "preLaunchTask": "Cargo Build (debug)",
"runToMain": true, "runToEntryPoint": "main",
"executable": "./target/thumbv7em-none-eabihf/debug/{{project-name}}", "executable": "./target/thumbv7em-none-eabihf/debug/{{project-name}}",
/* Run `cargo build --example itm` and uncomment this line to run itm example */ /* Run `cargo build --example itm` and uncomment this line to run itm example */
// "executable": "./target/thumbv7em-none-eabihf/debug/examples/itm", // "executable": "./target/thumbv7em-none-eabihf/debug/examples/itm",