Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Commit d60544d

Browse files
Merge pull request from GHSA-p8c7-qmm5-5h24
Sync release branch with main branch of private security fork for 202203.00 release
2 parents b7151fe + 1816e52 commit d60544d

File tree

332 files changed

+28034
-19732
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

332 files changed

+28034
-19732
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ doxygen_warnings.txt
77
/.metadata/
88
.vscode/*
99
*.o
10-
*.d
10+
*.d
1111
*.elf
1212
*.hex
1313
!/vendors/cypress/MTB/psoc6/psoc64tfm/COMPONENT_TFM_S_FW/tfm_s_unsigned.hex
1414
*.bin
1515
*.pyc
16+
*.log
1617

1718
RemoteSystemsTempFiles/*
1819

CHANGELOG.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,37 @@
1-
# Change Log
1+
# Changelog
22
This repository contains the `FreeRTOS AWS Reference Integrations`, which are pre-integrated FreeRTOS projects ported to microcontroller-based evaluation boards that demonstrate end-to-end connectivity to AWS IoT Core. The repository contains projects for several microcontroller-based evaluation boards.
33

4+
## 202203.00 March 2022
5+
6+
### Updates
7+
8+
#### FreeRTOS Kernel
9+
10+
- Updated to use V10.4.3-LTS-Patch-2
11+
12+
#### FreeRTOS-Plus-TCP
13+
14+
- Updated to use V2.3.2-LTS-Patch-2
15+
16+
#### corePKCS11
17+
18+
- Updated Mbed TLS version to 2.28.0
19+
20+
#### Vendors
21+
22+
- Updated the Wi-Fi abstraction implementations for the ports listed below. This is to minimize the time the Wi-Fi password is held in RAM by clearing it immediately after usage. In particular, within implementations of the WIFI_ConnectAP() and WIFI_ConfigureAP() functions on the following platforms:
23+
24+
- CC3220SF-LAUNCHXL
25+
- STM32L4 Discovery kit IoT node
26+
- LPC54018 IoT Module
27+
- ESP32-DevKitC, ESP-WROVER-KIT, ESP32-WROOM-32SE, ESP32-S2-SAOLA-1
28+
- XMC4800 Iot Connectivity Kit, XMC4800 and Optiga TrustX
29+
- MediaTek MT7697Hx Development Kit
30+
- Renesas Starter Kit+ for RX65N-2MB
31+
- Cypress CYW954907AEVAL1F, CYW43907AEVAL1F Evaluation Kit, PSoC 64 Standard Secure AWS Wi-Fi Bluetooth Pioneer Kit
32+
- MW320, MW322 AWS IoT Starter Kit
33+
- Numaker-IoT-M487
34+
435
## 202107.00 July 2021
536

637
### New Features

CMakeLists.txt

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,18 @@ if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
66
endif()
77

88
project(amazon-freertos)
9-
set(PROJECT_VERSION "202107.00")
10-
set(PROJECT_VERSION_MAJOR "202107")
9+
set(PROJECT_VERSION "202203.00")
10+
set(PROJECT_VERSION_MAJOR "202203")
1111
set(PROJECT_VERSION_MINOR "00")
1212

13+
# If it's TI boards, enable split mbedtls source build to
14+
# shorten the build command length to avoid "The command line is too long" error.
15+
if (AFR_BOARD STREQUAL ti.cc3220_launchpad)
16+
set(AFR_SEPARATE_MBEDTLS_SOURCE_BUILD TRUE)
17+
else()
18+
set(AFR_SEPARATE_MBEDTLS_SOURCE_BUILD FALSE)
19+
endif()
20+
1321
# Import global configurations.
1422
include("tools/cmake/afr.cmake")
1523

@@ -90,7 +98,20 @@ if( "${mbedtls_config_pos}" EQUAL "-1")
9098
-DMBEDTLS_CONFIG_FILE="aws_mbedtls_config.h"
9199
-DCONFIG_MEDTLS_USE_AFR_MEMORY
92100
)
93-
101+
102+
if (${AFR_SEPARATE_MBEDTLS_SOURCE_BUILD})
103+
target_include_directories(
104+
afr_3rdparty_mbedtls_part2
105+
PUBLIC
106+
"${AFR_3RDPARTY_DIR}/mbedtls_config"
107+
)
108+
target_compile_definitions(
109+
afr_3rdparty_mbedtls_part2
110+
PUBLIC
111+
-DMBEDTLS_CONFIG_FILE="aws_mbedtls_config.h"
112+
-DCONFIG_MEDTLS_USE_AFR_MEMORY
113+
)
114+
endif()
94115
endif()
95116

96117
# -------------------------------------------------------------------------------------------------

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ This repo uses [Git Submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodu
55

66
Note: If you download the ZIP file provided by GitHub UI, you will not get the contents of the submodules. (The ZIP file is also not a valid git repository)
77

8-
If using Windows, set `core.symlinks` to true since copying a directory with symlinks may cause hangups:
8+
If using Windows, because this repository and its submodules contain symbolic links, set `core.symlinks` to true with the following command:
99
```
1010
git config --global core.symlinks true
1111
```
12+
In addition to this, either enable [Developer Mode](https://docs.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development) or, whenever using a git command that writes to the system (e.g. `git pull`, `git clone`, and `git submodule update --init --recursive`), use a console elevated as administrator so that git can properly create symbolic links for this repository. Otherwise, symbolic links will be written as normal files with the symbolic links' paths in them as text. [This](https://blogs.windows.com/windowsdeveloper/2016/12/02/symlinks-windows-10/) gives more explanation.
1213

1314
To clone using HTTPS:
1415
```

SECURITY.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## Reporting a Vulnerability
2+
3+
If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security
4+
via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/) or directly via email to aws-security@amazon.com.
5+
Please do **NOT** create a public github issue.

0 commit comments

Comments
 (0)