gateway: working shell on uart0 and mcumgr on usb_serial, minimal OS mgmt config\n

Signed-off-by: Eduard Iten <eduard@iten.pro>
This commit is contained in:
2025-07-15 11:20:18 +02:00
parent ef966cb078
commit fc089e5a33
11 changed files with 128 additions and 15 deletions

View File

@@ -0,0 +1,12 @@
#include "../boards/common_4MB.dtsi"
/* Application Configuration - Firmware goes to slot0_partition (0x20000) */
/ {
chosen {
zephyr,code-partition = &slot0_partition;
};
};
&usb_serial {
status = "okay";
};

View File

@@ -0,0 +1,3 @@
CONFIG_LOG=y
CONFIG_MCUBOOT_LOG_LEVEL_INF=y
CONFIG_UART_CONSOLE=n

View File

@@ -0,0 +1,12 @@
#include "../boards/common_4MB.dtsi"
/* MCUboot Configuration - Bootloader goes to boot_partition (0x0) */
/ {
chosen {
zephyr,code-partition = &boot_partition;
};
aliases {
mcuboot-button0 = &user_button1;
};
};