Hi,
Now there is a new project under ./demos/various/RT-ARMCM4-MAKELIB, it compiles RT (and port) into a pre-configured library named libch.a. It can be easily cloned in similar projects for M0, M3 and M7 (and others) if required.
A new make target "make header" generates an unified header named "ch_unified.h" which can be used with the library without having to import all headers and without the risk of configuration de-synchronization, all switches are resolved inside the unified header.
This has be done in order to be able to create binary distributions of the OS. A similar work could be done also for NIL, HAL etc.
It is still work in progress, feel free to give suggestions.
Giovanni
[INFO] New Library Generator tool
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
-
- Posts: 77
- Joined: Sat Mar 19, 2016 8:07 pm
- Been thanked: 17 times
Re: [INFO] New Library Generator tool
Could you elaborate more what the usecase for a binary distribution of the os is?
Why not compile it with your program? The makefile system of ChibiOS works really well, rebuilding the whole os just takes a few seconds on a recent machine.
Why not compile it with your program? The makefile system of ChibiOS works really well, rebuilding the whole os just takes a few seconds on a recent machine.
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: [INFO] New Library Generator tool
For example you may want to include the OS in your application as an immutable library free of dependencies on compiler version and options. Test once use forever. Another use is some kind of commercial licenses.
Giovanni
Giovanni
Return to “Development and Feedback”
Who is online
Users browsing this forum: No registered users and 12 guests