cmake in esp-idf 4.0-beta verbose
Posted: Wed Oct 09, 2019 1:17 am
A couple of days ago I downloaded esp-idf v4.0-beta as it seemed like a good time to do it, (I was having some problems with esp-idf 3.3 and would have had to re-install anyway) and things generally work with C programs. I'm running windows 10 cmd.exe as called out in the documentation. Cmd is lacking in some capabilities, such as the ability to send output from a build to both the screen and a file, which I cannot find help for anywhere I've looked on the net. This is made worse by the fact that idf.py puts out a lot of.... how shall I put this delicately...... crap, that may be useful in some contexts but not to me now. Especially irksome is the output of the full include path. This is a problem because cmd doesn't let one scroll very far up into previous output, and so much rolls by so fast it can't be seen and can never be recovered. This is tempered by the fact that cmake on cmd.exe seems to be much faster than make in msys32, which is nice, but problematic when trying to follow things.
Is there anyway to stop this.... crap from coming out? I can't find it and it doesn't seem to documented anywhere I can find it reasonably quickly.
One nice thing however is that idf.py gives good info on how a build is progressing with a counter of build steps and the number of build steps total in the form [833/844], for instance.
But that's a problem. After building a couple of C programs that run on the main processor, I tried to build sample C and ULP assembly programs that came with esp-idf 4.0. As I write this, what appears on my cmd window, after the listing of a large pile of what looks like path strings is the following:
The build is not progressing beyond step 833.
I'm trying to build a sample ULP program that came with esp-idf 4.0, pulse_cnt.S and it's C driver The 4.0 documentation says that the assembler build tools are packaged with the idf for 4.0.
So my questions would be:
1. Is the ULP not yet supported in esp-idf 4.0 yet?
2. Is there a way to reduce the output from a build, at least not put out the include path and other "stuff."
3. If I'm on Windows, is there a more fully-featured environment than cmd.exe that I can use with 4.0?
Thanks. Any help is appreciated. If I can't get this to work, I'm going to have to retreat back to 3.3.
wevets
Is there anyway to stop this.... crap from coming out? I can't find it and it doesn't seem to documented anywhere I can find it reasonably quickly.
One nice thing however is that idf.py gives good info on how a build is progressing with a counter of build steps and the number of build steps total in the form [833/844], for instance.
But that's a problem. After building a couple of C programs that run on the main processor, I tried to build sample C and ULP assembly programs that came with esp-idf 4.0. As I write this, what appears on my cmd window, after the listing of a large pile of what looks like path strings is the following:
- -- The ASM compiler identification is GNU
- -- Found assembler: C:/Users/Steve/.espressif/tools/esp32ulp-elf/2.28.51.20170517/esp32ulp-elf-binutils/bin/esp32ulp-elf-as.exe
- -- The C compiler identification is GNU 8.2.0
- -- Check for working C compiler: C:/Users/Steve/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
- -- Check for working C compiler: C:/Users/Steve/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- works
- -- Detecting C compiler ABI info
- -- Detecting C compiler ABI info - done
- -- Detecting C compile features
- -- Detecting C compile features - done
- -- Building ULP app ulp_main
- -- ULP assembler version: 2.28.51.20170517
- -- Configuring done
- -- Generating done
- -- Build files have been written to: C:/Users/Steve/Desktop/esp-idf/examples/system/ulp/build/esp-idf/main/ulp_main
- C:\Users\Steve\Desktop\esp-idf\examples\system\ulp\build\esp-idf\main\ulp_main>C:\Users\Steve\.espressif\tools\cmake\3.13.4\bin\cmake.exe -E touch C:/Users/Steve/Desktop/esp-idf/examples/system/ulp/build/esp-idf/main/ulp_main-prefix/src/ulp_main-stamp/ulp_main-configure || exit /b
- [833/844] Performing build step for 'ulp_main'
I'm trying to build a sample ULP program that came with esp-idf 4.0, pulse_cnt.S and it's C driver The 4.0 documentation says that the assembler build tools are packaged with the idf for 4.0.
So my questions would be:
1. Is the ULP not yet supported in esp-idf 4.0 yet?
2. Is there a way to reduce the output from a build, at least not put out the include path and other "stuff."
3. If I'm on Windows, is there a more fully-featured environment than cmd.exe that I can use with 4.0?
Thanks. Any help is appreciated. If I can't get this to work, I'm going to have to retreat back to 3.3.
wevets