In theory it should be possible, but may be very very slow.
You may see if you can find anything useful in this example
https://github.com/espressif/esp-usb/bl ... _storage.c
Search found 2207 matches
- Tue Mar 19, 2024 5:11 pm
- Forum: ESP-IDF
- Topic: TinyUSB: Create MSC storage device with custom FS callbacks
- Replies: 1
- Views: 329
- Tue Mar 19, 2024 5:08 pm
- Forum: ESP32 Arduino
- Topic: Increase the number of BLE Bluetooth connected devices for ESP32
- Replies: 1
- Views: 1071
Re: Increase the number of BLE Bluetooth connected devices for ESP32
With esp32 you can connect max 7 ble devices.
Arduino BLE library may have limit, which does not apply NimBLE library.
Arduino BLE library may have limit, which does not apply NimBLE library.
- Tue Mar 19, 2024 4:57 pm
- Forum: ESP-IDF
- Topic: ESP-IDF: ESP32S3 DFU when USB CDC is active
- Replies: 1
- Views: 375
Re: ESP-IDF: ESP32S3 DFU when USB CDC is active
On arduino, when you have enabled DFU option, additional endpoint with descriptor is added.
In esp-idf tinyUSB you have to do it exclusively.
In esp-idf tinyUSB you have to do it exclusively.
- Tue Mar 19, 2024 4:35 pm
- Forum: ESP-IDF
- Topic: esp_sleep_enable_ext0_wakeup not working
- Replies: 1
- Views: 380
Re: esp_sleep_enable_ext0_wakeup not working
Code: Select all
esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_PD_OPTION_ON);
esp_sleep_enable_ext0_wakeup((gpio_num_t)BUTTON_PIN, 0);
esp_deep_sleep_start();
- Tue Mar 19, 2024 4:32 pm
- Forum: Hardware
- Topic: Esp32 Freezes
- Replies: 1
- Views: 582
Re: Esp32 Freezes
Code: Select all
smartDelay(0);
...
static void smartDelay(unsigned long ms) {
unsigned long start = millis();
do {
while (Serial2.available())
gps.encode(Serial2.read());
} while (millis() - start < ms); <---
}
- Tue Mar 19, 2024 4:26 pm
- Forum: ESP-IDF
- Topic: ESP-IDF component to set a compilation flag globally
- Replies: 1
- Views: 614
Re: ESP-IDF component to set a compilation flag globally
Example:
bear in mind the order and PUBLIC
Code: Select all
idf_component_register(SRCS ${SRC_FILES}
INCLUDE_DIRS include )
target_compile_options(${COMPONENT_LIB} PUBLIC -Wno-missing-field-initializers -Wno-deprecated-declarations -Wno-unused-variable)
- Tue Mar 19, 2024 4:21 pm
- Forum: General Discussion
- Topic: cdc_acm_host_open(772): Could not find required interface
- Replies: 1
- Views: 1115
Re: cdc_acm_host_open(772): Could not find required interface
It looks like modem is not USB CDC device.
- Tue Mar 19, 2024 4:17 pm
- Forum: ESP-IDF
- Topic: Can't get or set hostname on netif
- Replies: 1
- Views: 770
Re: Can't get or set hostname on netif
When you init ethernet netif with this or similar API:
you can use thi API w/o issues
Code: Select all
ethernetif_init()
Code: Select all
esp_netif_set_hostname(esp_netif, name)
- Tue Mar 19, 2024 4:06 pm
- Forum: Hardware
- Topic: WiFi,BT,etc can add lags? can be turned off?
- Replies: 1
- Views: 988
Re: WiFi,BT,etc can add lags? can be turned off?
If you dont use wifi, ble and other API in your code then library and hardware are not used and do not have impact on your application. All tasks have priority, so you can try to control which tasks should have higher priority and no lag. Also you can create important task on one core and less impor...
- Tue Mar 19, 2024 3:54 pm
- Forum: General Discussion
- Topic: arduino to IDF newbie help managing mulitple apps inline
- Replies: 20
- Views: 1821
Re: arduino to IDF newbie help managing mulitple apps inline
PS on a separate but related note: the NPT example in IDF is EXACTLY what that first app should be. There are notes in there that the “example_connect” function is simplified & should not be used in real work applications. How serious should I take that note? This isn’t a commercial product or anyt...