-
Notifications
You must be signed in to change notification settings - Fork 18
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
Implement Blocking Logs #252
base: main
Are you sure you want to change the base?
Conversation
Pull reviewers statsStats of the last 120 days for UWOrbital:
|
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.
just a couple of quick changes looks good otherwise
Addressed requested changes @Navtajh04 |
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.
This should be tested on a board before merge. Our unit tests don't cover this
@dgobalak so this is on hold till tested? |
ya we'll just wait for someone to test it before merge |
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.
Has this been tested on board yet? @ShourryaGuha
0fb0de2
to
2ad35a9
Compare
@@ -31,7 +31,12 @@ static log_output_location_t outputLocation; | |||
#define LOGGER_QUEUE_LENGTH 10U | |||
#define LOGGER_QUEUE_ITEM_SIZE sizeof(logger_event_t) | |||
#define LOGGER_QUEUE_RX_WAIT_PERIOD portMAX_DELAY | |||
|
|||
#ifdef ENABLE_BLOCKING_LOGS | |||
#define LOGGER_QUEUE_TX_WAIT_PERIOD portMAX_DELAY |
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.
@Navtajh04 This is just meant for dev purposes right? Cuz on release version, the risk of deadlock and significant delays (causing watchdog timeouts and poor performance) is prob too much
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.
Yeah
Purpose
Add blocking logs feature
New Changes
Testing
Outstanding Changes