代码拉取完成,页面将自动刷新
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。