Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Examples could be using cargo-embed instead of OpenOCD? #9

Copy link
Copy link
Closed
@brainstorm

Description

@brainstorm
Issue body actions

More integrated and easier to use in Rust, IMHO? All I need is a STLinkv2 probe and this:

$ cat Embed.toml 
[default.general]
chip = "STM32F042G6Ux"

$ cargo embed --release --target thumbv6m-none-eabi
warning: /Users/romanvg/dev/cchs/keyboard_trackball/software/stm32f04/Cargo.toml: unused manifest key: build
   Compiling stm32f042 v0.1.0 (/Users/romanvg/dev/cchs/keyboard_trackball/software/stm32f04)
    Finished release [optimized] target(s) in 2.27s
    Flashing /Users/romanvg/dev/cchs/keyboard_trackball/target/thumbv6m-none-eabi/release/stm32f042
     Erasing sectors ✔ [00:00:01] [##################################################################################################################################################################]  32.00KB/ 32.00KB @  26.90KB/s (eta 0s )
 Programming pages   ✔ [00:00:03] [##################################################################################################################################################################]  32.00KB/ 32.00KB @   6.68KB/s (eta 0s )
    Finished in 4.537s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.