Skip to content

Commit

Permalink
Spell check fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Skptak committed Nov 28, 2023
1 parent be9ef79 commit 32cd949
Show file tree
Hide file tree
Showing 54 changed files with 236 additions and 95 deletions.
141 changes: 141 additions & 0 deletions .github/.cSpellWords.txt
Original file line number Diff line number Diff line change
@@ -1,34 +1,175 @@
ACDM
ACMD
Adma
Appli
ARMA
ARMR
Atmel
ATSAM
blocknr
BTST
capitalised
cbmc
CBMC
cbor
CBOR
Chrs
CLUS
cmock
Cmock
CMock
CMOCK
coremqtt
coverity
Coverity
CREATELFNS
CSDK
cstrntowcs
ctest
DBLOCKSIZE
DCMAKE
DCMOCK
DCOUNT
DCRCE
DESEL
DESTROYIOMAN
DFREERTOS
DIREC
DMAEN
DNDEBUG
DTDIR
DTIMER
DTMODE
DTOE
DUNITY
ENMFILE
ffconfig
FFERRTAB
FFFUNCTIONTAB
FFMODULETAB
getpacketid
GPIO
hdmarx
Hein
Hidd
HSMCI
ioman
IRAM
ISEOF
isystem
ITAPCHGWIN
ITAPDLY
ITAPDLYENA
ITAPDLYSEL
lcov
MBURST
MINC
misra
Misra
MISRA
MMCA
MMIO
MQTT
msdely
MSMCI
MSWIN
mypy
mytoken
NIEN
NOMEDIUM
NSAC
NVIC
optimise
OPTIMISE
optimised
Optimised
optimising
OTAPDLY
OTAPDLYENA
OTAPDLYSEL
OVRE
PBURST
PCLK
Periph
PERIPH
PFCTRL
PINC
PTABLE
PTBL
PWRCTRL
pylint
pytest
pyyaml
REGD
Resvd
Rsvd
RTOSFAT
RWMOD
RWSTART
RWSTOP
RXACT
RXBUFF
RXFIFOE
RXFIFOF
sddisk
SDHC
SDHS
SDIDCOUNT
SDIF
SDIO
SDIOCK
SDIOEN
SDIOIT
SDMMC
SDPS
SDSC
SDXC
sinclude
sinit
TAAC
TFXFIFOHE
Tibosch
TPASTE
TXACT
TXBUFF
TXFIFOE
TXFIFOF
UNACKED
UNRE
UNSTUFF
UNSUB
UNSUBACK
unsubscriptions
utest
Walmsley
Wunused
xsdps
Zynd
ZYNQ
MISRAC
SDMA
ARGMT
VSEL
EMMC
SDCLK
CNTR
SWRST
CCRC
DCRC
AMCD
ECAPS
FSEL
PWRUP
ILGL
OVRWR
ASSD
RPBM
CPSECURE
SDCOMBO
IDEN
STBY
hwrev
fwrev
oemid
clks
hwreset
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ endif()
# - when OFF - device support is disabled and not used.
# - When ON - device support is enabled and the ff_devices.h API is used.
# Optional: FREERTOS_PLUS_FAT_PORT
# - When not defined - identifies native platform Linxu or MinGW and uses that port.
# - When not defined - identifies native platform Linux or MinGW and uses that port.
# - When defined as A_CUSTOM_PORT - the port library must be defined in advance.
# - When any of the other supported ports - the port library is defined by portable source files.
option(FREERTOS_PLUS_FAT_DEV_SUPPORT "FreeRTOS Plus FAT Device selection support" OFF)
Expand Down Expand Up @@ -113,7 +113,7 @@ endif()
# - When ON - FreeRTOS-kernel will be fetch using CMake FetchContent_Declare function.
# Optional: FREERTOS_PLUS_FAT_FETCH_FREERTOS_GIT_REPO
# Optional: FREERTOS_PLUS_FAT_FETCH_FREERTOS_GIT_TAG
option(FREERTOS_PLUS_FAT_FETCH_FREERTOS "FreeRTOS-Kernel automatic fecth support" ON)
option(FREERTOS_PLUS_FAT_FETCH_FREERTOS "FreeRTOS-Kernel automatic fetch support" ON)
set(FREERTOS_PLUS_FAT_FETCH_FREERTOS_GIT_REPO "https://github.com/FreeRTOS/FreeRTOS-Kernel.git" CACHE STRING "")
set(FREERTOS_PLUS_FAT_FETCH_FREERTOS_GIT_TAG "main" CACHE STRING "")

Expand Down
2 changes: 1 addition & 1 deletion ff_crc.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* FreeRTOS+FAT V2.3.3
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright (C) 2021 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
Expand Down
2 changes: 1 addition & 1 deletion ff_dev_support.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* FreeRTOS+FAT V2.3.3
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright (C) 2021 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
Expand Down
10 changes: 5 additions & 5 deletions ff_dir.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* FreeRTOS+FAT V2.3.3
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright (C) 2021 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
Expand Down Expand Up @@ -49,7 +49,7 @@
#include <ctype.h>
#endif

/* Calculate a simple LFN checmsum. */
/* Calculate a simple LFN checksum. */
static uint8_t FF_CreateChkSum( const uint8_t * pa_pShortName );

static BaseType_t FF_ShortNameExists( FF_IOManager_t * pxIOManager,
Expand Down Expand Up @@ -1130,7 +1130,7 @@ FF_Error_t FF_CleanupEntryFetch( FF_IOManager_t * pxIOManager,
*
* Side effects:
* - pxContext->ulCurrentClusterNum : relative cluster number ( 0 <= Num < ulChainLength )
* - pxContext->ulCurrentClusterLCN : fysical cluster on the partition
* - pxContext->ulCurrentClusterLCN : physical cluster on the partition
**/

static FF_Error_t FF_Traverse( FF_IOManager_t * pxIOManager,
Expand Down Expand Up @@ -1895,7 +1895,7 @@ FF_Error_t FF_FindNext( FF_IOManager_t * pxIOManager,
}

/* 'usCurrentItem' has already incremented by FF_PopulateLongDirent(),
* this loop will incremente it again. */
* this loop will increment it again. */
pxDirEntry->usCurrentItem -= 1;

/* xFetchContext/usCurrentItem have changed. Update
Expand Down Expand Up @@ -2720,7 +2720,7 @@ int32_t FF_FindShortName( FF_IOManager_t * pxIOManager,
}
#endif /* if ( ffconfigUNICODE_UTF8_SUPPORT != 0 ) */

/* Whole name is now in a valid UTF-16 format. Lets go make thos LFN's.
/* Whole name is now in a valid UTF-16 format. Lets go make those LFN's.
* At this point, it should a be the length of the name. */
if( FF_isERR( xError ) == pdFALSE )
{
Expand Down
2 changes: 1 addition & 1 deletion ff_error.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* FreeRTOS+FAT V2.3.3
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright (C) 2021 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
Expand Down
2 changes: 1 addition & 1 deletion ff_fat.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* FreeRTOS+FAT V2.3.3
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright (C) 2021 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
Expand Down
20 changes: 10 additions & 10 deletions ff_file.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* FreeRTOS+FAT V2.3.3
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright (C) 2021 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
Expand Down Expand Up @@ -1591,7 +1591,7 @@ static uint32_t FF_FileLBA( FF_FILE * pxFile )
*
* Side effects:
* - pxFile->ulCurrentCluster : relative cluster number (0 <= Num < ulChainLength)
* - pxFile->ulAddrCurrentCluster : fysical cluster on the partition
* - pxFile->ulAddrCurrentCluster : physical cluster on the partition
**/
static uint32_t FF_SetCluster( FF_FILE * pxFile,
FF_Error_t * pxError )
Expand Down Expand Up @@ -2547,7 +2547,7 @@ int32_t FF_PutC( FF_FILE * pxFile,
* @param lOffset An integer (+/-) to seek to, from the specified origin.
* @param xOrigin Where to seek from. (FF_SEEK_SET seek from start, FF_SEEK_CUR seek from current position, or FF_SEEK_END seek from end of file).
*
* @retval 0 on Sucess,
* @retval 0 on Success,
* @retval -2 if offset results in an invalid position in the file.
* @retval FF_ERR_NULL_POINTER if a FF_FILE pointer was not received.
* @retval -3 if an invalid origin was provided.
Expand Down Expand Up @@ -2610,7 +2610,7 @@ FF_Error_t FF_Seek( FF_FILE * pxFile,
else
{
xError = FF_createERR( FF_ERR_FILE_SEEK_INVALID_ORIGIN, FF_SEEK );
/* To supress a compiler warning. */
/* To suppress a compiler warning. */
ulPosition = ( uint32_t ) 0u;
}

Expand Down Expand Up @@ -2692,7 +2692,7 @@ FF_Error_t FF_Seek( FF_FILE * pxFile,
*
* @param pxFile FF_FILE object that was created by FF_Open().
*
* @retval 0 on sucess.
* @retval 0 on success.
* @retval FF_ERR_NULL_POINTER if a null pointer was provided.
* @retval FF_ERR_FILE_BAD_HANDLE if handle is not recognized
* @retval FF_ERR_FILE_MEDIA_REMOVED please call FF_Close
Expand Down Expand Up @@ -2802,7 +2802,7 @@ FF_Error_t FF_CheckValid( FF_FILE * pxFile )

if( FF_isERR( xError ) == pdFALSE )
{
xError = FF_FlushCache( pxFile->pxIOManager ); /* Ensure all modfied blocks are flushed to disk! */
xError = FF_FlushCache( pxFile->pxIOManager ); /* Ensure all modifed blocks are flushed to disk! */
}
}
}
Expand Down Expand Up @@ -3016,7 +3016,7 @@ FF_Error_t FF_CheckValid( FF_FILE * pxFile )

if( FF_isERR( xError ) == pdFALSE )
{
xError = FF_FlushCache( pxIOManager ); /* Ensure all modfied blocks are flushed to disk! */
xError = FF_FlushCache( pxIOManager ); /* Ensure all modifed blocks are flushed to disk! */
}
}
while( pdFALSE );
Expand All @@ -3030,7 +3030,7 @@ FF_Error_t FF_CheckValid( FF_FILE * pxFile )
*
* @param pxFile FF_FILE object that was created by FF_Open().
*
* @retval 0 on sucess.
* @retval 0 on success.
* @retval -1 if a null pointer was provided.
*
**/
Expand Down Expand Up @@ -3204,7 +3204,7 @@ FF_Error_t FF_Close( FF_FILE * pxFile )
*
* @param pxFile FF_FILE object that was created by FF_Open().
*
* @retval 0 on sucess.
* @retval 0 on success.
* @retval negative if some error occurred
*
**/
Expand Down Expand Up @@ -3241,7 +3241,7 @@ FF_Error_t FF_SetEof( FF_FILE * pxFile )
*
* @param pxFile FF_FILE object that was created by FF_Open().
*
* @retval 0 on sucess.
* @retval 0 on success.
* @retval negative if some error occurred
*
**/
Expand Down
Loading

0 comments on commit 32cd949

Please sign in to comment.