-
Notifications
You must be signed in to change notification settings - Fork 2k
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
cpu/esp32: replace RIOT ESP32 SoC startup function by ESP-IDF SoC startup function #18268
cpu/esp32: replace RIOT ESP32 SoC startup function by ESP-IDF SoC startup function #18268
Conversation
38ece14
to
30c4534
Compare
/* set log levels for SDK library outputs */ | ||
extern void esp_log_level_set(const char* tag, esp_log_level_t level); | ||
esp_log_level_set("wifi", LOG_DEBUG); | ||
esp_log_level_set("gpio", LOG_DEBUG); |
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.
Won't this increase verbosity by a lot? Or is this not what I think it is?
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.
It doesn't increase verbosity, it just sets the maximum level allowed for the gpio component.
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 squash
e5919f5
to
81cafa5
Compare
81cafa5
to
6dd2659
Compare
I had to rebase to resolve conflicts. |
@benpicco Thanks for reviewing and merging |
Contribution description
This PR is a split-off from PR #17841. It replaces the RIOT ESP32 SoC startup function
call_start_cpu0
including clock settings by the startup function as provided with the ESP-IDF. The ESP-IDF SoC startup function can be used for all different ESP32x SoC variants.This PR depends on PR #18261.Testing procedure
Issues/PRs references
Split-off from PR #17841
Depends on PR #18261