Skip to content

Commit

Permalink
Add wifi kit 8 to boards (esp8266#8190)
Browse files Browse the repository at this point in the history
* Create pins_arduino.h

* Update boards.txt.py

* Update boards.txt

* done a "boards.txt.py --allgen"

* Removed the definition of LED_BUILTIN from variants/wifi_kit_8/pins_arduino.h, because this board has no build in lED
  • Loading branch information
gneiss15 authored Jul 3, 2021
1 parent d8b70d4 commit 7ba596a
Show file tree
Hide file tree
Showing 5 changed files with 296 additions and 0 deletions.
215 changes: 215 additions & 0 deletions boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7948,6 +7948,221 @@ espinotee.menu.baud.921600.upload.speed=921600
espinotee.menu.baud.3000000=3000000
espinotee.menu.baud.3000000.upload.speed=3000000

##############################################################
wifi_kit_8.name=WiFi Kit 8
wifi_kit_8.build.board=wifi_kit_8
wifi_kit_8.build.variant=wifi_kit_8
wifi_kit_8.upload.tool=esptool
wifi_kit_8.upload.maximum_data_size=81920
wifi_kit_8.upload.wait_for_upload_port=true
wifi_kit_8.upload.erase_cmd=
wifi_kit_8.serial.disableDTR=true
wifi_kit_8.serial.disableRTS=true
wifi_kit_8.build.mcu=esp8266
wifi_kit_8.build.core=esp8266
wifi_kit_8.build.spiffs_pagesize=256
wifi_kit_8.build.debug_port=
wifi_kit_8.build.debug_level=
wifi_kit_8.menu.xtal.80=80 MHz
wifi_kit_8.menu.xtal.80.build.f_cpu=80000000L
wifi_kit_8.menu.xtal.160=160 MHz
wifi_kit_8.menu.xtal.160.build.f_cpu=160000000L
wifi_kit_8.menu.vt.flash=Flash
wifi_kit_8.menu.vt.flash.build.vtable_flags=-DVTABLES_IN_FLASH
wifi_kit_8.menu.vt.heap=Heap
wifi_kit_8.menu.vt.heap.build.vtable_flags=-DVTABLES_IN_DRAM
wifi_kit_8.menu.vt.iram=IRAM
wifi_kit_8.menu.vt.iram.build.vtable_flags=-DVTABLES_IN_IRAM
wifi_kit_8.menu.exception.disabled=Disabled (new aborts on oom)
wifi_kit_8.menu.exception.disabled.build.exception_flags=-fno-exceptions
wifi_kit_8.menu.exception.disabled.build.stdcpp_lib=-lstdc++
wifi_kit_8.menu.exception.enabled=Enabled
wifi_kit_8.menu.exception.enabled.build.exception_flags=-fexceptions
wifi_kit_8.menu.exception.enabled.build.stdcpp_lib=-lstdc++-exc
wifi_kit_8.menu.stacksmash.disabled=Disabled
wifi_kit_8.menu.stacksmash.disabled.build.stacksmash_flags=
wifi_kit_8.menu.stacksmash.enabled=Enabled
wifi_kit_8.menu.stacksmash.enabled.build.stacksmash_flags=-fstack-protector
wifi_kit_8.menu.ssl.all=All SSL ciphers (most compatible)
wifi_kit_8.menu.ssl.all.build.sslflags=
wifi_kit_8.menu.ssl.basic=Basic SSL ciphers (lower ROM use)
wifi_kit_8.menu.ssl.basic.build.sslflags=-DBEARSSL_SSL_BASIC
wifi_kit_8.menu.mmu.3232=32KB cache + 32KB IRAM (balanced)
wifi_kit_8.menu.mmu.3232.build.mmuflags=-DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000
wifi_kit_8.menu.mmu.4816=16KB cache + 48KB IRAM (IRAM)
wifi_kit_8.menu.mmu.4816.build.mmuflags=-DMMU_IRAM_SIZE=0xC000 -DMMU_ICACHE_SIZE=0x4000
wifi_kit_8.menu.mmu.4816H=16KB cache + 48KB IRAM and 2nd Heap (shared)
wifi_kit_8.menu.mmu.4816H.build.mmuflags=-DMMU_IRAM_SIZE=0xC000 -DMMU_ICACHE_SIZE=0x4000 -DMMU_IRAM_HEAP
wifi_kit_8.menu.mmu.3216=16KB cache + 32KB IRAM + 16KB 2nd Heap (not shared)
wifi_kit_8.menu.mmu.3216.build.mmuflags=-DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x4000 -DMMU_SEC_HEAP=0x40108000 -DMMU_SEC_HEAP_SIZE=0x4000
wifi_kit_8.menu.mmu.ext128k=128K External 23LC1024
wifi_kit_8.menu.mmu.ext128k.build.mmuflags=-DMMU_EXTERNAL_HEAP=128 -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000
wifi_kit_8.menu.mmu.ext1024k=1M External 64 MBit PSRAM
wifi_kit_8.menu.mmu.ext1024k.build.mmuflags=-DMMU_EXTERNAL_HEAP=256 -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000
wifi_kit_8.menu.non32xfer.fast=Use pgm_read macros for IRAM/PROGMEM
wifi_kit_8.menu.non32xfer.fast.build.non32xferflags=
wifi_kit_8.menu.non32xfer.safe=Byte/Word access to IRAM/PROGMEM (very slow)
wifi_kit_8.menu.non32xfer.safe.build.non32xferflags=-DNON32XFER_HANDLER
wifi_kit_8.upload.resetmethod=--before default_reset --after hard_reset
wifi_kit_8.build.flash_mode=dio
wifi_kit_8.build.flash_flags=-DFLASHMODE_DIO
wifi_kit_8.build.flash_freq=40
wifi_kit_8.menu.eesz.4M2M=4MB (FS:2MB OTA:~1019KB)
wifi_kit_8.menu.eesz.4M2M.build.flash_size=4M
wifi_kit_8.menu.eesz.4M2M.build.flash_size_bytes=0x400000
wifi_kit_8.menu.eesz.4M2M.build.flash_ld=eagle.flash.4m2m.ld
wifi_kit_8.menu.eesz.4M2M.build.spiffs_pagesize=256
wifi_kit_8.menu.eesz.4M2M.upload.maximum_size=1044464
wifi_kit_8.menu.eesz.4M2M.build.rfcal_addr=0x3FC000
wifi_kit_8.menu.eesz.4M2M.build.spiffs_start=0x200000
wifi_kit_8.menu.eesz.4M2M.build.spiffs_end=0x3FA000
wifi_kit_8.menu.eesz.4M2M.build.spiffs_blocksize=8192
wifi_kit_8.menu.eesz.4M3M=4MB (FS:3MB OTA:~512KB)
wifi_kit_8.menu.eesz.4M3M.build.flash_size=4M
wifi_kit_8.menu.eesz.4M3M.build.flash_size_bytes=0x400000
wifi_kit_8.menu.eesz.4M3M.build.flash_ld=eagle.flash.4m3m.ld
wifi_kit_8.menu.eesz.4M3M.build.spiffs_pagesize=256
wifi_kit_8.menu.eesz.4M3M.upload.maximum_size=1044464
wifi_kit_8.menu.eesz.4M3M.build.rfcal_addr=0x3FC000
wifi_kit_8.menu.eesz.4M3M.build.spiffs_start=0x100000
wifi_kit_8.menu.eesz.4M3M.build.spiffs_end=0x3FA000
wifi_kit_8.menu.eesz.4M3M.build.spiffs_blocksize=8192
wifi_kit_8.menu.eesz.4M1M=4MB (FS:1MB OTA:~1019KB)
wifi_kit_8.menu.eesz.4M1M.build.flash_size=4M
wifi_kit_8.menu.eesz.4M1M.build.flash_size_bytes=0x400000
wifi_kit_8.menu.eesz.4M1M.build.flash_ld=eagle.flash.4m1m.ld
wifi_kit_8.menu.eesz.4M1M.build.spiffs_pagesize=256
wifi_kit_8.menu.eesz.4M1M.upload.maximum_size=1044464
wifi_kit_8.menu.eesz.4M1M.build.rfcal_addr=0x3FC000
wifi_kit_8.menu.eesz.4M1M.build.spiffs_start=0x300000
wifi_kit_8.menu.eesz.4M1M.build.spiffs_end=0x3FA000
wifi_kit_8.menu.eesz.4M1M.build.spiffs_blocksize=8192
wifi_kit_8.menu.eesz.4M=4MB (FS:none OTA:~1019KB)
wifi_kit_8.menu.eesz.4M.build.flash_size=4M
wifi_kit_8.menu.eesz.4M.build.flash_size_bytes=0x400000
wifi_kit_8.menu.eesz.4M.build.flash_ld=eagle.flash.4m.ld
wifi_kit_8.menu.eesz.4M.build.spiffs_pagesize=256
wifi_kit_8.menu.eesz.4M.upload.maximum_size=1044464
wifi_kit_8.menu.eesz.4M.build.rfcal_addr=0x3FC000
wifi_kit_8.menu.ip.lm2f=v2 Lower Memory
wifi_kit_8.menu.ip.lm2f.build.lwip_include=lwip2/include
wifi_kit_8.menu.ip.lm2f.build.lwip_lib=-llwip2-536-feat
wifi_kit_8.menu.ip.lm2f.build.lwip_flags=-DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0
wifi_kit_8.menu.ip.hb2f=v2 Higher Bandwidth
wifi_kit_8.menu.ip.hb2f.build.lwip_include=lwip2/include
wifi_kit_8.menu.ip.hb2f.build.lwip_lib=-llwip2-1460-feat
wifi_kit_8.menu.ip.hb2f.build.lwip_flags=-DLWIP_OPEN_SRC -DTCP_MSS=1460 -DLWIP_FEATURES=1 -DLWIP_IPV6=0
wifi_kit_8.menu.ip.lm2n=v2 Lower Memory (no features)
wifi_kit_8.menu.ip.lm2n.build.lwip_include=lwip2/include
wifi_kit_8.menu.ip.lm2n.build.lwip_lib=-llwip2-536
wifi_kit_8.menu.ip.lm2n.build.lwip_flags=-DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=0 -DLWIP_IPV6=0
wifi_kit_8.menu.ip.hb2n=v2 Higher Bandwidth (no features)
wifi_kit_8.menu.ip.hb2n.build.lwip_include=lwip2/include
wifi_kit_8.menu.ip.hb2n.build.lwip_lib=-llwip2-1460
wifi_kit_8.menu.ip.hb2n.build.lwip_flags=-DLWIP_OPEN_SRC -DTCP_MSS=1460 -DLWIP_FEATURES=0 -DLWIP_IPV6=0
wifi_kit_8.menu.ip.lm6f=v2 IPv6 Lower Memory
wifi_kit_8.menu.ip.lm6f.build.lwip_include=lwip2/include
wifi_kit_8.menu.ip.lm6f.build.lwip_lib=-llwip6-536-feat
wifi_kit_8.menu.ip.lm6f.build.lwip_flags=-DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=1
wifi_kit_8.menu.ip.hb6f=v2 IPv6 Higher Bandwidth
wifi_kit_8.menu.ip.hb6f.build.lwip_include=lwip2/include
wifi_kit_8.menu.ip.hb6f.build.lwip_lib=-llwip6-1460-feat
wifi_kit_8.menu.ip.hb6f.build.lwip_flags=-DLWIP_OPEN_SRC -DTCP_MSS=1460 -DLWIP_FEATURES=1 -DLWIP_IPV6=1
wifi_kit_8.menu.dbg.Disabled=Disabled
wifi_kit_8.menu.dbg.Disabled.build.debug_port=
wifi_kit_8.menu.dbg.Serial=Serial
wifi_kit_8.menu.dbg.Serial.build.debug_port=-DDEBUG_ESP_PORT=Serial
wifi_kit_8.menu.dbg.Serial1=Serial1
wifi_kit_8.menu.dbg.Serial1.build.debug_port=-DDEBUG_ESP_PORT=Serial1
wifi_kit_8.menu.lvl.None____=None
wifi_kit_8.menu.lvl.None____.build.debug_level=
wifi_kit_8.menu.lvl.SSL=SSL
wifi_kit_8.menu.lvl.SSL.build.debug_level= -DDEBUG_ESP_SSL
wifi_kit_8.menu.lvl.TLS_MEM=TLS_MEM
wifi_kit_8.menu.lvl.TLS_MEM.build.debug_level= -DDEBUG_ESP_TLS_MEM
wifi_kit_8.menu.lvl.HTTP_CLIENT=HTTP_CLIENT
wifi_kit_8.menu.lvl.HTTP_CLIENT.build.debug_level= -DDEBUG_ESP_HTTP_CLIENT
wifi_kit_8.menu.lvl.HTTP_SERVER=HTTP_SERVER
wifi_kit_8.menu.lvl.HTTP_SERVER.build.debug_level= -DDEBUG_ESP_HTTP_SERVER
wifi_kit_8.menu.lvl.SSLTLS_MEM=SSL+TLS_MEM
wifi_kit_8.menu.lvl.SSLTLS_MEM.build.debug_level= -DDEBUG_ESP_SSL -DDEBUG_ESP_TLS_MEM
wifi_kit_8.menu.lvl.SSLHTTP_CLIENT=SSL+HTTP_CLIENT
wifi_kit_8.menu.lvl.SSLHTTP_CLIENT.build.debug_level= -DDEBUG_ESP_SSL -DDEBUG_ESP_HTTP_CLIENT
wifi_kit_8.menu.lvl.SSLHTTP_SERVER=SSL+HTTP_SERVER
wifi_kit_8.menu.lvl.SSLHTTP_SERVER.build.debug_level= -DDEBUG_ESP_SSL -DDEBUG_ESP_HTTP_SERVER
wifi_kit_8.menu.lvl.TLS_MEMHTTP_CLIENT=TLS_MEM+HTTP_CLIENT
wifi_kit_8.menu.lvl.TLS_MEMHTTP_CLIENT.build.debug_level= -DDEBUG_ESP_TLS_MEM -DDEBUG_ESP_HTTP_CLIENT
wifi_kit_8.menu.lvl.TLS_MEMHTTP_SERVER=TLS_MEM+HTTP_SERVER
wifi_kit_8.menu.lvl.TLS_MEMHTTP_SERVER.build.debug_level= -DDEBUG_ESP_TLS_MEM -DDEBUG_ESP_HTTP_SERVER
wifi_kit_8.menu.lvl.HTTP_CLIENTHTTP_SERVER=HTTP_CLIENT+HTTP_SERVER
wifi_kit_8.menu.lvl.HTTP_CLIENTHTTP_SERVER.build.debug_level= -DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_HTTP_SERVER
wifi_kit_8.menu.lvl.SSLTLS_MEMHTTP_CLIENT=SSL+TLS_MEM+HTTP_CLIENT
wifi_kit_8.menu.lvl.SSLTLS_MEMHTTP_CLIENT.build.debug_level= -DDEBUG_ESP_SSL -DDEBUG_ESP_TLS_MEM -DDEBUG_ESP_HTTP_CLIENT
wifi_kit_8.menu.lvl.SSLTLS_MEMHTTP_SERVER=SSL+TLS_MEM+HTTP_SERVER
wifi_kit_8.menu.lvl.SSLTLS_MEMHTTP_SERVER.build.debug_level= -DDEBUG_ESP_SSL -DDEBUG_ESP_TLS_MEM -DDEBUG_ESP_HTTP_SERVER
wifi_kit_8.menu.lvl.SSLHTTP_CLIENTHTTP_SERVER=SSL+HTTP_CLIENT+HTTP_SERVER
wifi_kit_8.menu.lvl.SSLHTTP_CLIENTHTTP_SERVER.build.debug_level= -DDEBUG_ESP_SSL -DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_HTTP_SERVER
wifi_kit_8.menu.lvl.TLS_MEMHTTP_CLIENTHTTP_SERVER=TLS_MEM+HTTP_CLIENT+HTTP_SERVER
wifi_kit_8.menu.lvl.TLS_MEMHTTP_CLIENTHTTP_SERVER.build.debug_level= -DDEBUG_ESP_TLS_MEM -DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_HTTP_SERVER
wifi_kit_8.menu.lvl.SSLTLS_MEMHTTP_CLIENTHTTP_SERVER=SSL+TLS_MEM+HTTP_CLIENT+HTTP_SERVER
wifi_kit_8.menu.lvl.SSLTLS_MEMHTTP_CLIENTHTTP_SERVER.build.debug_level= -DDEBUG_ESP_SSL -DDEBUG_ESP_TLS_MEM -DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_HTTP_SERVER
wifi_kit_8.menu.lvl.CORE=CORE
wifi_kit_8.menu.lvl.CORE.build.debug_level= -DDEBUG_ESP_CORE
wifi_kit_8.menu.lvl.WIFI=WIFI
wifi_kit_8.menu.lvl.WIFI.build.debug_level= -DDEBUG_ESP_WIFI
wifi_kit_8.menu.lvl.HTTP_UPDATE=HTTP_UPDATE
wifi_kit_8.menu.lvl.HTTP_UPDATE.build.debug_level= -DDEBUG_ESP_HTTP_UPDATE
wifi_kit_8.menu.lvl.UPDATER=UPDATER
wifi_kit_8.menu.lvl.UPDATER.build.debug_level= -DDEBUG_ESP_UPDATER
wifi_kit_8.menu.lvl.OTA=OTA
wifi_kit_8.menu.lvl.OTA.build.debug_level= -DDEBUG_ESP_OTA
wifi_kit_8.menu.lvl.OOM=OOM
wifi_kit_8.menu.lvl.OOM.build.debug_level= -DDEBUG_ESP_OOM
wifi_kit_8.menu.lvl.MDNS=MDNS
wifi_kit_8.menu.lvl.MDNS.build.debug_level= -DDEBUG_ESP_MDNS
wifi_kit_8.menu.lvl.HWDT=HWDT
wifi_kit_8.menu.lvl.HWDT.build.debug_level= -DDEBUG_ESP_HWDT
wifi_kit_8.menu.lvl.HWDT_NOEXTRA4K=HWDT_NOEXTRA4K
wifi_kit_8.menu.lvl.HWDT_NOEXTRA4K.build.debug_level= -DDEBUG_ESP_HWDT_NOEXTRA4K
wifi_kit_8.menu.lvl.COREWIFIHTTP_UPDATEUPDATEROTAOOMMDNS=CORE+WIFI+HTTP_UPDATE+UPDATER+OTA+OOM+MDNS
wifi_kit_8.menu.lvl.COREWIFIHTTP_UPDATEUPDATEROTAOOMMDNS.build.debug_level= -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_ESP_OOM -DDEBUG_ESP_MDNS
wifi_kit_8.menu.lvl.COREWIFIHTTP_UPDATEUPDATEROTAOOMMDNSHWDT=CORE+WIFI+HTTP_UPDATE+UPDATER+OTA+OOM+MDNS+HWDT
wifi_kit_8.menu.lvl.COREWIFIHTTP_UPDATEUPDATEROTAOOMMDNSHWDT.build.debug_level= -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_ESP_OOM -DDEBUG_ESP_MDNS -DDEBUG_ESP_HWDT
wifi_kit_8.menu.lvl.COREWIFIHTTP_UPDATEUPDATEROTAOOMMDNSHWDT_NOEXTRA4K=CORE+WIFI+HTTP_UPDATE+UPDATER+OTA+OOM+MDNS+HWDT_NOEXTRA4K
wifi_kit_8.menu.lvl.COREWIFIHTTP_UPDATEUPDATEROTAOOMMDNSHWDT_NOEXTRA4K.build.debug_level= -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_ESP_OOM -DDEBUG_ESP_MDNS -DDEBUG_ESP_HWDT_NOEXTRA4K
wifi_kit_8.menu.lvl.SSLTLS_MEMHTTP_CLIENTHTTP_SERVERCOREWIFIHTTP_UPDATEUPDATEROTAOOMMDNS=SSL+TLS_MEM+HTTP_CLIENT+HTTP_SERVER+CORE+WIFI+HTTP_UPDATE+UPDATER+OTA+OOM+MDNS
wifi_kit_8.menu.lvl.SSLTLS_MEMHTTP_CLIENTHTTP_SERVERCOREWIFIHTTP_UPDATEUPDATEROTAOOMMDNS.build.debug_level= -DDEBUG_ESP_SSL -DDEBUG_ESP_TLS_MEM -DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_HTTP_SERVER -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_ESP_OOM -DDEBUG_ESP_MDNS
wifi_kit_8.menu.lvl.SSLTLS_MEMHTTP_CLIENTHTTP_SERVERCOREWIFIHTTP_UPDATEUPDATEROTAOOMMDNSHWDT=SSL+TLS_MEM+HTTP_CLIENT+HTTP_SERVER+CORE+WIFI+HTTP_UPDATE+UPDATER+OTA+OOM+MDNS+HWDT
wifi_kit_8.menu.lvl.SSLTLS_MEMHTTP_CLIENTHTTP_SERVERCOREWIFIHTTP_UPDATEUPDATEROTAOOMMDNSHWDT.build.debug_level= -DDEBUG_ESP_SSL -DDEBUG_ESP_TLS_MEM -DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_HTTP_SERVER -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_ESP_OOM -DDEBUG_ESP_MDNS -DDEBUG_ESP_HWDT
wifi_kit_8.menu.lvl.SSLTLS_MEMHTTP_CLIENTHTTP_SERVERCOREWIFIHTTP_UPDATEUPDATEROTAOOMMDNSHWDT_NOEXTRA4K=SSL+TLS_MEM+HTTP_CLIENT+HTTP_SERVER+CORE+WIFI+HTTP_UPDATE+UPDATER+OTA+OOM+MDNS+HWDT_NOEXTRA4K
wifi_kit_8.menu.lvl.SSLTLS_MEMHTTP_CLIENTHTTP_SERVERCOREWIFIHTTP_UPDATEUPDATEROTAOOMMDNSHWDT_NOEXTRA4K.build.debug_level= -DDEBUG_ESP_SSL -DDEBUG_ESP_TLS_MEM -DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_HTTP_SERVER -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_ESP_OOM -DDEBUG_ESP_MDNS -DDEBUG_ESP_HWDT_NOEXTRA4K
wifi_kit_8.menu.lvl.NoAssert-NDEBUG=NoAssert-NDEBUG
wifi_kit_8.menu.lvl.NoAssert-NDEBUG.build.debug_level= -DNDEBUG
wifi_kit_8.menu.wipe.none=Only Sketch
wifi_kit_8.menu.wipe.none.upload.erase_cmd=
wifi_kit_8.menu.wipe.sdk=Sketch + WiFi Settings
wifi_kit_8.menu.wipe.sdk.upload.erase_cmd=erase_region "{build.rfcal_addr}" 0x4000
wifi_kit_8.menu.wipe.all=All Flash Contents
wifi_kit_8.menu.wipe.all.upload.erase_cmd=erase_flash
wifi_kit_8.menu.baud.115200=115200
wifi_kit_8.menu.baud.115200.upload.speed=115200
wifi_kit_8.menu.baud.57600=57600
wifi_kit_8.menu.baud.57600.upload.speed=57600
wifi_kit_8.menu.baud.230400.linux=230400
wifi_kit_8.menu.baud.230400.macosx=230400
wifi_kit_8.menu.baud.230400.upload.speed=230400
wifi_kit_8.menu.baud.256000.windows=256000
wifi_kit_8.menu.baud.256000.upload.speed=256000
wifi_kit_8.menu.baud.460800.linux=460800
wifi_kit_8.menu.baud.460800.macosx=460800
wifi_kit_8.menu.baud.460800.upload.speed=460800
wifi_kit_8.menu.baud.512000.windows=512000
wifi_kit_8.menu.baud.512000.upload.speed=512000
wifi_kit_8.menu.baud.921600=921600
wifi_kit_8.menu.baud.921600.upload.speed=921600
wifi_kit_8.menu.baud.3000000=3000000
wifi_kit_8.menu.baud.3000000.upload.speed=3000000

##############################################################
wifiduino.name=WiFiduino
wifiduino.build.board=WIFIDUINO_ESP8266
Expand Down
7 changes: 7 additions & 0 deletions doc/boards.rst
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,13 @@ The Adafruit Feather HUZZAH ESP8266 is an Arduino-compatible Wi-Fi development b

Product page: https://www.adafruit.com/product/2821

WiFi Kit 8
----------

The Heltec WiFi Kit 8 is an Arduino-compatible Wi-Fi development board powered by Ai-Thinker's ESP-12S, clocked at 80 MHz at 3.3V logic. A high-quality SiLabs CP2104 USB-Serial chip is included so that you can upload code at a blistering 921600 baud for fast development time. It also has auto-reset so no noodling with pins and reset button pressings. A 3.7V Lithium polymer battery connector is included, making it ideal for portable projects. The Heltec WiFi Kit 8 will automatically recharge a connected battery when USB power is available.

Product page: https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series

Invent One
----------

Expand Down
3 changes: 3 additions & 0 deletions package/package_esp8266com_index.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
{
"name": "Adafruit Feather HUZZAH ESP8266"
},
{
"name": "WiFi Kit 8"
},
{
"name": "Invent One"
},
Expand Down
17 changes: 17 additions & 0 deletions tools/boards.txt.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,23 @@
'Product page: https://www.adafruit.com/product/2821'
],
}),
( 'wifi_kit_8', {
'name': 'WiFi Kit 8',
'opts': {
'.build.board': 'wifi_kit_8',
'.build.variant': 'wifi_kit_8',
},
'macro': [
'resetmethod_nodemcu',
'flashmode_dio',
'flashfreq_40',
'4M',
],
'desc': [ 'The Heltec WiFi Kit 8 is an Arduino-compatible Wi-Fi development board powered by Ai-Thinker\'s ESP-12S, clocked at 80 MHz at 3.3V logic. A high-quality SiLabs CP2104 USB-Serial chip is included so that you can upload code at a blistering 921600 baud for fast development time. It also has auto-reset so no noodling with pins and reset button pressings. A 3.7V Lithium polymer battery connector is included, making it ideal for portable projects. The Heltec WiFi Kit 8 will automatically recharge a connected battery when USB power is available.',
'',
'Product page: https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series'
],
}),
( 'inventone', {
'name': 'Invent One',
'opts': {
Expand Down
54 changes: 54 additions & 0 deletions variants/wifi_kit_8/pins_arduino.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
/*
pins_arduino.h - Pin definition functions for Arduino
Part of Arduino - http://www.arduino.cc/
Copyright (c) 2007 David A. Mellis
Modified for ESP8266 platform by Ivan Grokhotkov, 2014-2015.
Modified for Wifi Kit 8 by G,Neiß, 2021-07-002
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General
Public License along with this library; if not, write to the
Free Software Foundation, Inc., 59 Temple Place, Suite 330,
Boston, MA 02111-1307 USA
$Id: wiring.h 249 2007-02-03 16:52:51Z mellis $
*/

#ifndef Pins_Arduino_h
#define Pins_Arduino_h

#define WIFI_Kit_8 true

#define PIN_WIRE_SDA (4)
#define PIN_WIRE_SCL (5)

static const uint8_t SDA = PIN_WIRE_SDA;
static const uint8_t SCL = PIN_WIRE_SCL;
static const uint8_t OLED_RST = 16;

// Board doesen't have a builtin LED
// #define LED_BUILTIN 0

static const uint8_t D0 = 16;
static const uint8_t D1 = 5;
static const uint8_t D2 = 4;
static const uint8_t D3 = 0;
static const uint8_t D6 = 12;
static const uint8_t D7 = 13;
static const uint8_t D8 = 15;
static const uint8_t RX = 3;
static const uint8_t TX = 1;

#include "../generic/common.h"

#endif /* Pins_Arduino_h */

0 comments on commit 7ba596a

Please sign in to comment.