[riot-notifications] [RIOT-OS/RIOT] cpu/esp*: Xtensa vendor code moved to esp_common (#10883)

Gunar Schorcht notifications at github.com
Sun Jan 27 16:43:04 CET 2019


### 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_basic` should still work for an ESP8266 board as well as an ESP32 board.

### Issues/PRs references

This PR is part of refactoring ESP8266 and ESP32 code in issue #10658.
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/10883

-- Commit Summary --

  * cpu/esp8266: SDK interrupt handling removed
  * cpu/esp8266: changes for ESP32 compatibility
  * cpu/esp8266: same xtensa basics as ESP32
  * cpu/esp32: SDK_INT_HANDLING definition removed
  * cpu/esp32: RIOT_OS macro replaced by RIOT_VERSION
  * cpu/esp32: SDK_USED replace by MODULE_ESP_SDK
  * cpu/esp32: fix coprocessor stack alignment
  * cpu/esp32: remove temporary code
  * cpu/esp_common: xtensa vendor files added
  * cpu/esp32: move xtensa lib to esp_common
  * cpu/esp8266: move xtensa lib to esp_common

-- File Changes --

    M cpu/esp32/Makefile.include (2)
    M cpu/esp32/include/irq_arch.h (25)
    M cpu/esp32/include/xtensa_conf.h (4)
    M cpu/esp32/thread_arch.c (6)
    M cpu/esp32/vendor/Makefile (1)
    M cpu/esp32/vendor/README.md (3)
    M cpu/esp32/vendor/esp-idf/esp32/dport_access.c (4)
    D cpu/esp32/vendor/xtensa/xtensa_intr.c (141)
    D cpu/esp32/vendor/xtensa/xtensa_rtos.h (247)
    D cpu/esp32/vendor/xtensa/xtensa_timer.h (170)
    M cpu/esp8266/Makefile.include (8)
    M cpu/esp8266/exceptions.c (53)
    M cpu/esp8266/include/cpu_conf.h (34)
    M cpu/esp8266/include/irq_arch.h (22)
    M cpu/esp8266/include/xtensa_conf.h (4)
    M cpu/esp8266/sdk/ets.h (11)
    M cpu/esp8266/startup.c (2)
    M cpu/esp8266/vendor/Makefile (1)
    M cpu/esp8266/vendor/README.md (3)
    D cpu/esp8266/vendor/xtensa/Makefile (3)
    D cpu/esp8266/vendor/xtensa/README.md (30)
    D cpu/esp8266/vendor/xtensa/portasm.S (620)
    D cpu/esp8266/vendor/xtensa/xtensa_api.h (127)
    D cpu/esp8266/vendor/xtensa/xtensa_context.S (623)
    D cpu/esp8266/vendor/xtensa/xtensa_context.h (355)
    D cpu/esp8266/vendor/xtensa/xtensa_intr_asm.S (187)
    D cpu/esp8266/vendor/xtensa/xtensa_vectors.S (1924)
    M cpu/esp_common/Makefile (2)
    A cpu/esp_common/vendor/Makefile (4)
    A cpu/esp_common/vendor/README.md (4)
    R cpu/esp_common/vendor/xtensa/Makefile (0)
    R cpu/esp_common/vendor/xtensa/README.md (0)
    R cpu/esp_common/vendor/xtensa/portasm.S (28)
    R cpu/esp_common/vendor/xtensa/xtensa_api.h (0)
    R cpu/esp_common/vendor/xtensa/xtensa_context.S (0)
    R cpu/esp_common/vendor/xtensa/xtensa_context.h (0)
    R cpu/esp_common/vendor/xtensa/xtensa_intr.c (4)
    R cpu/esp_common/vendor/xtensa/xtensa_intr_asm.S (6)
    R cpu/esp_common/vendor/xtensa/xtensa_rtos.h (0)
    R cpu/esp_common/vendor/xtensa/xtensa_timer.h (0)
    R cpu/esp_common/vendor/xtensa/xtensa_vectors.S (16)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/10883.patch
https://github.com/RIOT-OS/RIOT/pull/10883.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10883
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190127/e9c22c14/attachment-0001.html>


More information about the notifications mailing list