Skip to content

Commit 9bcbf36

Browse files
committed
Use custom sdkconfig for header limit beta
1 parent e01fbca commit 9bcbf36

4 files changed

Lines changed: 52 additions & 6 deletions

File tree

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Header Limit Beta
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- fix/http-header-limit-sdkconfig
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
17+
- name: Setup Python
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: "3.11"
21+
22+
- name: Install PlatformIO
23+
run: pip install platformio
24+
25+
- name: Build Firmware
26+
run: pio run -e project_aura
27+
28+
- name: Verify Header Limit
29+
run: |
30+
grep -n "CONFIG_HTTPD_MAX_REQ_HDR_LEN" .pio/build/project_aura/config/sdkconfig.h
31+
grep -q "CONFIG_HTTPD_MAX_REQ_HDR_LEN 8192" .pio/build/project_aura/config/sdkconfig.h
32+
33+
- name: Upload OTA Artifact
34+
uses: actions/upload-artifact@v4
35+
with:
36+
name: project_aura-ota-firmware
37+
path: .pio/build/project_aura/firmware.bin
38+
if-no-files-found: error

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ tmpclaude-*
1717
.tmp_*.ps1
1818
nul
1919

20+
# Generated by pioarduino/ESP-IDF lib rebuilds
21+
.dummy/
22+
dependencies.lock
23+
managed_components/
24+
sdkconfig.defaults
25+
sdkconfig.project_aura
26+
CMakeLists.txt
27+
2028
# Local web installer artifacts and site files
2129
web-installer/
2230

platformio.ini

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,12 @@ board_build.filesystem = littlefs
1818

1919

2020
board_build.arduino.memory_type = qio_opi
21-
board_build.sdkconfig = sdkconfig.defaults
21+
custom_sdkconfig =
22+
CONFIG_LCD_CAM_ISR_IRAM_SAFE=y
23+
CONFIG_LCD_RGB_ISR_IRAM_SAFE=y
24+
CONFIG_ESP_WIFI_IRAM_OPT=y
25+
CONFIG_ESP_IPC_TASK_STACK_SIZE=4096
26+
CONFIG_HTTPD_MAX_REQ_HDR_LEN=8192
2227

2328
build_flags =
2429
-DCORE_DEBUG_LEVEL=1

sdkconfig.defaults

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

0 commit comments

Comments
 (0)