Skip to content

max32670 SOC cannot build with minimal libc when UART is enabled #89550

@danieldegrasse

Description

@danieldegrasse

Describe the bug
It appears that the MAX32670 SOC cannot build its UART driver whenever minimal libc is in use, this is caused by the usage of the pow() function in the UART HAL. One example of a failing testcase can be seen with:

west build -p always -b max32670evkit/max32670 -T tests/lib/c_lib/strerror/libraries.libc.strerror.minimal.strerror_table

To Reproduce

west build -p always -b max32670evkit/max32670 -T tests/lib/c_lib/strerror/libraries.libc.strerror.minimal.strerror_table

Expected behavior
If UART driver requires support for full LIBC, it should select CONFIG_REQUIRES_FULL_LIBC

Impact
Test failures in weekly twister run, see here: https://github.com/zephyrproject-rtos/zephyr/actions/runs/14812886367

Metadata

Metadata

Labels

bugThe issue is a bug, or the PR is fixing a bugplatform: ADIAnalog Devices, Inc.priority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions