Skip to content

Commit 0cb3b23

Browse files
committed
follow powerfeather's lead, it's much cleaner than mine was
1 parent dfa87d9 commit 0cb3b23

File tree

3 files changed

+15
-50
lines changed

3 files changed

+15
-50
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -5,41 +5,8 @@ on:
55
- '*'
66

77
jobs:
8-
build3:
9-
name: Build libraries v3
10-
runs-on: ubuntu-latest
11-
container:
12-
image: espressif/esp32-arduino-lib-builder
13-
volumes:
14-
- ${{ github.workspace }}:/w
15-
steps:
16-
- name: Install zip
17-
run: apt update && apt install -y zip
18-
- name: Checkout
19-
uses: actions/checkout@v4
20-
- name: Modify configs
21-
run: |
22-
for path in `ls /w/configs/defconfig.*`
23-
do
24-
config=$(basename $path)
25-
cat /w/configs/$config >>/opt/esp/lib-builder/configs/$config
26-
done
27-
- name: Build
28-
run: |
29-
cd /opt/esp/lib-builder/
30-
./build.sh
31-
- name: Zip artifacts
32-
run: |
33-
cd /opt/esp/lib-builder/out/tools/
34-
zip -r /w/esp32-arduino-libs.zip esp32-arduino-libs
35-
- name: Upload artifacts
36-
uses: actions/upload-artifact@v4
37-
with:
38-
name: esp32-arduino-libs-v3
39-
path: /w/*.zip
40-
41-
build2:
42-
name: Build libraries v2
8+
build:
9+
name: Build libraries
4310
runs-on: ubuntu-latest
4411
container:
4512
image: espressif/esp32-arduino-lib-builder
@@ -77,11 +44,11 @@ jobs:
7744
- name: Upload artifacts
7845
uses: actions/upload-artifact@v4
7946
with:
80-
name: esp32-arduino-libs-v2
47+
name: esp32-arduino-libs
8148
path: /w/*.zip
8249

8350
release:
84-
needs: [build2, build3]
51+
needs: [build]
8552
name: Release
8653
runs-on: ubuntu-latest
8754
permissions:
@@ -95,5 +62,4 @@ jobs:
9562
uses: softprops/action-gh-release@v2
9663
with:
9764
files: |
98-
esp32-arduino-libs-v2/*.zip
99-
esp32-arduino-libs-v3/*.zip
65+
esp32-arduino-libs/*.zip

configs/defconfig.esp32

Lines changed: 0 additions & 11 deletions
This file was deleted.

configs/defconfig.pm

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
CONFIG_PM_ENABLE=y
2+
CONFIG_FREERTOS_USE_TICKLESS_IDLE=y
3+
CONFIG_ESP_SLEEP_GPIO_RESET_WORKAROUND=y
4+
CONFIG_PM_SLP_DISABLE_GPIO=y
5+
CONFIG_PM_SLP_IRAM_OPT=y
6+
CONFIG_ESP32S3_RTC_CLK_SRC_EXT_CRYS=y
7+
CONFIG_BT_CTRL_MODEM_SLEEP=y
8+
CONFIG_BT_CTRL_MODEM_SLEEP_MODE_1=y
9+
CONFIG_BT_CTRL_LPCLK_SEL_EXT_32K_XTAL=y
10+

0 commit comments

Comments
 (0)