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
mgmt: hawkbit: autohandler and shell optimize #71037
base: main
Are you sure you want to change the base?
mgmt: hawkbit: autohandler and shell optimize #71037
Conversation
b3e2f2d
to
34ccf08
Compare
34ccf08
to
839b1c2
Compare
839b1c2
to
28ce2f7
Compare
28ce2f7
to
4755f4d
Compare
3a04bdf
to
d7fcf8c
Compare
d7fcf8c
to
54b5308
Compare
01155a7
to
12df207
Compare
12df207
to
9803ac3
Compare
f423451
to
2b559e2
Compare
2b559e2
to
55c4cdf
Compare
87085d1
to
47da142
Compare
47da142
to
8da445a
Compare
f946939
to
0cba492
Compare
9a6f7ec
to
84783a7
Compare
Rebased to resolve conflicts. |
e25718f
to
d3ed06d
Compare
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.
ok'ish for the release notes and migration guide.
Just a minor suggestion for improvement.
Though, if it were me, I would probably be less verbose and just list which new APIs have been added and rely on the link to their doxygen generated docs, instead of reexplaining it in the release notes.
83cfa48
to
5527168
Compare
staticly init hawkbit_work_handle Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
add option for autohandler to only run once. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Add hawkbit_autohandler_wait() to be able to wait for the autohandler to finish. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Also use a workqueue, when execution of hawkBit is requested via shell. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
If the run of the autohandler is started from shell, it will be logged. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Be able to delay the next run of the hawkbit autohandler. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Mention change of hawkbit autohandler and shell in the migration guide and the release notes. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
5527168
to
ee567b4
Compare
ping @ycsin |
also use the workqueue for the run of hawkBit, when requested via the shell. This way the run via the shell will use the same thread as the autohandler run. We also can eliminate redundant code.
This has mainly the benefit of not having to extend the stack size of the shell threads. Explicitly when having multiple shell instances, then the stack of every instance has to be bigger.
This is needed for #70787 as it moves the buffers from global to the stack.