Skip to content

Commit

Permalink
Did necessary editing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jainan-Tandel authored Oct 31, 2019
1 parent 0dc6278 commit d89f7f0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,31 @@
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
## How to compile

Modify `meson.build` according to your needs.

`libocm3Path` - libopencm3 directory path

You need to issue `./build.sh` for once.
You need to issue `./build.sh` once.
```shell
$ ./build.sh
$ cd builddir
```
ninja - generates elf file.
`ninja` - generates elf file.
```shell
$ ninja
```

ninja hex - generates hex file.
`ninja hex` - generates hex file.
```shell
$ ninja hex
```
ninja size - gives the summary of hex file size.
`ninja size` - gives the summary of hex file size.
```shell
$ ninja size
```
ninja upload - upload hex file to stm32 via stlink programmer.
`ninja upload` - upload hex file to stm32 via stlink programmer.
```shell
$ ninja upload
```
Expand Down

0 comments on commit d89f7f0

Please sign in to comment.