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

Commit 8add5b9

Browse files
author
qiutongs
authored
Merge pull request #1643 from aws/release-candidate
Release 201912.00
2 parents b223a00 + f0dd43f commit 8add5b9

File tree

2,540 files changed

+1134450
-147970
lines changed

Some content is hidden

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

2,540 files changed

+1134450
-147970
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
*.tab text
2828
*.tsv text
2929
*.sql text
30+
*.html text
31+
*.css text
3032

3133
# Graphics
3234
*.png binary

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
doc/html/*
44
doc/output/*
55
doc/tag/*
6+
doxygen_warnings.txt
67
/.metadata/
78
.vscode/*
89
*.o

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@
1414
path = libraries/3rdparty/pkcs11
1515
url = https://github.com/amazon-freertos/pkcs11.git
1616
branch = v2.40_errata01
17+
[submodule "lwip"]
18+
path = libraries/3rdparty/lwip
19+
url = https://github.com/lwip-tcpip/lwip.git

CHANGELOG.md

Lines changed: 60 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
11
# Change Log for Amazon FreeRTOS
22

3+
## 201912.00 12/17/2019
4+
5+
### New Features
6+
7+
#### Over the Air Update V1.1.0
8+
- Refactor OTA agent and separate data transfer and control interface.
9+
- Support OTA data transfer over HTTP.
10+
11+
#### Common I/O Library V0.1.0
12+
- A preview of Common I/O library is included.
13+
- Common I/O library provides a set of standard APIs, across supported reference boards, for accessing common devices.
14+
- This preview supports UART, SPI and I2C. Support for other peripherals will follow.
15+
16+
### Updates
17+
#### lwIP
18+
- Enable lwIP full duplex feature
19+
- The same socket may be used by multiple tasks concurrently
20+
- lwIP is now a submodule from https://github.com/lwip-tcpip/lwip.git
21+
22+
#### Ethernet Support on Nuvoton NuMaker-IoT-M487
23+
- Ethernet is now available for Nuvoton NuMaker-IoT-M487.
24+
- Either Wi-Fi or Ethernet can be enabled exclusively.
25+
26+
#### HTTPS Client Library V1.1.1
27+
- Documentation updates and additional debug logging.
28+
29+
#### Greengrass Discovery V2.0.0
30+
- Remove demo configuration dependency from library files.
31+
- Update demonstration code to use MQTT V2 APIs.
32+
33+
#### Bluetooth Low Energy V4.0.0
34+
- HAL modification to replace bonded callback with pairing state change callback.
35+
- HAL modification to change to 16-bit value for advertisement duration.
36+
337
## 201910.00 10/29/2019
438

539
### New Features
@@ -15,7 +49,7 @@
1549

1650
#### HTTPS Client Library V1.1.0
1751
- Upload support with HTTP methods PUT and POST is now available in the HTTPS Client Library.
18-
- Demonstration code with PUT and POST methods are now available in demos/https.
52+
- Demonstration code with PUT and POST methods are now available in demos/https.
1953

2054
#### SoftHSMv2 port for PKCS #11
2155
- A port for SoftHSMv2, a third-party open-source implementation of PKCS #11, has been provided for use with the Windows Simulator project for Amazon FreeRTOS.
@@ -32,7 +66,7 @@
3266
- Add nodejs/http_parser as a submodule in place of copied-over files.
3367

3468
#### Unity
35-
- Add ThrowTheSwitch/Unity as a submodule in place of copied-over files.
69+
- Add ThrowTheSwitch/Unity as a submodule in place of copied-over files.
3670

3771
#### PKCS #11
3872
- Update the PKCS #11 third-party headers to be the latest from OASIS (version 2.40 Plus Errata 01).
@@ -46,20 +80,25 @@
4680
#### Marvell SDK Update
4781
- Marvell SDK now updated to R8 P2 (v1.2.r8.p2)
4882

83+
#### Bluetooth Low Energy
84+
- ESP32 board supports NIMBLE as the default underlying stack for Bluetooth Low Energy.
85+
- Contains bug fixes and enhancements in ESP NIMBLE stack.
86+
- Contains bug fixes in ESP Bluedroid stack.
87+
4988
## 201908.00 08/26/2019
5089

5190
### New Features
5291
#### New Board:Nuvoton NuMaker-IoT-M487
5392
- Nuvoton NuMaker-IoT-M487 is now qualified for Amazon FreeRTOS.
54-
- Disclaimer on RNG: The random number generation solution in this port is for demonstration purposes only.
93+
- Disclaimer on RNG: The random number generation solution in this port is for demonstration purposes only.
5594

5695
#### FreeRTOS Kernel V10.2.1
5796
- Kernel version for Amazon FreeRTOS is updated to V10.2.1.
5897
- Add ARM Cortex-M23 (ARMv8-M) GCC/ARMclang and IAR ports.
5998
- Add support to automatically switch between 32-bit and 64-bit cores to RISC-V port.
6099

61100
#### HTTPS Client Library V1.0.0
62-
- The HTTPS Client library for Amazon FreeRTOS supports the HTTP/1.1 protocol over TLS.
101+
- The HTTPS Client library for Amazon FreeRTOS supports the HTTP/1.1 protocol over TLS.
63102
- The current request methods supported are GET and HEAD.
64103
- Examples demonstrate downloading a file from S3 using GET with a pre-signed URL.
65104

@@ -69,7 +108,7 @@
69108
- Add PKCS #11 wrapper functions for easy use of commonly grouped PKCS #11 calls.
70109

71110
#### Demo specific stack size and priority
72-
- Make stack size and priority to be demo specific. In current release all demos have same stack size and priority. This change will make stack size and priority configurable for each demo. Demo can use default stack size/ priority or define its own.
111+
- Make stack size and priority to be demo specific. In current release all demos have same stack size and priority. This change will make stack size and priority configurable for each demo. Demo can use default stack size/ priority or define its own.
73112
#### Ethernet for Microchip Curiosity PIC32MZEF
74113
- Update Microchip Curiosity PIC32MZEF project and configuration files to support Ethernet connectivty. Developers must define PIC32_USE_ETHERNET at the project level to use Ethernet instead of Wi-Fi.
75114
#### lwIP 2.1.2
@@ -98,7 +137,7 @@
98137
- Companion device SDK 1.0.0 release for
99138
- Android https://github.com/aws/amazon-freertos-ble-android-sdk/
100139
- iOS https://github.com/aws/amazon-freertos-ble-ios-sdk/
101-
- GATT services for
140+
- GATT services for
102141
- Device information.
103142
- Wi-Fi credentials provisioning.
104143
- MQTT-over-Bluetooth Low Energy through Android or iOS device proxy to support.
@@ -117,7 +156,7 @@
117156
- Full support for Bluetooth Low Energy transport as well as TCP/IP.
118157
- Re-implementable abstraction layer to allow port on any network stacks.
119158
- Standard, configurable logging mechanism.
120-
- Extend Device Defender support to additional development boards. Current set of metrics now available on all development boards that implement Secure Sockets abstraction.
159+
- Extend Device Defender support to additional development boards. Current set of metrics now available on all development boards that implement Secure Sockets abstraction.
121160

122161
#### Task Pool library V1.0.0
123162
- Task (Thread) pool library for asynchronous processing.
@@ -141,7 +180,7 @@
141180
- Texas Instruments CC3220SF-LAUNCHXL
142181
- Microsoft Windows Simulator
143182

144-
### Updates
183+
### Updates
145184
- mbedTLS library is upgraded to version 2.16.0.
146185
- ESP-IDF version is upgraded to 3.1.3.
147186
- Update demo projects for cleaner separation of platform specific code.
@@ -151,7 +190,7 @@
151190
### New Features
152191
#### New Boards: Marvell MW320 and MW322
153192
- Marvell boards MW320 and MW322 are now qualified for Amazon FreeRTOS.
154-
- Disclaimer on RNG: The random number generation solution in this port is for demonstration purposes only.
193+
- Disclaimer on RNG: The random number generation solution in this port is for demonstration purposes only.
155194

156195
#### FreeRTOS Kernel V10.2.0
157196
- Kernel version for Amazon FreeRTOS is updated to V10.2.0.
@@ -173,7 +212,7 @@
173212
- Leave the scheduler running during PKCS #11 calls.
174213

175214
#### Wi-Fi for ESP32-DevKitC ESP-WROVER-KIT V1.0.2
176-
- lib/wifi: fix issue with WiFi configuration for non-null strings, and fix scanning failure under certain disconnect scenarios.
215+
- lib/wifi: fix issue with WiFi configuration for non-null strings, and fix scanning failure under certain disconnect scenarios.
177216
- ib/FreeRTOS-Plus-TCP: do not send eNetworkDownEvent to stack if interface is already down.
178217
- mbedtls: configurable options for controlling dynamic memory allocations.
179218
- lib/third_party: update ESP-IDF to latest v3.1.3 release.
@@ -195,7 +234,7 @@
195234
- Free the memory allocated by the pcap_compile routine in the WinPCap network interface module.
196235

197236
#### Shadow V1.0.6
198-
- Add a debug message in the event that JSMN runs out of memory trying to parse JSON.
237+
- Add a debug message in the event that JSMN runs out of memory trying to parse JSON.
199238
- Print a debug message for any JSMN error, not just 'JSMN_ERROR_NOMEM'.
200239

201240
#### PKCS #11 PAL for Windows Simulator V1.0.4
@@ -205,11 +244,11 @@
205244
- Update documentation.
206245

207246
#### TLS V1.1.4
208-
- TLS_Send now handles the error condition when space is not avaiable.
247+
- TLS_Send now handles the error condition when space is not avaiable.
209248
- Convert errors in TLS wrapper to negative error codes.
210249

211250
#### Curiosity PIC32MZEF Linker Update for XC32 Compiler
212-
- The latest XC32 compiler (version 2.15) does not allow multiple definitions by default. Explicitly enabling multiple definitions in aws_tests and aws_demos projects for now.
251+
- The latest XC32 compiler (version 2.15) does not allow multiple definitions by default. Explicitly enabling multiple definitions in aws_tests and aws_demos projects for now.
213252

214253
## V1.4.7 02/18/2019
215254
### New Features
@@ -251,7 +290,7 @@
251290
- Rename variables to comply with style guidelines.
252291

253292
#### PKCS #11 PAL for Cypress CYW943907AEVAL1F development kit V1.0.0
254-
- Added as part of Cypress CYW43907 board port.
293+
- Added as part of Cypress CYW43907 board port.
255294
- Note that the random number generation solution in this port is provided for demonstration purposes only. See the comment in lib/pkcs11/portable/cypress/CYW943907AEVAL1F/hw_poll.c.
256295

257296
#### PKCS #11 PAL for Cypress CYW954907AEVAL1F development kit V1.0.0
@@ -298,7 +337,7 @@ The Renesas Starter Kit+ for RX65N-2MB is now qualified for Amazon FreeRTOS. Thi
298337
- Update license information.
299338

300339
#### PKCS #11 PAL for Renesas Starter Kit+ for RX65N-2MB V1.0.0
301-
- Add PKCS #11 support for the Renesas Starter Kit+ for RX65N-2MB.
340+
- Add PKCS #11 support for the Renesas Starter Kit+ for RX65N-2MB.
302341
- Note that the random number generation solution in this port is provided for demonstration purposes only. See the comment in lib/third_party/mcu_vendor/renesas/amazon_freertos_common/entropy_hardware_poll.c for more information.
303342

304343
#### Wi-Fi for MT7697Hx-Dev-Kit V1.0.1
@@ -373,7 +412,7 @@ Amazon FreeRTOS support for the MediaTek MT7697Hx-Dev-Kit includes for the first
373412

374413
#### PKCS #11 Updates
375414
Update mbedTLS-based PKCS #11, and PKCS #11 PAL. These changes have been made to more closely align with the PKCS #11 standard, respond to feedback from users and partners, and make it easy for users to go to production from a prototype.
376-
Applications calling into PKCS #11 functions directly (rather than indirectly via an Amazon provided secure sockets or TLS layer) may experience breaking changes.
415+
Applications calling into PKCS #11 functions directly (rather than indirectly via an Amazon provided secure sockets or TLS layer) may experience breaking changes.
377416

378417
##### mbedTLS-based PKCS #11
379418
- C_Initialize handles initialization of randomness in an effort to minimize entropy generation (or seed access) every time sessions are created and destroyed. To protect random values, thread safety has been enabled in mbedTLS.
@@ -400,12 +439,12 @@ Applications calling into PKCS #11 functions directly (rather than indirectly vi
400439
- PKCS #11 PAL for Xilinx Zynq MicroZed V1.0.0 (new)
401440

402441
##### PKCS #11 for CC3220SF-LAUNCHXL
403-
- Updates to match behavior of mbedTLS-based PKCS #11.
442+
- Updates to match behavior of mbedTLS-based PKCS #11.
404443
- mbedTLS added to support conversion between DER and PEM objects. Note that after provisioning the device, mbedTLS and provisiong PKCS #11 functions may be removed to reduce code size.
405444
- PKCS #11 PAL for CC3220SF-LAUNCHXL V1.0.3
406445

407446
##### OTA PAL Updates
408-
- The OTA PALs for the Curiosity PIC32MZEF and ESP32-DevKitC ESP-WROVER-KIT boards have been modified to utilize PKCS #11 API to retrieve code signing keys, rather than calling into PKCS #11 PAL functions.
447+
- The OTA PALs for the Curiosity PIC32MZEF and ESP32-DevKitC ESP-WROVER-KIT boards have been modified to utilize PKCS #11 API to retrieve code signing keys, rather than calling into PKCS #11 PAL functions.
409448
- OTA PAL for Curiosity PIC32MZEF V1.0.1
410449
- OTA PAL for ESP32-DevKitC ESP-WROVER-KIT V1.0.1
411450

@@ -498,12 +537,12 @@ None
498537

499538
### Updates
500539

501-
#### FreeRTOS+TCP
540+
#### FreeRTOS+TCP
502541
- Multiple security improvements and fixes in packet parsing routines, DNS caching, and TCP sequence number and ID generation.
503542
- Disable NBNS and LLMNR by default.
504543
- Add TCP hang protection by default.
505544

506-
#### Secure Sockets for FreeRTOS+TCP
545+
#### Secure Sockets for FreeRTOS+TCP
507546
- Improve security in Amazon FreeRTOS Secure Sockets usage of mbedTLS and ALPN.
508547

509548
We thank Ori Karliner of Zimperium zLabs Team for reporting these issues.
@@ -516,7 +555,7 @@ None
516555
### Updates
517556

518557
#### OTA Beta Update
519-
- Updates to OTA Beta to incorporate a new API for the OTA service. This API is not compatible with the API used in the original OTA Beta released on Dec. 20th.
558+
- Updates to OTA Beta to incorporate a new API for the OTA service. This API is not compatible with the API used in the original OTA Beta released on Dec. 20th.
520559
- Add a "reference bootloader" for use in the OTA process. This bootloader is for use with the Microchip MCU.
521560

522561
#### Amazon FreeRTOS Qualification Program (AFQP) Update

CMakeLists.txt

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

88
project(amazon-freertos)
9-
set(PROJECT_VERSION "201910.00")
10-
set(PROJECT_VERSION_MAJOR "201910")
9+
set(PROJECT_VERSION "201912.00")
10+
set(PROJECT_VERSION_MAJOR "201912")
1111
set(PROJECT_VERSION_MINOR "00")
1212

1313
# Import global configurations.

CONTRIBUTING.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,28 @@ reported the issue. Please try to include as much information as you can. Detail
2424
Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that:
2525

2626
1. You are working against the latest source on the *master* branch.
27-
2. You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already.
28-
3. You open an issue to discuss any significant work - we would hate for your time to be wasted.
27+
1. You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already.
28+
1. You open an issue to discuss any significant work - we would hate for your time to be wasted.
2929

3030
To send us a pull request, please:
3131

3232
1. Ensure you are considering a change to AWS source code (FreeRTOS kernel, AWS libraries). Proposed changes to 3rd party code should be submitted instead to the 3rd party.
33-
2. Fork the repository.
34-
3. Modify the source; please focus on the specific change you are contributing. If you also reformat all the code, it will be hard for us to focus on your change.
35-
4. Ensure local tests pass.
36-
5. Commit to your fork using clear commit messages.
37-
6. Send us a pull request, answering any default questions in the pull request interface.
33+
1. Fork the repository.
34+
1. Modify the source; please focus on the specific change you are contributing. If you also reformat all the code, it will be hard for us to focus on your change.
35+
1. Make sure to follow the coding style guide.
36+
1. Ensure local tests pass.
37+
1. Commit to your fork using clear commit messages.
38+
1. Send us a pull request, answering any default questions in the pull request interface.
3839
NOTE: Please make sure the default option (Allow edits from maintainers) is left checked.
39-
7. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation.
40+
1. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation.
4041

4142
GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and
4243
[creating a pull request](https://help.github.com/articles/creating-a-pull-request/).
4344

45+
## Coding Style
46+
* Follow this coding style guide for all libraries except FreeRTOS-Plus-TCP and FreeRTOS-Plus-Posix, https://docs.aws.amazon.com/freertos/latest/lib-ref/c-sdk/main/guide_developer_styleguide.html
47+
* For FreeRTOS-Plus-TCP and FreeRTOS-Plus-Posix, follow the FreeRTOS coding style, https://www.freertos.org/FreeRTOS-Coding-Standard-and-Style-Guide.html
48+
4449
## Getting Your Pull Request Merged
4550
All Pull Requests must be approved by our review team before it can be merged in. We appreciate your patience while pull requests are reviewed as the time taken will depend on its complexity and wider implications.
4651

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ For detailed documentation on Amazon FreeRTOS, refer to the [Amazon FreeRTOS Use
3333

3434
## Supported Hardware
3535

36+
For additional boards that are supported for Amazon FreeRTOS, please visit the [AWS Device Catalog](https://devices.amazonaws.com/search?kw=freertos)
37+
3638
The following MCU boards are supported for Amazon FreeRTOS:
3739
1. **Texas Instruments** - [CC3220SF-LAUNCHXL](http://www.ti.com/tool/cc3220sf-launchxl).
3840
* [Getting Started Guide](https://docs.aws.amazon.com/freertos/latest/userguide/getting_started_ti.html)

0 commit comments

Comments
 (0)