-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nrf_modem_lib: trace_backends: rtt: early alloc buf
Allocate the modem trace buffer for the RTT backend on boot, instead of when `nrf_modem_lib_init` is called. This allows the user to delay the call to `nrf_modem_lib_init`, giving them a chance to attach to the RTT channel before the modem starts. Without this change the start of trace logs from the RTT backend are invariably lost, as the user cannot attach until after data generation has started. Update tests to work with the move of `SEGGER_RTT_AllocUpBuffer` into a `SYS_INIT` function. Signed-off-by: Jordan Yates <[email protected]>
- Loading branch information
1 parent
f869800
commit 9c52e3d
Showing
3 changed files
with
28 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters