[riot-commits] [RIOT-OS/RIOT] 26b71a: cpu/esp32: removes additional spaces in freertos

benpicco noreply at github.com
Thu Sep 5 12:42:24 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 26b71a3f14088180311a7a70b3a6c9c1d0e04dce
      https://github.com/RIOT-OS/RIOT/commit/26b71a3f14088180311a7a70b3a6c9c1d0e04dce
  Author: Gunar Schorcht <gunar at schorcht.net>
  Date:   2019-08-12 (Mon, 12 Aug 2019)

  Changed paths:
    M cpu/esp32/include/freertos/portmacro.h

  Log Message:
  -----------
  cpu/esp32: removes additional spaces in freertos


  Commit: 1b041083ab8f3908ea1d68240e9fb8a896b61236
      https://github.com/RIOT-OS/RIOT/commit/1b041083ab8f3908ea1d68240e9fb8a896b61236
  Author: Gunar Schorcht <gunar at schorcht.net>
  Date:   2019-08-12 (Mon, 12 Aug 2019)

  Changed paths:
    M cpu/esp32/freertos/task.c
    M cpu/esp32/include/freertos/portmacro.h

  Log Message:
  -----------
  cpu/esp32: change of critical section handling in freertos

Using a mutex for critical section handling with portENTER_CRITICAL and portEXIT_CRITICAL does not work for RIOT, as this function can also be called in the interrupt context. Therefore, the given mutex is not used. Instead, the basic default FreeRTOS mechanism for critical sections is used by simply disabling interrupts. Since context switches for the ESP32 are also based on interrupts, there is no possibility that another thread will enter the critical section once the interrupts are disabled.


  Commit: d2de4858e219a38e3bfa54db1690858186662c27
      https://github.com/RIOT-OS/RIOT/commit/d2de4858e219a38e3bfa54db1690858186662c27
  Author: Gunar Schorcht <gunar at schorcht.net>
  Date:   2019-08-12 (Mon, 12 Aug 2019)

  Changed paths:
    M cpu/esp32/Makefile

  Log Message:
  -----------
  cpu/esp32: compile riot_freertos only if required


  Commit: 8c5de9b714280b4cd2ee6bd373fdd8b72c7c8787
      https://github.com/RIOT-OS/RIOT/commit/8c5de9b714280b4cd2ee6bd373fdd8b72c7c8787
  Author: Gunar Schorcht <gunar at schorcht.net>
  Date:   2019-08-12 (Mon, 12 Aug 2019)

  Changed paths:
    M cpu/esp32/Makefile.include

  Log Message:
  -----------
  cpu/esp32: module riot_freertos is always required


  Commit: dbd97b7588ae3eeb5f8f61b698a7ac02f18e54bc
      https://github.com/RIOT-OS/RIOT/commit/dbd97b7588ae3eeb5f8f61b698a7ac02f18e54bc
  Author: benpicco <benpicco at googlemail.com>
  Date:   2019-09-05 (Thu, 05 Sep 2019)

  Changed paths:
    M cpu/esp32/Makefile
    M cpu/esp32/Makefile.include
    M cpu/esp32/freertos/task.c
    M cpu/esp32/include/freertos/portmacro.h

  Log Message:
  -----------
  Merge pull request #11947 from gschorcht/cpu/esp32/freertos-critcial-sections

cpu/esp32: critcial section handling changed in FreeRTOS adaptation layer


Compare: https://github.com/RIOT-OS/RIOT/compare/c4dbdb7626c7...dbd97b7588ae


More information about the commits mailing list