pico-sdk/src
Graham Sanderson a540ca905a
Add new async_context abstraction and refactor cyw43_arch to use it (#1177)
* Extract all poll/threadsafe_background/freertos from cyw43_arch into new abstraction async_context:
* provides support for asynchronous events (timers/IRQ notifications) to be handled in a safe context.
* now guarantees all callbacks happen on a single core.
* is reusable by multiple different libraries (stdio_usb can now be ported to this but hasn't been yet).
* supports multiple independent instances (independent instances will not block each other).
* cyw43_arch libraries cleaned up to use the new abstraction. Note each distinct cyw43_arch type is now a very thin layer that creates the right type of context and adds cyw43_driver and lwip support as appropriate.

Additionally,

* Add new pico_time and hardware_alarm APIs
* Add from_us_since_boot()
* Add alarm_pool_create_with_unused_hardware_alarm()
* Add alarm_pool_add_alarm_at_force_in_context()
* Add hardware_alarm_claim_unused()
* Add hardware_alarm_force_irq()
* Added panic_compact() and some minor comment cleanup; moved FIRST_USER_IRQ define to platform_defs.h
2023-01-24 12:01:24 -06:00
..
boards Add nullbits Bit-C PRO (#1149) 2023-01-18 07:20:37 -06:00
common Add new async_context abstraction and refactor cyw43_arch to use it (#1177) 2023-01-24 12:01:24 -06:00
host Add new async_context abstraction and refactor cyw43_arch to use it (#1177) 2023-01-24 12:01:24 -06:00
rp2_common Add new async_context abstraction and refactor cyw43_arch to use it (#1177) 2023-01-24 12:01:24 -06:00
rp2040 Add new async_context abstraction and refactor cyw43_arch to use it (#1177) 2023-01-24 12:01:24 -06:00
board_setup.cmake Fix default PICO_BOARD value (#536) 2021-08-06 12:21:59 -05:00
CMakeLists.txt respect OUTPUT_NAME target property when generating supplemental files (#592) 2021-10-12 09:08:44 -05:00
host.cmake Initial Release 2021-01-20 10:44:27 -06:00
rp2_common.cmake Fix build issues with spaces and parentheses (#1136) 2022-12-06 18:45:57 -05:00
rp2040.cmake Initial Release 2021-01-20 10:44:27 -06:00