Page 1 of 1

Esp32 make is not working

Posted: Sun Apr 23, 2017 9:56 am
by input
I have a problem with building the firmware with make -C mpy-cross.
I get an error with: Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity
I follow this tutorial: https://github.com/micropython/micropyt ... sp32/esp32

What I am doing wrong.

Re: Esp32 make is not working

Posted: Sun Apr 23, 2017 2:04 pm
by Roberthh
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity
is not an error message. Better go into the mpy-cross directory and run:
make

Re: Esp32 make is not working

Posted: Sun Apr 23, 2017 2:16 pm
by input
I also tried that but then I get the same warning.
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity

Thanks

Re: Esp32 make is not working

Posted: Sun Apr 23, 2017 3:50 pm
by input
Thanks. But into the mpy-cross dir with make I get the same error

Re: Esp32 make is not working

Posted: Sun Apr 23, 2017 5:56 pm
by dhylands
That's not an error. If that's the only thing you see then it means everything is up-to-date.
If you really want to see it build then do:

Code: Select all

make clean
make
The message about using V=1 is printed everytime you run make.

Re: Esp32 make is not working

Posted: Sun Apr 23, 2017 6:09 pm
by input
Thanks for the reply
Now it is compiling.

Thanks

Re: Esp32 make is not working

Posted: Mon Apr 24, 2017 7:05 am
by pythoncoder
@input I suspect you're unfamiliar with make. It only compiles a file if the source file is newer than the object file (the file output by the compiler). This saves a lot of time in development: you edit one file in a big project and make ensures that file alone gets compiled.

So, if everything is up to date, make just verifies that fact and terminates. It issues the message you see every time it runs, whether or not it has to compile any files. As others have said, it's not an error message: it's what you expect to see when everything is up to date.

make clean forces it to recompile everything by deleting all the object files. It's not usually necessary but it's a useful trick if you suspect something has gone wrong with the build phase.

Re: Esp32 make is not working

Posted: Mon Apr 24, 2017 10:48 am
by Turbinenreiter

Code: Select all

make -B
also forces a rebuild.