Skip to content

Commit 222e92a

Browse files
naztigrr
authored andcommitted
Add new boards Phoenix 1.0 & Phoenix 2.0 (#2088)
* Add new boards Phoenix 1.0, Phoenix 2.0 * ESP8266HTTPClient: fix duplicate Content-Length headers (#1902) * Add new boards Phoenix 1.0, Phoenix 2.0 * Add phoenix in variants.
1 parent 2f933e2 commit 222e92a

File tree

5 files changed

+303
-0
lines changed

5 files changed

+303
-0
lines changed

Diff for: boards.txt

+210
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,216 @@ espresso_lite_v2.menu.DebugLevel.all_____.build.debug_level=-DDEBUG_ESP_CORE -DD
665665
espresso_lite_v2.build.debug_port=
666666
espresso_lite_v2.build.debug_level=
667667

668+
##############################################################
669+
phoenix_v1.name=Phoenix 1.0
670+
phoenix_v1.upload.tool=esptool
671+
phoenix_v1.upload.speed=115200
672+
phoenix_v1.upload.maximum_size=1044464
673+
phoenix_v1.upload.maximum_data_size=81920
674+
phoenix_v1.upload.wait_for_upload_port=true
675+
676+
phoenix_v1.build.mcu=esp8266
677+
phoenix_v1.build.f_cpu=80000000L
678+
phoenix_v1.build.board=ESP8266_PHOENIX_V1
679+
phoenix_v1.build.core=esp8266
680+
phoenix_v1.build.variant=phoenix_v1
681+
phoenix_v1.build.flash_mode=dio
682+
phoenix_v1.build.flash_size=4M
683+
phoenix_v1.build.flash_freq=40
684+
685+
phoenix_v1.menu.CpuFrequency.80=80 MHz
686+
phoenix_v1.menu.CpuFrequency.80.build.f_cpu=80000000L
687+
phoenix_v1.menu.CpuFrequency.160=160 MHz
688+
phoenix_v1.menu.CpuFrequency.160.build.f_cpu=160000000L
689+
690+
phoenix_v1.menu.UploadSpeed.115200=115200
691+
phoenix_v1.menu.UploadSpeed.115200.upload.speed=115200
692+
phoenix_v1.menu.UploadSpeed.57600=57600
693+
phoenix_v1.menu.UploadSpeed.57600.upload.speed=57600
694+
phoenix_v1.menu.UploadSpeed.256000.windows=256000
695+
phoenix_v1.menu.UploadSpeed.256000.upload.speed=256000
696+
phoenix_v1.menu.UploadSpeed.230400.linux=230400
697+
phoenix_v1.menu.UploadSpeed.230400.macosx=230400
698+
phoenix_v1.menu.UploadSpeed.230400.macosx=230400
699+
phoenix_v1.menu.UploadSpeed.230400.upload.speed=230400
700+
phoenix_v1.menu.UploadSpeed.460800.linux=460800
701+
phoenix_v1.menu.UploadSpeed.460800.macosx=460800
702+
phoenix_v1.menu.UploadSpeed.460800.upload.speed=460800
703+
phoenix_v1.menu.UploadSpeed.512000.windows=512000
704+
phoenix_v1.menu.UploadSpeed.512000.upload.speed=512000
705+
phoenix_v1.menu.UploadSpeed.921600=921600
706+
phoenix_v1.menu.UploadSpeed.921600.upload.speed=921600
707+
708+
phoenix_v1.menu.FlashSize.4M3M=4M (3M SPIFFS)
709+
phoenix_v1.menu.FlashSize.4M3M.build.flash_size=4M
710+
phoenix_v1.menu.FlashSize.4M3M.build.flash_ld=eagle.flash.4m.ld
711+
phoenix_v1.menu.FlashSize.4M3M.build.spiffs_start=0x100000
712+
phoenix_v1.menu.FlashSize.4M3M.build.spiffs_end=0x3FB000
713+
phoenix_v1.menu.FlashSize.4M3M.build.spiffs_blocksize=8192
714+
phoenix_v1.menu.FlashSize.4M3M.upload.maximum_size=1044464
715+
716+
phoenix_v1.menu.FlashSize.4M1M=4M (1M SPIFFS)
717+
phoenix_v1.menu.FlashSize.4M1M.build.flash_size=4M
718+
phoenix_v1.menu.FlashSize.4M1M.build.flash_ld=eagle.flash.4m1m.ld
719+
phoenix_v1.menu.FlashSize.4M1M.build.spiffs_start=0x300000
720+
phoenix_v1.menu.FlashSize.4M1M.build.spiffs_end=0x3FB000
721+
phoenix_v1.menu.FlashSize.4M1M.build.spiffs_blocksize=8192
722+
phoenix_v1.menu.FlashSize.4M1M.build.spiffs_pagesize=256
723+
phoenix_v1.menu.FlashSize.4M1M.upload.maximum_size=1044464
724+
725+
phoenix_v1.menu.ResetMethod.nodemcu=nodemcu
726+
phoenix_v1.menu.ResetMethod.nodemcu.upload.resetmethod=nodemcu
727+
phoenix_v1.menu.ResetMethod.ck=ck
728+
phoenix_v1.menu.ResetMethod.ck.upload.resetmethod=ck
729+
730+
phoenix_v1.menu.Debug.Disabled=Disabled
731+
phoenix_v1.menu.Debug.Disabled.build.debug_port=
732+
phoenix_v1.menu.Debug.Serial=Serial
733+
phoenix_v1.menu.Debug.Serial.build.debug_port=-DDEBUG_ESP_PORT=Serial
734+
phoenix_v1.menu.Debug.Serial1=Serial1
735+
phoenix_v1.menu.Debug.Serial1.build.debug_port=-DDEBUG_ESP_PORT=Serial1
736+
737+
phoenix_v1.menu.DebugLevel.None____=None
738+
phoenix_v1.menu.DebugLevel.None____.build.debug_level=
739+
phoenix_v1.menu.DebugLevel.Core____=Core
740+
phoenix_v1.menu.DebugLevel.Core____.build.debug_level=-DDEBUG_ESP_CORE
741+
phoenix_v1.menu.DebugLevel.SSL_____=Core + SSL
742+
phoenix_v1.menu.DebugLevel.SSL_____.build.debug_level=-DDEBUG_ESP_CORE -DDEBUG_ESP_SSL
743+
phoenix_v1.menu.DebugLevel.SSL_MEM_=Core + SSL + TLS Mem
744+
phoenix_v1.menu.DebugLevel.SSL_MEM_.build.debug_level=-DDEBUG_ESP_CORE -DDEBUG_ESP_SSL -DDEBUG_TLS_MEM
745+
phoenix_v1.menu.DebugLevel.WiFic___=Core + WiFi
746+
phoenix_v1.menu.DebugLevel.WiFic___.build.debug_level=-DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI
747+
phoenix_v1.menu.DebugLevel.WiFi____=WiFi
748+
phoenix_v1.menu.DebugLevel.WiFi____.build.debug_level=-DDEBUG_ESP_WIFI
749+
phoenix_v1.menu.DebugLevel.HTTPClient=HTTPClient
750+
phoenix_v1.menu.DebugLevel.HTTPClient.build.debug_level=-DDEBUG_ESP_HTTP_CLIENT
751+
phoenix_v1.menu.DebugLevel.HTTPClient2=HTTPClient + SSL
752+
phoenix_v1.menu.DebugLevel.HTTPClient2.build.debug_level=-DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_SSL
753+
phoenix_v1.menu.DebugLevel.HTTPUpdate=HTTPUpdate
754+
phoenix_v1.menu.DebugLevel.HTTPUpdate.build.debug_level=-DDEBUG_ESP_HTTP_UPDATE
755+
phoenix_v1.menu.DebugLevel.HTTPUpdate2=HTTPClient + HTTPUpdate
756+
phoenix_v1.menu.DebugLevel.HTTPUpdate2.build.debug_level=-DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_HTTP_UPDATE
757+
phoenix_v1.menu.DebugLevel.HTTPUpdate3=HTTPClient + HTTPUpdate + Updater
758+
phoenix_v1.menu.DebugLevel.HTTPUpdate3.build.debug_level=-DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER
759+
phoenix_v1.menu.DebugLevel.HTTPServer=HTTPServer
760+
phoenix_v1.menu.DebugLevel.HTTPServer.build.debug_level=-DDEBUG_ESP_HTTP_SERVER
761+
phoenix_v1.menu.DebugLevel.UPDATER=Updater
762+
phoenix_v1.menu.DebugLevel.UPDATER.build.debug_level=-DDEBUG_ESP_UPDATER
763+
phoenix_v1.menu.DebugLevel.OTA_____=OTA
764+
phoenix_v1.menu.DebugLevel.OTA_____.build.debug_level=-DDEBUG_ESP_OTA
765+
phoenix_v1.menu.DebugLevel.OTA2____=OTA + Updater
766+
phoenix_v1.menu.DebugLevel.OTA2____.build.debug_level=-DDEBUG_ESP_OTA -DDEBUG_ESP_UPDATER
767+
phoenix_v1.menu.DebugLevel.all_____=All
768+
phoenix_v1.menu.DebugLevel.all_____.build.debug_level=-DDEBUG_ESP_CORE -DDEBUG_ESP_SSL -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_HTTP_SERVER -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_TLS_MEM
769+
770+
phoenix_v1.build.debug_port=
771+
phoenix_v1.build.debug_level=
772+
773+
##############################################################
774+
phoenix_v2.name=Phoenix 2.0
775+
phoenix_v2.upload.tool=esptool
776+
phoenix_v2.upload.speed=115200
777+
phoenix_v2.upload.maximum_size=1044464
778+
phoenix_v2.upload.maximum_data_size=81920
779+
phoenix_v2.upload.wait_for_upload_port=true
780+
781+
phoenix_v2.build.mcu=esp8266
782+
phoenix_v2.build.f_cpu=80000000L
783+
phoenix_v2.build.board=ESP8266_PHOENIX_V2
784+
phoenix_v2.build.core=esp8266
785+
phoenix_v2.build.variant=phoenix_v2
786+
phoenix_v2.build.flash_mode=dio
787+
phoenix_v2.build.flash_size=4M
788+
phoenix_v2.build.flash_freq=40
789+
790+
phoenix_v2.menu.CpuFrequency.80=80 MHz
791+
phoenix_v2.menu.CpuFrequency.80.build.f_cpu=80000000L
792+
phoenix_v2.menu.CpuFrequency.160=160 MHz
793+
phoenix_v2.menu.CpuFrequency.160.build.f_cpu=160000000L
794+
795+
phoenix_v2.menu.UploadSpeed.115200=115200
796+
phoenix_v2.menu.UploadSpeed.115200.upload.speed=115200
797+
phoenix_v2.menu.UploadSpeed.57600=57600
798+
phoenix_v2.menu.UploadSpeed.57600.upload.speed=57600
799+
phoenix_v2.menu.UploadSpeed.256000.windows=256000
800+
phoenix_v2.menu.UploadSpeed.256000.upload.speed=256000
801+
phoenix_v2.menu.UploadSpeed.230400.linux=230400
802+
phoenix_v2.menu.UploadSpeed.230400.macosx=230400
803+
phoenix_v2.menu.UploadSpeed.230400.macosx=230400
804+
phoenix_v2.menu.UploadSpeed.230400.upload.speed=230400
805+
phoenix_v2.menu.UploadSpeed.460800.linux=460800
806+
phoenix_v2.menu.UploadSpeed.460800.macosx=460800
807+
phoenix_v2.menu.UploadSpeed.460800.upload.speed=460800
808+
phoenix_v2.menu.UploadSpeed.512000.windows=512000
809+
phoenix_v2.menu.UploadSpeed.512000.upload.speed=512000
810+
phoenix_v2.menu.UploadSpeed.921600=921600
811+
phoenix_v2.menu.UploadSpeed.921600.upload.speed=921600
812+
813+
phoenix_v2.menu.FlashSize.4M3M=4M (3M SPIFFS)
814+
phoenix_v2.menu.FlashSize.4M3M.build.flash_size=4M
815+
phoenix_v2.menu.FlashSize.4M3M.build.flash_ld=eagle.flash.4m.ld
816+
phoenix_v2.menu.FlashSize.4M3M.build.spiffs_start=0x100000
817+
phoenix_v2.menu.FlashSize.4M3M.build.spiffs_end=0x3FB000
818+
phoenix_v2.menu.FlashSize.4M3M.build.spiffs_blocksize=8192
819+
phoenix_v2.menu.FlashSize.4M3M.upload.maximum_size=1044464
820+
821+
phoenix_v2.menu.FlashSize.4M1M=4M (1M SPIFFS)
822+
phoenix_v2.menu.FlashSize.4M1M.build.flash_size=4M
823+
phoenix_v2.menu.FlashSize.4M1M.build.flash_ld=eagle.flash.4m1m.ld
824+
phoenix_v2.menu.FlashSize.4M1M.build.spiffs_start=0x300000
825+
phoenix_v2.menu.FlashSize.4M1M.build.spiffs_end=0x3FB000
826+
phoenix_v2.menu.FlashSize.4M1M.build.spiffs_blocksize=8192
827+
phoenix_v2.menu.FlashSize.4M1M.build.spiffs_pagesize=256
828+
phoenix_v2.menu.FlashSize.4M1M.upload.maximum_size=1044464
829+
830+
phoenix_v2.menu.ResetMethod.ck=ck
831+
phoenix_v2.menu.ResetMethod.ck.upload.resetmethod=ck
832+
phoenix_v2.menu.ResetMethod.nodemcu=nodemcu
833+
phoenix_v2.menu.ResetMethod.nodemcu.upload.resetmethod=nodemcu
834+
835+
phoenix_v2.menu.Debug.Disabled=Disabled
836+
phoenix_v2.menu.Debug.Disabled.build.debug_port=
837+
phoenix_v2.menu.Debug.Serial=Serial
838+
phoenix_v2.menu.Debug.Serial.build.debug_port=-DDEBUG_ESP_PORT=Serial
839+
phoenix_v2.menu.Debug.Serial1=Serial1
840+
phoenix_v2.menu.Debug.Serial1.build.debug_port=-DDEBUG_ESP_PORT=Serial1
841+
842+
phoenix_v2.menu.DebugLevel.None____=None
843+
phoenix_v2.menu.DebugLevel.None____.build.debug_level=
844+
phoenix_v2.menu.DebugLevel.Core____=Core
845+
phoenix_v2.menu.DebugLevel.Core____.build.debug_level=-DDEBUG_ESP_CORE
846+
phoenix_v2.menu.DebugLevel.SSL_____=Core + SSL
847+
phoenix_v2.menu.DebugLevel.SSL_____.build.debug_level=-DDEBUG_ESP_CORE -DDEBUG_ESP_SSL
848+
phoenix_v2.menu.DebugLevel.SSL_MEM_=Core + SSL + TLS Mem
849+
phoenix_v2.menu.DebugLevel.SSL_MEM_.build.debug_level=-DDEBUG_ESP_CORE -DDEBUG_ESP_SSL -DDEBUG_TLS_MEM
850+
phoenix_v2.menu.DebugLevel.WiFic___=Core + WiFi
851+
phoenix_v2.menu.DebugLevel.WiFic___.build.debug_level=-DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI
852+
phoenix_v2.menu.DebugLevel.WiFi____=WiFi
853+
phoenix_v2.menu.DebugLevel.WiFi____.build.debug_level=-DDEBUG_ESP_WIFI
854+
phoenix_v2.menu.DebugLevel.HTTPClient=HTTPClient
855+
phoenix_v2.menu.DebugLevel.HTTPClient.build.debug_level=-DDEBUG_ESP_HTTP_CLIENT
856+
phoenix_v2.menu.DebugLevel.HTTPClient2=HTTPClient + SSL
857+
phoenix_v2.menu.DebugLevel.HTTPClient2.build.debug_level=-DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_SSL
858+
phoenix_v2.menu.DebugLevel.HTTPUpdate=HTTPUpdate
859+
phoenix_v2.menu.DebugLevel.HTTPUpdate.build.debug_level=-DDEBUG_ESP_HTTP_UPDATE
860+
phoenix_v2.menu.DebugLevel.HTTPUpdate2=HTTPClient + HTTPUpdate
861+
phoenix_v2.menu.DebugLevel.HTTPUpdate2.build.debug_level=-DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_HTTP_UPDATE
862+
phoenix_v2.menu.DebugLevel.HTTPUpdate3=HTTPClient + HTTPUpdate + Updater
863+
phoenix_v2.menu.DebugLevel.HTTPUpdate3.build.debug_level=-DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER
864+
phoenix_v2.menu.DebugLevel.HTTPServer=HTTPServer
865+
phoenix_v2.menu.DebugLevel.HTTPServer.build.debug_level=-DDEBUG_ESP_HTTP_SERVER
866+
phoenix_v2.menu.DebugLevel.UPDATER=Updater
867+
phoenix_v2.menu.DebugLevel.UPDATER.build.debug_level=-DDEBUG_ESP_UPDATER
868+
phoenix_v2.menu.DebugLevel.OTA_____=OTA
869+
phoenix_v2.menu.DebugLevel.OTA_____.build.debug_level=-DDEBUG_ESP_OTA
870+
phoenix_v2.menu.DebugLevel.OTA2____=OTA + Updater
871+
phoenix_v2.menu.DebugLevel.OTA2____.build.debug_level=-DDEBUG_ESP_OTA -DDEBUG_ESP_UPDATER
872+
phoenix_v2.menu.DebugLevel.all_____=All
873+
phoenix_v2.menu.DebugLevel.all_____.build.debug_level=-DDEBUG_ESP_CORE -DDEBUG_ESP_SSL -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_HTTP_SERVER -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_TLS_MEM
874+
875+
phoenix_v2.build.debug_port=
876+
phoenix_v2.build.debug_level=
877+
668878
##############################################################
669879
nodemcu.name=NodeMCU 0.9 (ESP-12 Module)
670880

Diff for: doc/boards.md

+9
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ title: Supported Hardware
1212
* [Olimex MOD\-WIFI\-ESP8266\-DEV](#olimex-mod-wifi-esp8266-dev)
1313
* [Olimex MOD\-WIFI\-ESP8266](#olimex-mod-wifi-esp8266)
1414
* [Olimex ESP8266\-EVB](#olimex-esp8266-evb)
15+
* [Phoenix 1\.0](#phoenix-10)
16+
* [Phoenix 2\.0](#phoenix-20)
1517
* [SparkFun ESP8266 Thing](#sparkfun-esp8266-thing)
1618
* [SweetPea ESP\-210](#sweetpea-esp-210)
1719
* [ESPino](#espino)
@@ -44,6 +46,13 @@ ESPresso Lite 1.0 (beta version) is an Arduino-compatible Wi-Fi development boar
4446

4547
ESPresso Lite 2.0 is an Arduino-compatible Wi-Fi development board based on an earlier V1 (beta version). Re-designed together with Cytron Technologies, the newly-revised ESPresso Lite V2.0 features the auto-load/auto-program function, eliminating the previous need to reset the board manually before flashing a new program. It also feature two user programmable side buttons and a reset button. The special distinctive features of on-board pads for I2C sensor and actuator is retained.
4648

49+
## Phoenix 1.0
50+
51+
Product page: http://www.espert.co
52+
53+
## Phoenix 2.0
54+
55+
Product page: http://www.espert.co
4756

4857
## NodeMCU 0.9
4958

Diff for: package/package_esp8266com_index.template.json

+6
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@
4343
{
4444
"name": "ESPresso Lite 2.0"
4545
},
46+
{
47+
"name": "Phoenix 1.0"
48+
},
49+
{
50+
"name": "Phoenix 2.0"
51+
},
4652
{
4753
"name": "SparkFun Thing"
4854
},

Diff for: variants/phoenix_v1/pins_arduino.h

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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+
#include "../generic/common.h"
30+
31+
#define PHOENIX_VERSION 1
32+
33+
static const uint8_t SDA = 4;
34+
static const uint8_t SCL = 5;
35+
36+
static const uint8_t LED_BUILTIN = 16;
37+
static const uint8_t BUILTIN_LED = 16;
38+
39+
#endif /* Pins_Arduino_h */

Diff for: variants/phoenix_v2/pins_arduino.h

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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+
#include "../generic/common.h"
30+
31+
#define PHOENIX_VERSION 2
32+
33+
static const uint8_t SDA = 4;
34+
static const uint8_t SCL = 5;
35+
36+
static const uint8_t LED_BUILTIN = 2;
37+
static const uint8_t BUILTIN_LED = 2;
38+
39+
#endif /* Pins_Arduino_h */

0 commit comments

Comments
 (0)