boards: esp32: add XIP support and enable bootloader build
Disable RTC WDT enabled (by default) by 2nd stage bootloader in ESP-IDF. This WDT timer ensures correct hand-over and startup sequence from bootloader to application. Enabling bootloader caused system clock initialization to fail when clock rate is greater then 80MHz. This also fixes esp32 clock source code. Signed-off-by: Mahavir Jain <mahavir@espressif.com>
This commit is contained in:
parent
5c90612120
commit
29f87c3a0f
11 changed files with 154 additions and 26 deletions
|
@ -7,10 +7,10 @@
|
|||
#define DT_DRV_COMPAT espressif_esp32_uart
|
||||
|
||||
/* Include esp-idf headers first to avoid redefining BIT() macro */
|
||||
#include <rom/ets_sys.h>
|
||||
#include <esp32/rom/ets_sys.h>
|
||||
#include <soc/dport_reg.h>
|
||||
|
||||
#include <rom/gpio.h>
|
||||
#include <esp32/rom/gpio.h>
|
||||
|
||||
#include <soc/gpio_sig_map.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue