Skip to content

Commit

Permalink
Add chip-specific build defaults to CI
Browse files Browse the repository at this point in the history
To help compile-test the different console options, for starters.
  • Loading branch information
jmattsson committed Dec 10, 2024
1 parent 4e6b842 commit e0725f5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
shell: bash
- name: Prepare default sdkconfig
run: |
cp sdkconfig.defaults sdkconfig
cidef="sdkconfig.ci.${{ matrix.target }}"; [ -e "$cidef" ] && cat "$cidef" >> "sdkconfig.defaults.${{ matrix.target }}" || true
shell: bash
- name: Update config for Lua 5.1
if: ${{ matrix.lua_ver == '5.1' }}
Expand Down
7 changes: 7 additions & 0 deletions sdkconfig.ci.esp32c3
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
CONFIG_USJ_ENABLE_USB_SERIAL_JTAG=y
# CONFIG_ESP_CONSOLE_UART_DEFAULT is not set
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y
# CONFIG_ESP_CONSOLE_UART_CUSTOM is not set
# CONFIG_ESP_CONSOLE_NONE is not set
CONFIG_ESP_CONSOLE_SECONDARY_NONE=y
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG_ENABLED=y
6 changes: 6 additions & 0 deletions sdkconfig.ci.esp32s2
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# CONFIG_ESP_CONSOLE_UART_DEFAULT is not set
CONFIG_ESP_CONSOLE_USB_CDC=y
# CONFIG_ESP_CONSOLE_UART_CUSTOM is not set
# CONFIG_ESP_CONSOLE_NONE is not set
CONFIG_ESP_CONSOLE_USB_CDC_RX_BUF_SIZE=512

0 comments on commit e0725f5

Please sign in to comment.