-
Notifications
You must be signed in to change notification settings - Fork 367
Add SYSTIMER ETM #828
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
Add SYSTIMER ETM #828
Conversation
040acd8 to
fd46802
Compare
|
|
||
| #[entry] | ||
| fn main() -> ! { | ||
| esp_println::logger::init_logger_from_env(); |
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 put these behind a #[cfg(feature = "log")]. I just cleaned up like 26 of these in #810 and that isn't a fun activity
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.
Also please add the examples to CI
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.
ah I keep forgetting about the log vs defmt thing 👍 most probably will just remove it
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.
Normally this should fail in CI but these examples aren't checked (yet) ;)
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.
we do cargo build --examples? there are no features needed so it should build it
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.
True enough. esp-println's log is currently enabled by default right now which makes this pass...
JurajSadel
left a comment
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.
LGTM!
Adds ETM functionality to SYSTIMER