-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
342 changed files
with
51,066 additions
and
25,144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# EditorConfig file for ETC R&D Network Products dept. | ||
# | ||
# To learn more about EditorConfig, go to https://editorconfig.org | ||
# | ||
# To enforce the settings in this file, you may need to download a plugin for | ||
# your editor of choice: https://editorconfig.org/#download | ||
# | ||
# Currently covers C, C++ and Python | ||
# Revision 1: 2019-07-01 | ||
|
||
# This is the top-level EditorConfig file for this project. | ||
root = true | ||
|
||
# Settings to apply to every file affected by this EditorConfig | ||
# Sections lower than this override this section. | ||
[*.{c,cpp,cxx,c++,cc,h,hh,hpp,inl,ipp,py}] | ||
indent_style = space # Indent using spaces | ||
indent_size = 2 # Each indentation level is 2 spaces | ||
trim_trailing_whitespace = true # Trim trailing whitespace from each line | ||
insert_final_newline = true # Add a final newline to each file if missing | ||
|
||
# Specific overrides for Python only | ||
[*.py] | ||
indent_size = 4 # For Python, use 4 space indentation per PEP-8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ lib/ | |
####################### | ||
|
||
# CMake | ||
build/ | ||
build*/ | ||
|
||
# MSVC2015 and Qt | ||
*.VC.db | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,69 @@ | ||
# LightWeight Platform Abstraction | ||
# EtcPal: ETC Platform Abstraction Layer | ||
|
||
[![Build Status](https://dev.azure.com/ETCLabs/lwpa/_apis/build/status/ETCLabs.lwpa?branchName=develop)](https://dev.azure.com/ETCLabs/lwpa/_build/latest?definitionId=1&branchName=develop) | ||
| Test Platform | Build & Test Status | | ||
|---------------|:-------------------:| | ||
| FreeRTOS+lwIP | [![Build & Test Status][freertos-lwip-build-badge]][azure-devops-link] | | ||
| iOS | [![Build Status][ios-build-badge]][azure-devops-link] | | ||
| Linux | [![Build & Test Status][linux-build-badge]][azure-devops-link] | | ||
| macOS | [![Build & Test Status][macos-build-badge]][azure-devops-link] | | ||
| MQX | [![Build & Test Status][mqx-build-badge]][azure-devops-link] | | ||
| Windows | [![Build & Test Status][win-build-badge]][azure-devops-link] | | ||
|
||
This repository contains the LightWeight Platform Abstraction (lwpa) library, | ||
which supports other open-source libraries by [ETC](http://www.etcconnect.com). | ||
[freertos-lwip-build-badge]: https://dev.azure.com/ETCLabs/EtcPal/_apis/build/status/ETCLabs.EtcPal?branchName=develop&stageName=Build%20and%20Test%20EtcPal&jobName=FreeRTOS%2FlwIP | ||
[ios-build-badge]: https://dev.azure.com/ETCLabs/EtcPal/_apis/build/status/ETCLabs.EtcPal?branchName=develop&stageName=Build%20and%20Test%20EtcPal&jobName=iOS | ||
[linux-build-badge]: https://dev.azure.com/ETCLabs/EtcPal/_apis/build/status/ETCLabs.EtcPal?branchName=develop&stageName=Build%20and%20Test%20EtcPal&jobName=Linux | ||
[macos-build-badge]: https://dev.azure.com/ETCLabs/EtcPal/_apis/build/status/ETCLabs.EtcPal?branchName=develop&stageName=Build%20and%20Test%20EtcPal&jobName=macOS | ||
[mqx-build-badge]: https://dev.azure.com/ETCLabs/EtcPal/_apis/build/status/ETCLabs.EtcPal?branchName=develop&stageName=Build%20and%20Test%20EtcPal&jobName=MQX | ||
[win-build-badge]: https://dev.azure.com/ETCLabs/EtcPal/_apis/build/status/ETCLabs.EtcPal?branchName=develop&stageName=Build%20and%20Test%20EtcPal&jobName=Windows | ||
[azure-devops-link]: https://dev.azure.com/ETCLabs/EtcPal/_build/latest?definitionId=4&branchName=develop | ||
|
||
The lwpa library serves two main purposes: | ||
|
||
* Provides a platform-neutral interface for common system calls, in order to | ||
simplify the writing of platform-neutral software libraries. | ||
* Provides a common location for utilities that are used by multiple other | ||
software libraries. | ||
This repository contains ETC's Platform Abstraction Layer (PAL), which supports other open-source | ||
libraries by [ETC](http://www.etcconnect.com). | ||
|
||
ETC develops many software products which target a range of platforms from full desktop OS down to | ||
32-bit microcontrollers. Because of this, there is a need for ETC's software libraries to be highly | ||
portable. The EtcPal library serves this purpose in two main ways: | ||
|
||
* Provides a platform-neutral interface for common system calls, in order to simplify the writing | ||
of platform-neutral software libraries. | ||
* Provides a common location for utilities that are used by multiple other software libraries. | ||
|
||
## Docs | ||
|
||
EtcPal's API documentation is located [here](https://etclabs.github.io/EtcPal/docs/head). The | ||
"modules" entry on the sidebar provides module-by-module documentation. | ||
|
||
## Platform Ports | ||
|
||
lwpa is currently ported for the following platforms: | ||
EtcPal is currently ported for the following platforms: | ||
+ FreeRTOS (OS abstraction only) | ||
+ Linux | ||
+ lwIP (Network abstraction only) | ||
+ macOS | ||
+ Microsoft Windows | ||
+ MQX RTOS | ||
+ MQX | ||
|
||
EtcPal is also buildable in no-OS (bare-metal) environments, with its platform-neutral utility | ||
functionality still available. | ||
|
||
## Building | ||
|
||
lwpa is typically included as a dependency by other software libraries. | ||
However, if you would like to build lwpa on its own as a static lib, there are | ||
instructions in the [documentation](https://etclabs.github.io/lwpa). | ||
EtcPal is typically included as a dependency by other software libraries. However, if you would | ||
like to build EtcPal on its own, there are instructions in the | ||
[documentation](https://etclabs.github.io/EtcPal). | ||
|
||
## License | ||
|
||
EtcPal is licensed under the Apache License 2.0. EtcPal also incorporates some third-party software | ||
with different license terms, disclosed in ThirdPartySoftware.txt in the directory containing this | ||
README file. | ||
|
||
## About this ETCLabs Project | ||
|
||
lwpa is official, open-source software developed by ETC employees and is | ||
designed to interact with ETC products. For challenges using, integrating, | ||
compiling, or modifying this software, we encourage posting on the | ||
[issues page](https://github.com/ETCLabs/lwpa/issues) of this project. | ||
EtcPal is official, open-source software developed by ETC employees and is designed to interact | ||
with ETC products. For challenges using, integrating, compiling, or modifying this software, we | ||
encourage posting on the [issues page](https://github.com/ETCLabs/EtcPal/issues) of this project. | ||
|
||
Before posting an issue or opening a pull request, please read the | ||
[contribution guidelines](./CONTRIBUTING.md). |
Oops, something went wrong.