1. 10 Dec, 2018 10 commits
  2. 07 Dec, 2018 2 commits
  3. 06 Dec, 2018 8 commits
  4. 05 Dec, 2018 3 commits
  5. 04 Dec, 2018 8 commits
  6. 03 Dec, 2018 3 commits
  7. 01 Dec, 2018 4 commits
  8. 28 Nov, 2018 2 commits
    • Damien George's avatar
      esp32: Allocate task TCB and stack from system heap not uPy heap. · 485514f5
      Damien George authored
      This is necessary for two reasons: 1) FreeRTOS still needs the TCB data
      structure even after vPortCleanUpTCB has been called, so this latter hook
      function cannot free the TCB, and there is no where else to safely delete
      it (this behaviour has changed recently in the ESP IDF); 2) when using
      external SPI RAM the uPy heap is in this external memory but the task stack
      must be allocated from internal SRAM.
      
      Fixes issue #3904.
      485514f5
    • Damien George's avatar
      esp32/mpthreadport: Prevent deadlocks when deleting all threads. · 0233049b
      Damien George authored
      vTaskDelete now immediately calls vPortCleanUpTCB, which requires the
      thread_mutex mutex, so vTaskDelete must be called after this mutex is
      released.
      0233049b