Marius Vikhammer 7c78de7be8 CI: migrate esp_event and select example to pytest 3 anni fa
..
main 722fde218d uart: add default source clock for all targets 3 anni fa
CMakeLists.txt facab8c5a7 tools: Increase the minimal supported CMake version to 3.16 3 anni fa
README.md c0568611dd docs: changes docs supported targets tables 3 anni fa
pytest_select.py 7c78de7be8 CI: migrate esp_event and select example to pytest 3 anni fa
sdkconfig.ci 709abee65c example_tests: Deletes usage esp32c3 ECO0 in CI (by default ECO3) 4 anni fa

README.md

Supported Targets ESP32 ESP32-C3 ESP32-S2 ESP32-S3

Synchronous I/O multiplexing example

The example demonstrates the use of synchronous I/O multiplexing by the select() function with UART and socket file descriptors. The example starts three tasks:

  1. The first task writes periodically to the UART1 file descriptor.
  2. The second task writes periodically to the socket descriptor.
  3. Both UART1 and the socket are configured to act as loopbacks. The third task detects by the use of select() whether it is possible to read from UART1 or the socket, and receives the sent messages from the other tasks.

See the README.md file in the upper level 'examples' directory for more information about examples.