Skip to content

Commit 1dc6279

Browse files
keith-packardhenrikbrixandersen
authored andcommitted
tests/subsys/logging/log_backend_uart: Reduce printf size
When using picolibc before 1.8.5, the only way to get 'long long' support was to use the full version, including floating point support. This is too large for this testcase. Reduce the size of the printf code by switching to the version without 64-bit integer support. This allows the test to pass when using older picolibc versions, such as that included with SDK version 0.16.3. Signed-off-by: Keith Packard <[email protected]>
1 parent aedefd4 commit 1dc6279

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/subsys/logging/log_backend_uart/testcase.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,9 @@ common:
1212
tests:
1313
logging.backend.uart.single:
1414
extra_args: DTC_OVERLAY_FILE="./single.overlay"
15+
extra_configs:
16+
- CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
1517
logging.backend.uart.multi:
1618
extra_args: DTC_OVERLAY_FILE="./multi.overlay"
19+
extra_configs:
20+
- CONFIG_CBPRINTF_REDUCED_INTEGRAL=y

0 commit comments

Comments
 (0)