Giter VIP home page Giter VIP logo

stm32-with-no-ide's Introduction

Yes, IDEs make the job easier, but..

If you are an embedded developer, you should know what is going under the hood.

Get rid of that IDE and do it like a boss ๐Ÿ˜Ž

Image of nucleo

What you will need :

โœช Any Text Editor

โœช CMSIS / HAL Drivers (You can use your own HAL!)

โœช Startup File + Linker Script (You can always use you own)

โœช GNU Make (Makefiles)

โœช GNU ARM Embedded Toolchain (Compiler/Other Tools)

โœช ST-Link* (If You Want to Flash Directly From the Command Line): (Download/Install steps are below)

โœช CMake (Required to install ST-Link Programming Tool)

โ— ๐Ÿ˜ * IMPORTANT NOTE : For the time being ST-LINK only works for Linux users (you can still use any external programming tool, if you're a fan of GUIs). I am currently working on the Windows part, stay tuned. ๐Ÿ™

STEPS :

  • DOWNLOAD (CLONE) THIS REPOSITORY :
$ git clone https://github.com/JihedChaibi/STM32-with-no-IDE
  • ENTER THE STM32-with-no-IDE FOLDER :
$ cd STM32-with-no-IDE
  • DOWNLOAD ST-LINK PROGRAMMING TOOL :
$ make download_stlink
  • INSTALL ST-LINK PROGRAMMING TOOL :
  $ make install_stlink
  • COMPILE THE DEMO CODE (src/main.c) :
  $ make 
  • FLASH :
  $ make burn
  • CLEAN BINARIES (OPTIONAL) :
  $ make clean
  • ERASE THE CHIP'S CONTENT (OPTIONAL) :
  $ make erase

Short term goals :

  • Supporting more microcontrollers families
  • Debugging from the command line
  • Using CMake+GNU Make or CMake+Ninja as a main builder

Image of nucleo

stm32-with-no-ide's People

Contributors

jihedchaibi avatar spidey-01 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.