mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/esp32/bootloader: add ESP32-S3 support
This commit is contained in:
parent
5d47b61f9b
commit
9c834f57d6
@ -228,7 +228,6 @@ LINKFLAGS += \
|
||||
-Wno-frame-address \
|
||||
-o $(ESP_SDK_BOOTLOADER_DIR)/bootloader.elf \
|
||||
-Wl,--cref \
|
||||
-Wl,--defsym=IDF_TARGET_ESP32=0 \
|
||||
-Wl,--gc-sections \
|
||||
-fno-lto \
|
||||
-fno-rtti \
|
||||
|
@ -35,6 +35,8 @@
|
||||
#include "sdkconfig_default_esp32.h"
|
||||
#elif defined(CPU_FAM_ESP32C3)
|
||||
#include "sdkconfig_default_esp32c3.h"
|
||||
#elif defined(CPU_FAM_ESP32S3)
|
||||
#include "sdkconfig_default_esp32s3.h"
|
||||
#else
|
||||
#error "ESP32x family implementation missing"
|
||||
#endif
|
||||
|
46
cpu/esp32/bootloader/sdkconfig_default_esp32s3.h
Normal file
46
cpu/esp32/bootloader/sdkconfig_default_esp32s3.h
Normal file
@ -0,0 +1,46 @@
|
||||
/*
|
||||
* Copyright (C) 2022 Gunar Schorcht
|
||||
*
|
||||
* This file is subject to the terms and conditions of the GNU Lesser
|
||||
* General Public License v2.1. See the file LICENSE in the top level
|
||||
* directory for more details.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @ingroup cpu_esp32
|
||||
* @{
|
||||
*
|
||||
* @file
|
||||
* @brief Default SDK configuration for the ESP32-S3 SoC bootloader
|
||||
*
|
||||
* @author Gunar Schorcht <gunar@schorcht.net>
|
||||
*/
|
||||
|
||||
#ifndef SDKCONFIG_DEFAULT_ESP32S3_H
|
||||
#define SDKCONFIG_DEFAULT_ESP32S3_H
|
||||
|
||||
#ifndef DOXYGEN
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_ESP32S3_DEFAULT_CPU_FREQ_MHZ
|
||||
#define CONFIG_ESP32S3_DEFAULT_CPU_FREQ_MHZ 160
|
||||
#endif
|
||||
|
||||
#define CONFIG_ESP32S3_DEBUG_OCDAWARE 1
|
||||
|
||||
#define CONFIG_BOOTLOADER_OFFSET_IN_FLASH 0x0
|
||||
#define CONFIG_EFUSE_MAX_BLK_LEN 256
|
||||
#define CONFIG_IDF_FIRMWARE_CHIP_ID 0x0009
|
||||
|
||||
#define CONFIG_ESP_CONSOLE_SECONDARY_USB_SERIAL_JTAG 1
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* DOXYGEN */
|
||||
#endif /* SDKCONFIG_DEFAULT_ESP32S3_H */
|
||||
/** @} */
|
Loading…
Reference in New Issue
Block a user