Git Product home page Git Product logo

Comments (7)

bjoernQ avatar bjoernQ commented on July 20, 2024 1

Awesome - will give it a try. Long time since I built the compiler myself the last time 😄

from esp-wifi-sys.

karlri avatar karlri commented on July 20, 2024 1

This is an ugly hack but it works. It's not very invasive because it replaces only exactly the function call that bugs out. Not likely woth a PR but if anyone is interested in trying it out, here it is (implemented for esp32 only): 8befe40

from esp-wifi-sys.

MabezDev avatar MabezDev commented on July 20, 2024

I've been applying this patch for vaarg support. I've never personally used vaargs, so it's quite possible this patch is buggy, or is missing some other steps?

from esp-wifi-sys.

MabezDev avatar MabezDev commented on July 20, 2024

Just to be clear, it's already included in the esp-* branch patch set, so it should already be working.

from esp-wifi-sys.

bjoernQ avatar bjoernQ commented on July 20, 2024

The va_list implementation seems to be fine since I can use it with some C code written myself and compiled with GCC. However, the va_list I get from the WiFi driver looks different. For now, I just print the format string on ESP32 which is better than having nothing. Still an interesting and valid issue so keep it open

No idea what I tested back then - here is an issue including a way to reproduce it easily: esp-rs/rust#177

from esp-wifi-sys.

bjoernQ avatar bjoernQ commented on July 20, 2024

Unfortunately esp-rs/rust#171 doesn't fix this

from esp-wifi-sys.

bjoernQ avatar bjoernQ commented on July 20, 2024

Alternatively, we could implement syslog, log_write and log_writev in C until a fix is available.

from esp-wifi-sys.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.