From 0a88cfb01cff39fc7187d8d799e3ad361397d728 Mon Sep 17 00:00:00 2001 From: jhchun Date: Tue, 21 Jul 2026 11:34:23 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B9=8C=EB=93=9C=20warning=20=EA=B4=80?= =?UTF-8?q?=EB=A0=A8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ble/ble_service.c | 2 +- src/drivers/imu/imu_i2c.c | 1 - sysbuild/mcuboot.conf | 15 +++++++++------ 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/ble/ble_service.c b/src/ble/ble_service.c index e1611a9..44531fc 100644 --- a/src/ble/ble_service.c +++ b/src/ble/ble_service.c @@ -348,7 +348,7 @@ static int ble_request_preferred_conn_params(bool count_attempt) err = bt_conn_get_info(current_conn, &info); if ((err == 0) && (info.type == BT_CONN_TYPE_LE)) { - uint16_t cur_interval = info.le.interval; + uint16_t cur_interval = (uint16_t)(info.le.interval_us / 1250U); uint16_t cur_latency = info.le.latency; uint16_t cur_timeout = info.le.timeout; diff --git a/src/drivers/imu/imu_i2c.c b/src/drivers/imu/imu_i2c.c index fac19b7..1d09703 100644 --- a/src/drivers/imu/imu_i2c.c +++ b/src/drivers/imu/imu_i2c.c @@ -687,7 +687,6 @@ int imu_fifo_read_latest(uint8_t *sample_bytes, } { - uint16_t raw_count = record_count; record_count = imu_fifo_compact_records(record_count); DBG_PRINTF("[IMU FIFO] compact %u -> %u\r\n", raw_count, record_count); } diff --git a/sysbuild/mcuboot.conf b/sysbuild/mcuboot.conf index f2e586c..d4f5a3d 100644 --- a/sysbuild/mcuboot.conf +++ b/sysbuild/mcuboot.conf @@ -1,12 +1,11 @@ CONFIG_GPIO_HOGS=y -# MCUboot RTT logging(test) -CONFIG_LOG=n -CONFIG_LOG_MODE_IMMEDIATE=y -CONFIG_LOG_DEFAULT_LEVEL=3 -CONFIG_MCUBOOT_LOG_LEVEL_DBG=y +# Keep MCUboot LOG enabled to satisfy MCUboot default Kconfig choices, +# but disable console/log output backends. +CONFIG_LOG=y +CONFIG_LOG_DEFAULT_LEVEL=0 +CONFIG_MCUBOOT_LOG_LEVEL_OFF=y -CONFIG_PRINTK=n CONFIG_USE_SEGGER_RTT=y CONFIG_CONSOLE=n CONFIG_RTT_CONSOLE=n @@ -15,3 +14,7 @@ CONFIG_LOG_BACKEND_SHOW_COLOR=n CONFIG_LOG_BACKEND_UART=n CONFIG_UART_CONSOLE=n + +# security boot +CONFIG_REBOOT=y +CONFIG_DISABLE_FLASH_PATCH=y