So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By mhmart
#95311 Hi :)

I am trying to create new custom AT firmware such that I can add my own mqtt certs and key's for Amazon AWS.

I made sure that:
1. i downloaded gnuwin32 and added the binary folder to the path variables
2. i have git
3. i have cmake installed
4. i setup the GNU toolchain esp8266 and added the esp8266 folder to path variables
5. I downloaded the esp8266_RTOS_SDK and set IDF_PATH="pathtothisfolder"

Now what I did:
Create a folder in C:/Users/username/esp
Terminal here:
[list=]
git clone --recursive https://github.com/espressif/esp-at.git
cd esp-at
git checkout release/v2.2.0.0_esp8266
python -m pip install -r requirements.txt
python build.py menuconfig
- esp8266
- wroom-02
- do not enable silence mode
[/list]

Now, I get the following error(s):

Code: Select allCMake Warning (dev) at C:/Users/username/esp/ESP8266_RTOS_SDK/tools/cmake/component.cmake:437 (add_library):
  Policy CMP0115 is not set: Source file extensions must be explicit.  Run
  "cmake --help-policy CMP0115" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  File:

    C:/Users/username/esp/ESP8266_RTOS_SDK/components/spi_flash/src/partition.c
Call Stack (most recent call first):
  C:/Users/username/esp/ESP8266_RTOS_SDK/components/spi_flash/CMakeLists.txt:11 (idf_component_register)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: C:/Users/username/esp/esp-at/build
Running make in directory c:\users\username\esp\esp-at\build
Executing "make -j 14 menuconfig"...
[  0%] Creating directories for 'mconf-idf'
[  0%] No download step for 'mconf-idf'
[  0%] No update step for 'mconf-idf'
[  0%] No patch step for 'mconf-idf'
[100%] No configure step for 'mconf-idf'
[100%] Performing build step for 'mconf-idf'
process_begin: CreateProcess(NULL, C:/Users/username/esp/esp-at/build/kconfig_bin/C:/Users/username/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/check-lxdialog.sh -ccflags, ...) failed.
C:/Users/username/esp/ESP8266_RTOS_SDK/tools/kconfig/Makefile:172: *** gemengde impliciete en statische patroonregels.  Gestopt.
make[3]: *** [mconf-idf-prefix/src/mconf-idf-stamp/mconf-idf-build] Fout 2
make[2]: *** [CMakeFiles/mconf-idf.dir/all] Fout 2
make[1]: *** [CMakeFiles/menuconfig.dir/rule] Fout 2
make: *** [menuconfig] Fout 2
make failed with exit code 2
platform_name=ESP8266,module_name=WROOM-02
Please wait for the SDK download to finish...
idf.py build ret: 2
idf.py build failed


What am I missing / doing wrong?
Windows 64 bit device