GithubHelp home page GithubHelp logo

rtm7777 / stm32_learn Goto Github PK

View Code? Open in Web Editor NEW
15.0 3.0 1.0 93 KB

My first STM32 project for stm32f103c8t6 ( Timers, I2C, SPI, Encoder, LCD, MAX7219, MCP4725)

License: BSD 2-Clause "Simplified" License

Assembly 12.93% C 80.02% Makefile 7.05%

stm32_learn's Introduction

STM32F1Learn

First Steps

UBuntu:


Install STM32CubeMX

  1. Download zip archive

  2. Extract it somewhere

  3. Doudle click on SetupSTM32CubeMX-XXX file and follow instructions

  4. Go to installation folder and Run CubeMX

  5. Install latest (1.8.4 atm) MCUS Embedded Software from CubeMX: Help -> Manage embedded software packages -> STM32F1 default installation path can be changed in udater settings menu


Install VSCode Extensions

  1. C/C++
  2. Cortex Debug
  3. Makefile Tools

Install stlink

  1. Go to releases and download *.deb package
  2. Install it with sudo dpkg -i stlink_*.deb
  3. In case of missing packages run this command sudo apt-get -f install
  4. Check installation: st-info --version
  • export LD_LIBRARY_PATH=/usr/local/lib - for libstlink-shared.so related error

Install tools

  1. Install xpm if you don't have it: https://xpack.github.io/xpm/install/
  2. Run xpm install command

Get latest SVD file for our processor on st.com

  • in case of our "blue pill" STM32F103 the link is: here
  1. add STM32F103.svd file to the root folder

Interesting articles

stm32_learn's People

Contributors

nikolaisdfsd avatar rtm7777 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

gavukaalexandr

stm32_learn's Issues

MCP4725 Address

in MCP4725.c
Other Address might be 0xC2
ADD Pull-Up Pin is the last bit of 7 bits

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.