Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32-C3: esp-wifi: Does not compile with feature wifi-logs any more. #2111

Closed
frederictobiasc opened this issue Sep 6, 2024 · 2 comments
Closed
Assignees
Labels
bug Something isn't working package:esp-wifi Issues related to the esp-wifi package
Milestone

Comments

@frederictobiasc
Copy link

Hi

since v0.20.0, enabling wifi-logs feature on esp-wifi produces the following error:

(Also happens on latest master d71434a)

    Compiling esp-wifi v0.9.1 (/home/istobic/develop/esp-hal/esp-wifi)
error[E0425]: cannot find function `vsnprintf` in this scope
  --> /home/istobic/develop/esp-hal/esp-wifi/src/compat/syslog.rs:10:13
   |
10 |             vsnprintf(&mut buf as *mut u8, 512, _format, _args);
   |             ^^^^^^^^^ not found in this scope
   |
help: consider importing this function
   |
1  + use esp_wifi_sys::include::vsnprintf;
   |

error[E0425]: cannot find function `str_from_c` in this scope
  --> /home/istobic/develop/esp-hal/esp-wifi/src/compat/syslog.rs:11:27
   |
11 |             let res_str = str_from_c(&buf as *const u8);
   |                           ^^^^^^^^^^ not found in this scope
   |
help: consider importing this function
   |
1  + use crate::compat::common::str_from_c;
   |

@github-project-automation github-project-automation bot moved this to Todo in esp-rs Sep 6, 2024
@frederictobiasc frederictobiasc changed the title esp-wifi: Does not compile with feature wifi-logs any more. ESP32-C3: esp-wifi: Does not compile with feature wifi-logs any more. Sep 7, 2024
@AnthonyGrondin
Copy link
Contributor

Same behaviour is happening on esp32s3.

This bug was introduced in 5420ce0

@MabezDev MabezDev added the bug Something isn't working label Sep 7, 2024
@MabezDev MabezDev added this to the 0.21.0 milestone Sep 7, 2024
@bjoernQ bjoernQ self-assigned this Sep 9, 2024
@jessebraham jessebraham added the package:esp-wifi Issues related to the esp-wifi package label Sep 9, 2024
@MabezDev
Copy link
Member

MabezDev commented Sep 9, 2024

Closed via #2117

@MabezDev MabezDev closed this as completed Sep 9, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in esp-rs Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working package:esp-wifi Issues related to the esp-wifi package
Projects
Archived in project
Development

No branches or pull requests

5 participants