31 Commits

Author SHA1 Message Date
2fb487f091 missing source file in posix port 2023-01-13 10:57:05 +01:00
2d0c6860d4 adding mem manager to posix port 2023-01-13 10:35:34 +01:00
3ad3c61a87 fixing visibility of port include 2023-01-13 10:08:11 +01:00
b77b3d95cf adding posix port to cmake 2023-01-13 09:54:42 +01:00
c8ff368db0 typo 2023-01-12 17:11:44 +01:00
9371aa1716 version 2023-01-12 17:09:22 +01:00
22d6e40329 initial CMakeLists.txt 2023-01-12 17:06:31 +01:00
d873a3ed51 Changes for LTS 202210.01 Patch (#27)
* Changes for LTS 202210.01 Patch

Co-authored-by: Soren Ptak <skptak@amazon.com>
2022-11-17 16:16:33 -08:00
1e6e92f51e Updating submodules (#26) 2022-10-14 13:53:21 -07:00
795f5ab649 Update README.md (#23) 2022-10-14 11:54:00 -07:00
aaa64755d4 Update manifest.yml (#24) 2022-10-14 11:53:30 -07:00
2855c08d3b Update CHANGELOG.md (#25) 2022-10-14 11:53:13 -07:00
e4a2224e16 Update manifest.yml file for LTS 2.0 (#21)
* Update CHANGELOG.md and README.md for LTS 2.0.

* Update manifest.yml for LTS 2.0.

Co-authored-by: Jason Carroll <czjaso@amazon.com>
2022-10-14 11:44:27 -07:00
7c78114b5e Update submodules for LTS 2.0. (#22) 2022-10-14 11:44:05 -07:00
c13962d197 Update CHANGELOG.md and README.md for LTS 2.0. (#19)
Co-authored-by: Jason Carroll <czjaso@amazon.com>
2022-10-13 18:09:04 -07:00
1ebd24387c Merge pull request #18 from Skptak/202210-LTS
Update Main To 202012-LTS
2022-10-04 14:09:41 -07:00
92c255945f Using 202012-LTS As the starting point for this branch 2022-10-04 20:56:47 +00:00
7e3cee0ae6 3 years of support, not 2 2022-09-22 19:04:43 +00:00
768a68d7cd Merge branch 'main' into 202209-LTS 2022-09-21 10:53:29 -07:00
21264d7875 Updating the version in the README and manifest files for LTS 2.0 2022-09-21 17:50:43 +00:00
946c272864 Update FreeRTOS-Kernel to 10.4.3-LTS-Patch-3 (#14)
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2022-09-17 22:01:04 +05:30
45db7b3ccd Update FreeRTOS-Plus-TCP to V2.3.2-LTS-Patch-2 (#13) 2022-02-25 13:24:50 -08:00
5ba25033a5 Update README with EMP details (#12)
* Update README with EMP details
2021-11-24 12:13:09 -08:00
6af390ae37 Update FreeRTOS-Kernel to 10.4.3-LTS-Patch-2 (#11)
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2021-11-12 11:35:36 -08:00
ed0270e43f 202012.02 LTS Patch Release (#10)
202012.02 LTS Patch Release

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2021-09-10 14:27:57 -07:00
796f78789e Merge pull request #9 from xuelix/secret
Git-secrets check on all PR branches
2021-03-05 22:00:01 +00:00
89d8cd7e2b Remove branch keywords 2021-03-04 14:59:34 -08:00
7d3942ab56 Merge pull request #7 from xuelix/git-secrets
Added git-secrets check to Github Actions
2021-03-04 13:23:40 -08:00
50dbe5f751 Changed to use correct branch name in PR case 2021-03-04 11:17:44 -08:00
43152ec6b7 Added git-secrets check to Github Actions 2021-03-02 15:49:24 -08:00
6b8fd2c50c Update README.md 2020-12-15 08:04:20 -08:00
21 changed files with 183 additions and 60 deletions

24
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: CI Checks
on:
push:
pull_request:
workflow_dispatch:
jobs:
git-secrets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Checkout awslabs/git-secrets
uses: actions/checkout@v2
with:
repository: awslabs/git-secrets
ref: master
path: git-secrets
- name: Install git-secrets
run: cd git-secrets && sudo make install && cd ..
- name: Run git-secrets
run: |
git-secrets --register-aws
git-secrets --scan

12
.gitmodules vendored
View File

@ -40,3 +40,15 @@
path = aws/ota-for-aws-iot-embedded-sdk
branch = main
url = https://github.com/aws/ota-for-aws-iot-embedded-sdk.git
[submodule "aws/fleet-provisioning-for-aws-iot-embedded-sdk"]
path = aws/fleet-provisioning-for-aws-iot-embedded-sdk
url = https://github.com/aws/Fleet-Provisioning-for-AWS-IoT-embedded-sdk.git
[submodule "FreeRTOS/coreSNTP"]
path = FreeRTOS/coreSNTP
url = https://github.com/FreeRTOS/coreSNTP
[submodule "aws/sigv4-for-aws-iot-embedded-sdk"]
path = aws/sigv4-for-aws-iot-embedded-sdk
url = https://github.com/aws/SigV4-for-AWS-IoT-embedded-sdk.git
[submodule "FreeRTOS/FreeRTOS-Cellular-Interface"]
path = FreeRTOS/FreeRTOS-Cellular-Interface
url = https://github.com/FreeRTOS/FreeRTOS-Cellular-Interface.git

View File

@ -1,20 +1,25 @@
# ChangeLog for FreeRTOS 202012-LTS
# ChangeLog for FreeRTOS 202210-LTS
## 202012.01-LTS (March 2021)
## 202210.01-LTS (November 2022)
Update the following libraries in the Long Term Support (LTS) patch release:
* [FreeRTOS-Kernel V10.5.1](https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/V10.5.1/History.txt)
* [coreMQTT v2.1.1](https://github.com/FreeRTOS/coreMQTT/blob/v2.1.1/CHANGELOG.md)
Add the following libraries to the Long Term Support (LTS) release:
* [AWS IoT Device Defender v1.1.0](https://github.com/aws/Device-Defender-for-AWS-IoT-embedded-sdk/tree/v1.1.0)
* [AWS IoT Jobs v1.1.0](https://github.com/aws/Jobs-for-AWS-IoT-embedded-sdk/tree/v1.1.0)
* [AWS IoT Over-the-air Update v3.0.0](https://github.com/aws/ota-for-aws-iot-embedded-sdk/tree/v3.0.0)
## 202012.00-LTS (December 2020)
## 202210.00-LTS (October 2022)
Long Term Support (LTS) release of the following libraries:
* [FreeRTOS-Kernel V10.4.3](https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/V10.4.3)
* [FreeRTOS-Plus-TCP v2.3.2](https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/tree/V2.3.2)
* [coreMQTT v1.1.0](https://github.com/FreeRTOS/coreMQTT/tree/v1.1.0)
* [coreHTTP v2.0.0](https://github.com/FreeRTOS/coreHTTP/tree/v2.0.0)
* [corePKCS11 v3.0.0](https://github.com/FreeRTOS/corePKCS11/tree/v3.0.0)
* [coreJSON v3.0.0](https://github.com/FreeRTOS/coreJSON/tree/v3.0.0)
* [backoffAlgorithm v1.0.0](https://github.com/FreeRTOS/backoffAlgorithm/tree/v1.0.0)
* [AWS IoT Device Shadow v1.0.2](https://github.com/aws/Device-Shadow-for-AWS-IoT-embedded-sdk/tree/v1.0.2)
* [FreeRTOS-Kernel V10.5.0](https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/V10.5.0)
* [FreeRTOS-Plus-TCP V3.1.0](https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/tree/V3.1.0)
* [coreMQTT v2.1.0](https://github.com/FreeRTOS/coreMQTT/tree/v2.1.0)
* [coreHTTP v3.0.0](https://github.com/FreeRTOS/coreHTTP/tree/v3.0.0)
* [corePKCS11 v3.5.0](https://github.com/FreeRTOS/corePKCS11/tree/v3.5.0)
* [coreJSON v3.2.0](https://github.com/FreeRTOS/coreJSON/tree/v3.2.0)
* [coreSNTP v1.2.0](https://github.com/FreeRTOS/coreSNTP/tree/v1.2.0)
* [Cellular Interface v1.3.0](https://github.com/FreeRTOS/FreeRTOS-Cellular-Interface/tree/v1.3.0)
* [SigV4 v1.2.0](https://github.com/aws/SigV4-for-AWS-IoT-embedded-sdk/tree/v1.2.0)
* [backoffAlgorithm v1.3.0](https://github.com/FreeRTOS/backoffAlgorithm/tree/v1.3.0)
* [AWS IoT Device Shadow v1.3.0](https://github.com/aws/Device-Shadow-for-AWS-IoT-embedded-sdk/tree/v1.3.0)
* [AWS IoT Device Defender v1.3.0](https://github.com/aws/Device-Defender-for-AWS-IoT-embedded-sdk/tree/v1.3.0)
* [AWS IoT Jobs v1.3.0](https://github.com/aws/Jobs-for-AWS-IoT-embedded-sdk/tree/v1.3.0)
* [AWS IoT Fleet Provisioning v1.1.0](https://github.com/aws/Fleet-Provisioning-for-AWS-IoT-embedded-sdk/tree/v1.1.0)
* [AWS IoT Over-the-air Update v3.4.0](https://github.com/aws/ota-for-aws-iot-embedded-sdk/tree/v3.4.0)

49
CMakeLists.txt Normal file
View File

@ -0,0 +1,49 @@
cmake_minimum_required(VERSION 3.13)
set(LIB_FREERTOS_NAME FreeRTOS)
project(${LIB_FREERTOS_NAME}
VERSION 202210.01)
add_library(${LIB_FREERTOS_NAME})
target_sources(
${LIB_FREERTOS_NAME}
PRIVATE
FreeRTOS/FreeRTOS-Kernel/list.c
FreeRTOS/FreeRTOS-Kernel/queue.c
FreeRTOS/FreeRTOS-Kernel/tasks.c
FreeRTOS/FreeRTOS-Kernel/timers.c
)
target_include_directories(
${LIB_FREERTOS_NAME}
PUBLIC
FreeRTOS/FreeRTOS-Kernel/include
)
if(NOT FreeRTOS_PORT)
message(
STATUS
"FreeRTOS_PORT is empty. either set it or add port files manually."
)
else()
if(FreeRTOS_PORT MATCHES "posix")
target_sources(
${LIB_FREERTOS_NAME}
PRIVATE
FreeRTOS/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix/port.c
FreeRTOS/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix/utils/wait_for_event.c
FreeRTOS/FreeRTOS-Kernel/portable/MemMang/heap_3.c
)
target_include_directories(
${LIB_FREERTOS_NAME}
PUBLIC
FreeRTOS/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix/
)
else()
message(
ERROR
"Unsupportet FreeRTOS_PORT."
)
endif()
endif()

1
FreeRTOS/coreSNTP Submodule

Submodule FreeRTOS/coreSNTP added at 32d2168d50

View File

@ -1,27 +1,37 @@
## Overview
FreeRTOS offers feature stability with long term support (LTS) releases. FreeRTOS LTS libraries come with security updates and critical bug fixes to the FreeRTOS kernel and IoT libraries listed below for two years, and are maintained by AWS for the benefit of the FreeRTOS community. With FreeRTOS LTS, you get a complete set of libraries needed for secure cloud connectivity. Long term support helps reduce maintenance and testing costs associated with updating libraries on your devices already in production.
FreeRTOS offers feature stability with long term support (LTS) releases. FreeRTOS LTS libraries come with security updates and critical bug fixes to the FreeRTOS kernel and IoT libraries listed below for two years, and are maintained by AWS for the benefit of the FreeRTOS community. With FreeRTOS LTS, you get a complete set of libraries needed to build secure connected IoT and embedded products. Long term support helps reduce maintenance and testing costs associated with updating libraries on your devices already in production.
AWS also offers FreeRTOS Extended Maintenance Plan (EMP) that provides you with security patches and critical bug fixes on your chosen FreeRTOS LTS version for up to an additional 10 years. With FreeRTOS EMP, your FreeRTOS-based long-lived devices can rely on a version that has feature stability and receives security updates for years. You receive timely notification of upcoming patches on FreeRTOS libraries, so you can plan the deployment of security patches on your IoT devices. To learn more about FreeRTOS EMP, see the [FreeRTOS Features page](https://aws.amazon.com/freertos/features/).
## FreeRTOS/FreeRTOS Long Term Support
Libraries in this GitHub branch (also listed below) are part of the [FreeRTOS 202012.01 LTS](https://github.com/FreeRTOS/FreeRTOS-LTS/tree/202012-LTS) release. Learn more at https://freertos.org/lts-libraries.html.
Libraries in this GitHub branch (also listed below) are part of the [FreeRTOS 202210-LTS](https://github.com/FreeRTOS/FreeRTOS-LTS/tree/202210-LTS) release. Learn more at https://freertos.org/lts-libraries.html.
| Library | Version | LTS Until | LTS Repo URL |
|------------------------- |---------|------------|--------------------------------------------------------------------------- |
| FreeRTOS Kernel | 10.4.3 | 03/31/2023 | https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/V10.4.3 |
| FreeRTOS-Plus-TCP | 2.3.2 | 03/31/2023 | https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/tree/V2.3.2 |
| coreMQTT | 1.1.0 | 03/31/2023 | https://github.com/FreeRTOS/coreMQTT/tree/v1.1.0 |
| coreHTTP | 2.0.0 | 03/31/2023 | https://github.com/FreeRTOS/coreHTTP/tree/v2.0.0 |
| corePKCS11 | 3.0.0 | 03/31/2023 | https://github.com/FreeRTOS/corePKCS11/tree/v3.0.0 |
| coreJSON | 3.0.0 | 03/31/2023 | https://github.com/FreeRTOS/coreJSON/tree/v3.0.0 |
| backoffAlgorithm | 1.0.0 | 03/31/2023 | https://github.com/FreeRTOS/backoffAlgorithm/tree/v1.0.0 |
| AWS IoT Device Shadow | 1.0.2 | 03/31/2023 | https://github.com/aws/Device-Shadow-for-AWS-IoT-embedded-sdk/tree/v1.0.2 |
| AWS IoT Device Defender | 1.1.0 | 03/31/2023 | https://github.com/aws/Device-Defender-for-AWS-IoT-embedded-sdk/tree/v1.1.0 |
| AWS IoT Jobs | 1.1.0 | 03/31/2023 | https://github.com/aws/Jobs-for-AWS-IoT-embedded-sdk/tree/v1.1.0 |
| AWS IoT Over-the-air Update | 3.0.0 | 03/31/2023 | https://github.com/aws/ota-for-aws-iot-embedded-sdk/tree/v3.0.0 |
| Library | Version | LTS Until | LTS Repo URL |
|------------------------- |---------------------|------------|--------------------------------------------------------------------------- |
| FreeRTOS Kernel | 10.5.1 | 10/31/2024 | https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/V10.5.1 |
| FreeRTOS-Plus-TCP | 3.1.0 | 10/31/2024 | https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/tree/V3.1.0 |
| coreMQTT | 2.1.1 | 10/31/2024 | https://github.com/FreeRTOS/coreMQTT/tree/v2.1.1 |
| coreHTTP | 3.0.0 | 10/31/2024 | https://github.com/FreeRTOS/coreHTTP/tree/v3.0.0 |
| corePKCS11 | 3.5.0 | 10/31/2024 | https://github.com/FreeRTOS/corePKCS11/tree/v3.5.0 |
| coreJSON | 3.2.0 | 10/31/2024 | https://github.com/FreeRTOS/coreJSON/tree/v3.2.0 |
| coreSNTP | 1.2.0 | 10/31/2024 | https://github.com/FreeRTOS/coreSNTP/tree/v1.2.0 |
| Cellular Interface | 1.3.0 | 10/31/2024 | https://github.com/FreeRTOS/FreeRTOS-Cellular-Interface/tree/v1.3.0 |
| backoffAlgorithm | 1.3.0 | 10/31/2024 | https://github.com/FreeRTOS/backoffAlgorithm/tree/v1.3.0 |
| SigV4 | 1.2.0 | 10/31/2024 | https://github.com/aws/SigV4-for-AWS-IoT-embedded-sdk/tree/v1.2.0 |
| AWS IoT Device Shadow | 1.3.0 | 10/31/2024 | https://github.com/aws/Device-Shadow-for-AWS-IoT-embedded-sdk/tree/v1.3.0 |
| AWS IoT Device Defender | 1.3.0 | 10/31/2024 | https://github.com/aws/Device-Defender-for-AWS-IoT-embedded-sdk/tree/v1.3.0 |
| AWS IoT Jobs | 1.3.0 | 10/31/2024 | https://github.com/aws/Jobs-for-AWS-IoT-embedded-sdk/tree/v1.3.0 |
| AWS IoT Fleet Provisioning | 1.1.0 | 10/31/2024 | https://github.com/aws/Fleet-Provisioning-for-AWS-IoT-embedded-sdk/tree/v1.1.0 |
| AWS IoT Over-the-air Update | 3.4.0 | 10/31/2024 | https://github.com/aws/ota-for-aws-iot-embedded-sdk/tree/v3.4.0 |
## Upgrading to FreeRTOS 202210-LTS from a previous version of FreeRTOS LTS
Refer to https://freertos.org/lts-libraries.html on how to upgrade to FreeRTOS 202210 LTS
## FreeRTOS LTS Versioning and Patches
FreeRTOS LTS releases use a date-based versioning scheme (YYYYMM) followed by a patch sequential number (.XX). For example, FreeRTOS 202012.02 LTS means the second patch to the December-2020 FreeRTOS LTS release. You can review the [CHANGELOG](./CHANGELOG.md) and subscribe to [GitHub notifications](https://docs.github.com/en/free-pro-team@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications) to receive information on patches or other updates to this repository.
FreeRTOS LTS releases use a date-based versioning scheme (YYYYMM) followed by a patch sequential number (.XX). For example, FreeRTOS 202210.01 LTS means the first patch to the October-2022 FreeRTOS LTS release. You can review the [CHANGELOG](./CHANGELOG.md) and subscribe to [GitHub notifications](https://docs.github.com/en/free-pro-team@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications) to receive information on patches or other updates to this repository.
## Security
@ -30,4 +40,3 @@ See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more inform
## License
This library is licensed under the MIT License. See the [LICENSE](LICENSE.md) file.

View File

@ -1,60 +1,80 @@
name : "FreeRTOS-LTS"
version: "202012.00-LTS"
version: "202210.00-LTS"
description: |-
"Hub Repo for FreeRTOS Long Term Support kernel and libraries"
dependencies:
- name: "FreeRTOS-Kernel"
version: "V10.4.3"
version: "V10.5.1"
repository:
type: "git"
url: "https://github.com/FreeRTOS/FreeRTOS-Kernel.git"
- name: "FreeRTOS-Plus-TCP"
version: "V2.3.2"
version: "V3.1.0"
repository:
type: "git"
url: "https://github.com/FreeRTOS/FreeRTOS-Plus-TCP.git"
- name: "coreJSON"
version: "V3.0.0"
version: "V3.2.0"
repository:
type: "git"
url: "https://github.com/FreeRTOS/coreJSON.git"
- name: "coreHTTP"
version: "v2.0.0"
version: "v3.0.0"
repository:
type: "git"
url: "https://github.com/FreeRTOS/coreHTTP.git"
- name: "coreMQTT"
version: "v1.1.0"
version: "v2.1.1"
repository:
type: "git"
url: "https://github.com/FreeRTOS/coreMQTT.git"
- name: "corePKCS11"
version: "v3.0.0"
version: "v3.5.0"
repository:
type: "git"
url: "https://github.com/FreeRTOS/corePKCS11.git"
- name: "coreSNTP"
version: "v1.2.0"
repository:
type: "git"
url: "https://github.com/FreeRTOS/coreSNTP.git"
- name: "Cellular Interface"
version: "v1.3.0"
repository:
type: "git"
url: "https://github.com/FreeRTOS/FreeRTOS-Cellular-Interface.git"
- name: "SigV4"
version: "v1.2.0"
repository:
type: "git"
url: "https://github.com/aws/SigV4-for-AWS-IoT-embedded-sdk.git"
- name: "backoffAlgorithm"
version: "v1.3.0"
repository:
type: "git"
url: "https://github.com/FreeRTOS/backoffAlgorithm.git"
- name: "device-shadow"
version: "v1.0.2"
version: "v1.3.0"
repository:
type: "git"
url: "https://github.com/aws/Device-Shadow-for-AWS-IoT-embedded-sdk.git"
- name: "backoffAlgorithm"
version: "v1.0.0"
repository:
type: "git"
url: "https://github.com/FreeRTOS/backoffAlgorithm"
- name: "device-defender"
version: "v1.1.0"
version: "v1.3.0"
repository:
type: "git"
url: "https://github.com/aws/Device-Defender-for-AWS-IoT-embedded-sdk.git"
- name: "jobs"
version: "v1.1.0"
version: "v1.3.0"
repository:
type: "git"
url: "https://github.com/aws/Jobs-for-AWS-IoT-embedded-sdk.git"
- name: "fleet-provisioning"
version: "v1.1.0"
repository:
type: "git"
url: "https://github.com/aws/Fleet-Provisioning-for-AWS-IoT-embedded-sdk.git"
- name: "ota"
version: "v3.0.0"
version: "v3.4.0"
repository:
type: "git"
url: "https://github.com/aws/ota-for-AWS-IoT-embedded-sdk.git"