Closed LiyouZhou closed 8 years ago
In bootloader_util.c there is a piece of asm that uses r7. r7 is usually used by gcc as a frame pointer hence gcc would complain even though a frame pointer is not actually needed. -fomit-frame-pointer prevents this warning.
fixes #11
@pan- @andresag01 please review
This seems to fix the problem. I tried building with GCC and -d and it succeeds. Also the application works as expected.
-d
Lets wait for @pan- to comment.
It's ok for me, I merge.
In bootloader_util.c there is a piece of asm that uses r7. r7 is usually used by gcc as a frame pointer hence gcc would complain even though a frame pointer is not actually needed. -fomit-frame-pointer prevents this warning.
fixes #11
@pan- @andresag01 please review