Skip to content

Commit

Permalink
Merge pull request #1 from Jainan-Tandel/master
Browse files Browse the repository at this point in the history
Updated .gitignore and edited README.md
  • Loading branch information
amitesh-singh authored Apr 7, 2020
2 parents 0dc6278 + 4197109 commit 7878297
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
*/builddir/
*/builddir/*
builddir/
build/
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 7878297

Please sign in to comment.