Add chip-specific build defaults to CI
To help compile-test the different console options, for starters.
This commit is contained in:
parent
4e6b8423bf
commit
134f21d309
|
@ -31,7 +31,10 @@ jobs:
|
|||
shell: bash
|
||||
- name: Prepare default sdkconfig
|
||||
run: |
|
||||
# Compose sdkconfig manually rather than overwrite checked in files
|
||||
cp sdkconfig.defaults sdkconfig
|
||||
[ -e "sdkconfig.defaults.${{ matrix.target }}" ] && cat "sdkconfig.defaults.${{ matrix.target }}" >> sdkconfig || true
|
||||
[ -e "sdkconfig.ci.${{ matrix.target }}" ] && cat "sdkconfig.ci.${{ matrix.target }}" >> sdkconfig || true
|
||||
shell: bash
|
||||
- name: Update config for Lua 5.1
|
||||
if: ${{ matrix.lua_ver == '5.1' }}
|
||||
|
@ -54,6 +57,10 @@ jobs:
|
|||
echo CONFIG_LUA_NUMBER_INT64=y >> sdkconfig
|
||||
echo CONFIG_LUA_NUMBER_DOUBLE=y >> sdkconfig
|
||||
shell: bash
|
||||
- name: Show resulting sdkconfig
|
||||
shell: bash
|
||||
run: |
|
||||
cat sdkconfig
|
||||
- name: Build firmware
|
||||
run: |
|
||||
make IDF_TARGET=${{ matrix.target }}
|
||||
|
|
|
@ -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
|
|
@ -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
|
||||
|
Loading…
Reference in New Issue