-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
af23ee5
commit 3be4bda
Showing
41 changed files
with
130 additions
and
1,926 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
# Name, Type, SubType, Offset, Size, Flags | ||
# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap | ||
nvs, data, nvs, 0x9000, 0x4000, | ||
otadata, data, ota, 0xd000, 0x2000, | ||
phy_init, data, phy, 0xf000, 0x1000, | ||
ota_0, app, ota_0, 0x10000, 6M, | ||
uf2, app, factory, 0x700000, 2M, | ||
otadata, data, ota, 0xd000, 0x2000, | ||
phy_init, data, phy, 0xf000, 0x1000, | ||
ota_0, app, ota_0, 0x700000, 2M, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,2 @@ | ||
# This file was generated using idf.py save-defconfig. It can be edited manually. | ||
# Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration | ||
# | ||
CONFIG_IDF_TARGET="esp32s3" | ||
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y | ||
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y | ||
CONFIG_PARTITION_TABLE_CUSTOM=y | ||
CONFIG_BSP_BOARD_ESP32_S3_BOX=y | ||
CONFIG_COMPILER_OPTIMIZATION_PERF=y | ||
CONFIG_SPIRAM=y | ||
CONFIG_SPIRAM_MODE_OCT=y | ||
CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y | ||
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=1024 | ||
CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=8192 | ||
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y | ||
CONFIG_ESP32S3_DATA_CACHE_64KB=y | ||
CONFIG_ESP32S3_DATA_CACHE_LINE_64B=y | ||
CONFIG_FREERTOS_HZ=1000 | ||
CONFIG_MBEDTLS_DYNAMIC_BUFFER=y | ||
CONFIG_MBEDTLS_DYNAMIC_FREE_CONFIG_DATA=y | ||
CONFIG_LV_COLOR_16_SWAP=y | ||
CONFIG_LV_MEM_CUSTOM=y | ||
CONFIG_LV_MEMCPY_MEMSET_STD=y | ||
CONFIG_LV_FONT_FMT_TXT_LARGE=y | ||
CONFIG_IDF_EXPERIMENTAL_FEATURES=y | ||
CONFIG_SPIRAM_SPEED_80M=y | ||
CONFIG_SPIRAM_SPEED=80 | ||
CONFIG_ENABLE_UF2_USB_CONSOLE=y | ||
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y | ||
CONFIG_ESPTOOLPY_FLASHFREQ="80m" | ||
CONFIG_UF2_VOLUME_LABEL="ESP-BOX" | ||
CONFIG_TUSB_MANUFACTURER="Espressif" | ||
CONFIG_TUSB_PRODUCT="ESP32-S3-BOX" | ||
CONFIG_UF2_SERIAL_NUM="12345678" | ||
# BSP | ||
CONFIG_BSP_BOARD_ESP32_S3_BOX=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,2 @@ | ||
# This file was generated using idf.py save-defconfig. It can be edited manually. | ||
# Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration | ||
# | ||
CONFIG_IDF_TARGET="esp32s3" | ||
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y | ||
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y | ||
CONFIG_PARTITION_TABLE_CUSTOM=y | ||
CONFIG_BSP_BOARD_ESP32_S3_BOX=y | ||
CONFIG_COMPILER_OPTIMIZATION_PERF=y | ||
CONFIG_SPIRAM=y | ||
CONFIG_SPIRAM_MODE_OCT=y | ||
CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y | ||
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=1024 | ||
CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=8192 | ||
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y | ||
CONFIG_ESP32S3_DATA_CACHE_64KB=y | ||
CONFIG_ESP32S3_DATA_CACHE_LINE_64B=y | ||
CONFIG_FREERTOS_HZ=1000 | ||
CONFIG_MBEDTLS_DYNAMIC_BUFFER=y | ||
CONFIG_MBEDTLS_DYNAMIC_FREE_CONFIG_DATA=y | ||
CONFIG_LV_COLOR_16_SWAP=y | ||
CONFIG_LV_MEM_CUSTOM=y | ||
CONFIG_LV_MEMCPY_MEMSET_STD=y | ||
CONFIG_LV_FONT_FMT_TXT_LARGE=y | ||
CONFIG_IDF_EXPERIMENTAL_FEATURES=y | ||
CONFIG_SPIRAM_SPEED_80M=y | ||
CONFIG_SPIRAM_SPEED=80 | ||
CONFIG_ENABLE_UF2_USB_CONSOLE=y | ||
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y | ||
CONFIG_ESPTOOLPY_FLASHFREQ="80m" | ||
CONFIG_UF2_VOLUME_LABEL="ESP-BOX" | ||
CONFIG_TUSB_MANUFACTURER="Espressif" | ||
CONFIG_TUSB_PRODUCT="ESP32-S3-BOX" | ||
CONFIG_UF2_SERIAL_NUM="12345678" | ||
# BSP | ||
CONFIG_BSP_BOARD_ESP32_S3_BOX_3=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,2 @@ | ||
# This file was generated using idf.py save-defconfig. It can be edited manually. | ||
# Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration | ||
# | ||
CONFIG_IDF_TARGET="esp32s3" | ||
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y | ||
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y | ||
CONFIG_PARTITION_TABLE_CUSTOM=y | ||
CONFIG_BSP_BOARD_ESP32_S3_BOX=y | ||
CONFIG_COMPILER_OPTIMIZATION_PERF=y | ||
CONFIG_SPIRAM=y | ||
CONFIG_SPIRAM_MODE_OCT=y | ||
CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y | ||
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=1024 | ||
CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=8192 | ||
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y | ||
CONFIG_ESP32S3_DATA_CACHE_64KB=y | ||
CONFIG_ESP32S3_DATA_CACHE_LINE_64B=y | ||
CONFIG_FREERTOS_HZ=1000 | ||
CONFIG_MBEDTLS_DYNAMIC_BUFFER=y | ||
CONFIG_MBEDTLS_DYNAMIC_FREE_CONFIG_DATA=y | ||
CONFIG_LV_COLOR_16_SWAP=y | ||
CONFIG_LV_MEM_CUSTOM=y | ||
CONFIG_LV_MEMCPY_MEMSET_STD=y | ||
CONFIG_LV_FONT_FMT_TXT_LARGE=y | ||
CONFIG_IDF_EXPERIMENTAL_FEATURES=y | ||
CONFIG_SPIRAM_SPEED_80M=y | ||
CONFIG_SPIRAM_SPEED=80 | ||
CONFIG_ENABLE_UF2_USB_CONSOLE=y | ||
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y | ||
CONFIG_ESPTOOLPY_FLASHFREQ="80m" | ||
CONFIG_UF2_VOLUME_LABEL="ESP-BOX" | ||
CONFIG_TUSB_MANUFACTURER="Espressif" | ||
CONFIG_TUSB_PRODUCT="ESP32-S3-BOX" | ||
CONFIG_UF2_SERIAL_NUM="12345678" | ||
# BSP | ||
CONFIG_BSP_BOARD_ESP32_S3_BOX_Lite=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD | ||
# SPDX-License-Identifier: CC0-1.0 | ||
import io | ||
import os | ||
import argparse | ||
import shutil | ||
import math | ||
import sys | ||
|
||
sys.dont_write_bytecode = True | ||
|
||
def copy_files(nvs_src_file, nvs_dst_file): | ||
dst_folder = os.path.dirname(nvs_dst_file) | ||
|
||
if not os.path.exists(dst_folder): | ||
os.makedirs(dst_folder) | ||
|
||
shutil.copyfile(nvs_src_file, nvs_dst_file) | ||
print(f"File copied from {nvs_src_file} to {nvs_dst_file}") | ||
|
||
if __name__ == '__main__': | ||
parser = argparse.ArgumentParser(description='move uf2 fw') | ||
parser.add_argument('-d1', '--nvs_src_file') | ||
parser.add_argument('-d2', '--nvs_dst_file') | ||
args = parser.parse_args() | ||
|
||
if os.path.exists(args.nvs_src_file): | ||
copy_files(args.nvs_src_file, args.nvs_dst_file) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# Name, Type, SubType, Offset, Size, Flags | ||
# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap | ||
nvs, data, nvs, 0x9000, 0x4000, | ||
otadata, data, ota, 0xd000, 0x2000, | ||
phy_init, data, phy, 0xf000, 0x1000, | ||
ota_0, app, ota_0, 0x10000, 6M, | ||
uf2, app, factory, 0x700000, 2M, | ||
storage, data, spiffs, 0x900000, 2M, | ||
model, data, spiffs, 0xb00000, 4000K | ||
nvs, data, nvs, 0x9000, 0x4000, | ||
otadata, data, ota, 0xd000, 0x2000, | ||
phy_init, data, phy, 0xf000, 0x1000, | ||
factory, app, factory, 0x10000, 6M, | ||
ota_0, app, ota_0, 0x700000, 2M, | ||
storage, data, spiffs, 0x900000, 2M, | ||
model, data, spiffs, 0xb00000, 4000K |
Oops, something went wrong.