Giter VIP home page Giter VIP logo

stm32stdlibtemplate's Introduction

Stm32 StdLib based template for CLion IDE (uses cmake)

This is a minimal Stm32 "hello world" project for CLion IDE based on STM32 Standard Peripheral Library

Target CPU is STM32F411CC

How To

  1. install gcc-arm-none-eabi compiler set
  2. make sure you can reach gcc-arm-none-eabi-gcc and gcc-arm-none-eabi-g++ from your shell (add bin directory (ex: C:\Program Files (x86)\GNU Arm Embedded Toolchain\10 2021.10\bin) to the system PATH variable)
  3. make sure you can reach cmake from your shell. You can use the one shipped with you CLion distribution, ex: C:\Program Files\JetBrains\CLion 2021.3.3\bin\cmake\win\bin
  4. setup toolchain File -> Settings -> Build, Execution, Deployment -> Toolchains: toolchain setup
  5. now you must be able to build the progect Build -> Build Project. You could attempt restarting you IDE in case of any problem
  6. add debug configuration Run -> Edit Configurations. Choose the only available Target and Executable, select Boarding config file from the project root: debug configuration
  7. at this point you must be able to run and debug your source code: Run -> Debug stm32StdLibTemplate
  8. in order to view peripherals state during debug you have to provide a *.svd file, located at the project root directory: STM32F411.svd (Search in the internet if you need any other)

stm32stdlibtemplate's People

Contributors

lukdut avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  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.