Network Comms not supported with WLAN ESP32
-
- Posts: 10
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 10, 2020 5:06 pm
Network Comms not supported with WLAN ESP32
When I try to connect the Network Comms to the WLAN ESP32 component, the Network Comms component properties shows "Not Yet Supported" in the Status field. Will there be support soon?
-
- Matrix Staff
- Posts: 1739
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 440 times
- Been thanked: 603 times
Re: Network Comms not supported with WLAN ESP32
Hello,
It should already be supported, that message may be an oversight, I'll investigate for you.
It should already be supported, that message may be an oversight, I'll investigate for you.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Re: Network Comms not supported with WLAN ESP32
When I try to compile I get multiple errors. I have attached the program and errors.
- Attachments
-
- ESP32_WLAN Errors.txt
- (47.82 KiB) Downloaded 175 times
-
- V9_ESP32_WiFi_Test.fcfx
- (20.64 KiB) Downloaded 179 times
-
- Matrix Staff
- Posts: 1739
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 440 times
- Been thanked: 603 times
Re: Network Comms not supported with WLAN ESP32
Many thanks for letting us know.
I have fixed some of the problems now including the Nework commsa saying ESP32 Wifi is unsupported and some of the generated Errors. Currently talking to Leigh about the other errors and how we can fix them. They are very minor but the ESP compiler by default is very picky about things.
I have fixed some of the problems now including the Nework commsa saying ESP32 Wifi is unsupported and some of the generated Errors. Currently talking to Leigh about the other errors and how we can fix them. They are very minor but the ESP compiler by default is very picky about things.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Matrix Staff
- Posts: 1739
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 440 times
- Been thanked: 603 times
Re: Network Comms not supported with WLAN ESP32
While we get this sorted you can make your compiler less strict by following the instructions below.
File to edit is IDF_Folder\tools\cmake\build.cmake
Section starts with this
list(APPEND compile_options
Here are the settings I'm now using to get around the error and to remove some of the warnings.
The lines I have added are,
"-Wno-error=pointer-sign" - this is the only one to get it to compile succesfully.
"-Wno-unused-function"
"-Wno-unused-variable"
"-Wno-discarded-qualifiers"
"-Wno-pointer-sign"
Let us know how you get on if you decide to do this and I'll see if we can solve the problem here.
File to edit is IDF_Folder\tools\cmake\build.cmake
Section starts with this
list(APPEND compile_options
Here are the settings I'm now using to get around the error and to remove some of the warnings.
Code: Select all
list(APPEND compile_options "-ffunction-sections"
"-fdata-sections"
"-fstrict-volatile-bitfields"
"-nostdlib"
# warning-related flags
"-Wall"
"-Werror=all"
"-Wno-error=pointer-sign"
"-Wno-error=unused-function"
"-Wno-error=unused-but-set-variable"
"-Wno-error=unused-variable"
"-Wno-error=deprecated-declarations"
"-Wextra"
"-Wno-unused-parameter"
"-Wno-unused-function"
"-Wno-unused-variable"
"-Wno-discarded-qualifiers"
"-Wno-pointer-sign"
"-Wno-sign-compare"
# always generate debug symbols (even in release mode, these don't
# go into the final binary so have no impact on size
"-ggdb")
The lines I have added are,
"-Wno-error=pointer-sign" - this is the only one to get it to compile succesfully.
"-Wno-unused-function"
"-Wno-unused-variable"
"-Wno-discarded-qualifiers"
"-Wno-pointer-sign"
Let us know how you get on if you decide to do this and I'll see if we can solve the problem here.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Re: Network Comms not supported with WLAN ESP32
That worked! I can now create and run a webserver from the ESP32. Thank you!
Re: Network Comms not supported with WLAN ESP32
Hello Matrix Team,
I´ll tried to compile the above example programm to compile an use as a tutorial for me, but unfortunately I´ll get the following compiler messages.
Target folder: C:\Users\db\Downloads
Source name: C:\Users\db\Downloads\V9_ESP32_WiFi_Test (1).fcfx
Title:
Description:
Device: ESP.ESP32.ESP32_WROOM_32
Generated by: Flowcode v9.0.0.23
Date: Wednesday, January 20, 2021 16:41:00
Users: 1
Registered to: dvcam99 (dvcam99)
Licence key: e();
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat "C:\esp-idf\" "V9_ESP32_WiFi_Test (1)" "C:\Users\db\Downloads\" esp32s_sdkconfig
Building V9_ESP32_WiFi_Test (1) ...
Setting IDF_PATH: C:\esp-idf
Adding ESP-IDF tools to PATH...
C:\dbu\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin
C:\dbu\.espressif\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf\bin
C:\dbu\.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
C:\dbu\.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
C:\dbu\.espressif\tools\cmake\3.16.4\bin
C:\dbu\.espressif\tools\openocd-esp32\v0.10.0-esp32-20200709\openocd-esp32\bin
C:\dbu\.espressif\tools\ninja\1.10.0\
C:\dbu\.espressif\tools\idf-exe\1.0.1\
C:\dbu\.espressif\tools\ccache\3.7\
C:\dbu\.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64
C:\dbu\.espressif\python_env\idf4.2_py3.7_env\Scripts
C:\esp-idf\tools
Checking if Python packages are up to date...
Python requirements from C:\esp-idf\requirements.txt are satisfied.
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:
idf.py build
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.21.0.windows.1")
. . . . .
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/dbu/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/dbu/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/dbu/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.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
-- Check for working CXX compiler: C:/dbu/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe
-- Check for working CXX compiler: C:/dbu/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32
CMake Error at C:/esp-idf/tools/cmake/component.cmake:221 (message):
CMake Warning (dev) at build_properties.temp.cmake:24:
Syntax Warning in cmake code at column 59
Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
C:/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:1 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at build_properties.temp.cmake:25:
Syntax Warning in cmake code at column 59
Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
C:/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:1 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at build_properties.temp.cmake:2 (set):
Syntax error in cmake code at
C:/Users/db/Downloads/V9_ESP32_WiFi_Test_(1)/build/build_properties.temp.cmake:2
when parsing string
C:\dbu\.espressif\python_env\idf4.2_py3.7_env\Scripts\python.exe
Invalid escape sequence \d
Policy CMP0010 is not set: Bad variable reference syntax is an error. Run
"cmake --help-policy CMP0010" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Call Stack (most recent call first):
C:/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:1 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at component_properties.temp.cmake:671:
Syntax Warning in cmake code at column 87
Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
C:/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:2 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at
C:/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:60
(include):
include called with wrong number of arguments. include() only takes one
file.
Call Stack (most recent call first):
C:/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:76 (__component_get_requirements)
Call Stack (most recent call first):
C:/esp-idf/tools/cmake/build.cmake:405 (__component_get_requirements)
C:/esp-idf/tools/cmake/project.cmake:395 (idf_build_process)
CMakeLists.txt:6 (project)
-- Configuring incomplete, errors occurred!
See also "C:/Users/db/Downloads/V9_ESP32_WiFi_Test_(1)/build/CMakeFiles/CMakeOutput.log".
Executing action: all (aliases: build)
Running cmake in directory c:\users\db\downloads\v9_esp32_wifi_test_(1)\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DCCACHE_ENABLE=1 c:\users\db\downloads\v9_esp32_wifi_test_(1)"...
cmake failed with exit code 1
Build Failed
.
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat reported error code 0x1
Autoclose turned off
FINISHED
I´ll tried to compile the above example programm to compile an use as a tutorial for me, but unfortunately I´ll get the following compiler messages.
Target folder: C:\Users\db\Downloads
Source name: C:\Users\db\Downloads\V9_ESP32_WiFi_Test (1).fcfx
Title:
Description:
Device: ESP.ESP32.ESP32_WROOM_32
Generated by: Flowcode v9.0.0.23
Date: Wednesday, January 20, 2021 16:41:00
Users: 1
Registered to: dvcam99 (dvcam99)
Licence key: e();
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat "C:\esp-idf\" "V9_ESP32_WiFi_Test (1)" "C:\Users\db\Downloads\" esp32s_sdkconfig
Building V9_ESP32_WiFi_Test (1) ...
Setting IDF_PATH: C:\esp-idf
Adding ESP-IDF tools to PATH...
C:\dbu\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin
C:\dbu\.espressif\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf\bin
C:\dbu\.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
C:\dbu\.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
C:\dbu\.espressif\tools\cmake\3.16.4\bin
C:\dbu\.espressif\tools\openocd-esp32\v0.10.0-esp32-20200709\openocd-esp32\bin
C:\dbu\.espressif\tools\ninja\1.10.0\
C:\dbu\.espressif\tools\idf-exe\1.0.1\
C:\dbu\.espressif\tools\ccache\3.7\
C:\dbu\.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64
C:\dbu\.espressif\python_env\idf4.2_py3.7_env\Scripts
C:\esp-idf\tools
Checking if Python packages are up to date...
Python requirements from C:\esp-idf\requirements.txt are satisfied.
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:
idf.py build
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.21.0.windows.1")
. . . . .
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/dbu/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/dbu/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/dbu/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.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
-- Check for working CXX compiler: C:/dbu/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe
-- Check for working CXX compiler: C:/dbu/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32
CMake Error at C:/esp-idf/tools/cmake/component.cmake:221 (message):
CMake Warning (dev) at build_properties.temp.cmake:24:
Syntax Warning in cmake code at column 59
Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
C:/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:1 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at build_properties.temp.cmake:25:
Syntax Warning in cmake code at column 59
Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
C:/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:1 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at build_properties.temp.cmake:2 (set):
Syntax error in cmake code at
C:/Users/db/Downloads/V9_ESP32_WiFi_Test_(1)/build/build_properties.temp.cmake:2
when parsing string
C:\dbu\.espressif\python_env\idf4.2_py3.7_env\Scripts\python.exe
Invalid escape sequence \d
Policy CMP0010 is not set: Bad variable reference syntax is an error. Run
"cmake --help-policy CMP0010" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Call Stack (most recent call first):
C:/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:1 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at component_properties.temp.cmake:671:
Syntax Warning in cmake code at column 87
Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
C:/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:2 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at
C:/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:60
(include):
include called with wrong number of arguments. include() only takes one
file.
Call Stack (most recent call first):
C:/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:76 (__component_get_requirements)
Call Stack (most recent call first):
C:/esp-idf/tools/cmake/build.cmake:405 (__component_get_requirements)
C:/esp-idf/tools/cmake/project.cmake:395 (idf_build_process)
CMakeLists.txt:6 (project)
-- Configuring incomplete, errors occurred!
See also "C:/Users/db/Downloads/V9_ESP32_WiFi_Test_(1)/build/CMakeFiles/CMakeOutput.log".
Executing action: all (aliases: build)
Running cmake in directory c:\users\db\downloads\v9_esp32_wifi_test_(1)\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DCCACHE_ENABLE=1 c:\users\db\downloads\v9_esp32_wifi_test_(1)"...
cmake failed with exit code 1
Build Failed
.
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat reported error code 0x1
Autoclose turned off
FINISHED
Happy FC9, FC-8 and FC-6 professional user
Re: Network Comms not supported with WLAN ESP32
Hello Matrix Team,
I´ll tried to compile the above example programm to compile an use as a tutorial for me, but unfortunately I´ll get the following compiler messages.
Target folder: C:\Users\db\Downloads
Source name: C:\Users\db\Downloads\V9_ESP32_WiFi_Test (1).fcfx
Title:
Description:
Device: ESP.ESP32.ESP32_WROOM_32
Generated by: Flowcode v9.0.0.23
Date: Wednesday, January 20, 2021 16:41:00
Users: 1
Registered to: dvcam99 (dvcam99)
Licence key: e();
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat "C:\esp-idf\" "V9_ESP32_WiFi_Test (1)" "C:\Users\db\Downloads\" esp32s_sdkconfig
Building V9_ESP32_WiFi_Test (1) ...
Setting IDF_PATH: C:\esp-idf
Adding ESP-IDF tools to PATH...
C:\dbu\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin
C:\dbu\.espressif\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf\bin
C:\dbu\.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
C:\dbu\.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
C:\dbu\.espressif\tools\cmake\3.16.4\bin
C:\dbu\.espressif\tools\openocd-esp32\v0.10.0-esp32-20200709\openocd-esp32\bin
C:\dbu\.espressif\tools\ninja\1.10.0\
C:\dbu\.espressif\tools\idf-exe\1.0.1\
C:\dbu\.espressif\tools\ccache\3.7\
C:\dbu\.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64
C:\dbu\.espressif\python_env\idf4.2_py3.7_env\Scripts
C:\esp-idf\tools
Checking if Python packages are up to date...
Python requirements from C:\esp-idf\requirements.txt are satisfied.
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:
idf.py build
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.21.0.windows.1")
. . . . .
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/dbu/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/dbu/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/dbu/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.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
-- Check for working CXX compiler: C:/dbu/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe
-- Check for working CXX compiler: C:/dbu/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32
CMake Error at C:/esp-idf/tools/cmake/component.cmake:221 (message):
CMake Warning (dev) at build_properties.temp.cmake:24:
Syntax Warning in cmake code at column 59
Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
C:/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:1 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at build_properties.temp.cmake:25:
Syntax Warning in cmake code at column 59
Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
C:/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:1 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at build_properties.temp.cmake:2 (set):
Syntax error in cmake code at
C:/Users/db/Downloads/V9_ESP32_WiFi_Test_(1)/build/build_properties.temp.cmake:2
when parsing string
C:\dbu\.espressif\python_env\idf4.2_py3.7_env\Scripts\python.exe
Invalid escape sequence \d
Policy CMP0010 is not set: Bad variable reference syntax is an error. Run
"cmake --help-policy CMP0010" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Call Stack (most recent call first):
C:/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:1 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at component_properties.temp.cmake:671:
Syntax Warning in cmake code at column 87
Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
C:/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:2 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at
C:/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:60
(include):
include called with wrong number of arguments. include() only takes one
file.
Call Stack (most recent call first):
C:/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:76 (__component_get_requirements)
Call Stack (most recent call first):
C:/esp-idf/tools/cmake/build.cmake:405 (__component_get_requirements)
C:/esp-idf/tools/cmake/project.cmake:395 (idf_build_process)
CMakeLists.txt:6 (project)
-- Configuring incomplete, errors occurred!
See also "C:/Users/db/Downloads/V9_ESP32_WiFi_Test_(1)/build/CMakeFiles/CMakeOutput.log".
Executing action: all (aliases: build)
Running cmake in directory c:\users\db\downloads\v9_esp32_wifi_test_(1)\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DCCACHE_ENABLE=1 c:\users\db\downloads\v9_esp32_wifi_test_(1)"...
cmake failed with exit code 1
Build Failed
.
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat reported error code 0x1
Autoclose turned off
FINISHED
I´ll tried to compile the above example programm to compile an use as a tutorial for me, but unfortunately I´ll get the following compiler messages.
Target folder: C:\Users\db\Downloads
Source name: C:\Users\db\Downloads\V9_ESP32_WiFi_Test (1).fcfx
Title:
Description:
Device: ESP.ESP32.ESP32_WROOM_32
Generated by: Flowcode v9.0.0.23
Date: Wednesday, January 20, 2021 16:41:00
Users: 1
Registered to: dvcam99 (dvcam99)
Licence key: e();
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat "C:\esp-idf\" "V9_ESP32_WiFi_Test (1)" "C:\Users\db\Downloads\" esp32s_sdkconfig
Building V9_ESP32_WiFi_Test (1) ...
Setting IDF_PATH: C:\esp-idf
Adding ESP-IDF tools to PATH...
C:\dbu\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin
C:\dbu\.espressif\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf\bin
C:\dbu\.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
C:\dbu\.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
C:\dbu\.espressif\tools\cmake\3.16.4\bin
C:\dbu\.espressif\tools\openocd-esp32\v0.10.0-esp32-20200709\openocd-esp32\bin
C:\dbu\.espressif\tools\ninja\1.10.0\
C:\dbu\.espressif\tools\idf-exe\1.0.1\
C:\dbu\.espressif\tools\ccache\3.7\
C:\dbu\.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64
C:\dbu\.espressif\python_env\idf4.2_py3.7_env\Scripts
C:\esp-idf\tools
Checking if Python packages are up to date...
Python requirements from C:\esp-idf\requirements.txt are satisfied.
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:
idf.py build
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.21.0.windows.1")
. . . . .
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/dbu/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/dbu/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/dbu/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.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
-- Check for working CXX compiler: C:/dbu/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe
-- Check for working CXX compiler: C:/dbu/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32
CMake Error at C:/esp-idf/tools/cmake/component.cmake:221 (message):
CMake Warning (dev) at build_properties.temp.cmake:24:
Syntax Warning in cmake code at column 59
Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
C:/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:1 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at build_properties.temp.cmake:25:
Syntax Warning in cmake code at column 59
Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
C:/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:1 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at build_properties.temp.cmake:2 (set):
Syntax error in cmake code at
C:/Users/db/Downloads/V9_ESP32_WiFi_Test_(1)/build/build_properties.temp.cmake:2
when parsing string
C:\dbu\.espressif\python_env\idf4.2_py3.7_env\Scripts\python.exe
Invalid escape sequence \d
Policy CMP0010 is not set: Bad variable reference syntax is an error. Run
"cmake --help-policy CMP0010" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Call Stack (most recent call first):
C:/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:1 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at component_properties.temp.cmake:671:
Syntax Warning in cmake code at column 87
Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
C:/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:2 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at
C:/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:60
(include):
include called with wrong number of arguments. include() only takes one
file.
Call Stack (most recent call first):
C:/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:76 (__component_get_requirements)
Call Stack (most recent call first):
C:/esp-idf/tools/cmake/build.cmake:405 (__component_get_requirements)
C:/esp-idf/tools/cmake/project.cmake:395 (idf_build_process)
CMakeLists.txt:6 (project)
-- Configuring incomplete, errors occurred!
See also "C:/Users/db/Downloads/V9_ESP32_WiFi_Test_(1)/build/CMakeFiles/CMakeOutput.log".
Executing action: all (aliases: build)
Running cmake in directory c:\users\db\downloads\v9_esp32_wifi_test_(1)\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DCCACHE_ENABLE=1 c:\users\db\downloads\v9_esp32_wifi_test_(1)"...
cmake failed with exit code 1
Build Failed
.
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat reported error code 0x1
Autoclose turned off
FINISHED
Happy FC9, FC-8 and FC-6 professional user
-
- Valued Contributor
- Posts: 401
- Joined: Mon Dec 07, 2020 1:00 pm
- Has thanked: 71 times
- Been thanked: 217 times
Re: Network Comms not supported with WLAN ESP32
It looks like the ESP toolchain does not like brackets (parentheses)
try changing the project name from v9_esp32_wifi_test_(1) to v9_esp32_wifi_test_1
try changing the project name from v9_esp32_wifi_test_(1) to v9_esp32_wifi_test_1