Make is not compiling updated code

zliudr
Posts: 51
Joined: Thu Oct 03, 2019 5:15 am

Make is not compiling updated code

Postby zliudr » Mon Oct 07, 2019 4:52 am

I'm building my project out of esp-azure example on device twin but this could apply to any project based on an existing example code. What happens is if I change a source code and just run make, it wouldn't recompile the updated source code, but just "finishes" without doing anything. Then I have to "make clean" and "make flash", which takes forever.
I don't use make often but I know what it does. It should recompile any code that has been updated since last make. Why is this not working here? Thanks.

zliudr
Posts: 51
Joined: Thu Oct 03, 2019 5:15 am

Re: Make is not compiling updated code

Postby zliudr » Mon Oct 07, 2019 6:33 am

Goodness it was me! I was editing code that I wasn't compiling. Just a bit tired. Make works, my bad. The whole thing still took 2 minutes with upload.

Who is online

Users browsing this forum: Baidu [Spider], MSN [Bot], Prasad, somesh and 19 guests