mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-26 23:36:32 -04:00
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:
parent
e117bdcd17
commit
1bc759d413
104 changed files with 3737 additions and 444 deletions
|
|
@ -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
|
||||
|
|
@ -74,7 +74,7 @@ bool xMaskAssertAndAbort;
|
|||
/* ================================= MACROS ================================ */
|
||||
|
||||
/**
|
||||
* @brief Expect a configASSERT from the funciton called.
|
||||
* @brief Expect a configASSERT from the function called.
|
||||
* Break out of the called function when this occurs.
|
||||
* @details Use this macro when the call passsed in as a parameter is expected
|
||||
* to cause invalid memory access.
|
||||
|
|
@ -115,7 +115,7 @@ void vPortFree( void * pv );
|
|||
* provided assertion is false and the fakeAssertExpectFail()
|
||||
* function was not called prior to the assertion.
|
||||
* @param assertion Boolean assertion passed into the configASSERT() macro
|
||||
* @param file Name of the file in which the assert occured
|
||||
* @param file Name of the file in which the assert occurred
|
||||
* @param line Line number of the assertion
|
||||
* @param num_calls Number of times configASSERT() was called
|
||||
*/
|
||||
|
|
@ -185,7 +185,7 @@ void fakeAssertExpectFail( void );
|
|||
|
||||
/**
|
||||
* @brief Determine if a configASSERT occurred and clear the assertion flag.
|
||||
* @return true if an assert occureed since the start of the test suite or
|
||||
* @return true if an assert occurred since the start of the test suite or
|
||||
* the last call to fakeAssertGetFlagAndClear.
|
||||
* @return false if no assert was triggered.
|
||||
*/
|
||||
|
|
@ -247,7 +247,7 @@ void vSetQueueTxLock( QueueHandle_t xQueue,
|
|||
BaseType_t fakeAssertGetNumAssertsAndClear( void );
|
||||
|
||||
/**
|
||||
* @brief Check that the number of failed configASSERTs that have occured in this test case equals the given number.
|
||||
* @brief Check that the number of failed configASSERTs that have occurred in this test case equals the given number.
|
||||
*/
|
||||
void fakeAssertVerifyNumAssertsAndClear( uint32_t ulNumAssertsExpected );
|
||||
|
||||
|
|
@ -275,7 +275,7 @@ void td_port_register_stubs( void );
|
|||
/**
|
||||
* @brief Validate ending state of td_port related variables.
|
||||
* @details This function should be called after every test case.
|
||||
* It verifies the state of the variables used by td_port funcitons and
|
||||
* It verifies the state of the variables used by td_port functions and
|
||||
* frees resources used by CMock.
|
||||
*/
|
||||
void td_port_teardown_check( void );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue