Coder Social home page Coder Social logo

stm32f1-bare-metal's Introduction

stm32f1-bare-metal

Bare-metal programming for a STM32F1-based board. (Cortex-M3)

Tested on EasyMx Pro v7 board with STM32F107 chip.

Install

Compile

  • Browse into any of the project directory cd systick and run make to compile.
Cleaning...
Building systick.c
   text	   data	    bss	    dec	    hex	filename
    384	      0	      0	    384	    180	systick.elf
Successfully finished...

Program

  • Run make burn to program the chip.
...
...
Flash written and verified! jolly good!

Projects

  • systick - SysTick Timer example
  • clock - An example to bump the clock speed to 72 Mhz
  • ext_int - An external interrupt example to toggle LEDs using button presses. Uses EXTI0 and EXTI1 modules.
  • timer - A timer example to toggle LEDs in 1 second intervals. Uses Timer3 module.
  • timer_int - A timer example to toggle LEDs in 1 second intervals. Uses Timer3 module and interrupt.
  • pwm - A PWM example to fade PE14. Uses Timer1 module and interrupt.
  • adc - An ADC input example. Displays the value of the analog pot on PortD LEDs.
  • mathtest - An example project to show how to use functions from the math library
  • dac - A DAC output example. Fades PA4.
  • dma - DMA memory to memory transfer example to transfer 256 bytes of data.
  • uart - A UART example to transmit characters through PA10.

stm32f1-bare-metal's People

Contributors

fcayci avatar

Stargazers

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

Watchers

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