Esp32 make is not working

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
input
Posts: 15
Joined: Sun Apr 23, 2017 9:37 am

Esp32 make is not working

Post by input » Sun Apr 23, 2017 9:56 am

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.

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Esp32 make is not working

Post by Roberthh » Sun Apr 23, 2017 2:04 pm

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

input
Posts: 15
Joined: Sun Apr 23, 2017 9:37 am

Re: Esp32 make is not working

Post by input » Sun Apr 23, 2017 2:16 pm

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

input
Posts: 15
Joined: Sun Apr 23, 2017 9:37 am

Re: Esp32 make is not working

Post by input » Sun Apr 23, 2017 3:50 pm

Thanks. But into the mpy-cross dir with make I get the same error

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: Esp32 make is not working

Post by dhylands » Sun Apr 23, 2017 5:56 pm

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.

input
Posts: 15
Joined: Sun Apr 23, 2017 9:37 am

Re: Esp32 make is not working

Post by input » Sun Apr 23, 2017 6:09 pm

Thanks for the reply
Now it is compiling.

Thanks

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Esp32 make is not working

Post by pythoncoder » Mon Apr 24, 2017 7:05 am

@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.
Peter Hinch
Index to my micropython libraries.

Turbinenreiter
Posts: 288
Joined: Sun May 04, 2014 8:54 am

Re: Esp32 make is not working

Post by Turbinenreiter » Mon Apr 24, 2017 10:48 am

Code: Select all

make -B
also forces a rebuild.

Post Reply