Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shell: replace log messages in on dev cert to shell print #542

Merged

Conversation

RobertGalatNordic
Copy link
Collaborator

@RobertGalatNordic RobertGalatNordic commented Apr 12, 2024

Because the shell is also responsible for handling log messages, it is impossible to do so while handling the shell command. This results in the delay between the creation of the log message inside the shell handler and its process and printing. Without this message the other side can not be sure if the command succeded, so it can not proced with next command wich causes significant delay.

Now the shell printer is used to pass the messages from shell command and it does no go through logging system.

CI parameters

(branch, hash, pull/XXX/head)
NRF_revision=main

manifest-pr-skip (remove this line to create PR in NRF)

Description

JIRA ticket: KRKNWK-18381

Detail description of the change

Self review

  • There is no commented code.
  • There is no TODO/FIXME comments without associated issue ticket.
  • Commits are properly organized
  • Verification
    • Unit tests were updated to include the change.
    • Change has been tested.

KRKNWK-18381
Because the shell is also responsible for handling log messages,
it is impossible to do so while handling the shell command.
This results in the delay between the creation of the log message
inside the shell handler and its process and printing.
Without this message the other side can not be sure
if the command succeded, so it can not proced with next command
wich causes significant delay.

Now the shell printer is used to pass the messages from
shell command and it does no go through logging system.

Signed-off-by: Robert Gałat <[email protected]>
@github-actions github-actions bot added the source PR changing src files label Apr 12, 2024
Copy link

Sample diff used total
nrf54l15pdk_nrf54l15_cpuapp:sample.sidewalk.dut RAM 0 B 121.36 KB 256 KB
ROM -680 B 414.26 KB 730 KB
nrf52840dk_nrf52840:sample.sidewalk.dut RAM 0 B 143.21 KB 256 KB
ROM -680 B 553.56 KB 983.5 KB
nrf5340dk_nrf5340_cpuapp:sample.sidewalk.dut RAM 0 B 131.55 KB 440 KB
ROM -700 B 491.41 KB 975.5 KB

Copy link
Contributor

@totyz totyz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works.
TAS updated

@totyz totyz merged commit 69dc434 into nrfconnect:main Apr 15, 2024
55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
source PR changing src files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants