Update branch of c-sdk repo to main (#223)
Also add missing apostrophe to stdint.readme
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 377813b..bc5e1d1 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -12,7 +12,7 @@
- name: Checkout Parent Repo
uses: actions/checkout@v2
with:
- ref: master
+ ref: main
repository: aws/aws-iot-device-sdk-embedded-C
path: main
- name: Clone This Repo
diff --git a/.github/workflows/header-checks.yml b/.github/workflows/header-checks.yml
index c249ea4..4d9546c 100644
--- a/.github/workflows/header-checks.yml
+++ b/.github/workflows/header-checks.yml
@@ -1,6 +1,6 @@
name: FreeRTOS-Header-Checker
-on: [pull_request]
+on: [pull_request]
jobs:
header-checker:
@@ -12,15 +12,15 @@
uses: actions/setup-python@v2
with:
python-version: 3.8.5
- architecture: x64
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
+ architecture: x64
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
# Get latest checks from master
- name: Checkout FreeRTOS Tools
uses: actions/checkout@v2
with:
- repository: FreeRTOS/FreeRTOS
+ repository: FreeRTOS/FreeRTOS
ref: master
path: tools
@@ -29,18 +29,18 @@
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- path: inspect
-
+ path: inspect
+
# Collect all affected files
- name: Collecting changed files
uses: lots0logs/gh-action-get-changed-files@2.1.4
with:
token: ${{ secrets.GITHUB_TOKEN }}
-
- # Run checks
+
+ # Run checks
- name: Check File Headers
run: |
cd inspect
../tools/.github/scripts/check-header.py --kernel --json ${HOME}/files.json
exit $?
-
+
diff --git a/include/stdint.readme b/include/stdint.readme
index 6d86149..26592bf 100644
--- a/include/stdint.readme
+++ b/include/stdint.readme
@@ -1,3 +1,28 @@
+/*
+ * FreeRTOS Kernel V10.4.2
+ * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of
+ * this software and associated documentation files (the "Software"), to deal in
+ * the Software without restriction, including without limitation the rights to
+ * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+ * the Software, and to permit persons to whom the Software is furnished to do so,
+ * subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+ * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+ * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ *
+ * https://www.FreeRTOS.org
+ * https://github.com/FreeRTOS
+ *
+ */
#ifndef FREERTOS_STDINT
#define FREERTOS_STDINT
@@ -10,7 +35,7 @@
* To use this file:
*
* 1) Copy this file into the directory that contains your FreeRTOSConfig.h
- * header file, as that directory will already be in the compilers include
+ * header file, as that directory will already be in the compiler's include
* path.
*
* 2) Rename the copied file stdint.h.