mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
Merge branch 'fix/esp_idf_lp_uart_wakeup_muti_times_v6.1' into 'release/v6.1'
fix(ulp): fix lp uart keep wakeup triggered v6.1 See merge request espressif/esp-idf!49396
This commit is contained in:
@@ -1,20 +1,17 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2024-2026 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include "ulp_lp_core_utils.h"
|
||||
#include "ulp_lp_core_print.h"
|
||||
#include "ulp_lp_core_lp_uart_shared.h"
|
||||
#include "ulp_lp_core_uart.h"
|
||||
|
||||
int main (void)
|
||||
{
|
||||
lp_core_printf("Hello world\r\n");
|
||||
lp_core_uart_tx_flush(LP_UART_NUM_0);
|
||||
|
||||
// If you want to make it possible to wake up from UART after sleep,
|
||||
// you have to reset the wakeup register and the UART buffer manually.
|
||||
// ulp_lp_core_lp_uart_reset_wakeup_en();
|
||||
// lp_core_uart_clear_buf();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user