Skip to content
This repository has been archived by the owner on Apr 24, 2019. It is now read-only.

Fix irq contexts #31

Merged
merged 2 commits into from
Aug 24, 2016
Merged

Fix irq contexts #31

merged 2 commits into from
Aug 24, 2016

Commits on Aug 24, 2016

  1. Removed non-irq-friendly trace call in irq context

    During debugging, the tr_debug call in M2MConnectionHandlerPimpl::socket_event
    took an unacceptable amount of time to complete, causing bytes traveling
    through the serial connections to be dropped.
    
    This was unnoticable in lwip's network-socket implementation due to not
    occuring in an interrupt context, but prevented the esp8266 from working
    correctly.
    geky committed Aug 24, 2016
    Configuration menu
    Copy the full SHA
    a318683 View commit details
    Browse the repository at this point in the history
  2. Removed memory allocations in interrupt context

    Replaced malloc calls in interrupt contexts with allocations from a
    local memory pool using rtos::MemoryPool
    geky committed Aug 24, 2016
    Configuration menu
    Copy the full SHA
    368311e View commit details
    Browse the repository at this point in the history