Skip to content

Commit

Permalink
Switch CP to core 1 on S3
Browse files Browse the repository at this point in the history
  • Loading branch information
tannewt committed Jan 14, 2022
1 parent 7af7cd4 commit f6cf15d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions ports/espressif/esp-idf-config/sdkconfig-esp32s3.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ CONFIG_ESP32S3_UNIVERSAL_MAC_ADDRESSES=4
# end of MAC Config

CONFIG_ESP_SLEEP_GPIO_RESET_WORKAROUND=y
CONFIG_ESP_MAIN_TASK_AFFINITY_CPU0=y
# CONFIG_ESP_MAIN_TASK_AFFINITY_CPU1 is not set
# CONFIG_ESP_MAIN_TASK_AFFINITY_CPU0 is not set
CONFIG_ESP_MAIN_TASK_AFFINITY_CPU1=y
# CONFIG_ESP_MAIN_TASK_AFFINITY_NO_AFFINITY is not set
CONFIG_ESP_MAIN_TASK_AFFINITY=0x0
CONFIG_ESP_MAIN_TASK_AFFINITY=0x1
#
# Wi-Fi
#
Expand Down
1 change: 1 addition & 0 deletions ports/espressif/esp-idf-config/sdkconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE=y
# CONFIG_ESP_PHY_INIT_DATA_IN_PARTITION is not set
CONFIG_ESP_PHY_MAX_WIFI_TX_POWER=20
CONFIG_ESP_PHY_MAX_TX_POWER=20
CONFIG_ESP_PHY_ENABLE_USB=y
# end of PHY

# CONFIG_PM_ENABLE is not set
Expand Down
4 changes: 2 additions & 2 deletions ports/espressif/tools/update_sdkconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"CONFIG_ESP_CONSOLE_",
"CONFIG_CONSOLE_UART_",
"CONFIG_ESP_SYSTEM_PANIC_",
"CONFIG_ESP32S2_PANIC_",
"COMPILER_OPTIMIZATION_",
"CONFIG_ESP32S3_DEBUG_OCDAWARE",
"CONFIG_FREERTOS_ASSERT_",
Expand Down Expand Up @@ -142,8 +143,7 @@ def update(debug, board, update_all):
current_group = None
else:
current_group = line[2:]

if (not update_all and line not in defaults) or (
elif (not update_all and line not in defaults) or (
update_all and matches_group(line, BOARD_SETTINGS)
):
last_board_group = add_group(board_settings, last_board_group, current_group)
Expand Down

0 comments on commit f6cf15d

Please sign in to comment.