Dirk O. Kaar
Dirk O. Kaar
Here's the latest in performance numbers and what the new Delegate class can do for interrupts. See the comments with the measurements below in this working example. Connect D5 to...
Update: I've removed, for the time being, Delegate in favor of plain std::function. Here are the build results, for a `FunctionalInterrupt.h`, `attachScheduledInterrupt` example: Master: ``` ICACHE *: 32768 - flash...
Further info, performance of back-to-back IRQs, that is, connecting two pins, and let every change on pin A trigger an interrupt on pin B, where the ISR toggles the state...
For further motivation, here are the results when substituting `Delegate` back in for `std::function`: [dok-net:all_in_functional_w_delegate](https://github.com/dok-net/arduino-esp8266/tree/all_in_functional_w_delegate)@80MHz: IRQs/s = 144092
All the compiler limitations with regard to attributes still apply.
With latest commit, completed migration of ESP8266Wifi recently PR'ed to the new Esp class API proposed here.
This variant solves the `abs(-0.0F) := -0.0F` problem, at the expense of a few CPU cycles but also 32 bytes code: ``` #define abstest(x) ({ __typeof__(x) _x = (x); _x...
@earlephilhower Within a single compilation unit, the compiler seems to optimize that overhead. But as you can tell from me not putting it into the PR, instead just giving it...
@mcspr This is not as much about a more perfect abs() function, as it is about being Arduino-alike.
Please, while you are updating this lib, could you check about the fate of > src/utility/enc28j60.h: void clock_delay_usec(uint16_t dt); I don't see any definition of the function anywhere.