forked from emsesp/EMS-ESP32
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
166 changed files
with
2,089 additions
and
10,436 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,6 +44,8 @@ jobs: | |
- name: Build all PIO target environments from default_envs | ||
run: | | ||
platformio run | ||
env: | ||
NO_BUILD_WEBUI: true | ||
|
||
- name: Create GitHub Release | ||
uses: emsesp/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,24 +12,30 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Enable Corepack | ||
run: corepack enable | ||
|
||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.11' | ||
|
||
- name: Use Node.js 20.x | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20.x' | ||
|
||
- name: Get EMS-ESP source code and version | ||
id: build_info | ||
run: | | ||
version=`grep -E '^#define EMSESP_APP_VERSION' ./src/version.h | awk -F'"' '{print $2}'` | ||
echo "VERSION=$version" >> $GITHUB_OUTPUT | ||
- name: Install PlatformIO | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -U platformio | ||
- name: Build WebUI | ||
run: | | ||
cd interface | ||
|
@@ -38,9 +44,13 @@ jobs: | |
sed -i "s/= 'pl'/= 'en'/" ./src/i18n/i18n-util.ts | ||
yarn build | ||
yarn webUI | ||
- name: Build all target environments from default_envs | ||
run: | | ||
platformio run | ||
env: | ||
NO_BUILD_WEBUI: true | ||
|
||
- name: Create GitHub Release | ||
id: 'automatic_releases' | ||
uses: emsesp/[email protected] | ||
|
@@ -52,3 +62,4 @@ jobs: | |
files: | | ||
CHANGELOG_LATEST.md | ||
./build/firmware/*.* | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"build": { | ||
"arduino": { | ||
"ldscript": "esp32c3_out.ld" | ||
}, | ||
"core": "esp32", | ||
"extra_flags": [ | ||
"-DARDUINO_LOLIN_C3_MINI", | ||
"-DARDUINO_USB_MODE=1", | ||
"-DARDUINO_USB_CDC_ON_BOOT=1" | ||
], | ||
"f_cpu": "160000000L", | ||
"f_flash": "80000000L", | ||
"flash_mode": "qio", | ||
"hwids": [ | ||
[ | ||
"0X303A", | ||
"0x1001" | ||
] | ||
], | ||
"mcu": "esp32c3", | ||
"variant": "lolin_c3_mini" | ||
}, | ||
"connectivity": [ | ||
"wifi" | ||
], | ||
"debug": { | ||
"openocd_target": "esp32c3.cfg" | ||
}, | ||
"frameworks": [ | ||
"arduino", | ||
"espidf" | ||
], | ||
"name": "WEMOS LOLIN C3 Mini", | ||
"upload": { | ||
"flash_size": "4MB", | ||
"maximum_ram_size": 327680, | ||
"maximum_size": 4194304, | ||
"require_upload_port": true, | ||
"speed": 460800 | ||
}, | ||
"url": "https://www.wemos.cc/en/latest/c3/c3_mini.html", | ||
"vendor": "WEMOS" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"build": { | ||
"arduino": { | ||
"ldscript": "esp32s2_out.ld" | ||
}, | ||
"core": "esp32", | ||
"extra_flags": [ | ||
"-DBOARD_HAS_PSRAM", | ||
"-DTASMOTA_SDK", | ||
"-DARDUINO_USB_CDC_ON_BOOT=1", | ||
"-DARDUINO_USB_MODE=0" | ||
], | ||
"f_cpu": "240000000L", | ||
"f_flash": "80000000L", | ||
"flash_mode": "dio", | ||
"hwids": [ | ||
[ | ||
"0X303A", | ||
"0x80C2" | ||
] | ||
], | ||
"mcu": "esp32s2", | ||
"variant": "lolin_s2_mini" | ||
}, | ||
"connectivity": [ | ||
"wifi" | ||
], | ||
"debug": { | ||
"openocd_target": "esp32s2.cfg" | ||
}, | ||
"frameworks": [ | ||
"arduino", | ||
"espidf" | ||
], | ||
"name": "WEMOS LOLIN S2 Mini", | ||
"upload": { | ||
"flash_size": "4MB", | ||
"maximum_ram_size": 327680, | ||
"maximum_size": 4194304, | ||
"use_1200bps_touch": true, | ||
"wait_for_upload_port": true, | ||
"require_upload_port": true, | ||
"speed": 921600 | ||
}, | ||
"url": "https://www.wemos.cc/en/latest/s2/s2_mini.html", | ||
"vendor": "WEMOS" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"build": { | ||
"core": "esp32", | ||
"extra_flags": [ | ||
"-DBOARD_HAS_PSRAM", | ||
"-DARDUINO_USB_MODE=1", | ||
"-DARDUINO_USB_CDC_ON_BOOT=1", | ||
"-DARDUINO_RUNNING_CORE=1", | ||
"-DARDUINO_EVENT_RUNNING_CORE=1" | ||
], | ||
"f_cpu": "240000000L", | ||
"f_flash": "80000000L", | ||
"flash_mode": "qio", | ||
"mcu": "esp32s3", | ||
"variant": "esp32s3" | ||
}, | ||
"connectivity": [ | ||
"wifi" | ||
], | ||
"debug": { | ||
"openocd_target": "esp32s3.cfg" | ||
}, | ||
"frameworks": [ | ||
"arduino", | ||
"espidf" | ||
], | ||
"name": "Espressif Generic ESP32-S3 16M Flash OPI PSRAM, 4608KB Code/OTA, 2MB FS", | ||
"upload": { | ||
"flash_size": "16MB", | ||
"maximum_ram_size": 327680, | ||
"maximum_size": 16777216, | ||
"require_upload_port": true, | ||
"speed": 460800 | ||
}, | ||
"download": { | ||
"speed": 230400 | ||
}, | ||
"url": "https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/hw-reference/esp32s3/", | ||
"vendor": "Espressif" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"build": { | ||
"arduino":{ | ||
"memory_type": "opi_opi" | ||
}, | ||
"core": "esp32", | ||
"extra_flags": "-DBOARD_HAS_PSRAM", | ||
"f_cpu": "240000000L", | ||
"f_flash": "80000000L", | ||
"flash_mode": "opi", | ||
"mcu": "esp32s3", | ||
"variant": "esp32s3" | ||
}, | ||
"connectivity": [ | ||
"wifi" | ||
], | ||
"debug": { | ||
"openocd_target": "esp32s3.cfg" | ||
}, | ||
"frameworks": [ | ||
"arduino", | ||
"espidf" | ||
], | ||
"name": "Espressif Generic ESP32-S3 32M Flash OPI PSRAM, 4608KB Code/OTA, 2MB FS", | ||
"upload": { | ||
"flash_size": "32MB", | ||
"maximum_ram_size": 327680, | ||
"maximum_size": 16777216, | ||
"require_upload_port": true, | ||
"speed": 460800 | ||
}, | ||
"download": { | ||
"speed": 230400 | ||
}, | ||
"url": "https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/hw-reference/esp32s3/", | ||
"vendor": "Espressif" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"build": { | ||
"core": "esp32", | ||
"extra_flags": "-DTASMOTA_SDK", | ||
"f_cpu": "240000000L", | ||
"f_flash": "80000000L", | ||
"flash_mode": "dio", | ||
"mcu": "esp32", | ||
"variant": "esp32" | ||
}, | ||
"connectivity": [ | ||
"wifi", | ||
"ethernet" | ||
], | ||
"debug": { | ||
"openocd_target": "esp32.cfg" | ||
}, | ||
"frameworks": [ | ||
"arduino", | ||
"espidf" | ||
], | ||
"name": "Espressif Generic ESP32 16M Flash, Tasmota 4608KB Code/OTA, 2MB FS", | ||
"upload": { | ||
"flash_size": "16MB", | ||
"maximum_ram_size": 327680, | ||
"maximum_size": 16777216, | ||
"require_upload_port": true, | ||
"speed": 460800 | ||
}, | ||
"download": { | ||
"speed": 230400 | ||
}, | ||
"url": "https://en.wikipedia.org/wiki/ESP32", | ||
"vendor": "Espressif" | ||
} |
Oops, something went wrong.