Open-Smart ESP32 Development Board (HCDVBD0041)

Forum for ESP32 based development boards
Post Reply
admin
Site Admin
Posts: 819
Joined: Sun Aug 05, 2012 4:02 pm

Open-Smart ESP32 Development Board (HCDVBD0041)

Post by admin » Fri Jul 08, 2022 10:41 am

Image




This development board is based on the popular Expressive ESP32 module. It breaks out all the modules available pins to a convenient 0.1” pitch dual in-line format suitable for breadboarding or other formats of prototyping. It also includes an auto programming circuit (reset button must be pressed after upload to run sketch) which allows the module to be automatically programmed from a computer via its USB type C socket.

It is fully compatible with the Arduino IDE via the board manager feature (see below for instructions) and so can be programmed just like any other Arduino board.

Please note that you will require a USB type C cable to program this board:

https://hobbycomponents.com/cables/1029 ... -cable-15m



What is the ESP32?

ESP32 is a single chip ARM based microcontroller which includes a 2.4 GHz Wi-Fi and Bluetooth-Compatible radio designed with ultra low power 40 nm technology. It is designed and optimised for low power performance, better RF performance, robustness, versatility, features and reliability, for a wide variety of applications, and different power profiles.


Features:

- TypeC USB: supply power and update of firmware;
- Uart to TTL chip: CH340;
- Working voltage: 2.8 - 3.6V;
- Logic level: 3.3V;
- Working current: 120mA;
- CPU Frequency: 240M Hz;
- Flash size: 4M Bytes (32M bits);
- SRAM: 520k Bytes;
- Wireless Frequency: 2400M-2483.5M Hz;
- Antenna Type: Built-in PCB antenna is available.
- Wireless Network Mode: station / softAP / SoftAP + station.
- Wireless criteria: 802.11 b/g/n/e/i; Bluetooth-Compatible 4.2 (BR/EDR/BLE);
- Digital interface: UART/SPI/I2C/GPIO/PWM/ Analog INPUT / Analog OUTPUT;




Drivers:

This development board includes a CH340 USB to UART IC to allow it to be programmed directly from the USB port of a computer.
The USB driver can be downloaded from the manufacturers website here:

http://www.wch-ic.com/downloads/CH341SER_EXE.html



Schematic:

https://hobbycomponents.com/images/foru ... ematic.pdf



Adding board support to the Arduino IDE:

Latest versions of the Arduino IDE allow for adding additional 3rd party board support directly from within the Arduino IDE. To add support for the this board simply open up your Arduino IDE and follow these steps:


1) Go to File->Preferences

2) In the window that opens up find the text box labelled 'Additional Boards Manager URLs:' and paste the following line into it...

https://raw.githubusercontent.com/espre ... index.json


...then click the OK button to close the window.


3) Next go to Tools->Board->Boards Manager

4) In the window that opens up, look for the entry titled 'esp32' (hint: you can type esp32 into the filter box at the top of the window to find it) and click on it.

5) In the bottom right-hand corner of this entry you should now see an install button appear. Click on this and board manager will then automatically add all the files necessary to support the ESP32. This may take a few minutes depending on the speed of your internet connection.

6) Now under Tools->Board->ESP32 Arduino you will see a set of new additional esp32 based board types including one labelled 'ESP32 Dev Module'.

7) Select it as the board type and now under the Tools menu you should see new options for this board. Leave them as the default but set the COM port to match the one for your board just like you would with any other Arduino.


Image


You should now be able to flash a sketch to the board in the normal way.

Notes:

To run a sketch after it has been uploaded you must reset the board by pressing the on-board reset button marked RST.

If testing with the ‘blink’ sketch please note that this board does not have a built in LED



Libraries, example code, and diagrams are provided as an additional free service by Hobby Components and are not sold as part of this product. We do no provide any guarantees or warranties as to their accuracy or fitness for purpose.

Descriptions and diagrams on this page are copyright Hobby Components Ltd and may not be reproduced without permission.

RetroBoy
Posts: 48
Joined: Sat Feb 26, 2022 11:29 am
Location: U.K.

Re: Open-Smart ESP32 Development Board (HCDVBD0041)

Post by RetroBoy » Fri Jul 22, 2022 9:22 am

Hello Andrew,

H E L P !!!

Tried, Attempted, Failed Miserably to VERIFY sketch to ESP32. Followed every instruction, All worked/Downloaded ok to IDE 1.8.9. Sketch loaded OK, then everything went wrong ... following error:-
Detecting libraries used...
"C:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\tools\\xtensa-esp32-elf-gcc\\gcc8_4_0-esp-2021r2-patch3/bin/xtensa-esp32-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.1-472-gc9140caf8c\"" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/newlib/platform_include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/freertos/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/freertos/include/esp_additions/freertos" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/freertos/port/xtensa/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/freertos/include/esp_additions" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_hw_support/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_hw_support/include/soc" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_hw_support/include/soc/esp32" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_hw_support/port/esp32" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_hw_support/port/esp32/private_include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/heap/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/log/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/lwip/include/apps" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/lwip/include/apps/sntp" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/lwip/lwip/src/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/lwip/port/esp32/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/lwip/port/esp32/include/arch" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/soc/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/soc/esp32" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/soc/esp32/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/hal/esp32/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/hal/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/hal/platform_port/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_rom/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_rom/include/esp32" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_rom/esp32" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_common/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_system/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_system/port/soc" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_system/port/public_compat" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp32/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/xtensa/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/xtensa/esp32/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/driver/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/driver/esp32/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_pm/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_ringbuf/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/efuse/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/efuse/esp32/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/vfs/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_wifi/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_event/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_netif/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_eth/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/tcpip_adapter/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_phy/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_phy/esp32/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_ipc/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/app_trace/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_timer/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/mbedtls/port/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/mbedtls/mbedtls/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/mbedtls/esp_crt_bundle/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/app_update/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/spi_flash/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/bootloader_support/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/nvs_flash/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/pthread/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_gdbstub/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_gdbstub/xtensa" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_gdbstub/esp32" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/espcoredump/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/espcoredump/include/port/xtensa" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/wpa_supplicant/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/wpa_supplicant/port/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/wpa_supplicant/esp_supplicant/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/ieee802154/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/console" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/asio/asio/asio/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/asio/port/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/bt/common/osi/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/bt/include/esp32/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/bt/common/api/include/api" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/bt/common/btc/profile/esp/blufi/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/bt/common/btc/profile/esp/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/bt/host/bluedroid/api/include/api" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/bt/esp_ble_mesh/mesh_common/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/bt/esp_ble_mesh/mesh_common/tinycrypt/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/bt/esp_ble_mesh/mesh_core" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/bt/esp_ble_mesh/mesh_core/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/bt/esp_ble_mesh/mesh_core/storage" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/bt/esp_ble_mesh/btc/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/bt/esp_ble_mesh/mesh_models/common/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/bt/esp_ble_mesh/mesh_models/client/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/bt/esp_ble_mesh/mesh_models/server/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/bt/esp_ble_mesh/api/core/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/bt/esp_ble_mesh/api/models/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/bt/esp_ble_mesh/api" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/cbor/port/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/unity/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/unity/unity/src" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/cmock/CMock/src" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/coap/port/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/coap/libcoap/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/nghttp/port/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/nghttp/nghttp2/lib/includes" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-tls" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-tls/esp-tls-crypto" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_adc_cal/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_hid/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/tcp_transport/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_http_client/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_http_server/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_https_ota/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_https_server/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_lcd/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_lcd/interface" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/protobuf-c/protobuf-c" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/protocomm/include/common" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/protocomm/include/security" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/protocomm/include/transports" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/mdns/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_local_ctrl/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/sdmmc/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_serial_slave_link/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_websocket_client/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/expat/expat/expat/lib" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/expat/port/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/wear_levelling/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/fatfs/diskio" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/fatfs/vfs" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/fatfs/src" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/freemodbus/common/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/idf_test/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/idf_test/include/esp32" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/jsmn/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/json/cJSON" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/libsodium/libsodium/src/libsodium/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/libsodium/port_include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/mqtt/esp-mqtt/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/openssl/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/perfmon/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/spiffs/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/ulp/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/wifi_provisioning/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/button/button/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/rmaker_common/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/json_parser/upstream/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/json_parser/upstream" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/json_generator/upstream" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_schedule/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_rainmaker/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/qrcode/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/ws2812_led" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dsp/modules/dotprod/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dsp/modules/support/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dsp/modules/windows/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dsp/modules/windows/hann/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dsp/modules/windows/blackman/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dsp/modules/windows/blackman_harris/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dsp/modules/windows/blackman_nuttall/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dsp/modules/windows/nuttall/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dsp/modules/windows/flat_top/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dsp/modules/iir/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dsp/modules/fir/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dsp/modules/math/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dsp/modules/math/add/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dsp/modules/math/sub/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dsp/modules/math/mul/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dsp/modules/math/addc/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dsp/modules/math/mulc/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dsp/modules/math/sqrt/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dsp/modules/matrix/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dsp/modules/fft/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dsp/modules/dct/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dsp/modules/conv/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dsp/modules/common/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dsp/modules/kalman/ekf/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dsp/modules/kalman/ekf_imu13states/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_littlefs/src" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp_littlefs/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dl/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dl/include/tool" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dl/include/typedef" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dl/include/image" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dl/include/math" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dl/include/nn" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dl/include/layer" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dl/include/detect" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-dl/include/model_zoo" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-sr/esp-tts/esp_tts_chinese/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp-sr/include/esp32" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp32-camera/driver/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/esp32-camera/conversions/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/include/fb_gfx/include" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4/tools/sdk/esp32/qio_qspi/include" -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -ggdb -Os -freorder-blocks -Wwrite-strings -fstack-protector -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -std=gnu++11 -fexceptions -fno-rtti -c -w -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10809 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"ESP32_DEV\"" "-DARDUINO_VARIANT=\"esp32\"" -DARDUINO_PARTITION_default -DESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_RUNNING_CORE=1 -DARDUINO_EVENT_RUNNING_CORE=1 -DARDUINO_USB_CDC_ON_BOOT=0 "@C:\\DOCUME~1\\Pc-User\\LOCALS~1\\Temp\\arduino_build_238834/build_opt.h" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4\\cores\\esp32" "-IC:\\Documents and Settings\\Pc-User\\Local Settings\\Application Data\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.4\\variants\\esp32" "sketch\\SEPROJECT.ino.cpp" -o nul
In file included from c:\documents and settings\pc-user\local settings\application data\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\algorithm:61,
from C:\Documents and Settings\Pc-User\Local Settings\Application Data\Arduino15\packages\esp32\hardware\esp32\2.0.4\cores\esp32/Arduino.h:161,
from sketch\SEPROJECT.ino.cpp:1:
c:\documents and settings\pc-user\local settings\application data\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\bits\stl_algobase.h:65:10: fatal error: bits/stl_iterator_base_types.h: No such file or directory
#include <bits/stl_iterator_base_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Spent another 3hrs Deleting/Reinstalling/Reloading Everything to do with IDEv1.8.9 & ESP32 Board. ( also ran McAfee CleanUp, Re-Booted, Searched for anything to do with ESP - Only 1 version found ).

From the last line of the Error it may seem something to do with the use of 'bitRead/bitSet/bitClear/etc' ( but I maybe wrong ). Either way Verify using NANO Board is OK, Verify with ESP32 Board(HCDVBD0041) gives Errors.

Really do need to use this board as I am down to the last 1,426bytes on the NANO.

Much appreciated S.

RetroBoy
Posts: 48
Joined: Sat Feb 26, 2022 11:29 am
Location: U.K.

Re: Open-Smart ESP32 Development Board (HCDVBD0041)

Post by RetroBoy » Fri Jul 22, 2022 10:36 am

Hello Andrew,

Have done things a bit less 'messy' than the previous Post/Question. ( Same ERROR easier to understand )
Arduino: 1.8.9 (Windows XP), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 115200, Core 1, Core 1, None"

WARNING: Category '' in library ESP RainMaker is not valid. Setting to 'Uncategorized'
WARNING: Category '' in library WiFiProv is not valid. Setting to 'Uncategorized'
Build options changed, rebuilding all
In file included from c:\documents and settings\pc-user\local settings\application data\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\algorithm:61,
from C:\Documents and Settings\Pc-User\Local Settings\Application Data\Arduino15\packages\esp32\hardware\esp32\2.0.4\cores\esp32/Arduino.h:161,
from sketch\SEPROJECT.ino.cpp:1:
c:\documents and settings\pc-user\local settings\application data\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\bits\stl_algobase.h:65:10:
fatal error: bits/stl_iterator_base_types.h: No such file or directory
#include <bits/stl_iterator_base_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

exit status 1
Error compiling for board ESP32 Dev Module.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Hope this is now easier to get a little HELP.

Regards S.

andrew
Site Admin
Posts: 1265
Joined: Sun Aug 05, 2012 4:15 pm

Re: Open-Smart ESP32 Development Board (HCDVBD0041)

Post by andrew » Fri Jul 22, 2022 1:43 pm

If you've not done so already can you try to compile the blink sketch (File->Examples->01.Basics->Blink) to see if that compiles without errors.

Another thing to try is to change the board type (Tools->Board:->ESP32 Arduino->) to 'DOIT ESP32 DEVKIT V1'.

This is the same type of board so see if it compiles ok with that board type.

It's probably something Windows 95 related but best to confirm the above before looking into it further.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

RetroBoy
Posts: 48
Joined: Sat Feb 26, 2022 11:29 am
Location: U.K.

Re: Open-Smart ESP32 Development Board (HCDVBD0041)

Post by RetroBoy » Fri Jul 22, 2022 6:34 pm

Hello Andrew,

Yes, I had already tried BLINK - No Good. Same ERRORS, I've listed 4 Verify Outputs; 2x ESP32 with v1.6.13. & v1.8.9 and the same using DOIT Boards.
Arduino: 1.6.13 (Windows XP), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 115200, Core 1, Core 1, None"

WARNING: Category '' in library ESP RainMaker is not valid. Setting to 'Uncategorized'
WARNING: Category '' in library WiFiProv is not valid. Setting to 'Uncategorized'
In file included from c:\documents and settings\pc-user\local settings\application data\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\algorithm:61,
from C:\Documents and Settings\Pc-User\Local Settings\Application Data\Arduino15\packages\esp32\hardware\esp32\2.0.4\cores\esp32/Arduino.h:161,
from sketch\Blink.ino.cpp:1:
c:\documents and settings\pc-user\local settings\application data\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\bits\stl_algobase.h:65:10: fatal error: bits/stl_iterator_base_types.h: No such file or directory
#include <bits/stl_iterator_base_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

exit status 1
Error compiling for board ESP32 Dev Module.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


==============================================================================================================


Arduino: 1.8.9 (Windows XP), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 115200, Core 1, Core 1, None"

WARNING: Category '' in library ESP RainMaker is not valid. Setting to 'Uncategorized'
WARNING: Category '' in library WiFiProv is not valid. Setting to 'Uncategorized'
In file included from c:\documents and settings\pc-user\local settings\application data\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\algorithm:61,
from C:\Documents and Settings\Pc-User\Local Settings\Application Data\Arduino15\packages\esp32\hardware\esp32\2.0.4\cores\esp32/Arduino.h:161,
from sketch\Blink.ino.cpp:1:
c:\documents and settings\pc-user\local settings\application data\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\bits\stl_algobase.h:65:10: fatal error: bits/stl_iterator_base_types.h: No such file or directory
#include <bits/stl_iterator_base_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

exit status 1
Error compiling for board ESP32 Dev Module.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


==============================================================================================================


Arduino: 1.6.13 (Windows XP), Board: "DOIT ESP32 DEVKIT V1, 80MHz, 115200, None"

WARNING: Category '' in library ESP RainMaker is not valid. Setting to 'Uncategorized'
WARNING: Category '' in library WiFiProv is not valid. Setting to 'Uncategorized'
Build options changed, rebuilding all
In file included from c:\documents and settings\pc-user\local settings\application data\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\algorithm:61,
from C:\Documents and Settings\Pc-User\Local Settings\Application Data\Arduino15\packages\esp32\hardware\esp32\2.0.4\cores\esp32/Arduino.h:161,
from sketch\Blink.ino.cpp:1:
c:\documents and settings\pc-user\local settings\application data\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\bits\stl_algobase.h:65:10: fatal error: bits/stl_iterator_base_types.h: No such file or directory
#include <bits/stl_iterator_base_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

exit status 1
Error compiling for board DOIT ESP32 DEVKIT V1.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


==============================================================================================================

Arduino: 1.8.9 (Windows XP), Board: "DOIT ESP32 DEVKIT V1, 80MHz, 115200, None"

WARNING: Category '' in library ESP RainMaker is not valid. Setting to 'Uncategorized'
WARNING: Category '' in library WiFiProv is not valid. Setting to 'Uncategorized'
Build options changed, rebuilding all
In file included from c:\documents and settings\pc-user\local settings\application data\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\algorithm:61,
from C:\Documents and Settings\Pc-User\Local Settings\Application Data\Arduino15\packages\esp32\hardware\esp32\2.0.4\cores\esp32/Arduino.h:161,
from sketch\Blink.ino.cpp:1:
c:\documents and settings\pc-user\local settings\application data\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\bits\stl_algobase.h:65:10: fatal error: bits/stl_iterator_base_types.h: No such file or directory
#include <bits/stl_iterator_base_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

exit status 1
Error compiling for board DOIT ESP32 DEVKIT V1.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
As you said, it may well be the Win XP 32bit OS rejecting something; but all it is actually doing is moaning that it cannot find ' #include <bits/stl_iterator_base_types.h> '. I wonder if when the ESP library gets installed the installer is saying " I cannot install foo.h & .cpp because the OS is 32bit NOT 64bit"; however there were NO Error messages during the install.

Just thinking aloud regarding that comment, but the ESP32 "espressif" Library/Installer makes NO reference to specifically requiring 64bit OS. Any thoughts ? Also, apart from a Later Windows OS/Linux/etc I only have 1,426 bytes remaining so not even enough to add extra memory.

:idea: :?: If I compile on either v1.6.13 or v1.8.9 would the code get 'compressed' a little more ?

Regards S.

andrew
Site Admin
Posts: 1265
Joined: Sun Aug 05, 2012 4:15 pm

Re: Open-Smart ESP32 Development Board (HCDVBD0041)

Post by andrew » Sat Jul 23, 2022 4:06 pm

For me, on my Windows 10 system that file is at this location:

C:\Users\<username>\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\bits\

Note you need to have show hidden files enabled to see it. I suspect the problem won't be a 32/64 issue but rather difference in how XP handled user data. I can't remember how Windows XP worked as it's been a very long time since I've used it but my guess is that you don't have this part of the file path (?):

C:\Users\<username>\AppData\Local\Arduino15\



If I compile on either v1.6.13 or v1.8.9 would the code get 'compressed' a little more ?
It is possible as they may have made some compiler optimisations that would reduce that size of your compiled sketch but if they have I wouldn't expect it to be much.

Does compiling the blink sketch for ESP32 work btw?
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

RetroBoy
Posts: 48
Joined: Sat Feb 26, 2022 11:29 am
Location: U.K.

Re: Open-Smart ESP32 Development Board (HCDVBD0041)

Post by RetroBoy » Sat Jul 23, 2022 7:43 pm

Hi Andrew,

No 'BLINK' did not work!

If you Look at the previous ERROR MSGs they were ALL for the BLINK sketch ... and exactly the same Error for the same file(s)!
' #include <bits/stl_iterator_base_types.h> '

I have looked for the files, they are actually there :
C:\Documents and Settings\Pc-User\Local Settings\Application Data\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\bits
Now notice the DELIBERATE ERROR, Everything on MY XP PRO SYSTEM starts with a Capital Letter. Whereas the ESP System is looking for all ' Lower Case'. The 1st issue is that it was the Library Manager Install that created the Directories. The 2nd issue is - how to change it. I may have said before, and I'm sure you know this, on XP 'A' & 'a' are different Animals; or at least they are on MY XP System.

As I found/noticed this I 'remove/deleted/cleaned' it all; then used Lib Mgr to reinstall it. The same thing though, Directories ALL start with Capitals. I really am confused, why CREATE with a Capital, then look for a LOWER ... does not make any sense.

On a serious point, I am now too much 'passed it', when I was working - that's my job; now unfortunately not. I remember a while ago, mentioning that I was making a few changes to the way RTClib worked, your reply was to say it's not a good idea as the Lib may change. Very good, Valid, reasonable point. Surely the same applies to the way Lib Mgr has installed the ESP Software; no use ME changing it as the Software may change ( and the ESP Software is quite a lot ).

Regards S.

andrew
Site Admin
Posts: 1265
Joined: Sun Aug 05, 2012 4:15 pm

Re: Open-Smart ESP32 Development Board (HCDVBD0041)

Post by andrew » Sun Jul 24, 2022 8:37 am

No 'BLINK' did not work!

If you Look at the previous ERROR MSGs they were ALL for the BLINK sketch ... and exactly the same Error for the same file(s)!
Ah yeah, sorry, I quickly glanced over the log in your second post assuming it was a cut down version of your original. I just wanted to confirm it wasn’t anything related to your sketch before looking into it further.


Now notice the DELIBERATE ERROR, Everything on MY XP PRO SYSTEM starts with a Capital Letter….
…I may have said before, and I'm sure you know this, on XP 'A' & 'a' are different Animals; or at least they are on MY XP System.
That’s really odd. I thought all versions of Windows were case insensitive and didn't even have the ability to be case sensitive. However as the GCC toolchain will have originated from Linux (which is a case sensitive os) it could be the issue.

Is the ‘bits’ folder of your XP system also capitalised? It doesn’t seem to be in your pasted file path? If so, that is the folder that would potentially (assuming it is a case sensitivity issue) be the problem.

That said though, I've tried capitalising both the bits folder and the file path in any .h files that reference the bits/stl_iterator_base_types.h file and it didn't seem to care on my Windows 10 system.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

RetroBoy
Posts: 48
Joined: Sat Feb 26, 2022 11:29 am
Location: U.K.

Re: Open-Smart ESP32 Development Board (HCDVBD0041)

Post by RetroBoy » Mon Jul 25, 2022 7:15 am

Good Morning Andrew,

First, I think YOU are correct, partly, Win OS may not be case sensitive; however any Searches I do seem to be.

Second, I put my work hat back on last night; Old Habits! So now gets even more stupid/complicated than before.

I did a little experiment on the ' stl_algobase.h ' file - interesting result; your comments appreciated.
======================================================================

ERROR ONE - FOR FILE " stl_algobase.h " - This is the ORIGINAL LOAD ORDER
=============================================

/** @file bits/stl_algobase.h
* This is an internal header file, included by other library headers.
* Do not attempt to use it directly. @headername{algorithm}
*/

#ifndef _STL_ALGOBASE_H
#define _STL_ALGOBASE_H 1

#include <bits/c++config.h>
#include <bits/functexcept.h>
#include <bits/cpp_type_traits.h>
#include <ext/type_traits.h>
#include <ext/numeric_traits.h>
#include <bits/stl_pair.h>
#include <bits/stl_iterator_base_types.h> // <--- Original Position !!!
#include <bits/stl_iterator_base_funcs.h> // <--- Original Position !!!
#include <bits/stl_iterator.h>
#include <bits/concept_check.h>
#include <debug/debug.h>
#include <bits/move.h> // For std::swap
#include <bits/predefined_ops.h>

==========================================================================

In file included from c:\documents and settings\pc-user\local settings\application data\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\algorithm:61,
from C:\Documents and Settings\Pc-User\Local Settings\Application Data\Arduino15\packages\esp32\hardware\esp32\2.0.4\cores\esp32/Arduino.h:161,
from sketch\Blink.ino.cpp:1:
c:\documents and settings\pc-user\local settings\application data\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\bits\stl_algobase.h:65:10: fatal error: bits/stl_iterator_base_types.h: No such file or directory
#include <bits/stl_iterator_base_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


NOTE:- THE ERROR IS ON THE 7th INCLUDE !!!!

==========================================================================
ERROR TWO - FOR FILE " stl_algobase.h " - This is the CHANGED LOAD ORDER
==============================================

/** @file bits/stl_algobase.h
* This is an internal header file, included by other library headers.
* Do not attempt to use it directly. @headername{algorithm}
*/

#ifndef _STL_ALGOBASE_H
#define _STL_ALGOBASE_H 1

#include <bits/c++config.h>
#include <bits/functexcept.h>
#include <bits/cpp_type_traits.h>
#include <ext/type_traits.h>
#include <ext/numeric_traits.h>
#include <bits/stl_pair.h>
#include <bits/stl_iterator_base_funcs.h> // <--- Switched Position !!!
#include <bits/stl_iterator_base_types.h> // <--- Switched Position !!!
#include <bits/stl_iterator.h>
#include <bits/concept_check.h>
#include <debug/debug.h>
#include <bits/move.h> // For std::swap
#include <bits/predefined_ops.h>

==========================================================================

In file included from c:\documents and settings\pc-user\local settings\application data\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\algorithm:61,
from C:\Documents and Settings\Pc-User\Local Settings\Application Data\Arduino15\packages\esp32\hardware\esp32\2.0.4\cores\esp32/Arduino.h:161,
from sketch\Blink.ino.cpp:1:
c:\documents and settings\pc-user\local settings\application data\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\bits\stl_algobase.h:65:10: fatal error: bits/stl_iterator_base_funcs.h: No such file or directory
#include <bits/stl_iterator_base_funcs.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

NOTE:- THE ERROR IS ON THE 7th INCLUDE !!!!


Strange to see/find that VERIFY falls over at exactly the same '#include' line - so it does not matter about the FILE only the POSITION ( Number )!

I may be wrong on this, but my hunch is to do with 32/64 bit FILE BUFFERING. I read an Article a while ago talking about Win XP being the 'Upgraded' version of Win 2000. It also mentioned that MS never expected XP to be used on 32bit Machines, but so many 'establishments' refused to purchase new 64bit equipment ( purely for an OS Upgrade ) that MS had to provide another 'PATCH' to overcome the 32/64 bit issue. I now wonder if the same is happening here; i.e. no-one expected ESP32s to be 'programmed' by a 32 bit PC. Does the ESP32 get loaded with all the C++ code/files to be able to run as a Stand Alone piece of equipment; or is it pre-loaded?

Over to you --- Regards S.

andrew
Site Admin
Posts: 1265
Joined: Sun Aug 05, 2012 4:15 pm

Re: Open-Smart ESP32 Development Board (HCDVBD0041)

Post by andrew » Mon Jul 25, 2022 3:51 pm

Odd, if you're changing the order in the file and it's still reporting the problem on the same line then this would imply that it's not referencing that file at all. Can you confirm that the actual file you're changing is at this path:

c:\documents and settings\pc-user\local settings\application data\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\bits\stl_algobase.h


One way to confirm if its referencing the stl_algobase.h file would be to try putting a deliberate error in it (before the stl_iterator_base_types.h include line) to see if the compiler picks up on it. For example include a non-existent file.


I may be wrong on this, but my hunch is to do with 32/64 bit FILE BUFFERING.
I don't want to rule anything out but I would imagine if it was doing that it would cause all sorts of problems.


Does the ESP32 get loaded with all the C++ code/files to be able to run as a Stand Alone piece of equipment; or is it pre-loaded?
I'm afraid not sure what you mean by preloaded.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

Post Reply

Return to “ESP32”