This is an i2c slave based on stm32. This implements a simple math calculator for doing addition, subtraction and multiplication of given two numbers.
Modify meson.build according to your needs.
libocm3Path - libopencm3 directory path
You need to issue ./build.sh once.
$ ./build.sh
$ cd builddirninja - generates elf file.
$ ninjaninja hex - generates hex file.
$ ninja hexninja size - gives the summary of hex file size.
$ ninja sizeninja upload - upload hex file to stm32 via stlink programmer.
$ ninja uploadRefer to my blog for more details.