This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
libgloss for stm32 with directory support
- From: Rob Emanuele <rje at crystalfontz dot com>
- To: newlib <newlib at sourceware dot org>
- Date: Thu, 19 May 2011 15:38:43 -0700
- Subject: libgloss for stm32 with directory support
Greetings,
After working with newlib for a few years now and enjoying the
simplicity it has brought me, I have come to a new hurdle. I am using
newlib on an stm32 microprocessor. I've filled in some of syscalls
stubs for console I/O. I've coupled it with a fat filesystem library
and I have all the wonders of filesystem I/O save one. Directory I/O
seems to be unimplemented. Parts of it are implemented but dirent.h
for a generic system needs to be written and then so does the glue
code to the fat filesystem.
So far I haven't created a full libgloss; I have filled out my own
syscalls and compiled/configured newlib with
--disable-newlib-supplied-syscalls.
Is there a way to easily fill out the directory functions in dirent.h
with another example? Is it possible to configure newlib to look
outside of its tree for a custom libgloss and machine/bits headers if
need be as I'd rather not pollute your tree with my experimental code?
(It makes it easier to handle newlib upgrades.) Related to that, is
there some nice document on creating your own libgloss or a complete
list of configure options? (Finding
--disable-newlib-supplied-syscalls was difficult the first time
around.)
Thank you for all your help and this awesome C library.
--Rob