Closed RA5040 closed 5 years ago
At the moment, there is no need to go through the "matching" routine- ESP-IDF and arduino-esp32 still seem to be in sync. So, make sure you have the latest versions of each development repo. extern "C" is a marker for the compiler to indicate obligate C code. It is not needed if the C code will compile properly in C++, so use it sparingly. In fact, you can compile the basic sketch you have there with no extern calls at all.
@RA5040 from your project directory (~/esp/blink) try:
rm -rf build make menuconfig make
In menuconfig under "SDK tool configuration->Compiler toolchain path/prefix" should be set to "xtensa-esp32-elf-" (without the quotes). menuconfig needs ncurses-dev libraries installed.
@RA5040 since you deleted your previous post, I take it you've solved your build problem.
Copied blink example and built and flashed it: OK
Followed instructions in https://github.com/espressif/arduino-esp32/blob/master/docs/esp-idf_component.md ("Autostart Arduino setup and loop on boot" off)
Make on blink.c before any changes WARNING: Toolchain version is not supported: 1.22.0-73-ge28a011 Expected to see version: 1.22.0-80-g6c4433a ... Python requirements from /home/robert/esp/esp-idf/requirements.txt are satisfied. /home/robert/esp/esp-idf/components/partition_table/Makefile.projbuild:60: warning: undefined variable 'quote' Building partitions from /home/robert/esp/blink/components/arduino/tools/partitions/default.csv... Partitions defined in '/home/robert/esp/blink/components/arduino/tools/partitions/default.csv' occupy 4.0MB of flash (4194304 bytes) which does not fit in configured flash size 2MB. Change the flash size in menuconfig under the 'Serial Flasher Config' menu. /home/robert/esp/esp-idf/components/partition_table/Makefile.projbuild:60: recipe for target '/home/robert/esp/blink/build/default.bin' failed make: *** [/home/robert/esp/blink/build/default.bin] Error 2
Make on blink.cpp before any code changes Same error
Modified code to have format
//#include "Arduino.h" extern "C" void app_main() { initArduino(); ... }
Make on modified code: Same error
rm -rf build etc as per @MarkyAD same error
@MarkyAD : Installed ncurses-dev sudo apt-get update sudo apt-get install ncurses-dev
got Note, selecting 'libncurses5-dev' instead of 'ncurses-dev' libncurses5-dev is already the newest version (6.1-1ubuntu1.18.04). 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Youve selected a 2M flash size, in menuconfig under "Serial flasher config" set "Flash Size 4M".
WARNING: Toolchain version is not supported: 1.22.0-73-ge28a011 Expected to see version: 1.22.0-80-g6c4433a
Also its finding an old version of the toolchain, you should use the version it wants. 64 bit: https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz 32 bit: https://dl.espressif.com/dl/xtensa-esp32-elf-linux32-1.22.0-80-g6c4433a-5.2.0.tar.gz
Thanks for your help! I went right back to the Espressif installation instructions, which is why I have an older version of the toolchain ... I guess the documentation is not up to date. At any rate, I've made your corrections and I now get the following errors:
CXX build/arduino/libraries/SD_MMC/src//SD_MMC.o /home/robert/esp/blink/components/arduino/libraries/SD_MMC/src/SD_MMC.cpp: In member function 'bool fs::SDMMCFS::begin(const char*, bool)': /home/robert/esp/blink/components/arduino/libraries/SD_MMC/src/SD_MMC.cpp:59:5: sorry, unimplemented: non-trivial designated initializers not supported }; ^ /home/robert/esp/blink/components/arduino/libraries/SD_MMC/src/SD_MMC.cpp:59:5: sorry, unimplemented: non-trivial designated initializers not supported /home/robert/esp/blink/components/arduino/libraries/SD_MMC/src/SD_MMC.cpp:59:5: sorry, unimplemented: non-trivial designated initializers not supported /home/robert/esp/blink/components/arduino/libraries/SD_MMC/src/SD_MMC.cpp:59:5: sorry, unimplemented: non-trivial designated initializers not supported /home/robert/esp/blink/components/arduino/libraries/SD_MMC/src/SD_MMC.cpp:59:5: sorry, unimplemented: non-trivial designated initializers not supported /home/robert/esp/blink/components/arduino/libraries/SD_MMC/src/SD_MMC.cpp:59:5: sorry, unimplemented: non-trivial designated initializers not supported /home/robert/esp/blink/components/arduino/libraries/SD_MMC/src/SD_MMC.cpp:59:5: warning: missing initializer for member 'sdmmc_host_t::command_timeout_ms' [-Wmissing-field-initializers] /home/robert/esp/esp-idf/make/component_wrapper.mk:285: recipe for target 'libraries/SD_MMC/src//SD_MMC.o' failed make[1]: [libraries/SD_MMC/src//SD_MMC.o] Error 1 /home/robert/esp/esp-idf/make/project.mk:481: recipe for target 'component-arduino-build' failed make: [component-arduino-build] Error 2
In menuconfig under "Arduino Configuration" tick "Include only specific arduino libraries" and untick "Enable SD_MMC". I had the same problem here.
THANK YOU!!! It works! I'm really delighted.
Now to try it in Eclipse ... is there anything that I need to watch out for there? Or can I just copy the project and build it?
I dunno eclipse I just use makefiles and vi, maybe @lbernstone can help with that. Be sure to thank him as well as he also took the time to help you.
Absolutely ... a lot of thanks to @ibernstone & @MarkyAD. I'll do a write-up on this as it may be of use to others.
Here are instructions to build Arduino code in esp-idf:
MAKING ARDUINO COMPONENT
Install latest toolchain and esp-idf into ~/esp
Make blink project from esp-idf: cd ~/esp && \ rm -r -f blink && \ cp -r esp-idf/examples/get-started/blink blink && \ cd blink
Create a components folder in the project folder and clone this repository inside it: mkdir -p components && \ cd components && \ git clone https://github.com/espressif/arduino-esp32.git arduino && \ cd arduino && \ git submodule update --init --recursive && \ cd ../..
make menuconfig
Rename blink.c to blink.cpp
Edit blink.cpp to be like:
extern "C" void app_main() { initArduino(); pinMode(4, OUTPUT); digitalWrite(4, HIGH); //do your own thing }
Here are instructions to move the application to Eclipse:
BUILDING AN ARDUINO APPLICATION IN ECLIPSE
A. MAKE C++ TEMPLATE APPLICATION
1. Install latest toolchain and esp-idf into ~/esp
2. Make blink project from esp-idf:
cd ~/esp && rm -r -f blink && cp -r esp-idf/examples/get-started/blink blink && cd blink
3. Create a components folder in the project folder and clone this repository inside it:
mkdir -p components && cd components && git clone https://github.com/espressif/arduino-esp32.git arduino && cd arduino && git submodule update --init --recursive && cd ../..
4. make menuconfig
• Go into Arduino Configuration:
◦ Autostart Arduino setup and loop on boot: off
◦ Disable mutex locks for HAL: off
◦ Include only specific Arduino libraries: on
▪ Enable SD_MMC: off (if this is causing a problem in Make)
• SDK tool configuration: make sure Compiler toolchain path/prefix is 'xtensa-esp32-elf-'
5. Rename blink.c to blink.cpp
6. Edit blink.cpp to be like
extern "C" void app_main() { initArduino(); pinMode(4, OUTPUT); digitalWrite(4, HIGH); //do your own thing }
7. Make & flash
If make fails, clear the build folders and try again: rm -rf build
B. EDIT CODE TO MAKE IT INTO AN ARDUINO/C++ APPLICATION
Copy the blink application to your Eclipse workspace
In Eclipse do: • File/Import/CC++/Existing Code as a Makefile Project • Next • Browse to the blink folder in your workspace (the Project Name will automatically be put in). • Under Toolchain for Indexer Settings select Cross GCC • Click Finish
Rename blink.cpp file to your own application name and replace the contents with your own Arduino/C++ sketch.
Add "#include "Arduino.h" at the top and make sure you have extern ‘C’ void app_main and initArduino() as in A. Above. Also make calls to setup() and loop() if you have these in your sketch.
C. SET UP BUILD ENVIRONMENT TO BUILD A C++ APP
D. BUILD TARGET
Right-click on project • Index/Rebuild • Clean Project
Build Targets/Create • Target name: all (this will be used to build the app)
Build Targets/Create • Target name: flash (this will be used to build and flash the app)
Connect to EPS32
Check COM/tty port (for example using Device Manager/Ports in Windows, or ‘dmesg | grep tty’ in Linux)
Double-check that COM/tty port has been correctly set: • Open sdkconfig and check/correct the entry in: • CONFIG_ESPTOOLPY_PORT="COMx" / “/dev/ttyUSBx”
Click on the project • Build Targets • Flash (double-click)
Open a Terminal (you may need to go to Window/Show View/Terminal) • Click on Terminal icon • Choose terminal: Serial Terminal • Set up values • OK If your program terminated at flash, restart the ESP32 to see the output (if any).
NOTE: if you program shows errors even though it built without any errors, rebuild the index (right-click on project , Index, Rebuild). If that doesn't fix the problem try cleaning and rebuilding the project. If that doesn't work, go to Project/ Properties/ C/C++ General/ Code Analysis and unclick/apply and click back on/apply Syntax and Semantic Errors: you can also turn off/apply individual entries until you find the one that is causing a problem. In some cases it's simply a question of overriding the 'error' in the project editor).
E. REPLICATE
In order to avoid having to do this every single time, copy the blink folder and call it ‘Arduino-template’ for instance (and save a copy securely!).
Then when you have a new project, say ‘myProject’, copy the ‘Arduino-template’ again and rename it to ‘myProject’.
Import it into Eclipse and set the Eclipse project properties as in C. Above.
Edit Makefile and change the PROJECT NAME: = myProject
Rebuild the index, clean the project and build it.
I was not building a new enough version of IDF, I guess. There is already a PR to fix SD_MMC. https://github.com/espressif/arduino-esp32/pull/1836
I have the same issue. I use esp-arduino as esp-idf component under Eclipse\Ununtu. esp-idf v.3.0.3
home/iho/esp/arduino/libraries/SD_MMC/src//SD_MMC.cpp: In member function 'bool fs::SDMMCFS::begin(const char*, bool)': /home/iho/esp/arduino/libraries/SD_MMC/src//SD_MMC.cpp:52:27: error: 'sdmmc_host_get_slot_width' was not declared in this scope .get_bus_width = &sdmmc_host_get_slot_width, ^ /home/iho/esp/arduino/libraries/SD_MMC/src//SD_MMC.cpp:56:26: error: 'sdmmc_host_io_int_enable' was not declared in this scope .io_int_enable = sdmmc_host_io_int_enable, ^ /home/iho/esp/arduino/libraries/SD_MMC/src//SD_MMC.cpp:57:24: error: 'sdmmc_host_io_int_wait' was not declared in this scope .io_int_wait = sdmmc_host_io_int_wait, ^ /home/iho/esp/arduino/libraries/SD_MMC/src//SD_MMC.cpp:59:5: error: 'sdmmc_host_t' has no non-static data member named 'get_bus_width' }; ^ /home/iho/esp/arduino/libraries/SD_MMC/src//SD_MMC.cpp:72:5: error: 'esp_vfs_fat_sdmmc_mount_config_t {aka esp_vfs_fat_mount_config_t}' has no non-static data member named 'allocation_unit_size' }; ^ /home/iho/esp/esp-idf/make/component_wrapper.mk:273: recipe for target 'libraries/SD_MMC/src//SD_MMC.o' failed make[1]: [libraries/SD_MMC/src//SD_MMC.o] Error 1 make[1]: Leaving directory '/home/iho/eclipse-workspace/LoRaMQTT/build/arduino' make: [component-arduino-build] Error 2 /home/iho/esp/esp-idf/make/project.mk:450: recipe for target 'component-arduino-build' failed
23:14:03 Build Failed. 9 errors, 0 warnings. (took 2s.748ms)
I have another question (sorry!)
How do I add a library to the project? https://github.com/espressif/arduino-esp32/issues/1449 says to just put the library in the project/components/arduino/libraries, but that doesn't work for me (at the moment).
The library is not found if I select 'Include only specific Arduino libraries' (which I have to do so that I can deselect 'Enable SD_MMC' ). If I do not select 'Include only specific Arduino libraries' then the U8g2 is built, but the build fails on the sd_mmc.
So it's a catch-22 situation until the sd_mmc issue is resolved ... or is there another way of adding the U8g2 library so that it becomes part of the Arduino libraries?
Well, I've found a workaround ... which is to comment out the SD_MMC.cpp file.
But is there a better way, by adding the library to the Arduino libraries? Or having the library as a separate component (or something ...)?
I am getting a FATAL error with regards to the esp32-hal-time.c file.
/home/neil/esp/projects/hello_world/components/arduino/cores/esp32/esp32-hal-time.c:16:28: fatal error: apps/sntp/sntp.h: No such file or directory
compilation terminated.
@neilpanchal: Please do not hijack issues. This has nothing to do with the OP, and explains exactly what the problem is.
@lbernstone I was going to start another one, but thought the title of this issue was sufficiently vague to just post it here. No worries, I will open a new one. I did it out of courtesy to not inundate issue list with redundancy.
U8g2 relies on the Arduino SD library. I'll need to look at the source but I think this can be disabled with a #define
Same problem, started after update.
got a few sorry, unimplemented: non-trivial designated initializers not supported
Code looks like C initialization, which should work but doesn't.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This stale issue has been automatically closed. Thank you for your contributions.
can anybody explain to me why the latest version on esp-idf (v4.0) does not support the Arduino-esp32 component?
@Suraj-singh999898 it does if you use the correct branch of arduino-esp32, look at the idf v4 branch for support.
hi atanisoft,
can you please elaborate on this method, I am trying this for a week. its will be very help full.
sorry if it's a silly question, I just a beginner
@Suraj-singh999898 make sure you are using https://github.com/espressif/arduino-esp32/tree/idf-release/v4.0 and it should work.
Ok I try it now just wait an hour, I respond you soon, And thanks.
@atanisoft Sir, worked. Thanks
[87/88] Generating binary image from built executable
esptool.py v3.2-dev
Merged 1 ELF section
Generated C:/Users/qgb/.platformio/platforms/espressif32/examples/espidf-aws-iot/build/bootloader/bootloader.bin
[88/88] cmd.exe /C "cd /D C:\Users\qgb\.platformio\platforms\espressif32\examples\espidf-aws-iot\build\bootloader\esp-idf\esptool_py && C:\Espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe C:/Espressif/frameworks/esp-idf-v4.4/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 C:/Users/qgb/.platformio/platforms/espressif32/examples/espidf-aws-iot/build/bootloader/bootloader.bin"
Bootloader binary size 0x4d80 bytes. 0x3280 bytes (39%) free.
[995/997] Linking CXX executable subscribe_publish.elf
FAILED: subscribe_publish.elf
cmd.exe /C "cd . && C:\Espressif\tools\riscv32-esp-elf\esp-2021r2-patch2-8.4.0\riscv32-esp-elf\bin\riscv32-esp-elf-g++.exe -march=rv32imc -nostartfiles -march=rv32imc --specs=nosys.specs @CMakeFiles\subscribe_publish.elf.rsp -o subscribe_publish.elf && cd ."
c:/espressif/tools/riscv32-esp-elf/esp-2021r2-patch2-8.4.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: esp-idf/freertos/libfreertos.a(port_common.c.obj): in function `main_task':
C:/Espressif/frameworks/esp-idf-v4.4/components/freertos/port/port_common.c:117: undefined reference to `app_main'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
@QGB This usually happens when compiling a CPP file without declaring the app_main
function as:
extern "C" void app_main()
{
...
}
The extern "C"
piece is the critical piece of that in that it declares the method to use C style linkage rather than C++.
If you have further issues please provide a code example in a NEW issue so people can assist.
@atanisoft I got some compiling error in Arduino ide . old version libraries conflict with Arduino latest libraries ,how to resolve?
0.2\\variants\\esp32c3" "-IC:\\Users\\qgb\\Documents\\Arduino\\libraries\\TFT_eSPI" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\libraries\\SPI\\src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\libraries\\FS\\src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\libraries\\SPIFFS\\src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\libraries\\Wire\\src" "-IC:\\Users\\qgb\\Documents\\Arduino\\libraries\\SdFat\\src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\libraries\\Preferences\\src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\libraries\\BluetoothSerial\\src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\libraries\\WiFi\\src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\libraries\\WebServer\\src" "C:\\Users\\qgb\\AppData\\Local\\Temp\\arduino_build_507321\\sketch\\draw.cpp" -o "C:\\Users\\qgb\\AppData\\Local\\Temp\\arduino_build_507321\\sketch\\draw.cpp.o"
使用已经编译的文件:C:\Users\qgb\AppData\Local\Temp\arduino_build_507321\sketch\grbl_file.cpp.o
使用已经编译的文件:C:\Users\qgb\AppData\Local\Temp\arduino_build_507321\sketch\com.cpp.o
"C:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\riscv32-esp-elf-gcc\\gcc8_4_0-esp-2021r2/bin/riscv32-esp-elf-g++" -DHAVE_CONFIG_H "-DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"" -DUNITY_INCLUDE_CONFIG_H -DWITH_POSIX -D_GNU_SOURCE "-DIDF_VER=\"v4.4-beta1-189-ga79dc75f0a\"" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/config" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/newlib/platform_include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/freertos/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/freertos/include/esp_additions/freertos" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/freertos/port/riscv/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/freertos/include/esp_additions" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_hw_support/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_hw_support/include/soc" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_hw_support/include/soc/esp32c3" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_hw_support/port/esp32c3" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_hw_support/port/esp32c3/private_include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/heap/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/log/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/lwip/include/apps" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/lwip/include/apps/sntp" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/lwip/lwip/src/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/lwip/port/esp32/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/lwip/port/esp32/include/arch" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/soc/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/soc/esp32c3" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/soc/esp32c3/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/hal/esp32c3/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/hal/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/hal/platform_port/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_rom/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_rom/include/esp32c3" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_rom/esp32c3" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_common/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_system/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_system/port/soc" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_system/port/include/riscv" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_system/port/public_compat" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/riscv/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/driver/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/driver/esp32c3/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_pm/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_ringbuf/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/efuse/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/efuse/esp32c3/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/vfs/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_wifi/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_event/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_netif/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_eth/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/tcpip_adapter/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_phy/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_phy/esp32c3/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_ipc/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/app_trace/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_timer/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/mbedtls/port/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/mbedtls/mbedtls/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/mbedtls/esp_crt_bundle/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/app_update/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/spi_flash/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/bootloader_support/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/nvs_flash/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/pthread/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_gdbstub/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_gdbstub/riscv" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_gdbstub/esp32c3" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/espcoredump/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/espcoredump/include/port/riscv" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/wpa_supplicant/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/wpa_supplicant/port/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/wpa_supplicant/esp_supplicant/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/ieee802154/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/console" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/asio/asio/asio/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/asio/port/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/bt/common/osi/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/bt/include/esp32c3/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/bt/common/api/include/api" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/bt/common/btc/profile/esp/blufi/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/bt/common/btc/profile/esp/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/bt/host/bluedroid/api/include/api" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/cbor/port/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/unity/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/unity/unity/src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/cmock/CMock/src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/coap/port/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/coap/libcoap/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/nghttp/port/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/nghttp/nghttp2/lib/includes" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp-tls" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp-tls/esp-tls-crypto" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_adc_cal/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_hid/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/tcp_transport/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_http_client/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_http_server/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_https_ota/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_https_server/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_lcd/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_lcd/interface" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/protobuf-c/protobuf-c" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/protocomm/include/common" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/protocomm/include/security" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/protocomm/include/transports" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/mdns/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_local_ctrl/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/sdmmc/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_serial_slave_link/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_websocket_client/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/expat/expat/expat/lib" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/expat/port/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/wear_levelling/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/fatfs/diskio" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/fatfs/vfs" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/fatfs/src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/freemodbus/common/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/idf_test/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/idf_test/include/esp32c3" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/jsmn/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/json/cJSON" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/libsodium/libsodium/src/libsodium/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/libsodium/port_include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/mqtt/esp-mqtt/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/openssl/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/spiffs/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/wifi_provisioning/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_littlefs/src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_littlefs/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp-face/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp-face/include/tool" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp-face/include/typedef" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp-face/include/image" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp-face/include/math" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp-face/include/nn" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp-face/include/layer" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp-face/include/detect" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp-face/include/model_zoo" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/fb_gfx/include" -march=rv32imc -ffunction-sections -fdata-sections -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -ggdb -Wno-error=format= -nostartfiles -Wno-format -Os -freorder-blocks -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -std=gnu++11 -fno-exceptions -fno-rtti -MMD -c -DF_CPU=160000000L -DARDUINO=10819 -DARDUINO_ESP32C3_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"ESP32C3_DEV\"" "-DARDUINO_VARIANT=\"esp32c3\"" -DARDUINO_PARTITION_default -DESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_HW_CDC_ON_BOOT=0 "@C:\\Users\\qgb\\AppData\\Local\\Temp\\arduino_build_507321/build_opt.h" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\cores\\esp32" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\variants\\esp32c3" "-IC:\\Users\\qgb\\Documents\\Arduino\\libraries\\TFT_eSPI" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\libraries\\SPI\\src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\libraries\\FS\\src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\libraries\\SPIFFS\\src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\libraries\\Wire\\src" "-IC:\\Users\\qgb\\Documents\\Arduino\\libraries\\SdFat\\src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\libraries\\Preferences\\src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\libraries\\BluetoothSerial\\src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\libraries\\WiFi\\src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\libraries\\WebServer\\src" "C:\\Users\\qgb\\AppData\\Local\\Temp\\arduino_build_507321\\sketch\\menu_file.cpp" -o "C:\\Users\\qgb\\AppData\\Local\\Temp\\arduino_build_507321\\sketch\\menu_file.cpp.o"
使用已经编译的文件:C:\Users\qgb\AppData\Local\Temp\arduino_build_507321\sketch\log.cpp.o
使用已经编译的文件:C:\Users\qgb\AppData\Local\Temp\arduino_build_507321\sketch\nunchuk.cpp.o
使用已经编译的文件:C:\Users\qgb\AppData\Local\Temp\arduino_build_507321\sketch\setupTxt.cpp.o
使用已经编译的文件:C:\Users\qgb\AppData\Local\Temp\arduino_build_507321\sketch\telnet.cpp.o
使用已经编译的文件:C:\Users\qgb\AppData\Local\Temp\arduino_build_507321\sketch\telnetgrbl.cpp.o
"C:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\riscv32-esp-elf-gcc\\gcc8_4_0-esp-2021r2/bin/riscv32-esp-elf-g++" -DHAVE_CONFIG_H "-DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"" -DUNITY_INCLUDE_CONFIG_H -DWITH_POSIX -D_GNU_SOURCE "-DIDF_VER=\"v4.4-beta1-189-ga79dc75f0a\"" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/config" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/newlib/platform_include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/freertos/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/freertos/include/esp_additions/freertos" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/freertos/port/riscv/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/freertos/include/esp_additions" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_hw_support/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_hw_support/include/soc" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_hw_support/include/soc/esp32c3" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_hw_support/port/esp32c3" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_hw_support/port/esp32c3/private_include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/heap/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/log/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/lwip/include/apps" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/lwip/include/apps/sntp" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/lwip/lwip/src/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/lwip/port/esp32/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/lwip/port/esp32/include/arch" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/soc/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/soc/esp32c3" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/soc/esp32c3/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/hal/esp32c3/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/hal/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/hal/platform_port/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_rom/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_rom/include/esp32c3" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_rom/esp32c3" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_common/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_system/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_system/port/soc" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_system/port/include/riscv" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_system/port/public_compat" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/riscv/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/driver/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/driver/esp32c3/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_pm/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_ringbuf/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/efuse/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/efuse/esp32c3/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/vfs/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_wifi/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_event/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_netif/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_eth/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/tcpip_adapter/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_phy/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_phy/esp32c3/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_ipc/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/app_trace/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_timer/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/mbedtls/port/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/mbedtls/mbedtls/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/mbedtls/esp_crt_bundle/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/app_update/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/spi_flash/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/bootloader_support/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/nvs_flash/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/pthread/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_gdbstub/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_gdbstub/riscv" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_gdbstub/esp32c3" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/espcoredump/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/espcoredump/include/port/riscv" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/wpa_supplicant/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/wpa_supplicant/port/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/wpa_supplicant/esp_supplicant/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/ieee802154/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/console" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/asio/asio/asio/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/asio/port/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/bt/common/osi/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/bt/include/esp32c3/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/bt/common/api/include/api" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/bt/common/btc/profile/esp/blufi/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/bt/common/btc/profile/esp/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/bt/host/bluedroid/api/include/api" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/cbor/port/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/unity/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/unity/unity/src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/cmock/CMock/src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/coap/port/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/coap/libcoap/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/nghttp/port/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/nghttp/nghttp2/lib/includes" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp-tls" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp-tls/esp-tls-crypto" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_adc_cal/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_hid/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/tcp_transport/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_http_client/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_http_server/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_https_ota/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_https_server/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_lcd/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_lcd/interface" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/protobuf-c/protobuf-c" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/protocomm/include/common" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/protocomm/include/security" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/protocomm/include/transports" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/mdns/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_local_ctrl/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/sdmmc/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_serial_slave_link/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_websocket_client/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/expat/expat/expat/lib" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/expat/port/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/wear_levelling/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/fatfs/diskio" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/fatfs/vfs" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/fatfs/src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/freemodbus/common/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/idf_test/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/idf_test/include/esp32c3" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/jsmn/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/json/cJSON" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/libsodium/libsodium/src/libsodium/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/libsodium/port_include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/mqtt/esp-mqtt/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/openssl/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/spiffs/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/wifi_provisioning/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_littlefs/src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp_littlefs/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp-face/include" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp-face/include/tool" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp-face/include/typedef" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp-face/include/image" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp-face/include/math" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp-face/include/nn" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp-face/include/layer" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp-face/include/detect" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/esp-face/include/model_zoo" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2/tools/sdk/esp32c3/include/fb_gfx/include" -march=rv32imc -ffunction-sections -fdata-sections -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -ggdb -Wno-error=format= -nostartfiles -Wno-format -Os -freorder-blocks -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -std=gnu++11 -fno-exceptions -fno-rtti -MMD -c -DF_CPU=160000000L -DARDUINO=10819 -DARDUINO_ESP32C3_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"ESP32C3_DEV\"" "-DARDUINO_VARIANT=\"esp32c3\"" -DARDUINO_PARTITION_default -DESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_HW_CDC_ON_BOOT=0 "@C:\\Users\\qgb\\AppData\\Local\\Temp\\arduino_build_507321/build_opt.h" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\cores\\esp32" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\variants\\esp32c3" "-IC:\\Users\\qgb\\Documents\\Arduino\\libraries\\TFT_eSPI" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\libraries\\SPI\\src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\libraries\\FS\\src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\libraries\\SPIFFS\\src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\libraries\\Wire\\src" "-IC:\\Users\\qgb\\Documents\\Arduino\\libraries\\SdFat\\src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\libraries\\Preferences\\src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\libraries\\BluetoothSerial\\src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\libraries\\WiFi\\src" "-IC:\\Users\\qgb\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.2\\libraries\\WebServer\\src" "C:\\Users\\qgb\\AppData\\Local\\Temp\\arduino_build_507321\\sketch\\touch.cpp" -o "C:\\Users\\qgb\\AppData\\Local\\Temp\\arduino_build_507321\\sketch\\touch.cpp.o"
In file included from C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:71,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\config.h:244,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\grbl_controller_esp32.ino:71:
C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/Processors/TFT_eSPI_ESP32_C3.h:8:2: warning: #warning >>>>------>> ESP32 C3 support is incomplete and non-functional at the moment [-Wcpp]
#warning >>>>------>> ESP32 C3 support is incomplete and non-functional at the moment
^~~~~~~
In file included from C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:71,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\config.h:244,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\draw.cpp:1:
C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/Processors/TFT_eSPI_ESP32_C3.h:8:2: warning: #warning >>>>------>> ESP32 C3 support is incomplete and non-functional at the moment [-Wcpp]
#warning >>>>------>> ESP32 C3 support is incomplete and non-functional at the moment
^~~~~~~
In file included from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\menu_file.cpp:13:
C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/SdFat.h:452:2: warning: #warning File not defined because __has_include(FS.h) [-Wcpp]
#warning File not defined because __has_include(FS.h)
^~~~~~~
In file included from C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:71,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\config.h:244,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\menu_file.cpp:14:
C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/Processors/TFT_eSPI_ESP32_C3.h:8:2: warning: #warning >>>>------>> ESP32 C3 support is incomplete and non-functional at the moment [-Wcpp]
#warning >>>>------>> ESP32 C3 support is incomplete and non-functional at the moment
^~~~~~~
In file included from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\touch.h:10,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\touch.cpp:25:
C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/Processors/TFT_eSPI_ESP32_C3.h:8:2: warning: #warning >>>>------>> ESP32 C3 support is incomplete and non-functional at the moment [-Wcpp]
#warning >>>>------>> ESP32 C3 support is incomplete and non-functional at the moment
^~~~~~~
In file included from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\touch.h:11,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\touch.cpp:25:
C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/User_Setups\Setup72_ESP32_ST7789_172x320.h:16: warning: "TFT_CS" redefined
#define TFT_CS 5 // Chip select control pin
In file included from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\touch.h:10,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\touch.cpp:25:
C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/Processors/TFT_eSPI_ESP32_C3.h:206: note: this is the location of the previous definition
#define TFT_CS -1 // Keep DMA code happy
In file included from C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/Processors/TFT_eSPI_ESP32_C3.h:145,
from C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:71,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\config.h:244,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\menu_file.cpp:14:
C:\Users\qgb\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\libraries\FS\src/FS.h:30: warning: "FILE_READ" redefined
#define FILE_READ "r"
In file included from C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/ExFatLib/ExFatFile.h:821,
from C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/ExFatLib/ExFatVolume.h:27,
from C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/ExFatLib/ExFatLib.h:27,
from C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/SdFat.h:33,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\menu_file.cpp:13:
c:\users\qgb\documents\arduino\libraries\sdfat\src\common\arduinofiles.h:31: note: this is the location of the previous definition
#define FILE_READ O_RDONLY
In file included from C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/Processors/TFT_eSPI_ESP32_C3.h:145,
from C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:71,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\config.h:244,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\menu_file.cpp:14:
C:\Users\qgb\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\libraries\FS\src/FS.h:31: warning: "FILE_WRITE" redefined
#define FILE_WRITE "w"
In file included from C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/ExFatLib/ExFatFile.h:821,
from C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/ExFatLib/ExFatVolume.h:27,
from C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/ExFatLib/ExFatLib.h:27,
from C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/SdFat.h:33,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\menu_file.cpp:13:
c:\users\qgb\documents\arduino\libraries\sdfat\src\common\arduinofiles.h:35: note: this is the location of the previous definition
#define FILE_WRITE (O_RDWR | O_CREAT | O_AT_END)
In file included from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\config.h:244,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\grbl_controller_esp32.ino:71:
C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:880:6: warning: #warning >>>>------>> TOUCH_CS pin not defined, TFT_eSPI touch functions will not be available! [-Wcpp]
#warning >>>>------>> TOUCH_CS pin not defined, TFT_eSPI touch functions will not be available!
^~~~~~~
In file included from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\config.h:244,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\draw.cpp:1:
C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:880:6: warning: #warning >>>>------>> TOUCH_CS pin not defined, TFT_eSPI touch functions will not be available! [-Wcpp]
#warning >>>>------>> TOUCH_CS pin not defined, TFT_eSPI touch functions will not be available!
^~~~~~~
In file included from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\draw.cpp:10:
C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/SdFat.h:452:2: warning: #warning File not defined because __has_include(FS.h) [-Wcpp]
#warning File not defined because __has_include(FS.h)
^~~~~~~
In file included from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\touch.h:11,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\draw.cpp:14:
C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/User_Setups\Setup72_ESP32_ST7789_172x320.h:8: warning: "TFT_WIDTH" redefined
#define TFT_WIDTH 172 // ST7789 172 x 320
In file included from C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/User_Setup_Select.h:157,
from C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:43,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\config.h:244,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\draw.cpp:1:
C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/TFT_Drivers/ILI9341_Defines.h:5: note: this is the location of the previous definition
#define TFT_WIDTH 240
In file included from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\touch.h:11,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\draw.cpp:14:
C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/User_Setups\Setup72_ESP32_ST7789_172x320.h:16: warning: "TFT_CS" redefined
#define TFT_CS 5 // Chip select control pin
In file included from C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/User_Setup_Select.h:22,
from C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:43,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\config.h:244,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\draw.cpp:1:
C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/User_Setup.h:164: note: this is the location of the previous definition
#define TFT_CS PIN_D8 // Chip select control pin D8
In file included from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\touch.h:11,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\draw.cpp:14:
C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/User_Setups\Setup72_ESP32_ST7789_172x320.h:17: warning: "TFT_DC" redefined
#define TFT_DC 22 // Data Command control pin
In file included from C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/User_Setup_Select.h:22,
from C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:43,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\config.h:244,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\draw.cpp:1:
C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/User_Setup.h:165: note: this is the location of the previous definition
#define TFT_DC PIN_D3 // Data Command control pin
In file included from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\touch.h:11,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\draw.cpp:14:
C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/User_Setups\Setup72_ESP32_ST7789_172x320.h:18: warning: "TFT_RST" redefined
#define TFT_RST 17 // Reset pin (could connect to RST pin)
In file included from C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/User_Setup_Select.h:22,
from C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:43,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\config.h:244,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\draw.cpp:1:
C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/User_Setup.h:166: note: this is the location of the previous definition
#define TFT_RST PIN_D4 // Reset pin (could connect to NodeMCU RST, see next line)
In file included from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\grbl_controller_esp32.ino:81:
C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/SdFat.h:452:2: warning: #warning File not defined because __has_include(FS.h) [-Wcpp]
#warning File not defined because __has_include(FS.h)
^~~~~~~
In file included from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\touch.h:11,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\grbl_controller_esp32.ino:90:
C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/User_Setups\Setup72_ESP32_ST7789_172x320.h:8: warning: "TFT_WIDTH" redefined
#define TFT_WIDTH 172 // ST7789 172 x 320
In file included from C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/User_Setup_Select.h:157,
from C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:43,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\config.h:244,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\grbl_controller_esp32.ino:71:
C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/TFT_Drivers/ILI9341_Defines.h:5: note: this is the location of the previous definition
#define TFT_WIDTH 240
In file included from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\touch.h:11,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\grbl_controller_esp32.ino:90:
C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/User_Setups\Setup72_ESP32_ST7789_172x320.h:16: warning: "TFT_CS" redefined
#define TFT_CS 5 // Chip select control pin
In file included from C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/User_Setup_Select.h:22,
from C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:43,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\config.h:244,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\grbl_controller_esp32.ino:71:
C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/User_Setup.h:164: note: this is the location of the previous definition
#define TFT_CS PIN_D8 // Chip select control pin D8
In file included from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\touch.h:11,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\grbl_controller_esp32.ino:90:
C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/User_Setups\Setup72_ESP32_ST7789_172x320.h:17: warning: "TFT_DC" redefined
#define TFT_DC 22 // Data Command control pin
In file included from C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/User_Setup_Select.h:22,
from C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:43,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\config.h:244,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\grbl_controller_esp32.ino:71:
C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/User_Setup.h:165: note: this is the location of the previous definition
#define TFT_DC PIN_D3 // Data Command control pin
In file included from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\touch.h:11,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\grbl_controller_esp32.ino:90:
C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/User_Setups\Setup72_ESP32_ST7789_172x320.h:18: warning: "TFT_RST" redefined
#define TFT_RST 17 // Reset pin (could connect to RST pin)
In file included from C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/User_Setup_Select.h:22,
from C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:43,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\config.h:244,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\grbl_controller_esp32.ino:71:
C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/User_Setup.h:166: note: this is the location of the previous definition
#define TFT_RST PIN_D4 // Reset pin (could connect to NodeMCU RST, see next line)
In file included from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\config.h:244,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\menu_file.cpp:14:
C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:880:6: warning: #warning >>>>------>> TOUCH_CS pin not defined, TFT_eSPI touch functions will not be available! [-Wcpp]
#warning >>>>------>> TOUCH_CS pin not defined, TFT_eSPI touch functions will not be available!
^~~~~~~
C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\menu_file.cpp: In function 'uint16_t fileCnt(uint8_t)':
menu_file.cpp:143:39: error: no matching function for call to 'File32::openNext(SdBaseFile*)'
while ( file.openNext( &aDir[level] ) ) {
^
In file included from C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatVolume.h:27,
from C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatLib.h:27,
from C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/SdFat.h:34,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\menu_file.cpp:13:
C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:547:8: note: candidate: 'bool FatFile::openNext(FatFile*, oflag_t)'
bool openNext(FatFile* dirFile, oflag_t oflag = O_RDONLY);
^~~~~~~~
C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:547:8: note: no known conversion for argument 1 from 'SdBaseFile*' {aka 'FsBaseFile*'} to 'FatFile*'
C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\menu_file.cpp: In function 'boolean updateFilesBtn()':
menu_file.cpp:171:43: error: no matching function for call to 'File32::openNext(SdBaseFile*)'
if ( ! file.openNext( &aDir[dirLevel] ) ) { // ouvre le prochain fichier dans le répertoire courant ; en cas d'erreur, retour à la page info avec un message d'erreur
^
In file included from C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatVolume.h:27,
from C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatLib.h:27,
from C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/SdFat.h:34,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\menu_file.cpp:13:
C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:547:8: note: candidate: 'bool FatFile::openNext(FatFile*, oflag_t)'
bool openNext(FatFile* dirFile, oflag_t oflag = O_RDONLY);
^~~~~~~~
C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:547:8: note: no known conversion for argument 1 from 'SdBaseFile*' {aka 'FsBaseFile*'} to 'FatFile*'
menu_file.cpp:185:43: error: no matching function for call to 'File32::openNext(SdBaseFile*)'
if ( ! file.openNext( &aDir[dirLevel] ) ) {
^
In file included from C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatVolume.h:27,
from C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatLib.h:27,
from C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/SdFat.h:34,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\menu_file.cpp:13:
C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:547:8: note: candidate: 'bool FatFile::openNext(FatFile*, oflag_t)'
bool openNext(FatFile* dirFile, oflag_t oflag = O_RDONLY);
^~~~~~~~
C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:547:8: note: no known conversion for argument 1 from 'SdBaseFile*' {aka 'FsBaseFile*'} to 'FatFile*'
C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\menu_file.cpp: In function 'boolean setFileToRead(uint8_t)':
menu_file.cpp:261:61: error: no matching function for call to 'File32::open(SdBaseFile*, char [50], int)'
fileToShow.open( &aDir[dirLevel] , fileToShowName, O_READ ) ; // open the current file for browsing
^
In file included from C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatVolume.h:27,
from C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatLib.h:27,
from C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/SdFat.h:34,
from C:\test\ESP32\grbl_controller_esp32\grbl_controller_esp32\menu_file.cpp:13:
C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:456:8: note: candidate: 'bool FatFile::open(FatVolume*, const char*, oflag_t)'
bool open(FatVolume* vol, const char* path, oflag_t oflag);
^~~~
C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:456:8: note: no known conversion for argument 1 from 'SdBaseFile*' {aka 'FsBaseFile*'} to 'FatVolume*'
C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:470:8: note: candidate: 'bool FatFile::open(FatFile*, uint16_t, oflag_t)'
bool open(FatFile* dirFile, uint16_t index, oflag_t oflag);
^~~~
C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:470:8: note: no known conversion for argument 1 from 'SdBaseFile*' {aka 'FsBaseFile*'} to 'FatFile*'
C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:516:8: note: candidate: 'bool FatFile::open(FatFile*, const char*, oflag_t)'
bool open(FatFile* dirFile, const char* path, oflag_t oflag);
^~~~
C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:516:8: note: no known conversion for argument 1 from 'SdBaseFile*' {aka 'FsBaseFile*'} to 'FatFile*'
C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:526:8: note: candidate: 'bool FatFile::open(const char*, oflag_t)'
bool open(const char* path, oflag_t oflag = O_RDONLY);
^~~~
C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:526:8: note: candidate expects 2 arguments, 3 provided
C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:1008:8: note: candidate: 'bool FatFile::open(FatFile*, FatLfn_t*, oflag_t)'
bool open(FatFile* dirFile, FatLfn_t* fname, oflag_t oflag);
^~~~
C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:1008:8: note: no known conversion for argument 1 from 'SdBaseFile*' {aka 'FsBaseFile*'} to 'FatFile*'
C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:1009:8: note: candidate: 'bool FatFile::open(FatFile*, FatSfn_t*, oflag_t)'
bool open(FatFile* dirFile, FatSfn_t* fname, oflag_t oflag);
^~~~
C:\Users\qgb\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:1009:8: note: no known conversion for argument 1 from 'SdBaseFile*' {aka 'FsBaseFile*'} to 'FatFile*'
使用 2.4.60 版本的库 TFT_eSPI 在文件夹: C:\Users\qgb\Documents\Arduino\libraries\TFT_eSPI
使用 2.0.0 版本的库 SPI 在文件夹: C:\Users\qgb\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\libraries\SPI
使用 2.0.0 版本的库 FS 在文件夹: C:\Users\qgb\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\libraries\FS
使用 2.0.0 版本的库 SPIFFS 在文件夹: C:\Users\qgb\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\libraries\SPIFFS
使用 2.0.0 版本的库 Wire 在文件夹: C:\Users\qgb\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\libraries\Wire
使用 2.1.2 版本的库 SdFat 在文件夹: C:\Users\qgb\Documents\Arduino\libraries\SdFat
使用 2.0.0 版本的库 Preferences 在文件夹: C:\Users\qgb\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\libraries\Preferences
使用 2.0.0 版本的库 BluetoothSerial 在文件夹: C:\Users\qgb\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\libraries\BluetoothSerial
使用 2.0.0 版本的库 WiFi 在文件夹: C:\Users\qgb\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\libraries\WiFi
使用 2.0.0 版本的库 WebServer 在文件夹: C:\Users\qgb\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\libraries\WebServer
exit status 1
no matching function for call to 'File32::openNext(SdBaseFile*)'
@QGB Your issue doesn't seem related to this one, please file a new issue and perhaps someone will be able to help you.
@atanisoft ok,the similar problem https://github.com/greiman/SdFat/issues/23
How in God's name did I get involved in this? I'm receiving emails. Unfortunately, I'm not a developer on this project..
Hardware:
Board: ESP32 Wrover Module Core Installation/update date: 4/9/2018 IDE name: ESP32 with Arduino component Flash Frequency: 40Mhz Upload Speed: 115200
Description:
I am trying to run Arduino code as a component in the esp-idf initially, and then in Eclipse.
I've followed the instructions here carefully : https://github.com/espressif/arduino-esp32/blob/master/docs/esp-idf_component.md
I got some compilation errors so I referenced this link: https://github.com/espressif/arduino-esp32/issues/1142#issuecomment-418740315
and followed the instructions there carefully (both the 23rd Feb and 14th May posts) and I THINK I've done things correctly.
However I get a build error, as follows: /home/robert/esp/blink/components/arduino/libraries/SD_MMC/src//SD_MMC.cpp: In member function 'bool fs::SDMMCFS::begin(const char*, bool)': /home/robert/esp/blink/components/arduino/libraries/SD_MMC/src//SD_MMC.cpp:56:26: error: 'sdmmc_host_io_int_enable' was not declared in this scope .io_int_enable = sdmmc_host_io_int_enable, ^ /home/robert/esp/blink/components/arduino/libraries/SD_MMC/src//SD_MMC.cpp:57:24: error: 'sdmmc_host_io_int_wait' was not declared in this scope .io_int_wait = sdmmc_host_io_int_wait, ^ /home/robert/esp/blink/components/arduino/libraries/SD_MMC/src//SD_MMC.cpp:59:5: error: 'sdmmc_host_t' has no non-static data member named 'io_int_enable' }; ^ /home/robert/esp/esp-idf/make/component_wrapper.mk:273: recipe for target 'libraries/SD_MMC/src//SD_MMC.o' failed make[1]: [libraries/SD_MMC/src//SD_MMC.o] Error 1 /home/robert/esp/esp-idf/make/project.mk:453: recipe for target 'component-arduino-build' failed make: [component-arduino-build] Error 2
I have deselected "Autostart Arduino setup and loop on boot" (first link above) so that the main.cpp should be as below.
I'm running on Ubuntu.
Sketch:
extern "C" void app_main()
include
include "sdkconfig.h"
include "Arduino.h"
extern "C" void app_main() { initArduino(); }