yyken / STM32F4-examples

Various example codes for the STM32F4 Discovery board

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

STM32F4 Discovery example code

This repo contains example code for the STM32F4 Discovery board by ST Microelectronics

I have added a fixed Makefile which will enable the use of the math functions and sprintf() and other libc functions from newlib.

Examples:

  • GPIO example featuring setting and reading from IO pins
  • I2C Master example showing how to transmit and receive data as a bus Master
  • SPI example on how to configure the SPI1 peripheral and transmit/receive data
  • USART example with receive interrupt

###This code is licensed under the Creative Commons Attribution license v3.0

This means that you are free:

  • to Share — to copy, distribute and transmit the work
  • to Remix — to adapt the work
  • to make commercial use of the work

Under the following conditions: Attribution — You must attribute the work in the manner specified by the author or licensor

Attribution in this case means that you should please provide a link to Elia's Electronics

More information on this license can be found here

CC BY

Please note that all the library (headers, source code) and startup code files are copyrighted by ST Microelectronics!

About

Various example codes for the STM32F4 Discovery board