Skip to content

Documentation on deps/src/newlib_nano.c #697

Description

@javf88

Dear Threadx team,

I hope you are doing well. I am new with threadx but I find it very interesting as a new RTOS.
Here is a feature/documentation request. Maybe there is no need of documentation and the answers to my questions would be enough :)

kind regards,
javf88

Is your feature request related to a problem? Please describe.
The deps/src/newlib_nano.c file is a bit puzzling. I have worked with newlib and newlib-nano. It seems to me that most of the content of this file are stubs. I found no traces of it in the devkit from Microsoft, but I did find some similar ideas in the mxchip/mxos repo.

What is the purpose of this file? It seems to me that the file has stubs of some POSIX/runtime functions.

Describe the solution you'd like
Could you add some documentation for this file? maybe in the comment at the top of the file could help.

Describe alternatives you've considered
If it is a file with only stubs to be able to link threadx with newlib, I would try to keep it simple and clean. I linked threadx against two different version of arm-none-eabi, the linker complains about different functions that are undefined. Curiously enough, the higher the version of arm-none-eabi, the more undefined functions.

Additional context
I am trying to add a new board to threadx

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

featureNew feature or enhancement request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions