cpu/esp_common: fixes common CPU configurations#13516
cpu/esp_common: fixes common CPU configurations#13516benpicco merged 5 commits intoRIOT-OS:masterfrom
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.
benpicco
left a comment
There was a problem hiding this comment.
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.hincpu/esp_common. Furthermore, it removes the platform specificheap_statsfunction incpu/esp_commonif moduleesp_idf_heapis not used.ESP CPUs share common definitions in
cpu/esp_common. There is also acpu_conf.hfile incpu/esp_commonwhich should contain common CPU configurations. However, this file was not included in the CPU specificcpu_conf.hincpu/esp32andcpu/esp8266so 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