Search found 19 matches

by godzilla2
Fri Sep 10, 2021 4:44 am
Forum: General Discussion
Topic: Despite REQUIRES console vfs, I still get "undefined reference to esp_vfs_dev_cdcacm_set_rx_line_endings"
Replies: 2
Views: 2750

Re: Despite REQUIRES console vfs, I still get "undefined reference to esp_vfs_dev_cdcacm_set_rx_line_endings"

I made a small test app that reproduces the issue with a single project. Maybe its some weird sdkconfig.
jtest.zip
(27 KiB) Downloaded 347 times
by godzilla2
Fri Sep 10, 2021 4:19 am
Forum: General Discussion
Topic: Despite REQUIRES console vfs, I still get "undefined reference to esp_vfs_dev_cdcacm_set_rx_line_endings"
Replies: 2
Views: 2750

Despite REQUIRES console vfs, I still get "undefined reference to esp_vfs_dev_cdcacm_set_rx_line_endings"

Hi, I am trying to integrate the 'console' example into my project. I can compile the example, just fine. But when I copy paste the code into my project, I get this error: undefined reference to esp_vfs_dev_cdcacm_set_rx_line_endings I've hit these isssues before, and usually they are resolved by fi...
by godzilla2
Mon Aug 02, 2021 10:16 pm
Forum: Report Bugs
Topic: ESP32-S2 Saola, enabling PSRAM causes wifi init to fail with ESP_ERR_NO_MEM
Replies: 3
Views: 15438

Re: ESP32-S2 Saola, enabling PSRAM causes wifi init to fail with ESP_ERR_NO_MEM

More details:

OS: Mac OS 11.5
IDF: esp-idf-4.4, master. June 25, 2021. commit:8e3e65a47
by godzilla2
Mon Aug 02, 2021 10:14 pm
Forum: Report Bugs
Topic: ESP32-S2 Saola, enabling PSRAM causes wifi init to fail with ESP_ERR_NO_MEM
Replies: 3
Views: 15438

Re: ESP32-S2 Saola, enabling PSRAM causes wifi init to fail with ESP_ERR_NO_MEM

I also just tried this setting: CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y "Try to allocate memories of WiFi and LWIP in SPIRAM firstly. If failed, allocate internal memory" and tried bumping this setting: -CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=32768 +CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=64768 No diffe...
by godzilla2
Mon Aug 02, 2021 10:10 pm
Forum: Report Bugs
Topic: ESP32-S2 Saola, enabling PSRAM causes wifi init to fail with ESP_ERR_NO_MEM
Replies: 3
Views: 15438

ESP32-S2 Saola, enabling PSRAM causes wifi init to fail with ESP_ERR_NO_MEM

I just enabled external SPI ram on my ESP-32S2 Saola, and it is causing wifi init to fail with a 'no memory error'. I've made the change in the Visual Studio Code config editor, and it appears to change this line: CONFIG_ESP32S2_SPIRAM_SUPPORT=y but also automatically changes these lines: -CONFIG_ES...
by godzilla2
Fri May 21, 2021 7:51 pm
Forum: ESP-IDF
Topic: I would like to use USB host on ESP32-S2 in ESP-IDF
Replies: 52
Views: 46498

Re: I would like to use USB host on ESP32-S2 in ESP-IDF

You can also try my library, which is a bit friendlier to use IMO:

https://github.com/chipweinberger/xesp-usbh
by godzilla2
Mon May 10, 2021 4:55 am
Forum: ESP-IDF
Topic: I would like to use USB host on ESP32-S2 in ESP-IDF
Replies: 52
Views: 46498

Re: I would like to use USB host on ESP32-S2 in ESP-IDF

Yes! found the issue. When I open the bulk endpoint the usb device address is no longer zero. I needed that number to be dynamic. Totally overlooked that. hcd_pipe_config_t config = { .callback = pipe_isr_callback, .callback_arg = (void *)port, .context = NULL, .ep_desc = use_ep0 ? NULL : ep, .dev_a...
by godzilla2
Sun May 09, 2021 9:25 am
Forum: ESP-IDF
Topic: I would like to use USB host on ESP32-S2 in ESP-IDF
Replies: 52
Views: 46498

Re: I would like to use USB host on ESP32-S2 in ESP-IDF

chegewara, I really apreciate your help. Were you able to get Bulk endpoints working? Whenever I try to initiate a transfer the pipe goes into a halted hcd_pipe_state and reports a generic error. Also, I took your code and made a libusb inspired API for hcd. You can see it here. https://github.com/c...
by godzilla2
Wed Apr 28, 2021 5:18 am
Forum: ESP-IDF
Topic: I would like to use USB host on ESP32-S2 in ESP-IDF
Replies: 52
Views: 46498

Re: I would like to use USB host on ESP32-S2 in ESP-IDF

chegewara,

any chance you could post your USB host code? It would be a great great help!