Skip to content

Commit d41b403

Browse files
authored
board manager: + Agrumino lemon v4 (#7883)
1 parent 83f5f29 commit d41b403

File tree

5 files changed

+309
-0
lines changed

5 files changed

+309
-0
lines changed

boards.txt

+219
Original file line numberDiff line numberDiff line change
@@ -4566,6 +4566,225 @@ d1.menu.baud.512000.upload.speed=512000
45664566
d1.menu.baud.3000000=3000000
45674567
d1.menu.baud.3000000.upload.speed=3000000
45684568

4569+
##############################################################
4570+
agruminolemon.name=Lifely Agrumino Lemon v4
4571+
agruminolemon.build.board=ESP8266_AGRUMINO_LEMON_V4
4572+
agruminolemon.build.variant=agruminolemonv4
4573+
agruminolemon.upload.tool=esptool
4574+
agruminolemon.upload.maximum_data_size=81920
4575+
agruminolemon.upload.wait_for_upload_port=true
4576+
agruminolemon.upload.erase_cmd=
4577+
agruminolemon.serial.disableDTR=true
4578+
agruminolemon.serial.disableRTS=true
4579+
agruminolemon.build.mcu=esp8266
4580+
agruminolemon.build.core=esp8266
4581+
agruminolemon.build.spiffs_pagesize=256
4582+
agruminolemon.build.debug_port=
4583+
agruminolemon.build.debug_level=
4584+
agruminolemon.menu.xtal.80=80 MHz
4585+
agruminolemon.menu.xtal.80.build.f_cpu=80000000L
4586+
agruminolemon.menu.xtal.160=160 MHz
4587+
agruminolemon.menu.xtal.160.build.f_cpu=160000000L
4588+
agruminolemon.menu.vt.flash=Flash
4589+
agruminolemon.menu.vt.flash.build.vtable_flags=-DVTABLES_IN_FLASH
4590+
agruminolemon.menu.vt.heap=Heap
4591+
agruminolemon.menu.vt.heap.build.vtable_flags=-DVTABLES_IN_DRAM
4592+
agruminolemon.menu.vt.iram=IRAM
4593+
agruminolemon.menu.vt.iram.build.vtable_flags=-DVTABLES_IN_IRAM
4594+
agruminolemon.menu.exception.disabled=Disabled (new aborts on oom)
4595+
agruminolemon.menu.exception.disabled.build.exception_flags=-fno-exceptions
4596+
agruminolemon.menu.exception.disabled.build.stdcpp_lib=-lstdc++
4597+
agruminolemon.menu.exception.enabled=Enabled
4598+
agruminolemon.menu.exception.enabled.build.exception_flags=-fexceptions
4599+
agruminolemon.menu.exception.enabled.build.stdcpp_lib=-lstdc++-exc
4600+
agruminolemon.menu.stacksmash.disabled=Disabled
4601+
agruminolemon.menu.stacksmash.disabled.build.stacksmash_flags=
4602+
agruminolemon.menu.stacksmash.enabled=Enabled
4603+
agruminolemon.menu.stacksmash.enabled.build.stacksmash_flags=-fstack-protector
4604+
agruminolemon.menu.ssl.all=All SSL ciphers (most compatible)
4605+
agruminolemon.menu.ssl.all.build.sslflags=
4606+
agruminolemon.menu.ssl.basic=Basic SSL ciphers (lower ROM use)
4607+
agruminolemon.menu.ssl.basic.build.sslflags=-DBEARSSL_SSL_BASIC
4608+
agruminolemon.menu.mmu.3232=32KB cache + 32KB IRAM (balanced)
4609+
agruminolemon.menu.mmu.3232.build.mmuflags=-DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000
4610+
agruminolemon.menu.mmu.4816=16KB cache + 48KB IRAM (IRAM)
4611+
agruminolemon.menu.mmu.4816.build.mmuflags=-DMMU_IRAM_SIZE=0xC000 -DMMU_ICACHE_SIZE=0x4000
4612+
agruminolemon.menu.mmu.4816H=16KB cache + 48KB IRAM and 2nd Heap (shared)
4613+
agruminolemon.menu.mmu.4816H.build.mmuflags=-DMMU_IRAM_SIZE=0xC000 -DMMU_ICACHE_SIZE=0x4000 -DMMU_IRAM_HEAP
4614+
agruminolemon.menu.mmu.3216=16KB cache + 32KB IRAM + 16KB 2nd Heap (not shared)
4615+
agruminolemon.menu.mmu.3216.build.mmuflags=-DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x4000 -DMMU_SEC_HEAP=0x40108000 -DMMU_SEC_HEAP_SIZE=0x4000
4616+
agruminolemon.menu.non32xfer.fast=Use pgm_read macros for IRAM/PROGMEM
4617+
agruminolemon.menu.non32xfer.fast.build.non32xferflags=
4618+
agruminolemon.menu.non32xfer.safe=Byte/Word access to IRAM/PROGMEM (very slow)
4619+
agruminolemon.menu.non32xfer.safe.build.non32xferflags=-DNON32XFER_HANDLER
4620+
agruminolemon.upload.resetmethod=--before default_reset --after hard_reset
4621+
agruminolemon.build.flash_mode=dio
4622+
agruminolemon.build.flash_flags=-DFLASHMODE_DIO
4623+
agruminolemon.build.flash_freq=40
4624+
agruminolemon.menu.eesz.2M64=2MB (FS:64KB OTA:~992KB)
4625+
agruminolemon.menu.eesz.2M64.build.flash_size=2M
4626+
agruminolemon.menu.eesz.2M64.build.flash_size_bytes=0x200000
4627+
agruminolemon.menu.eesz.2M64.build.flash_ld=eagle.flash.2m64.ld
4628+
agruminolemon.menu.eesz.2M64.build.spiffs_pagesize=256
4629+
agruminolemon.menu.eesz.2M64.upload.maximum_size=1044464
4630+
agruminolemon.menu.eesz.2M64.build.rfcal_addr=0x1FC000
4631+
agruminolemon.menu.eesz.2M64.build.spiffs_start=0x1F0000
4632+
agruminolemon.menu.eesz.2M64.build.spiffs_end=0x1FB000
4633+
agruminolemon.menu.eesz.2M64.build.spiffs_blocksize=4096
4634+
agruminolemon.menu.eesz.2M128=2MB (FS:128KB OTA:~960KB)
4635+
agruminolemon.menu.eesz.2M128.build.flash_size=2M
4636+
agruminolemon.menu.eesz.2M128.build.flash_size_bytes=0x200000
4637+
agruminolemon.menu.eesz.2M128.build.flash_ld=eagle.flash.2m128.ld
4638+
agruminolemon.menu.eesz.2M128.build.spiffs_pagesize=256
4639+
agruminolemon.menu.eesz.2M128.upload.maximum_size=1044464
4640+
agruminolemon.menu.eesz.2M128.build.rfcal_addr=0x1FC000
4641+
agruminolemon.menu.eesz.2M128.build.spiffs_start=0x1E0000
4642+
agruminolemon.menu.eesz.2M128.build.spiffs_end=0x1FB000
4643+
agruminolemon.menu.eesz.2M128.build.spiffs_blocksize=4096
4644+
agruminolemon.menu.eesz.2M256=2MB (FS:256KB OTA:~896KB)
4645+
agruminolemon.menu.eesz.2M256.build.flash_size=2M
4646+
agruminolemon.menu.eesz.2M256.build.flash_size_bytes=0x200000
4647+
agruminolemon.menu.eesz.2M256.build.flash_ld=eagle.flash.2m256.ld
4648+
agruminolemon.menu.eesz.2M256.build.spiffs_pagesize=256
4649+
agruminolemon.menu.eesz.2M256.upload.maximum_size=1044464
4650+
agruminolemon.menu.eesz.2M256.build.rfcal_addr=0x1FC000
4651+
agruminolemon.menu.eesz.2M256.build.spiffs_start=0x1C0000
4652+
agruminolemon.menu.eesz.2M256.build.spiffs_end=0x1FB000
4653+
agruminolemon.menu.eesz.2M256.build.spiffs_blocksize=4096
4654+
agruminolemon.menu.eesz.2M512=2MB (FS:512KB OTA:~768KB)
4655+
agruminolemon.menu.eesz.2M512.build.flash_size=2M
4656+
agruminolemon.menu.eesz.2M512.build.flash_size_bytes=0x200000
4657+
agruminolemon.menu.eesz.2M512.build.flash_ld=eagle.flash.2m512.ld
4658+
agruminolemon.menu.eesz.2M512.build.spiffs_pagesize=256
4659+
agruminolemon.menu.eesz.2M512.upload.maximum_size=1044464
4660+
agruminolemon.menu.eesz.2M512.build.rfcal_addr=0x1FC000
4661+
agruminolemon.menu.eesz.2M512.build.spiffs_start=0x180000
4662+
agruminolemon.menu.eesz.2M512.build.spiffs_end=0x1FA000
4663+
agruminolemon.menu.eesz.2M512.build.spiffs_blocksize=8192
4664+
agruminolemon.menu.eesz.2M1M=2MB (FS:1MB OTA:~512KB)
4665+
agruminolemon.menu.eesz.2M1M.build.flash_size=2M
4666+
agruminolemon.menu.eesz.2M1M.build.flash_size_bytes=0x200000
4667+
agruminolemon.menu.eesz.2M1M.build.flash_ld=eagle.flash.2m1m.ld
4668+
agruminolemon.menu.eesz.2M1M.build.spiffs_pagesize=256
4669+
agruminolemon.menu.eesz.2M1M.upload.maximum_size=1044464
4670+
agruminolemon.menu.eesz.2M1M.build.rfcal_addr=0x1FC000
4671+
agruminolemon.menu.eesz.2M1M.build.spiffs_start=0x100000
4672+
agruminolemon.menu.eesz.2M1M.build.spiffs_end=0x1FA000
4673+
agruminolemon.menu.eesz.2M1M.build.spiffs_blocksize=8192
4674+
agruminolemon.menu.eesz.2M=2MB (FS:none OTA:~1019KB)
4675+
agruminolemon.menu.eesz.2M.build.flash_size=2M
4676+
agruminolemon.menu.eesz.2M.build.flash_size_bytes=0x200000
4677+
agruminolemon.menu.eesz.2M.build.flash_ld=eagle.flash.2m.ld
4678+
agruminolemon.menu.eesz.2M.build.spiffs_pagesize=256
4679+
agruminolemon.menu.eesz.2M.upload.maximum_size=1044464
4680+
agruminolemon.menu.eesz.2M.build.rfcal_addr=0x1FC000
4681+
agruminolemon.menu.ip.lm2f=v2 Lower Memory
4682+
agruminolemon.menu.ip.lm2f.build.lwip_include=lwip2/include
4683+
agruminolemon.menu.ip.lm2f.build.lwip_lib=-llwip2-536-feat
4684+
agruminolemon.menu.ip.lm2f.build.lwip_flags=-DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0
4685+
agruminolemon.menu.ip.hb2f=v2 Higher Bandwidth
4686+
agruminolemon.menu.ip.hb2f.build.lwip_include=lwip2/include
4687+
agruminolemon.menu.ip.hb2f.build.lwip_lib=-llwip2-1460-feat
4688+
agruminolemon.menu.ip.hb2f.build.lwip_flags=-DLWIP_OPEN_SRC -DTCP_MSS=1460 -DLWIP_FEATURES=1 -DLWIP_IPV6=0
4689+
agruminolemon.menu.ip.lm2n=v2 Lower Memory (no features)
4690+
agruminolemon.menu.ip.lm2n.build.lwip_include=lwip2/include
4691+
agruminolemon.menu.ip.lm2n.build.lwip_lib=-llwip2-536
4692+
agruminolemon.menu.ip.lm2n.build.lwip_flags=-DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=0 -DLWIP_IPV6=0
4693+
agruminolemon.menu.ip.hb2n=v2 Higher Bandwidth (no features)
4694+
agruminolemon.menu.ip.hb2n.build.lwip_include=lwip2/include
4695+
agruminolemon.menu.ip.hb2n.build.lwip_lib=-llwip2-1460
4696+
agruminolemon.menu.ip.hb2n.build.lwip_flags=-DLWIP_OPEN_SRC -DTCP_MSS=1460 -DLWIP_FEATURES=0 -DLWIP_IPV6=0
4697+
agruminolemon.menu.ip.lm6f=v2 IPv6 Lower Memory
4698+
agruminolemon.menu.ip.lm6f.build.lwip_include=lwip2/include
4699+
agruminolemon.menu.ip.lm6f.build.lwip_lib=-llwip6-536-feat
4700+
agruminolemon.menu.ip.lm6f.build.lwip_flags=-DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=1
4701+
agruminolemon.menu.ip.hb6f=v2 IPv6 Higher Bandwidth
4702+
agruminolemon.menu.ip.hb6f.build.lwip_include=lwip2/include
4703+
agruminolemon.menu.ip.hb6f.build.lwip_lib=-llwip6-1460-feat
4704+
agruminolemon.menu.ip.hb6f.build.lwip_flags=-DLWIP_OPEN_SRC -DTCP_MSS=1460 -DLWIP_FEATURES=1 -DLWIP_IPV6=1
4705+
agruminolemon.menu.dbg.Disabled=Disabled
4706+
agruminolemon.menu.dbg.Disabled.build.debug_port=
4707+
agruminolemon.menu.dbg.Serial=Serial
4708+
agruminolemon.menu.dbg.Serial.build.debug_port=-DDEBUG_ESP_PORT=Serial
4709+
agruminolemon.menu.dbg.Serial1=Serial1
4710+
agruminolemon.menu.dbg.Serial1.build.debug_port=-DDEBUG_ESP_PORT=Serial1
4711+
agruminolemon.menu.lvl.None____=None
4712+
agruminolemon.menu.lvl.None____.build.debug_level=
4713+
agruminolemon.menu.lvl.SSL=SSL
4714+
agruminolemon.menu.lvl.SSL.build.debug_level= -DDEBUG_ESP_SSL
4715+
agruminolemon.menu.lvl.TLS_MEM=TLS_MEM
4716+
agruminolemon.menu.lvl.TLS_MEM.build.debug_level= -DDEBUG_ESP_TLS_MEM
4717+
agruminolemon.menu.lvl.HTTP_CLIENT=HTTP_CLIENT
4718+
agruminolemon.menu.lvl.HTTP_CLIENT.build.debug_level= -DDEBUG_ESP_HTTP_CLIENT
4719+
agruminolemon.menu.lvl.HTTP_SERVER=HTTP_SERVER
4720+
agruminolemon.menu.lvl.HTTP_SERVER.build.debug_level= -DDEBUG_ESP_HTTP_SERVER
4721+
agruminolemon.menu.lvl.SSLTLS_MEM=SSL+TLS_MEM
4722+
agruminolemon.menu.lvl.SSLTLS_MEM.build.debug_level= -DDEBUG_ESP_SSL -DDEBUG_ESP_TLS_MEM
4723+
agruminolemon.menu.lvl.SSLHTTP_CLIENT=SSL+HTTP_CLIENT
4724+
agruminolemon.menu.lvl.SSLHTTP_CLIENT.build.debug_level= -DDEBUG_ESP_SSL -DDEBUG_ESP_HTTP_CLIENT
4725+
agruminolemon.menu.lvl.SSLHTTP_SERVER=SSL+HTTP_SERVER
4726+
agruminolemon.menu.lvl.SSLHTTP_SERVER.build.debug_level= -DDEBUG_ESP_SSL -DDEBUG_ESP_HTTP_SERVER
4727+
agruminolemon.menu.lvl.TLS_MEMHTTP_CLIENT=TLS_MEM+HTTP_CLIENT
4728+
agruminolemon.menu.lvl.TLS_MEMHTTP_CLIENT.build.debug_level= -DDEBUG_ESP_TLS_MEM -DDEBUG_ESP_HTTP_CLIENT
4729+
agruminolemon.menu.lvl.TLS_MEMHTTP_SERVER=TLS_MEM+HTTP_SERVER
4730+
agruminolemon.menu.lvl.TLS_MEMHTTP_SERVER.build.debug_level= -DDEBUG_ESP_TLS_MEM -DDEBUG_ESP_HTTP_SERVER
4731+
agruminolemon.menu.lvl.HTTP_CLIENTHTTP_SERVER=HTTP_CLIENT+HTTP_SERVER
4732+
agruminolemon.menu.lvl.HTTP_CLIENTHTTP_SERVER.build.debug_level= -DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_HTTP_SERVER
4733+
agruminolemon.menu.lvl.SSLTLS_MEMHTTP_CLIENT=SSL+TLS_MEM+HTTP_CLIENT
4734+
agruminolemon.menu.lvl.SSLTLS_MEMHTTP_CLIENT.build.debug_level= -DDEBUG_ESP_SSL -DDEBUG_ESP_TLS_MEM -DDEBUG_ESP_HTTP_CLIENT
4735+
agruminolemon.menu.lvl.SSLTLS_MEMHTTP_SERVER=SSL+TLS_MEM+HTTP_SERVER
4736+
agruminolemon.menu.lvl.SSLTLS_MEMHTTP_SERVER.build.debug_level= -DDEBUG_ESP_SSL -DDEBUG_ESP_TLS_MEM -DDEBUG_ESP_HTTP_SERVER
4737+
agruminolemon.menu.lvl.SSLHTTP_CLIENTHTTP_SERVER=SSL+HTTP_CLIENT+HTTP_SERVER
4738+
agruminolemon.menu.lvl.SSLHTTP_CLIENTHTTP_SERVER.build.debug_level= -DDEBUG_ESP_SSL -DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_HTTP_SERVER
4739+
agruminolemon.menu.lvl.TLS_MEMHTTP_CLIENTHTTP_SERVER=TLS_MEM+HTTP_CLIENT+HTTP_SERVER
4740+
agruminolemon.menu.lvl.TLS_MEMHTTP_CLIENTHTTP_SERVER.build.debug_level= -DDEBUG_ESP_TLS_MEM -DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_HTTP_SERVER
4741+
agruminolemon.menu.lvl.SSLTLS_MEMHTTP_CLIENTHTTP_SERVER=SSL+TLS_MEM+HTTP_CLIENT+HTTP_SERVER
4742+
agruminolemon.menu.lvl.SSLTLS_MEMHTTP_CLIENTHTTP_SERVER.build.debug_level= -DDEBUG_ESP_SSL -DDEBUG_ESP_TLS_MEM -DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_HTTP_SERVER
4743+
agruminolemon.menu.lvl.CORE=CORE
4744+
agruminolemon.menu.lvl.CORE.build.debug_level= -DDEBUG_ESP_CORE
4745+
agruminolemon.menu.lvl.WIFI=WIFI
4746+
agruminolemon.menu.lvl.WIFI.build.debug_level= -DDEBUG_ESP_WIFI
4747+
agruminolemon.menu.lvl.HTTP_UPDATE=HTTP_UPDATE
4748+
agruminolemon.menu.lvl.HTTP_UPDATE.build.debug_level= -DDEBUG_ESP_HTTP_UPDATE
4749+
agruminolemon.menu.lvl.UPDATER=UPDATER
4750+
agruminolemon.menu.lvl.UPDATER.build.debug_level= -DDEBUG_ESP_UPDATER
4751+
agruminolemon.menu.lvl.OTA=OTA
4752+
agruminolemon.menu.lvl.OTA.build.debug_level= -DDEBUG_ESP_OTA
4753+
agruminolemon.menu.lvl.OOM=OOM
4754+
agruminolemon.menu.lvl.OOM.build.debug_level= -DDEBUG_ESP_OOM
4755+
agruminolemon.menu.lvl.MDNS=MDNS
4756+
agruminolemon.menu.lvl.MDNS.build.debug_level= -DDEBUG_ESP_MDNS
4757+
agruminolemon.menu.lvl.COREWIFIHTTP_UPDATEUPDATEROTAOOMMDNS=CORE+WIFI+HTTP_UPDATE+UPDATER+OTA+OOM+MDNS
4758+
agruminolemon.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
4759+
agruminolemon.menu.lvl.SSLTLS_MEMHTTP_CLIENTHTTP_SERVERCOREWIFIHTTP_UPDATEUPDATEROTAOOMMDNS=SSL+TLS_MEM+HTTP_CLIENT+HTTP_SERVER+CORE+WIFI+HTTP_UPDATE+UPDATER+OTA+OOM+MDNS
4760+
agruminolemon.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
4761+
agruminolemon.menu.lvl.NoAssert-NDEBUG=NoAssert-NDEBUG
4762+
agruminolemon.menu.lvl.NoAssert-NDEBUG.build.debug_level= -DNDEBUG
4763+
agruminolemon.menu.wipe.none=Only Sketch
4764+
agruminolemon.menu.wipe.none.upload.erase_cmd=
4765+
agruminolemon.menu.wipe.sdk=Sketch + WiFi Settings
4766+
agruminolemon.menu.wipe.sdk.upload.erase_cmd=erase_region "{build.rfcal_addr}" 0x4000
4767+
agruminolemon.menu.wipe.all=All Flash Contents
4768+
agruminolemon.menu.wipe.all.upload.erase_cmd=erase_flash
4769+
agruminolemon.menu.baud.115200=115200
4770+
agruminolemon.menu.baud.115200.upload.speed=115200
4771+
agruminolemon.menu.baud.57600=57600
4772+
agruminolemon.menu.baud.57600.upload.speed=57600
4773+
agruminolemon.menu.baud.230400.linux=230400
4774+
agruminolemon.menu.baud.230400.macosx=230400
4775+
agruminolemon.menu.baud.230400.upload.speed=230400
4776+
agruminolemon.menu.baud.256000.windows=256000
4777+
agruminolemon.menu.baud.256000.upload.speed=256000
4778+
agruminolemon.menu.baud.460800.linux=460800
4779+
agruminolemon.menu.baud.460800.macosx=460800
4780+
agruminolemon.menu.baud.460800.upload.speed=460800
4781+
agruminolemon.menu.baud.512000.windows=512000
4782+
agruminolemon.menu.baud.512000.upload.speed=512000
4783+
agruminolemon.menu.baud.921600=921600
4784+
agruminolemon.menu.baud.921600.upload.speed=921600
4785+
agruminolemon.menu.baud.3000000=3000000
4786+
agruminolemon.menu.baud.3000000.upload.speed=3000000
4787+
45694788
##############################################################
45704789
nodemcu.name=NodeMCU 0.9 (ESP-12 Module)
45714790
nodemcu.build.board=ESP8266_NODEMCU_ESP12

doc/boards.rst

+12
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,18 @@ ESP8285 (`datasheet <http://www.espressif.com/sites/default/files/0a-esp8285_dat
207207

208208
Note that since ESP8285 has SPI flash memory internally connected in DOUT mode, pins 9 and 10 may be used as GPIO / I2C / PWM pins.
209209

210+
Lifely Agrumino Lemon v4
211+
------------------------
212+
213+
Procuct page https://www.lifely.cc
214+
215+
This Board "Lifely Agrumino Lemon" is based with WT8266-S1 core with WiFi 2,4Ghz and 2MB of Flash.
216+
Power
217+
Micro usb power cable, Lir2450 rechargeable battery (or not rechargeable)or with JST connector in the back board Max 6 Vin
218+
Libraries and examples
219+
Download libraries from: Official Arduino Ide, our website https://www.lifely.cc or https://github.com./lifely-cc/
220+
Full pinout and PDF for setup here https://www.lifely.cc our libraries is OpenSource
221+
210222
ESPDuino (ESP-13 Module)
211223
------------------------
212224

package/package_esp8266com_index.template.json

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
{
2424
"name": "Generic ESP8285 Module"
2525
},
26+
{
27+
"name": "Lifely Agrumino Lemon v4"
28+
},
2629
{
2730
"name": "ESPDuino (ESP-13 Module)"
2831
},

tools/boards.txt.py

+22
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,28 @@
295295
'Note that since ESP8285 has SPI flash memory internally connected in DOUT mode, pins 9 and 10 may be used as GPIO / I2C / PWM pins.',
296296
],
297297
}),
298+
( 'agruminolemon', {
299+
'name': 'Lifely Agrumino Lemon v4',
300+
'opts': collections.OrderedDict([
301+
( '.build.board', 'ESP8266_AGRUMINO_LEMON_V4' ),
302+
( '.build.variant', 'agruminolemonv4' ),
303+
]),
304+
'macro': [
305+
'resetmethod_nodemcu',
306+
'flashmode_dio',
307+
'flashfreq_40',
308+
'2M',
309+
],
310+
'desc': [ 'Procuct page https://www.lifely.cc',
311+
'',
312+
'This Board "Lifely Agrumino Lemon" is based with WT8266-S1 core with WiFi 2,4Ghz and 2MB of Flash.',
313+
'Power',
314+
'Micro usb power cable, Lir2450 rechargeable battery (or not rechargeable)or with JST connector in the back board Max 6 Vin',
315+
'Libraries and examples',
316+
'Download libraries from: Official Arduino Ide, our website https://www.lifely.cc or https://github.com./lifely-cc/',
317+
'Full pinout and PDF for setup here https://www.lifely.cc our libraries is OpenSource',
318+
],
319+
}),
298320
( 'espduino', {
299321
'name': 'ESPDuino (ESP-13 Module)',
300322
'opts': collections.OrderedDict([
+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
/*
2+
pins_arduino.h - Pin definition functions for Arduino
3+
Part of Arduino - http://www.arduino.cc/
4+
5+
Copyright (c) 2007 David A. Mellis
6+
Modified for ESP8266 platform by Ivan Grokhotkov, 2014-2015.
7+
8+
This library is free software; you can redistribute it and/or
9+
modify it under the terms of the GNU Lesser General Public
10+
License as published by the Free Software Foundation; either
11+
version 2.1 of the License, or (at your option) any later version.
12+
13+
This library is distributed in the hope that it will be useful,
14+
but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16+
Lesser General Public License for more details.
17+
18+
You should have received a copy of the GNU Lesser General
19+
Public License along with this library; if not, write to the
20+
Free Software Foundation, Inc., 59 Temple Place, Suite 330,
21+
Boston, MA 02111-1307 USA
22+
23+
$Id: wiring.h 249 2007-02-03 16:52:51Z mellis $
24+
*/
25+
26+
#ifndef Pins_Arduino_h
27+
#define Pins_Arduino_h
28+
29+
#define LED_BUILTIN 2
30+
31+
// PINOUT Agrumino Implemented
32+
#define PIN_SDA 2 // [X] BOOT: Must be HIGH at boot
33+
#define PIN_SCL 14 // [X]
34+
#define PIN_PUMP 12 // [X]
35+
#define PIN_BTN_S1 4 // [X] Same as Internal WT8266 LED
36+
#define PIN_USB_DETECT 5 // [X]
37+
#define PIN_MOSFET 15 // [X] BOOT: Must be LOW at boot
38+
#define PIN_BATT_STAT 13 // [X]
39+
#define PIN_LEVEL 0 // [ ] BOOT: HIGH for Running and LOW for Program
40+
41+
static constexpr uint8_t D0 = 16;
42+
static constexpr uint8_t RX = 3;
43+
static constexpr uint8_t TX = 1;
44+
45+
#define PIN_WIRE_SDA PIN_SDA
46+
#define PIN_WIRE_SCL PIN_SCL
47+
48+
static constexpr uint8_t SDA = PIN_WIRE_SDA;
49+
static constexpr uint8_t SCL = PIN_WIRE_SCL;
50+
51+
#include "../generic/common.h"
52+
53+
#endif /* Pins_Arduino_h */

0 commit comments

Comments
 (0)