risc-v/esp32-c3: Disable wdt in the start function.

This commit is contained in:
Sara Souza
2021-07-16 14:06:18 -03:00
committed by Xiang Xiao
parent 5baeb7430b
commit 0794991a07
5 changed files with 27 additions and 6 deletions

View File

@@ -34,6 +34,7 @@
#include "esp32c3_irq.h"
#include "esp32c3_lowputc.h"
#include "esp32c3_start.h"
#include "esp32c3_wdt.h"
/****************************************************************************
* Pre-processor Definitions
@@ -94,6 +95,10 @@ void __esp32c3_start(void)
showprogress('B');
/* Disable any wdt enabled by bootloader */
esp32c3_wdt_early_deinit();
/* Initialize onboard resources */
esp32c3_board_initialize();