freertos(esp32s3): SysTick uses systimer

This commit is contained in:
Konstantin Kondrashov
2021-08-04 20:33:44 +08:00
committed by Zim Kalinowski
parent b5f9149399
commit 29f581fc70
23 changed files with 315 additions and 121 deletions
@@ -110,7 +110,7 @@ void IRAM_ATTR esp_restart_noos(void)
// Reset timer/spi/uart
SET_PERI_REG_MASK(SYSTEM_PERIP_RST_EN0_REG,
SYSTEM_TIMERS_RST | SYSTEM_SPI01_RST | SYSTEM_UART_RST);
SYSTEM_TIMERS_RST | SYSTEM_SPI01_RST | SYSTEM_UART_RST | SYSTEM_SYSTIMER_RST);
REG_WRITE(SYSTEM_PERIP_RST_EN0_REG, 0);
// Reset dma
SET_PERI_REG_MASK(SYSTEM_PERIP_RST_EN1_REG, SYSTEM_DMA_RST);