GithubHelp home page GithubHelp logo

isabella232 / stm32-lora-disco-rs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from helium/stm32-lora-disco-rs

0.0 0.0 0.0 16 KB

Unofficial Rust Board Support Crate for B-L072Z-LRWAN1

GDB 52.76% Rust 35.72% Logos 11.52%

stm32-lora-disco-rs's Introduction

stm32-lora-disco-rs

About

This is an unofficial Board Support Crate (BSC) for using the STMicroelectronics B-L072Z-LRWAN1 Discovery with the Rust programming language.

It is currently in its early stages. Documentation is sparse and features are basic. Pull requests welcome!

Usage

ST-Link & OpenOCD

The easiest way to flash code to the LoRa Discovery board is to use the on-board ST-Link and OpenOCD

  • Using an external STLINK programmer via OpenOCD

Compiling the most recent version of OpenOCD is helpful, as support for this part has improved and most distributions provide a rather old version of OpenOCD.

To start the debug server, from this project directory, do: openocd -f ./openocd.cfg

JLink & JLinkServer

If you have a preference for JLink, you can actually turn the ST-Link into a JLink debugger.

Download the JLink server utility if you don't have it.

To run JLink server: JLinkGDBServer -device STM32L072CZ -speed 4000 -if swd -AutoConnect -1 -port 3333

Open .cargo/config and uncomment the runner that matches your preferred configuration (comment all other ones). Then you can flash an example program like this:

cargo run --example longfi

stm32-lora-disco-rs's People

Contributors

kent-williams avatar lthiery avatar

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.