Skip to content

Commit

Permalink
Merge branch 'ci/add_at_debug_jobs' into 'master'
Browse files Browse the repository at this point in the history
ci: Added some tat debug jobs

See merge request application/esp-at!1551
  • Loading branch information
xcguang committed Apr 19, 2024
2 parents f0f30fd + 4c6e262 commit 01432a2
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitlab/ci/build_esp32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ esp32_wroom_at:
variables:
MODULE_NAME: "WROOM-32"

esp32_wroom_at_tat_debug:
extends:
- .build_template_esp32
- .before_script_enable_at_debugs
- .rules:build:build_project_on_protected
variables:
MODULE_NAME: "WROOM-32"

esp32_wrover_at:
extends:
- .build_template_esp32
Expand Down
8 changes: 8 additions & 0 deletions .gitlab/ci/build_esp32c2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ esp32c2_ble_2mb_at:
variables:
MODULE_NAME: "ESP32C2-BLE-2MB"

esp32c2_4mb_at_tat_debug:
extends:
- .build_template_esp32c2
- .before_script_enable_at_debugs
- .rules:build:build_project_on_protected
variables:
MODULE_NAME: "ESP32C2-4MB"

esp32c2_4mb_at_xtal_40mhz_test:
extends:
- .build_template_esp32c2
Expand Down
8 changes: 8 additions & 0 deletions .gitlab/ci/build_esp32c3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ esp32c3_mini_1_at:
variables:
MODULE_NAME: "MINI-1"

esp32c3_mini_1_at_tat_debug:
extends:
- .build_template_esp32c3
- .before_script_enable_at_debugs
- .rules:build:build_project_on_protected
variables:
MODULE_NAME: "MINI-1"

esp32c3_spi_at:
extends:
- .build_template_esp32c3
Expand Down
8 changes: 8 additions & 0 deletions .gitlab/ci/build_esp32c6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@ esp32c6_4mb_at:
- .rules:build:build_project
variables:
MODULE_NAME: "ESP32C6-4MB"

esp32c6_4mb_at_tat_debug:
extends:
- .build_template_esp32c6
- .before_script_enable_at_debugs
- .rules:build:build_project_on_protected
variables:
MODULE_NAME: "ESP32C6-4MB"
14 changes: 14 additions & 0 deletions .gitlab/ci/build_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,12 @@
.enable_40mhz_xtal: &enable_40mhz_xtal
- echo -e "CONFIG_XTAL_FREQ_40=y" >> ${at_sdkconfig_file}

.enable_at_debugs: &enable_at_debugs
- echo -e "CONFIG_LOG_DEFAULT_LEVEL_INFO=y" >> ${at_sdkconfig_file}
- echo -e "CONFIG_AT_DEBUG=y" >> ${at_sdkconfig_file}
- echo -e "CONFIG_AT_WIFI_DUMP_STATIS_DEBUG=y" >> ${at_sdkconfig_file}
- echo -e "CONFIG_AT_NET_DEBUG=y" >> ${at_sdkconfig_file}

#########################
# Enlarge app partition #
#########################
Expand Down Expand Up @@ -183,6 +189,14 @@
- add_gitlab_ssh_keys
- *setup_tokens_esp32c6

.before_script_enable_at_debugs:
before_script:
- source ${CI_PROJECT_DIR}/.gitlab/ci/utils.sh
- add_gitlab_ssh_keys
- get_module_configs
- *enable_at_debugs
- *enlarge_app_partition

.before_script_esp32_enable_all_wifi_cmds:
before_script:
- source ${CI_PROJECT_DIR}/.gitlab/ci/utils.sh
Expand Down

0 comments on commit 01432a2

Please sign in to comment.