Skip to content

Commit e0725f5

Browse files
committed
Add chip-specific build defaults to CI
To help compile-test the different console options, for starters.
1 parent 4e6b842 commit e0725f5

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
shell: bash
3232
- name: Prepare default sdkconfig
3333
run: |
34-
cp sdkconfig.defaults sdkconfig
34+
cidef="sdkconfig.ci.${{ matrix.target }}"; [ -e "$cidef" ] && cat "$cidef" >> "sdkconfig.defaults.${{ matrix.target }}" || true
3535
shell: bash
3636
- name: Update config for Lua 5.1
3737
if: ${{ matrix.lua_ver == '5.1' }}

sdkconfig.ci.esp32c3

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
CONFIG_USJ_ENABLE_USB_SERIAL_JTAG=y
2+
# CONFIG_ESP_CONSOLE_UART_DEFAULT is not set
3+
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y
4+
# CONFIG_ESP_CONSOLE_UART_CUSTOM is not set
5+
# CONFIG_ESP_CONSOLE_NONE is not set
6+
CONFIG_ESP_CONSOLE_SECONDARY_NONE=y
7+
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG_ENABLED=y

sdkconfig.ci.esp32s2

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# CONFIG_ESP_CONSOLE_UART_DEFAULT is not set
2+
CONFIG_ESP_CONSOLE_USB_CDC=y
3+
# CONFIG_ESP_CONSOLE_UART_CUSTOM is not set
4+
# CONFIG_ESP_CONSOLE_NONE is not set
5+
CONFIG_ESP_CONSOLE_USB_CDC_RX_BUF_SIZE=512
6+

0 commit comments

Comments
 (0)