mirror of
https://github.com/apache/nuttx.git
synced 2025-12-15 08:44:44 +08:00
risc-v/esp32-c3: Disable wdt in the start function.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user