From 028ee20f737231ab98d415d99d8ae9f86d7a8f6c Mon Sep 17 00:00:00 2001 From: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com> Date: Thu, 19 Sep 2024 14:28:03 -0700 Subject: [PATCH] Fix links (#70) Description ----------- Test Steps ----------- Checklist: ---------- - [ ] I have tested my changes. No regression in existing tests. - [ ] I have modified and/or added unit-tests to cover the code changes in this Pull Request. Related Issue ----------- By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. --- README.md | 2 +- include/ff_stdio.h | 32 ++++++++++++++++---------------- portable/Zynq.2019.3/ff_sddisk.c | 7 +++---- portable/linux/ff_sddisk.c | 5 ++--- 4 files changed, 22 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 9651419..83a3c6a 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ server examples that are documented on the pages. The -[standard C library style API](https://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html) +[standard C library style API](https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API) includes a thread local errno value, and the lower level native API provides a rich set of detailed error codes. diff --git a/include/ff_stdio.h b/include/ff_stdio.h index 9dd3be9..a23be6c 100644 --- a/include/ff_stdio.h +++ b/include/ff_stdio.h @@ -116,7 +116,7 @@ /*----------------------------------------------------------- * Get and set the task's file system errno * The most up to date API documentation is currently provided on the following URL: - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API *-----------------------------------------------------------*/ /* @@ -191,7 +191,7 @@ /*----------------------------------------------------------- * Open and close a file * The most up to date API documentation is currently provided on the following URL: - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API *-----------------------------------------------------------*/ FF_FILE * ff_fopen( const char * pcFile, const char * pcMode ); @@ -201,7 +201,7 @@ /*----------------------------------------------------------- * Seek and tell * The most up to date API documentation is currently provided on the following URL: - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API *-----------------------------------------------------------*/ int ff_fseek( FF_FILE * pxStream, long lOffset, @@ -214,7 +214,7 @@ /*----------------------------------------------------------- * Read and write * The most up to date API documentation is currently provided on the following URL: - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API *-----------------------------------------------------------*/ size_t ff_fread( void * pvBuffer, size_t xSize, @@ -253,7 +253,7 @@ * The actual length of the file will be made equal to the current writing * position * The most up to date API documentation is currently provided on the following URL: - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API *-----------------------------------------------------------*/ int ff_seteof( FF_FILE * pxStream ); @@ -262,7 +262,7 @@ * or write zero's up until the required length, and return a handle to the open * file. If NULL is returned, ff_errno contains an error code. * The most up to date API documentation is currently provided on the following URL: - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API *-----------------------------------------------------------*/ FF_FILE * ff_truncate( const char * pcFileName, long lTruncateSize ); @@ -270,7 +270,7 @@ /*----------------------------------------------------------- * Flush to disk * The most up to date API documentation is currently provided on the following URL: - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API *-----------------------------------------------------------*/ int ff_fflush( FF_FILE * pxStream ); @@ -278,7 +278,7 @@ /*----------------------------------------------------------- * Create directory, remove and rename files * The most up to date API documentation is currently provided on the following URL: - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API *-----------------------------------------------------------*/ #if ( ffconfigMKDIR_RECURSIVE == 0 ) int ff_mkdir( const char * pcPath ); @@ -293,21 +293,21 @@ /*----------------------------------------------------------- * Create path specified by the pcPath parameter. * The most up to date API documentation is currently provided on the following URL: - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API *-----------------------------------------------------------*/ int ff_mkpath( const char * pcPath ); /*----------------------------------------------------------- * Remove the directory specified by the pcDirectory parameter. * The most up to date API documentation is currently provided on the following URL: - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API *-----------------------------------------------------------*/ int ff_rmdir( const char * pcDirectory ); /*----------------------------------------------------------- * Delete a directory and, recursively, all of its contents. * The most up to date API documentation is currently provided on the following URL: - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API *-----------------------------------------------------------*/ #if ( ffconfigUSE_DELTREE != 0 ) @@ -325,14 +325,14 @@ /*----------------------------------------------------------- * Remove/delete a file. * The most up to date API documentation is currently provided on the following URL: - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API *-----------------------------------------------------------*/ int ff_remove( const char * pcPath ); /*----------------------------------------------------------- * Move a file, also cross-directory but not across a file system. * The most up to date API documentation is currently provided on the following URL: - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API *-----------------------------------------------------------*/ int ff_rename( const char * pcOldName, const char * pcNewName, @@ -342,7 +342,7 @@ /*----------------------------------------------------------- * Get the status of a file. * The most up to date API documentation is currently provided on the following URL: - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API *-----------------------------------------------------------*/ int ff_stat( const char * pcFileName, FF_Stat_t * pxStatBuffer ); @@ -353,14 +353,14 @@ /*----------------------------------------------------------- * Get the length of a file in bytes. * The most up to date API documentation is currently provided on the following URL: - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API *-----------------------------------------------------------*/ size_t ff_filelength( FF_FILE * pxFile ); /*----------------------------------------------------------- * Working directory and iterating through directories. * The most up to date API documentation is currently provided on the following URL: - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API *-----------------------------------------------------------*/ #if ffconfigHAS_CWD int ff_chdir( const char * pcDirectoryName ); diff --git a/portable/Zynq.2019.3/ff_sddisk.c b/portable/Zynq.2019.3/ff_sddisk.c index 91ead9e..6842ebf 100644 --- a/portable/Zynq.2019.3/ff_sddisk.c +++ b/portable/Zynq.2019.3/ff_sddisk.c @@ -15,7 +15,7 @@ *** documentation and testing is not necessarily complete. *** *** *** *** PLEASE REPORT EXPERIENCES USING THE SUPPORT RESOURCES FOUND ON THE *** - *** URL: http://www.FreeRTOS.org/contact Active early adopters may, at *** + *** URL: https://forums.freertos.org/ Active early adopters may, at *** *** the sole discretion of Real Time Engineers Ltd., be offered versions *** *** under a license other than that described below. *** *** *** @@ -34,9 +34,8 @@ * under the terms of the GNU General Public License V2. Links to the relevant * licenses follow: * - * The FreeRTOS+FAT License Information Page: http://www.FreeRTOS.org/fat_license - * The FreeRTOS Open Source License: http://www.FreeRTOS.org/license - * The GNU General Public License Version 2: http://www.FreeRTOS.org/gpl-2.0.txt + * The FreeRTOS+FAT License Information Page: https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/FreeRTOS_Plus_FAT_License + * The FreeRTOS Open Source License: https://www.freertos.org/Documentation/03-Libraries/01-Library-overview/04-Licensing * * FreeRTOS+FAT is distributed in the hope that it will be useful. You cannot * use FreeRTOS+FAT unless you agree that you use the software 'as is'. diff --git a/portable/linux/ff_sddisk.c b/portable/linux/ff_sddisk.c index 0a7ee82..1a58f29 100644 --- a/portable/linux/ff_sddisk.c +++ b/portable/linux/ff_sddisk.c @@ -14,9 +14,8 @@ * under the terms of the GNU General Public License V2. Links to the relevant * licenses follow: * - * The FreeRTOS+FAT License Information Page: http://www.FreeRTOS.org/fat_license - * The FreeRTOS Open Source License: http://www.FreeRTOS.org/license - * The GNU General Public License Version 2: http://www.FreeRTOS.org/gpl-2.0.txt + * The FreeRTOS+FAT License Information Page: https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/FreeRTOS_Plus_FAT_License + * The FreeRTOS Open Source License: https://www.freertos.org/Documentation/03-Libraries/01-Library-overview/04-Licensing * * FreeRTOS+FAT is distributed in the hope that it will be useful. You cannot * use FreeRTOS+FAT unless you agree that you use the software 'as is'.