Skip to content

Conversation

@pdgendt
Copy link
Contributor

@pdgendt pdgendt commented Nov 28, 2024

Add wrapper DEVICE_API macro to all uart_driver_api instances.

The UART API is known at compile time based on Kconfig options.

Signed-off-by: Pieter De Gendt <[email protected]>
Add wrapper DEVICE_API macro to all uart_driver_api instances.

Signed-off-by: Pieter De Gendt <[email protected]>
@pdgendt pdgendt added the area: UART Universal Asynchronous Receiver-Transmitter label Nov 29, 2024
The API was placed in RAM to support logging stack unwinding, however
device instances are also placed in ROM, so should the API instances.

Signed-off-by: Pieter De Gendt <[email protected]>
@nashif nashif self-assigned this Nov 30, 2024
@fabiobaltieri fabiobaltieri merged commit c896dd3 into zephyrproject-rtos:main Dec 2, 2024
26 checks passed
@pdgendt pdgendt deleted the linker-api-uart branch December 2, 2024 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: UART Universal Asynchronous Receiver-Transmitter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants