-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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] Fixes for Matter cli #31768
[shell] Fixes for Matter cli #31768
Conversation
andrei-menzopol
commented
Jan 30, 2024
•
edited
Loading
edited
- Add backspace character handling in ReadLine
- The otcli command buffer (128) was to small for some ot commands like otcli dataset set active . The 128 value was taken from an OT config a long time ago and since was increased to 384.
d187629
to
e209ca7
Compare
PR #31768: Size comparison from f5ca5ad to 0d4bdcc Increases (4 builds for linux, telink)
Decreases (1 build for efr32)
Full report (73 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, stm32, telink)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please just increase the value and apply you ain't gonna need it
for the define - I don't think this define is worth to have as a configurable compile-time define. Seems overly complex.
set static constexpr kMaxLineLength
in the file and be done with it. Using a define with a kCamelCase
name was wrong to begin with.
0d4bdcc
to
4c89b9f
Compare
The otcli command buffer (128) was to small for some ot commands like otcli dataset set active <hex dataset>. The 128 value was taken from an OT config a long time ago and since was increased to 384. A new static constexpr was created with the value of 384 to be used instead of the define. Signed-off-by: Marius Preda <[email protected]>
Signed-off-by: Andrei Menzopol <[email protected]>
4c89b9f
to
74133aa
Compare
PR #31768: Size comparison from 219c3f0 to 74133aa Increases (4 builds for linux, telink)
Decreases (1 build for efr32)
Full report (73 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, stm32, telink)
|
Done, thank you |