Aws only files spell check (#593)

* Added spell check

* All words

* Add a missing word

* Fix header checks

* Fix header checks v1

* Fix header check v2

* Updated freertos link in header

* Fixed afr link in the header

* Fix last of header checks

* Update the spell check script to check amazon licensed files only

* Fixed paths and added comments

* Try with modified repo

* Add inplace substitute option to sed

* Use official repo as the spell checker source

* Add vendor file to the ignored list

Co-authored-by: root <root@ip-172-31-5-28.us-west-2.compute.internal>
This commit is contained in:
Aniruddha Kanhere 2021-05-13 16:07:56 -07:00 committed by GitHub
parent e117bdcd17
commit 1bc759d413
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
104 changed files with 3737 additions and 444 deletions

View file

@ -1,5 +1,5 @@
/*
* FreeRTOS V202012.00
* FreeRTOS V202104.00
* 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
@ -88,7 +88,7 @@ void test_vQueueDelete_empty( void )
void * queueData = malloc( 6 * sizeof( uint32_t ) );
QueueHandle_t xQueue = xQueueCreateStatic( 6, sizeof( uint32_t ), queueData, queueBuffer );
/* Verify that no call to malloc occured */
/* Verify that no call to malloc occurred */
TEST_ASSERT_EQUAL( 0, getLastMallocSize() );
vQueueDelete( xQueue );
@ -108,7 +108,7 @@ void test_vQueueDelete_half_full( void )
void * queueData = malloc( 6 * sizeof( uint32_t ) );
QueueHandle_t xQueue = xQueueCreateStatic( 6, sizeof( uint32_t ), queueData, queueBuffer );
/* Verify that no call to malloc occured */
/* Verify that no call to malloc occurred */
TEST_ASSERT_EQUAL( 0, getLastMallocSize() );
for( uint32_t i = 0; i < 3; i++ )
@ -134,7 +134,7 @@ void test_vQueueDelete_full( void )
void * queueData = malloc( 6 * sizeof( uint32_t ) );
QueueHandle_t xQueue = xQueueCreateStatic( 6, sizeof( uint32_t ), queueData, queueBuffer );
/* Verify that no call to malloc occured */
/* Verify that no call to malloc occurred */
TEST_ASSERT_EQUAL( 0, getLastMallocSize() );
for( uint32_t i = 0; i < 6; i++ )