Skip to content

Commit

Permalink
[updated] some configuration files for SmartConfigurator.
Browse files Browse the repository at this point in the history
Signed-off-by: HirokiIshiguro <hiroki.ishiguro.fv@renesas.com>
  • Loading branch information
HirokiIshiguro committed Apr 9, 2021
1 parent 7c6b5b1 commit ce19d7c
Show file tree
Hide file tree
Showing 9 changed files with 1,602 additions and 380 deletions.
4 changes: 2 additions & 2 deletions configuration/azure-rtos.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<package>
<type>rtosmodule</type>
<name>AzureRTOS</name>
<version>6.1.3_rel-rx-1.0.2</version>
<version>6.1.6_rel-rx-1.0.0</version>
<application>AzureRTOS</application>
<apps>
<app id="application" value="bare" name="Bare project" description="Project includes ThreadX, BSP, and CMT">
Expand All @@ -46,7 +46,7 @@
<section>
<name>B</name>
<name>FREEMEM</name>
<address>0x00004000</address>
<address>0x00010000</address>
</section>
</sections>
</app>
Expand Down
209 changes: 124 additions & 85 deletions configuration/config_files/fx_user.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,79 +68,99 @@

/* Defines the maximum size of long file names supported by FileX. The default value is 33. The
minimum value is 13 and the maximum value is 256. */
#define USE_FX_MAX_LONG_NAME_LEN 0
#if USE_FX_MAX_LONG_NAME_LEN
#define FX_MAX_LONG_NAME_LEN 256
#endif

/*#define FX_MAX_LONG_NAME_LEN 256 */
/*#define FX_MAX_LAST_NAME_LEN 256 */ /* Must be as large or larger than FX_MAX_LONG_NAME_LEN */

#define USE_FX_MAX_LAST_NAME_LEN 0
#if USE_FX_MAX_LAST_NAME_LEN
#define FX_MAX_LAST_NAME_LEN 256 /* Must be as large or larger than FX_MAX_LONG_NAME_LEN */
#endif

/* Defines the maximum number of logical sectors that can be cached by FileX. The cache memory
supplied to FileX at fx_media_open determines how many sectors can actually be cached. */

/*#define FX_MAX_SECTOR_CACHE 256 */ /* Minimum value is 2, all other values must be power of 2. */

#define USE_FX_MAX_SECTOR_CACHE 0
#if USE_FX_MAX_SECTOR_CACHE
#define FX_MAX_SECTOR_CACHE 256 /* Minimum value is 2, all other values must be power of 2. */
#endif

/* Defines the size in bytes of the bit map used to update the secondary FAT sectors. The larger the value the
less unnecessary secondary FAT sector writes. */

/*#define FX_FAT_MAP_SIZE 128 */ /* Minimum value is 1, no maximum value. */

#define USE_FX_FAT_MAP_SIZE 0
#if USE_FX_FAT_MAP_SIZE
#define FX_FAT_MAP_SIZE 128 /* Minimum value is 1, no maximum value. */
#endif

/* Defines the number of entries in the FAT cache. */

/*#define FX_MAX_FAT_CACHE 16 */ /* Minimum value is 8, all values must be a power of 2. */

#define USE_FX_MAX_FAT_CACHE 0
#if USE_FX_MAX_FAT_CACHE
#define FX_MAX_FAT_CACHE 16 /* Minimum value is 8, all values must be a power of 2. */
#endif

/* Defines the number of seconds the time parameters are updated in FileX. */

/*#define FX_UPDATE_RATE_IN_SECONDS 10 */

#define USE_FX_UPDATE_RATE_IN_SECONDS 0
#if USE_FX_UPDATE_RATE_IN_SECONDS
#define FX_UPDATE_RATE_IN_SECONDS 10
#endif

/* Defines the number of ThreadX timer ticks required to achieve the update rate specified by
FX_UPDATE_RATE_IN_SECONDS defined previously. By default, the ThreadX timer tick is 10ms,
so the default value for this constant is 1000. */

/*#define FX_UPDATE_RATE_IN_TICKS 1000 */

#define USE_FX_UPDATE_RATE_IN_TICKS 0
#if USE_FX_UPDATE_RATE_IN_TICKS
#define FX_UPDATE_RATE_IN_TICKS 1000
#endif

/* Defined, FileX is built without update to the time parameters. */

/*#define FX_NO_TIMER */
#define USE_FX_NO_TIMER 0
#if USE_FX_NO_TIMER
#define FX_NO_TIMER
#endif


/* Defined, FileX does not update already opened files. */

/*#define FX_DONT_UPDATE_OPEN_FILES */

#define USE_FX_DONT_UPDATE_OPEN_FILES 0
#if USE_FX_DONT_UPDATE_OPEN_FILES
#define FX_DONT_UPDATE_OPEN_FILES
#endif

/* Defined, the file search cache optimization is disabled. */

/*#define FX_MEDIA_DISABLE_SEARCH_CACHE */
#define USE_FX_MEDIA_DISABLE_SEARCH_CACHE 0
#if USE_FX_MEDIA_DISABLE_SEARCH_CACHE
#define FX_MEDIA_DISABLE_SEARCH_CACHE
#endif


/* Defined, the direct read sector update of cache is disabled. */

/*#define FX_DISABLE_DIRECT_DATA_READ_CACHE_FILL */

#define USE_FX_DISABLE_DIRECT_DATA_READ_CACHE_FILL 0
#if USE_FX_DISABLE_DIRECT_DATA_READ_CACHE_FILL
#define FX_DISABLE_DIRECT_DATA_READ_CACHE_FILL
#endif

/* Defined, gathering of media statistics is disabled. */

/*#define FX_MEDIA_STATISTICS_DISABLE */

#define USE_FX_MEDIA_STATISTICS_DISABLE 0
#if USE_FX_MEDIA_STATISTICS_DISABLE
#define FX_MEDIA_STATISTICS_DISABLE
#endif

/* Defined, legacy single open logic for the same file is enabled. */

/*#define FX_SINGLE_OPEN_LEGACY */

#define USE_FX_SINGLE_OPEN_LEGACY 0
#if USE_FX_SINGLE_OPEN_LEGACY
#define FX_SINGLE_OPEN_LEGACY
#endif

/* Defined, renaming inherits path information. */

/*#define FX_RENAME_PATH_INHERIT */

#define USE_FX_RENAME_PATH_INHERIT 0
#if USE_FX_RENAME_PATH_INHERIT
#define FX_RENAME_PATH_INHERIT
#endif

/* Defined, local path logic is disabled. */

/*#define FX_NO_LOCAL_PATH */

#define USE_FX_NO_LOCAL_PATH 0
#if USE_FX_NO_LOCAL_PATH
#define FX_NO_LOCAL_PATH
#endif

/* Defined, FileX is able to access exFAT file system.
Expand All @@ -152,89 +172,108 @@
https://www.microsoft.com/en-us/legal/intellectualproperty/mtl/exfat-licensing.aspx
*/

/* #define FX_ENABLE_EXFAT */
#define USE_FX_ENABLE_EXFAT 0
#if USE_FX_ENABLE_EXFAT
#define FX_ENABLE_EXFAT
#endif

/* Define FileX internal protection macros. If FX_SINGLE_THREAD is defined,
these protection macros are effectively disabled. However, for multi-thread
uses, the macros are setup to utilize a ThreadX mutex for multiple thread
access control into an open media. */

/* #define FX_SINGLE_THREAD */

#define USE_FX_SINGLE_THREAD 0
#if USE_FX_SINGLE_THREAD
#define FX_SINGLE_THREAD
#endif

/* Defined, data sector write requests are flushed immediately to the driver. */

/*#define FX_FAULT_TOLERANT_DATA */

#define USE_FX_FAULT_TOLERANT_DATA 0
#if USE_FX_FAULT_TOLERANT_DATA
#define FX_FAULT_TOLERANT_DATA
#endif

/* Defined, system sector write requests (including FAT and directory entry requests)
are flushed immediately to the driver. */

/*#define FX_FAULT_TOLERANT */

#define USE_FX_FAULT_TOLERANT 0
#if USE_FX_FAULT_TOLERANT
#define FX_FAULT_TOLERANT
#endif

/* Defined, enables 64-bits sector addresses used in I/O driver. */

/*#define FX_DRIVER_USE_64BIT_LBA */

#define USE_FX_DRIVER_USE_64BIT_LBA 0
#if USE_FX_DRIVER_USE_64BIT_LBA
#define FX_DRIVER_USE_64BIT_LBA
#endif

/* Defined, enables FileX fault tolerant service. */

/*#define FX_ENABLE_FAULT_TOLERANT */

#define USE_FX_ENABLE_FAULT_TOLERANT 0
#if USE_FX_ENABLE_FAULT_TOLERANT
#define FX_ENABLE_FAULT_TOLERANT
#endif

/* Define byte offset in boot sector where the cluster number of the Fault Tolerant Log file is.
Note that this field (byte 116 to 119) is marked as reserved by FAT 12/16/32/exFAT specification. */

/*#define FX_FAULT_TOLERANT_BOOT_INDEX 116 */
#define USE_FX_FAULT_TOLERANT_BOOT_INDEX 0
#if USE_FX_FAULT_TOLERANT_BOOT_INDEX
#define FX_FAULT_TOLERANT_BOOT_INDEX 116
#endif

/* Below FX_DISABLE_XXX macros can be used for code size optimization required for memory
critical aplications */

/* Defined, error checking is disabled. */

/*#define FX_DISABLE_ERROR_CHECKING */

#define USE_FX_DISABLE_ERROR_CHECKING 0
#if USE_FX_DISABLE_ERROR_CHECKING
#define FX_DISABLE_ERROR_CHECKING
#endif

/* Defined, cache is disabled. */

/*#define FX_DISABLE_CACHE */

#define USE_FX_DISABLE_CACHE 0
#if USE_FX_DISABLE_CACHE
#define FX_DISABLE_CACHE
#endif

/* Defined, file close is disabled. */

/*#define FX_DISABLE_FILE_CLOSE */

#define USE_FX_DISABLE_FILE_CLOSE 0
#if USE_FX_DISABLE_FILE_CLOSE
#define FX_DISABLE_FILE_CLOSE
#endif

/* Defined, fast open is disabled. */

/*#define FX_DISABLE_FAST_OPEN */

#define USE_FX_DISABLE_FAST_OPEN 0
#if USE_FX_DISABLE_FAST_OPEN
#define FX_DISABLE_FAST_OPEN
#endif

/* Defined, force memory operations are disabled. */

/*#define FX_DISABLE_FORCE_MEMORY_OPERATION */

#define USE_FX_DISABLE_FORCE_MEMORY_OPERATION 0
#if USE_FX_DISABLE_FORCE_MEMORY_OPERATION
#define FX_DISABLE_FORCE_MEMORY_OPERATION
#endif

/* Defined, build options is disabled. */

/*#define FX_DISABLE_BUILD_OPTIONS */

#define USE_FX_DISABLE_BUILD_OPTIONS 0
#if USE_FX_DISABLE_BUILD_OPTIONS
#define FX_DISABLE_BUILD_OPTIONS
#endif

/* Defined, one line function is disabled. */

/*#define FX_DISABLE_ONE_LINE_FUNCTION */

#define USE_FX_DISABLE_ONE_LINE_FUNCTION 0
#if USE_FX_DISABLE_ONE_LINE_FUNCTION
#define FX_DISABLE_ONE_LINE_FUNCTION
#endif

/* Defined, FAT entry refresh is disabled. */

/*#define FX_DIABLE_FAT_ENTRY_REFRESH */

#define USE_FX_DIABLE_FAT_ENTRY_REFRESH 0
#if USE_FX_DIABLE_FAT_ENTRY_REFRESH
#define FX_DIABLE_FAT_ENTRY_REFRESH
#endif

/* Defined, consecutive detect is disabled. */

/*#define FX_DISABLE_CONSECUTIVE_DETECT */

#define USE_FX_DISABLE_CONSECUTIVE_DETECT 0
#if USE_FX_DISABLE_CONSECUTIVE_DETECT
#define FX_DISABLE_CONSECUTIVE_DETECT
#endif

#endif

Loading

0 comments on commit ce19d7c

Please sign in to comment.