From 979f60163d02338744caa38bb66afbc6ceb562b3 Mon Sep 17 00:00:00 2001 From: liquidraver <504870+liquidraver@users.noreply.github.com> Date: Mon, 15 Jun 2026 11:15:44 +0200 Subject: [PATCH] bump to 1.16.2 --- zephcore/CMakeLists.txt | 2 +- zephcore/boards/common/debug_esp32.conf | 15 +++++++++++++++ zephcore/boards/common/zephcore_common.conf | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 zephcore/boards/common/debug_esp32.conf diff --git a/zephcore/CMakeLists.txt b/zephcore/CMakeLists.txt index 5ca90dc..7a20abb 100644 --- a/zephcore/CMakeLists.txt +++ b/zephcore/CMakeLists.txt @@ -405,7 +405,7 @@ add_definitions(-DFIRMWARE_BUILD_DATE="${ZEPHCORE_BUILD_DATE}") # value; the per-app `#ifndef FIRMWARE_VERSION` fallbacks only apply to builds that # bypass this injection. NOTE: the BLE DIS value in boards/common/zephcore_common.conf # (CONFIG_BT_DIS_FW_REV_STR) is Kconfig, not C, so it must be bumped here AND there. -set(ZEPHCORE_FIRMWARE_VERSION "v1.16.1-zephyr") +set(ZEPHCORE_FIRMWARE_VERSION "v1.16.2-zephyr") add_definitions(-DFIRMWARE_VERSION="${ZEPHCORE_FIRMWARE_VERSION}") add_subdirectory(lib/monocypher) diff --git a/zephcore/boards/common/debug_esp32.conf b/zephcore/boards/common/debug_esp32.conf new file mode 100644 index 0000000..4a5c0b0 --- /dev/null +++ b/zephcore/boards/common/debug_esp32.conf @@ -0,0 +1,15 @@ +# ESP32 debug overrides — applied automatically after debug.conf on ESP32. +# +# debug.conf is written for nRF52 + SEGGER RTT (J-Link). On ESP32 there is no +# J-Link, so RTT produces no output and only wastes ~4KB RAM; logs go out the +# UART/USB console backend instead. The classic ESP32 (T-Beam) is also DRAM +# bound, so the 8KB deferred log buffer doesn't fit. Drop RTT and shrink the +# log buffer here. + +# No SEGGER RTT on ESP32 — use the console (UART) log backend. +CONFIG_USE_SEGGER_RTT=n +CONFIG_LOG_BACKEND_RTT=n +CONFIG_LOG_BACKEND_UART=y + +# Smaller deferred log buffer (8KB -> 2KB) for the RAM-tight classic ESP32. +CONFIG_LOG_BUFFER_SIZE=2048 diff --git a/zephcore/boards/common/zephcore_common.conf b/zephcore/boards/common/zephcore_common.conf index ad29629..a1b3196 100644 --- a/zephcore/boards/common/zephcore_common.conf +++ b/zephcore/boards/common/zephcore_common.conf @@ -151,7 +151,7 @@ CONFIG_BT_DIS_FW_REV=y # of truth for the C side, injected as -DFIRMWARE_VERSION). This Kconfig value can't # read a C macro, so it must be bumped here too. Phones that read DIS and phones # that query CMD_DEVICE_QUERY should see the same version. -CONFIG_BT_DIS_FW_REV_STR="v1.16.1-zephyr" +CONFIG_BT_DIS_FW_REV_STR="v1.16.2-zephyr" CONFIG_BT_DIS_SW_REV=y CONFIG_BT_DIS_SW_REV_STR="Zephyr" CONFIG_BT_DIS_PNP=n