-
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/esp_common: fixes common CPU configurations #13516
cpu/esp_common: fixes common CPU configurations #13516
Conversation
To be able to define common configurations for all ESP CPUs, the CPU specific configuration cpu_conf.h has to include a common configuration. For that purpose cpu_conf.h in cpu/esp_common is renamed to cpu_conf_common.h and included in CPU specific configurations.
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.
Tested on esp8266-esp-12x
Hm, I ran |
Yes, this happens sporadically. The test synchronization seems a little unstable. It's the same as with |
Yea, but it prints a
That's unusual. |
Wow, it's a crash. But, I don't see how the changes in this PR should affect the |
Hm, this time the tests failed again but on node |
@benpicco Obviously it was again a problem of a write access of the Although commit 5b4389c already moved the functions of the The test runs are working now. The remaining failures are unrelated. |
@kaspar030 |
Those tests have been failing quite reliably in the past… |
Contribution description
This PR fixes the handling of
cpu_conf.h
incpu/esp_common
. Furthermore, it removes the platform specificheap_stats
function incpu/esp_common
if moduleesp_idf_heap
is not used.ESP CPUs share common definitions in
cpu/esp_common
. There is also acpu_conf.h
file incpu/esp_common
which should contain common CPU configurations. However, this file was not included in the CPU specificcpu_conf.h
incpu/esp32
andcpu/esp8266
so that the definitions in this file had no affect. Furthermore, to include this file in CPU specificcpu_conf.h
, it has to be renamed.Testing procedure
Compilation should succeed in Murdock.
Issues/PRs references
Prerequisite for PR #13517