esp8266 sketch compile error

I also posted this in the forum I'm attempting to upload a sketch but I'm getting the following error while compiling:

Arduino: 1.6.10 (Windows 10), Board: "Generic ESP8266 Module, Serial, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\mwawr\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\mwawr\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\mwawr\Desktop\libraries" -fqbn=esp8266:esp8266:generic:UploadTool=esptool,CpuFrequency=80,FlashFreq=40,FlashMode=dio,UploadSpeed=115200,FlashSize=512K64,ResetMethod=ck -ide-version=10610 -build-path "C:\Users\mwawr\AppData\Local\Temp\buildb544561eb321cd7f39a175c8228e5134.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\mwawr\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\esp8266\examples\Blink\Blink.ino"

Board generic (platform esp8266, package esp8266) is unknown

Error compiling for board Generic ESP8266 Module.

ESP's tend to have issues with IDE 1.6.10

My preferred option for ESP boards is an unzipped copy of IDE 1.6.5 and I have not had any issues. Did also manage to get some ESP's working with 1.6.10 but for some reason not with all hence 1.6.5 r5.