mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -04:00
fix(coredump): disable uart txd pullup using gpio hal
This commit is contained in:
parent
52c1538f01
commit
99b1a685c8
@ -154,7 +154,7 @@ static esp_err_t esp_core_dump_uart_hw_init(void)
|
||||
|
||||
//Make sure txd/rxd are enabled
|
||||
// use direct reg access instead of gpio_pullup_dis which can cause exception when flash cache is disabled
|
||||
REG_CLR_BIT(GPIO_PIN_REG_1, FUN_PU); //TODO: IDF-9948
|
||||
gpio_hal_pullup_dis(&gpio_hal, U0TXD_GPIO_NUM);
|
||||
gpio_hal_func_sel(&gpio_hal, U0RXD_GPIO_NUM, U0RXD_MUX_FUNC);
|
||||
gpio_hal_func_sel(&gpio_hal, U0TXD_GPIO_NUM, U0TXD_MUX_FUNC);
|
||||
ESP_COREDUMP_LOGI("Press Enter to print core dump to UART...");
|
||||
|
Loading…
x
Reference in New Issue
Block a user