...
While I refuse to put non-standard or useless stuff in NuttX header files, there are ways to work around this. Suppose that you create a directory called myincludes/
and in your {{ myincludes/
}} directory is a header called time.h
. This time.h
header file consists of:
...
In this way you an append or modify any of the NuttX header files to suit your own purposes without my having to accept changes that I do not want into the NuttX repository.
When Does It Make Sense?
...
When does it make sense to add new definitions, types, and function prototypes to the NuttX header files? Only under the following conditions:
...