Replace deprecated runToMain with runToEntryPoint
This commit is contained in:
4
.vscode/launch.json
vendored
4
.vscode/launch.json
vendored
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user