This repository has been archived by the owner on Jul 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bump Zephyr and s/esp32/esp32_devkitc_wroom/
File contents changes (with an exception of links to Zephyr 3.4.0 documentation of esp32 board): $ sed -i 's/esp32/esp32_devkitc_wroom/g' $(git ls-files) File names changes: $ for file in $(git ls-files | grep -e esp32.conf -e esp32.overlay); do \ git mv $file ${file/esp32/esp32_devkitc_wroom} \ done Since overlay configuration in mcuboot was not yet updated, provide overlay file using sysbuild infrastructure. Copy also default mcuboot's prj.conf file, as that is needed by sysbuild (... yes, it is a workaround for a workaround). Those configuration files will be removed once mcuboot will be fixed and upmerged in Zephyr. Signed-off-by: Marcin Niestroj <[email protected]>
- Loading branch information
Showing
56 changed files
with
105 additions
and
50 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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
17 changes: 17 additions & 0 deletions
17
samples/dfu/sysbuild/mcuboot/boards/esp32_devkitc_wroom.conf
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,17 @@ | ||
# SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
CONFIG_BOOT_MAX_IMG_SECTORS=512 | ||
CONFIG_BOOT_UPGRADE_ONLY=y | ||
CONFIG_BOOT_VALIDATE_SLOT0=n | ||
CONFIG_BOOT_SIGNATURE_TYPE_NONE=y | ||
CONFIG_BOOT_BANNER=n | ||
|
||
CONFIG_UART_CONSOLE=n | ||
CONFIG_CONSOLE=n | ||
|
||
CONFIG_MCUBOOT_LOG_LEVEL_OFF=y | ||
CONFIG_LOG_DEFAULT_LEVEL=0 | ||
CONFIG_DEBUG=n | ||
|
||
CONFIG_HEAP_MEM_POOL_SIZE=4096 |
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,38 @@ | ||
CONFIG_DEBUG=y | ||
CONFIG_PM=n | ||
|
||
CONFIG_MAIN_STACK_SIZE=10240 | ||
CONFIG_MBEDTLS_CFG_FILE="mcuboot-mbedtls-cfg.h" | ||
|
||
CONFIG_BOOT_SWAP_SAVE_ENCTLV=n | ||
CONFIG_BOOT_ENCRYPT_RSA=n | ||
CONFIG_BOOT_ENCRYPT_EC256=n | ||
CONFIG_BOOT_ENCRYPT_X25519=n | ||
|
||
CONFIG_BOOT_UPGRADE_ONLY=n | ||
CONFIG_BOOT_BOOTSTRAP=n | ||
|
||
### mbedTLS has its own heap | ||
# CONFIG_HEAP_MEM_POOL_SIZE is not set | ||
|
||
### We never want Zephyr's copy of tinycrypt. If tinycrypt is needed, | ||
### MCUboot has its own copy in tree. | ||
# CONFIG_TINYCRYPT is not set | ||
# CONFIG_TINYCRYPT_ECC_DSA is not set | ||
# CONFIG_TINYCRYPT_SHA256 is not set | ||
|
||
CONFIG_FLASH=y | ||
|
||
### Various Zephyr boards enable features that we don't want. | ||
# CONFIG_BT is not set | ||
# CONFIG_BT_CTLR is not set | ||
# CONFIG_I2C is not set | ||
|
||
CONFIG_LOG=y | ||
CONFIG_LOG_MODE_MINIMAL=y # former CONFIG_MODE_MINIMAL | ||
### Ensure Zephyr logging changes don't use more resources | ||
CONFIG_LOG_DEFAULT_LEVEL=0 | ||
### Use info log level by default | ||
CONFIG_MCUBOOT_LOG_LEVEL_INF=y | ||
### Decrease footprint by ~4 KB in comparison to CBPRINTF_COMPLETE=y | ||
CONFIG_CBPRINTF_NANO=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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
Oops, something went wrong.