Skip to content

Commit 9a69e7d

Browse files
authored
Update CHANGELOG, version numbers, and add C++ header guards (#53)
* Update CHANGELOG, version numbers, and add C++ header guards * Update memory stats
1 parent 4200d92 commit 9a69e7d

File tree

24 files changed

+51
-22
lines changed

24 files changed

+51
-22
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,4 @@ jobs:
9898
uses: FreeRTOS/CI-CD-Github-Actions/memory_statistics@main
9999
with:
100100
config: .github/memory_statistics_config.json
101-
check_against: docs/doxygen/include/size_table.html
101+
check_against: docs/doxygen/include/size_table.md

.github/workflows/memory_statistics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
uses: actions/upload-artifact@v2
2020
with:
2121
name: size_table
22-
path: size_table.html
22+
path: size_table.md

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog for AWS IoT Jobs Library
22

3+
## v1.1.1 (July 2021)
4+
5+
### API Changes:
6+
- [#50](https://github.com/aws/Jobs-for-AWS-IoT-embedded-sdk/pull/50) Move declaration of temporary variables after length check
7+
38
## v1.1.0 (March 2021)
49

510
### API Changes:

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Deviations](MISRA.md). This library has also undergone both static code
2222
analysis from [Coverity](https://scan.coverity.com/), and validation of
2323
memory safety with the [CBMC bounded model checker](https://www.cprover.org/cbmc/).
2424

25-
See memory requirements for this library [here](https://docs.aws.amazon.com/embedded-csdk/202103.00/lib-ref/libraries/aws/jobs-for-aws-iot-embedded-sdk/docs/doxygen/output/html/index.html#jobs_memory_requirements).
25+
See memory requirements for this library [here](./docs/doxygen/include/size_table.md).
2626

2727
**AWS IoT Jobs v1.1.0 [source code](https://github.com/aws/Jobs-for-AWS-IoT-embedded-sdk/tree/v1.1.0/source) is part of the [FreeRTOS 202012.01 LTS](https://github.com/FreeRTOS/FreeRTOS-LTS/tree/202012.01-LTS) release.**
2828

@@ -46,8 +46,19 @@ The AWS IoT Device SDK for Embedded C repository contains a demo using
4646
the jobs library on a POSIX platform.
4747
https://github.com/aws/aws-iot-device-sdk-embedded-C/tree/main/demos/jobs/jobs_demo_mosquitto
4848

49-
## Generating documentation
49+
## Documentation
5050

51+
### Existing Documentation
52+
For pre-generated documentation, please see the documentation linked in the locations below:
53+
54+
| Location |
55+
| :-: |
56+
| [AWS IoT Device SDK for Embedded C](https://github.com/aws/aws-iot-device-sdk-embedded-C#releases-and-documentation) |
57+
| [FreeRTOS.org](https://freertos.org/Documentation/api-ref/jobs-for-aws-iot-embedded-sdk/docs/doxygen/output/html/index.html) |
58+
59+
Note that the latest included version of the AWS IoT Jobs library may differ across repositories.
60+
61+
### Generating Documentation
5162
The Doxygen references were created using Doxygen version 1.8.20. To generate the
5263
Doxygen pages, please run the following command from the root of this repository:
5364

docs/doxygen/config.doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PROJECT_NAME = "AWS IoT Jobs"
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = "v1.1.0"
41+
PROJECT_NUMBER = "v1.1.1"
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a
File renamed without changes.

docs/doxygen/pages.dox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ It has proofs showing safe memory use and no heap allocation, making it suitable
2020
@section jobs_memory_requirements Memory Requirements
2121
@brief Memory requirements of the jobs library.
2222

23-
@include{doc} size_table.html
23+
@include{doc} size_table.md
2424
*/
2525

2626
/**

lexicon.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobsupdatesuccess
6565
longjmp
6666
mainpage
6767
malloc
68+
md
6869
microcontrollers
6970
misra
7071
mqtt

manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name : "Jobs-for-AWS-IoT-embedded-sdk"
2-
version: "v1.1.0"
2+
version: "v1.1.1"
33
description: |
44
"Library for using the AWS IoT Jobs service on embedded devices.\n"
55
license: "MIT"

source/include/jobs.h

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* AWS IoT Jobs v1.1.0
2+
* AWS IoT Jobs v1.1.1
33
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
44
*
55
* Permission is hereby granted, free of charge, to any person obtaining a copy of
@@ -33,6 +33,12 @@
3333
#include <stddef.h>
3434
#include <stdint.h>
3535

36+
/* *INDENT-OFF* */
37+
#ifdef __cplusplus
38+
extern "C" {
39+
#endif
40+
/* *INDENT-ON* */
41+
3642
/**
3743
* @ingroup jobs_constants
3844
* @brief Maximum length of a thing name for the AWS IoT Jobs Service.
@@ -734,4 +740,10 @@ JobsStatus_t Jobs_Update( char * buffer,
734740
size_t * outLength );
735741
/* @[declare_jobs_update] */
736742

743+
/* *INDENT-OFF* */
744+
#ifdef __cplusplus
745+
}
746+
#endif
747+
/* *INDENT-ON* */
748+
737749
#endif /* ifndef JOBS_H_ */

0 commit comments

Comments
 (0)