lwpa
0.1.0
LightWeight Platform Abstraction (lwpa)
|
View other versions:
|
lwpa is a C-language library for platform abstraction. It supports the writing of platform-neutral C and C++ libraries by providing a set of modules to abstract common system calls. There are also a few platform-neutral utilities (i.e. data structures, logging) thrown in here and there for convenience.
lwpa modules are typically optimized for embedded platforms and thus designed to be as thin a wrapper over the underlying OS functionality as possible.
To jump right into the documentation, check out the Modules Overview.
the sources for lwpa are located in the heirarchy:
The includes are in the heirarchy:
Some lwpa headers are platform-specific and duplicated for each platform. Platform-specific headers for the same module will always conform to an identical interface, as documented in that module's documentation.
lwpa is currently ported for the following platforms:
lwpa is built with CMake, a popular cross-platform build system generator. CMake can also be used to include lwpa as a dependency to other projects, i.e. using the add_subdirectory()
command.
To configure and build lwpa on its own using CMake, follow these steps:
-G
option; otherwise, CMake will choose a system-appropriate default. Use cmake --help
to see all available options.Alternatively, if you don't want to use CMake, your project can simply build in the lwpa sources directly using the appropriate directories for your target platform. This is currently the only option for MQX RTOS.
The platform ports of lwpa have the following dependencies: