cpu/esp*: Xtensa vendor code moved to esp_common#10883
cpu/esp*: Xtensa vendor code moved to esp_common#10883smlng merged 13 commits intoRIOT-OS:masterfrom
Conversation
smlng
left a comment
There was a problem hiding this comment.
mostly doc-related, i.e. use @name for groups instead of @brief ... though this was overseen when merging the original code.
|
@smlng Changed. |
|
@smlng Too late for the 2019.04 release but not too late for next release 😄 I would like to make some progress with this PR (as well as with #10929) since these PRs provide important improvements that are prerequisites for the reimplementation of ESP8266 port in PR #11108. Sorry that I'm pushing a bit 😎 but the conflicts with current master in PR #11108 are already increasing a lot. It will become more and more difficult to resolve all these conflicts while guaranteeing that the reimplementation PR #11108 keeps as stable as it already was. It was already tested completely. |
|
please rebase and squash as needed |
1cefcd9 to
633887e
Compare
|
@sming Thanks for reviewing and testing it again. Rebased and squashed. |
|
Side note: careful with my GitHub name, its |
|
CI is not happy, some whitespace stuff, please amend fix directly |
Ups 😎 Usually, I only type in 'sm' and use the completion which is usually 'smlng'. I didn't take much care. I thought Github is intelligent enough to know from the context of the PR that I didn't want to refer 'sming'. |
Usually, the access to the IROM (flash) memory requires 32-bit word aligned reads. Attempts to access data in the IROM (flash) memory less than 32 bits in size triggers a LoadStoreError exception. With the exception handler from esp-open-rtos it becomes possible to access data in IROM (flash) with a size of less than 32 bits and thus to place .rodata sections in the IROM (flash).
633887e to
de91b8d
Compare
|
@smlng Fixed and all light are green. |
|
retested, all good! |
|
@smlng Thanks again for your fast support. |
Sure thing. I now have a couple of ESP lying around at work and home, so I'm happy to help where ever I can to keep the RIOT support for ESP up and running (and improving)! |
Contribution description
This PR contains all the changes required to use the same vendor code for context, exception, and interrupt handling for ESP8266 and ESP32.
Testing procedure
tests/thread_basicshould still work for an ESP8266 board as well as an ESP32 board.Issues/PRs references
Depends on #10981
This PR is part of refactoring ESP8266 and ESP32 code in issue #10658.