This is an automated email from the ASF dual-hosted git repository.

jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 6a7bc44fc bsp/stm32f3discovery: Disable UART_0 in bootloader
6a7bc44fc is described below

commit 6a7bc44fc0d1b792c5be7165a1591170a13db522
Author: Jerzy Kasenberg <[email protected]>
AuthorDate: Tue Jan 20 09:36:34 2026 +0100

    bsp/stm32f3discovery: Disable UART_0 in bootloader
    
    After upgrade to mcuboot 2.3 bootloader no longer
    fits in 16kB.
    
    This disables UART for bootloader builds, that is not
    used anyway, to make boot code smaller.
    
    Signed-off-by: Jerzy Kasenberg <[email protected]>
---
 hw/bsp/stm32f3discovery/syscfg.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/hw/bsp/stm32f3discovery/syscfg.yml 
b/hw/bsp/stm32f3discovery/syscfg.yml
index 1e96cdf6a..f6745a6e4 100644
--- a/hw/bsp/stm32f3discovery/syscfg.yml
+++ b/hw/bsp/stm32f3discovery/syscfg.yml
@@ -72,5 +72,8 @@ syscfg.vals:
     MYNEWT_DOWNLOADER_MFG_IMAGE_FLASH_OFFSET: 0x08000000
     JLINK_TARGET: STM32F303VC
 
+syscfg.vals.BOOT_LOADER:
+    UART_0: 0
+
 syscfg.restrictions:
     - "!LSM303DLHC_ONB || I2C_0"

Reply via email to