i just received new sonoff basic but i am having following issues when i am trying to flash TASMOTA. When i click verify on Arduino software i am keep getting following error. I tried so many different thing but same outcome. Can someone look at the error and let me where am i going wrong.
error:
Arduino: 1.8.5 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, 40MHz, DOUT, 115200, 1M (64K SPIFFS), ck, Disabled, None"
C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\arduino-builder -dump-prefs -logger=machine -hardware C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\hardware -hardware C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages -tools C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\tools-builder -tools C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\hardware\tools\avr -tools C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages -built-in-libraries C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\libraries -libraries C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\sketchbook\libraries -fqbn=esp8266:esp8266:generic:CpuFrequency=80,FlashFreq=40,FlashMode=dout,UploadSpeed=115200,FlashSize=1M64,ResetMethod=ck,Debug=Disabled,DebugLevel=None____ -ide-version=10805 -build-path C:\Users\RAHULP~1\AppData\Local\Temp\arduino_build_671622 -warnings=none -build-cache C:\Users\RAHULP~1\AppData\Local\Temp\arduino_cache_584722 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.esptool.path=C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages\esp8266\tools\esptool\0.4.9 -prefs=runtime.tools.mkspiffs.path=C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages\esp8266\tools\mkspiffs\0.1.2 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2 -verbose C:\Users\Rahul Patel\Documents\Home Assistant\light switch\Sonoff-Tasmota-development\sonoff\sonoff.ino
C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\arduino-builder -compile -logger=machine -hardware C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\hardware -hardware C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages -tools C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\tools-builder -tools C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\hardware\tools\avr -tools C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages -built-in-libraries C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\libraries -libraries C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\sketchbook\libraries -fqbn=esp8266:esp8266:generic:CpuFrequency=80,FlashFreq=40,FlashMode=dout,UploadSpeed=115200,FlashSize=1M64,ResetMethod=ck,Debug=Disabled,DebugLevel=None____ -ide-version=10805 -build-path C:\Users\RAHULP~1\AppData\Local\Temp\arduino_build_671622 -warnings=none -build-cache C:\Users\RAHULP~1\AppData\Local\Temp\arduino_cache_584722 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.esptool.path=C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages\esp8266\tools\esptool\0.4.9 -prefs=runtime.tools.mkspiffs.path=C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages\esp8266\tools\mkspiffs\0.1.2 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2 -verbose C:\Users\Rahul Patel\Documents\Home Assistant\light switch\Sonoff-Tasmota-development\sonoff\sonoff.ino
Using board 'generic' from platform in folder: C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.3.0
Using core 'esp8266' from platform in folder: C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.3.0
Detecting libraries used...
"C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/include" "-IC:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include" "-IC:\Users\RAHULP~1\AppData\Local\Temp\arduino_build_671622/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DARDUINO=10805 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_ESP01" -DESP8266 "-IC:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266" "-IC:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.3.0\variants\generic" "C:\Users\RAHULP~1\AppData\Local\Temp\arduino_build_671622\sketch\sonoff.ino.cpp" -o "nul"
"C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/include" "-IC:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include" "-IC:\Users\RAHULP~1\AppData\Local\Temp\arduino_build_671622/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DARDUINO=10805 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_ESP01" -DESP8266 "-IC:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266" "-IC:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.3.0\variants\generic" "-IC:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\sketchbook\libraries\PubSubClient\src" "C:\Users\RAHULP~1\AppData\Local\Temp\arduino_build_671622\sketch\sonoff.ino.cpp" -o "nul"
"C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/include" "-IC:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include" "-IC:\Users\RAHULP~1\AppData\Local\Temp\arduino_build_671622/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DARDUINO=10805 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_ESP01" -DESP8266 "-IC:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266" "-IC:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.3.0\variants\generic" "-IC:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\sketchbook\libraries\PubSubClient\src" "C:\Users\RAHULP~1\AppData\Local\Temp\arduino_build_671622\sketch\sonoff.ino.cpp" -o "C:\Users\RAHULP~1\AppData\Local\Temp\arduino_build_671622\preproc\ctags_target_for_gcc_minus_e.cpp"
In file included from C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\sketchbook\libraries\PubSubClient\src/PubSubClient.h:77:0,
from C:\Users\Rahul Patel\Documents\Home Assistant\light switch\Sonoff-Tasmota-development\sonoff\sonoff.ino:40:
c:\users\rahul patel\documents\home assistant\light switch\arduino-1.8.5\portable\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\functional:48:28: fatal error: bits/c++config.h: No such file or directory
#include <bits/c++config.h>
^
compilation terminated.
Using library PubSubClient at version 2.6 in folder: C:\Users\Rahul Patel\Documents\Home Assistant\light switch\arduino-1.8.5\portable\sketchbook\libraries\PubSubClient
exit status 1
Error compiling for board Generic ESP8266 Module.