Files
esp-idf/components/bt/test_apps/basic_unit_test
chenjianhua 0407893834 feat(bt): Add host-agnostic BT OSAL and shared BLE profile task
- Add bt_osal: event queues, mutexes, semaphores, callouts, etc.
- Add the shared BLE profile task and event queue
- Bring both up and tear them down in the host init/deinit paths
- Add unit tests for the OSAL and the profile task
2026-07-26 13:24:53 +08:00
..

Supported Targets ESP32 ESP32-C3 ESP32-C5

bt component unit tests

When adding new test cases, check if the depends_components list in .build-test-rules.yml needs to be updated to include additional components. The test app will only be built and tested when these components are modified.

To build and run this test app, using esp32c3 target for example:

idf.py set-target esp32c3
idf.py build flash monitor

To run tests using pytest:

idf.py set-target esp32c3
idf.py build
pytest --target=esp32c3