Skip to content

Commit

Permalink
Raw bindings to the TinyUSB remote component
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Jan 2, 2025
1 parent 67abbf3 commit 5a6f457
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add raw bindings to the `mbedtls` API
- Use clang from ESP-IDF when possible
- Use the `bindgen` crate re-exported from `embuild` rather than depending directly on `bindgen`
- Add raw bindings to the `TinyUSB` API

### Fixed
- Fix rust-analyzer by not using rust libtest harness
Expand Down
15 changes: 15 additions & 0 deletions src/include/esp-idf/bindings.h
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,21 @@
#include "driver/usb_serial_jtag.h"
#endif

// Official TinyUSB remote component
#ifdef ESP_IDF_COMP_ESPRESSIF__ESP_TINYUSB_ENABLED
#include "tinyusb.h"
#include "tinyusb_net.h"
#include "tinyusb_types.h"
#include "tusb_cdc_acm.h"
#include "tusb_config.h"
#include "tusb_console.h"
#include "tusb_tasks.h"
#ifdef ESP_IDF_COMP_VFS_ENABLED
#include "tusb_msc_storage.h"
#include "vfs_tinyusb.h"
#endif
#endif

// Official onewire_bus remote component
#ifdef ESP_IDF_COMP_ESPRESSIF__ONEWIRE_BUS_ENABLED
#include "onewire_bus.h"
Expand Down

0 comments on commit 5a6f457

Please # to comment.