[libc-commits] [libc] [libc] Allow using sscanf() and vsscanf() on baremetal targets. (PR #130527)
Jesse D via libc-commits
libc-commits at lists.llvm.org
Mon Mar 10 17:54:20 PDT 2025
jdeguire wrote:
> Thanks for this patch, and I'm really excited to learn about your project using our code!
>
> I think the design might need some tweaks to fit our overall design but I'm very interested in making printf and scanf work better for baremetal.
Thanks! I'm really just trying to use Clang, libc, and libc++ to build for Microchip PIC32 ARM microcontrollers. I appreciate that you guys are supporting baremetal environments while providing a modern development experience with up-to-date C and C++ standards support. I have a build script [here](https://github.com/jdeguire/buildPic32Clang/tree/master) to create a whole toolchain. Like I mentioned in my previous reply, I can use both libc and libc++ together (at least in what little testing I've done so far) with just a couple of extra steps to add a few trivial file IO functions. Maybe I can try documenting what I've done--Peter Smith's FOSDEM 2025 presentation was very helpful.
Anyway, I'd better stop getting this PR thread off track. It looks like @petrhosek is already making progress on scanf() support, so I'm okay closing this PR and waiting for his support to land. Your comments are still helpful, so I'll look them over and keep them in mind should I make a future PR for libc. Thanks again!
https://github.com/llvm/llvm-project/pull/130527
More information about the libc-commits
mailing list