Skip to content

amitesh-singh/i2c-slave-stm32f1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

i2c slave based on stm32

This is an i2c slave based on stm32. This implements a simple math calculator for doing addition, subtraction and multiplication of given two numbers.

How to compile

Modify meson.build according to your needs.

libocm3Path - libopencm3 directory path

You need to issue ./build.sh once.

$ ./build.sh
$ cd builddir

ninja - generates elf file.

$ ninja

ninja hex - generates hex file.

$ ninja hex

ninja size - gives the summary of hex file size.

$ ninja size

ninja upload - upload hex file to stm32 via stlink programmer.

$ ninja upload

Refer to my blog for more details.

About

i2c slave example based on stm32f103

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published