DFU 완료 후 전원 래치 Low 방지, zip 파일명에 버전 정보 포함

This commit is contained in:
2026-06-19 10:31:02 +09:00
parent a506641776
commit 87d3e1972e
7 changed files with 95 additions and 1 deletions
@@ -0,0 +1,4 @@
cmake_minimum_required(VERSION 3.20.0)
zephyr_library()
zephyr_library_sources(src/mcuboot_power_hold_early.c)
@@ -0,0 +1,14 @@
#include <zephyr/init.h>
#include <hal/nrf_gpio.h>
#define POWER_HOLD_PIN 8U
static int mcuboot_power_hold_early_init(void)
{
nrf_gpio_pin_set(POWER_HOLD_PIN);
nrf_gpio_cfg_output(POWER_HOLD_PIN);
return 0;
}
SYS_INIT(mcuboot_power_hold_early_init, EARLY, 0);
@@ -0,0 +1,2 @@
build:
cmake: .