Giter Site home page Giter Site logo

Comments (4)

noppej avatar noppej commented on July 4, 2024

Can you share your launch.json and tasks.json please?

from probe-rs.

Yatekii avatar Yatekii commented on July 4, 2024

cargo-flash is not a runner. What you want is runner = "probe-rs run --chip STM32F429ZITx" in the config :)

from probe-rs.

Eplankton avatar Eplankton commented on July 4, 2024

cargo-flash is not a runner. What you want is runner = "probe-rs run --chip STM32F429ZITx" in the config :)

Great, it works, and also I want to ask about the Debug button on the right side of Run, how to config it? My launch.json is:

{
    "version": "0.2.0",
    "configurations": [
        {
            "cwd": "${workspaceRoot}",
            "type": "cortex-debug",
            "request": "launch",
            "name": "OpenOCD",
            "servertype": "openocd",
            "executable": "./target/thumbv7em-none-eabihf/debug/rust-stm32f4-disco-blinky",
            "runToEntryPoint": "main",
            "svdFile": "STM32F429x.svd",
            "liveWatch": {
                "enabled": true,
                "samplesPerSecond": 4
            },
            "device": "STM32F429ZITx",
            "configFiles": [
                "interface/stlink.cfg",
                "target/stm32f4x.cfg"
            ]
        },
        {
            "cwd": "${workspaceRoot}",
            "type": "probe-rs-debug",
            "request": "launch",
            "name": "probe_rs debug",
            //!MODIFY
            "chip": "STM32F429ZITx",
            "coreConfigs": [
                {
                    //!MODIFY
                    "programBinary": "./target/thumbv7em-none-eabihf/debug/rust-stm32f4-disco-blinky"
                }
            ]
        }
    ]
}

from probe-rs.

Tiwalun avatar Tiwalun commented on July 4, 2024

I think this is provided by rust-analyzer (or another plugin) so you might have more success asking there.

from probe-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.