Graham Sanderson
6d87da4c59
Rework lock_core / timers ( #378 )
...
- Add recursive_mutex
- Make all locking primitives and sleep use common overridable wait/notify support to allow RTOS
implementations to replace WFE/SEV with something more appropriate
- Add busy_wait_ms
2021-05-05 11:46:25 -05:00
graham sanderson
e371f6af60
remove useless PICO_ALLOW_SLEED_IN_EXCEPTION
2021-03-04 21:22:48 -06:00
graham sanderson
aca685ceae
panic in debug mode if sleep methods are called in an exception handler (unless PICO_ALLOW_SLEEP_IN_EXCEPTION is set)
2021-03-04 21:22:48 -06:00
Graham Sanderson
e730e03e7f
No malloc for default alarm pool an pheap docs/cleanup ( #143 )
...
* Statically allocate the default timer pool (to avoid pulling in malloc); doxygen for pheap (and some function name changes)
* fix comments
2021-03-04 21:22:48 -06:00
graham sanderson
684986aae6
fix the represntation of at_the_end_of_time to be 63 one bits rather than 32
2021-03-04 21:22:48 -06:00
graham sanderson
503bc8b385
Fixup another level of compiler warnings, add _U() definition
2021-03-04 21:22:48 -06:00
Graham Sanderson
6f94f6a3d7
Add -Wuninitialized -Wunused -Wcast-align to warnings checked by kitchen_sink (and fixup warnings) ( #125 )
2021-03-04 21:22:48 -06:00
graham sanderson
8dd84ad0d8
pico_time comment changes: remove stale comment, include warning about integer overflow
2021-02-01 14:46:45 -06:00
Graham Sanderson
e0b9d0ecd8
remove debugging left in by mistake ( #31 )
2021-02-01 14:46:45 -06:00
graham sanderson
26653ea81e
Initial Release
2021-01-20 10:44:27 -06:00