1 Star 0 Fork 1

opensource/zephyr-board-app

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
mcuboot.conf 2.24 KB
一键复制 编辑 原始数据 按行查看 历史
CONFIG_CONSOLE_HANDLER=y
CONFIG_DEBUG=y
CONFIG_SYSTEM_CLOCK_DISABLE=y
CONFIG_SYS_POWER_MANAGEMENT=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_VALIDATE_SLOT0=y
CONFIG_BOOT_MAX_IMG_SECTORS=256
CONFIG_BOOT_UPGRADE_ONLY=n
CONFIG_BOOT_BOOTSTRAP=n
### Default to RSA
CONFIG_BOOT_SIGNATURE_TYPE_NONE=n
CONFIG_BOOT_SIGNATURE_TYPE_RSA=y
CONFIG_BOOT_SIGNATURE_TYPE_RSA_LEN=2048
CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256=n
CONFIG_BOOT_SIGNATURE_TYPE_ED25519=n
### The bootloader generates its own signature verification based on a
### key file which needs to be provided and needs to match the selected signing
### algorithm (CONFIG_BOOT_SIGNATURE_TYPE_).
### The PEM files below are provided as examples.
# 必须采用绝对路径,否则mcuboot找不到
CONFIG_BOOT_SIGNATURE_KEY_FILE="/home/wangyan/zephyr-work/zephyr-board-app/keys/root-rsa-2048.pem"
#CONFIG_BOOT_SIGNATURE_KEY_FILE="root-rsa-3072.pem"
#CONFIG_BOOT_SIGNATURE_KEY_FILE="root-ec-p256.pem"
#CONFIG_BOOT_SIGNATURE_KEY_FILE="root-ed25519.pem"
### 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
#
# *********************LOG的配置********************************
CONFIG_LOG=y
# 设置日志的默认级别
CONFIG_LOG_DEFAULT_LEVEL=4
# 带有功能名称的标准错误日志消息
CONFIG_LOG_FUNC_NAME_PREFIX_ERR=y
# 带有功能名称的标准警告日志消息
CONFIG_LOG_FUNC_NAME_PREFIX_WRN=y
# 带有功能名称的标准 INFO 日志消息
CONFIG_LOG_FUNC_NAME_PREFIX_INF=y
# 标准 DEBUG 日志消息与功能名称
CONFIG_LOG_FUNC_NAME_PREFIX_DBG=y
# 启用错误(红色)和警告(黄色)的颜色
CONFIG_LOG_BACKEND_SHOW_COLOR=y
# 如果启用时间戳格式为hh:mm:s:m,u。否则以原始格式打印
CONFIG_LOG_BACKEND_FORMAT_TIMESTAMP=y
CONFIG_CBPRINTF_NANO=y
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opensource_wangyan/zephyr-board-app.git
git@gitee.com:opensource_wangyan/zephyr-board-app.git
opensource_wangyan
zephyr-board-app
zephyr-board-app
master

搜索帮助