Skip to content

Commit a0382bd

Browse files
nordic-krchcarlescufi
authored andcommitted
soc: arm: nordic_nrf: Disable UART runtime configuration
Since it takes 400 bytes of code and it is rarely used disable by default this feature. Signed-off-by: Krzysztof Chruściński <[email protected]>
1 parent 2854fc1 commit a0382bd

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

doc/releases/migration-guide-3.6.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,10 @@ Device Drivers and Device Tree
204204
<&rcc STM32_SRC_PLL1_Q FDCAN_SEL(1)>;
205205
};
206206
207+
* Runtime configuration is now disabled by default for Nordic UART drivers. The motivation for the
208+
change is that this feature is rarely used and disabling it significantly reduces the memory
209+
footprint.
210+
207211
Power Management
208212
================
209213

soc/arm/nordic_nrf/Kconfig.defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,7 @@ config GPIO
4040
default y
4141
depends on SPI
4242

43+
config UART_USE_RUNTIME_CONFIGURE
44+
default n
45+
4346
endif # SOC_FAMILY_NRF

0 commit comments

Comments
 (0)