Re: [EE] Saving "printf" arguments for later? Real-time on slow processor.
Jason White <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.pic |
|---|---|
| Message-ID | <CAOFvGD4B-W+vLnvjN4SD9hWXYL2N2w0uzGSxA7vQwg2FihSgzA@mail.gmail.com> |
Sort of, it turns out that the processor is so slow that I believe that doing even highly optimized string formatting in real-time would be too slow (but I have not performed the measurements yet to prove it). So, I'm going to resort to saving the arguments and format string to process later when the CPU isn't busy. On Mon, Jan 20, 2025 at 10:33 AM Neil <[email protected]> wrote: > Seems like I missed some of the posts in this thread and don't know what > processors/eco-system this is, but just from the comments here... > Couldn't you replace the printf library with your own? Yes you'd also > have to replace other functions in that library that your code uses. > -- Jason White -- http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at https://mailman.mit.edu/mailman/listinfo/piclist