forked from tuxera/reliance-edge
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2bfba4e
commit c27ee8d
Showing
48 changed files
with
501 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,6 +79,16 @@ | |
#ifndef REDCONF_API_POSIX_CWD | ||
#error "Configuration error: REDCONF_API_POSIX_CWD must be defined." | ||
#endif | ||
#ifndef REDCONF_API_POSIX_FSTRIM | ||
/* Reliance Edge v2.3 and below did not have REDCONF_API_POSIX_FSTRIM. You | ||
can fix this error by downloading the latest version of the | ||
Configuration Utility (assuming you are using the latest version of | ||
Reliance Edge) from http://www.datalight.com/reliance-edge, loading your | ||
redconf.c and redconf.h files, and saving them again, replacing the | ||
original files. | ||
*/ | ||
#error "Configuration error: your redconf.h is not compatible. Update your redconf files with a compatible version of the configuration utility." | ||
#endif | ||
#ifndef REDCONF_NAME_MAX | ||
#error "Configuration error: REDCONF_NAME_MAX must be defined." | ||
#endif | ||
|
@@ -231,6 +241,13 @@ | |
#error "Configuration error: REDCONF_API_POSIX_CWD must be either 0 or 1." | ||
#endif | ||
|
||
#if (REDCONF_API_POSIX_FSTRIM != 0) && (REDCONF_API_POSIX_FSTRIM != 1) | ||
#error "Configuration error: REDCONF_API_POSIX_FSTRIM must be either 0 or 1." | ||
#endif | ||
#if (REDCONF_API_POSIX_FSTRIM == 1) && (RED_KIT == RED_KIT_GPL) | ||
#error "REDCONF_API_POSIX_FSTRIM not supported in Reliance Edge under GPL. Contact [email protected] to upgrade." | ||
#endif | ||
|
||
#if (REDCONF_NAME_MAX < 1U) || (REDCONF_NAME_MAX > (REDCONF_BLOCK_SIZE - 4U)) | ||
#error "Configuration error: invalid value of REDCONF_NAME_MAX" | ||
#endif | ||
|
@@ -333,6 +350,10 @@ | |
#error "Configuration error: REDCONF_DISCARDS must be either 0 or 1." | ||
#endif | ||
|
||
#if (REDCONF_DISCARDS == 1) && (RED_KIT == RED_KIT_GPL) | ||
#error "REDCONF_DISCARDS not supported in Reliance Edge under GPL. Contact [email protected] to upgrade." | ||
#endif | ||
|
||
/* REDCONF_BUFFER_COUNT lower limit checked in buffer.c | ||
*/ | ||
#if REDCONF_BUFFER_COUNT > 255U | ||
|
@@ -347,10 +368,6 @@ | |
#error "Configuration error: REDCONF_CHECKER must be either 0 or 1." | ||
#endif | ||
|
||
#if (REDCONF_DISCARDS == 1) && (RED_KIT == RED_KIT_GPL) | ||
#error "REDCONF_DISCARDS not supported in Reliance Edge under GPL. Contact [email protected] to upgrade." | ||
#endif | ||
|
||
|
||
#endif | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.