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