From 62d6a84b52c21fea4b51b603aaa43d190267ff0e Mon Sep 17 00:00:00 2001 From: Remo Senekowitsch Date: Sun, 2 Oct 2022 16:45:22 +0200 Subject: [PATCH] Replace deprecated runToMain with runToEntryPoint --- .vscode/launch.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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",