Dirk O. Kaar

Results 22 issues of Dirk O. Kaar

I am speeding up `optimistic_yield()` in ESP8266 master from idle 80 cycles to 32 cyles by inlining the usually constexpr parameter conversion from µs to cycles. Writing directly inlined code...

Implementing in ESP class the sleep modes that are pertinent with and without WiFi: - forced light sleep, with/without timeout, with/without GPIO wakeup. - automatic light sleep when idling, like...

This now needs review and testing. At time of publishing, the following MCVE works for eyes and ears, not tested with an oscilloscope by myself yet: ``` #include #ifndef D5...

@earlephilhower This is basically a cleanup, and I'm asking for you to review this, because it's your code. I'm head scratching about the weak-ref magic you performed, it looks convoluted,...

A C++ std library functional/bind/lambdas based quite clean implementation [of the same functionality as in #6055 (closed) ] Edit: Since May 4 2019, original PR date, a lot has changed,...

The purpose of optimistic_yield is to be used in library functions that get called in tight loops from CONT, in order to avoid unnecessarily frequent yields to SYS, and the...

To switch the TX between default `OUTPUT` and `OUTPUT_OPEN_DRAIN` modes, a function `enableTxOpenDrain()` is added to the API.