Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
599 B

# SPDX-License-Identifier: Apache-2.0
board_set_flasher_ifnset(esp32)
board_set_debugger_ifnset(openocd)
board_runner_args(openocd --no-init --no-halt --no-targets --no-load)
board_runner_args(openocd --gdb-init "set remote hardware-watchpoint-limit 2")
board_runner_args(openocd --gdb-init "maintenance flush register-cache")
board_runner_args(openocd --gdb-init "mon reset halt")
board_runner_args(openocd --gdb-init "thb main")
set(ESP_IDF_PATH ${ZEPHYR_HAL_ESPRESSIF_MODULE_DIR})
assert(ESP_IDF_PATH "ESP_IDF_PATH is not set")
board_runner_args(esp32 "--esp-idf-path=${ESP_IDF_PATH}")