| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- /*
- *********************************************************************************************************
- * uC/LIB
- * CUSTOM LIBRARY MODULES
- *
- * (c) Copyright 2004-2011; Micrium, Inc.; Weston, FL
- *
- * All rights reserved. Protected by international copyright laws.
- *
- * uC/LIB is provided in source form to registered licensees ONLY. It is
- * illegal to distribute this source code to any third party unless you receive
- * written permission by an authorized Micrium representative. Knowledge of
- * the source code may NOT be used to develop a similar product.
- *
- * Please help us continue to provide the Embedded community with the finest
- * software available. Your honesty is greatly appreciated.
- *
- * You can contact us at www.micrium.com.
- *********************************************************************************************************
- */
- /*
- *********************************************************************************************************
- *
- * CUSTOM LIBRARY CONFIGURATION FILE
- *
- * TEMPLATE
- *
- * Filename : lib_cfg.h
- * Version : V1.35.00
- * Programmer(s) : ITJ
- *********************************************************************************************************
- */
- /*
- *********************************************************************************************************
- * MODULE
- *********************************************************************************************************
- */
- #ifndef LIB_CFG_MODULE_PRESENT
- #define LIB_CFG_MODULE_PRESENT
- /*$PAGE*/
- /*
- *********************************************************************************************************
- *********************************************************************************************************
- * MEMORY LIBRARY CONFIGURATION
- *********************************************************************************************************
- *********************************************************************************************************
- */
- /*
- *********************************************************************************************************
- * MEMORY LIBRARY ARGUMENT CHECK CONFIGURATION
- *
- * Note(s) : (1) Configure LIB_MEM_CFG_ARG_CHK_EXT_EN to enable/disable the memory library suite external
- * argument check feature :
- *
- * (a) When ENABLED, arguments received from any port interface provided by the developer
- * or application are checked/validated.
- *
- * (b) When DISABLED, NO arguments received from any port interface provided by the developer
- * or application are checked/validated.
- *********************************************************************************************************
- */
- /* Configure external argument check feature (see Note #1) : */
- #define LIB_MEM_CFG_ARG_CHK_EXT_EN DEF_DISABLED
- /* DEF_DISABLED Argument check DISABLED */
- /* DEF_ENABLED Argument check ENABLED */
- /*
- *********************************************************************************************************
- * MEMORY LIBRARY ASSEMBLY OPTIMIZATION CONFIGURATION
- *
- * Note(s) : (1) Configure LIB_MEM_CFG_OPTIMIZE_ASM_EN to enable/disable assembly-optimized memory function(s).
- *********************************************************************************************************
- */
- /* Configure assembly-optimized function(s) [see Note #1] : */
- #define LIB_MEM_CFG_OPTIMIZE_ASM_EN DEF_DISABLED
- /* DEF_DISABLED Assembly-optimized function(s) DISABLED */
- /* DEF_ENABLED Assembly-optimized function(s) ENABLED */
- /*
- *********************************************************************************************************
- * MEMORY ALLOCATION CONFIGURATION
- *
- * Note(s) : (1) Configure LIB_MEM_CFG_ALLOC_EN to enable/disable memory allocation functions.
- *
- * (2) (a) Configure LIB_MEM_CFG_HEAP_SIZE with the desired size of heap memory (in octets).
- *
- * (b) Configure LIB_MEM_CFG_HEAP_BASE_ADDR to specify a base address for heap memory :
- *
- * (1) Heap initialized to specified application memory, if LIB_MEM_CFG_HEAP_BASE_ADDR
- * #define'd in 'app_cfg.h';
- * CANNOT #define to address 0x0
- *
- * (2) Heap declared to Mem_Heap[] in 'lib_mem.c', if LIB_MEM_CFG_HEAP_BASE_ADDR
- * NOT #define'd in 'app_cfg.h'
- *********************************************************************************************************
- */
- /* Configure memory allocation feature (see Note #1) : */
- #define LIB_MEM_CFG_ALLOC_EN DEF_DISABLED
- /* DEF_DISABLED Memory allocation DISABLED */
- /* DEF_ENABLED Memory allocation ENABLED */
- #define LIB_MEM_CFG_HEAP_SIZE 1024u /* Configure heap memory size [see Note #2a]. */
- #if 0 /* Configure heap memory base address (see Note #2b). */
- #define LIB_MEM_CFG_HEAP_BASE_ADDR 0x00000000u
- #endif
- /*$PAGE*/
- /*
- *********************************************************************************************************
- *********************************************************************************************************
- * STRING LIBRARY CONFIGURATION
- *********************************************************************************************************
- *********************************************************************************************************
- */
- /*
- *********************************************************************************************************
- * STRING FLOATING POINT CONFIGURATION
- *
- * Note(s) : (1) Configure LIB_STR_CFG_FP_EN to enable/disable floating point string function(s).
- *
- * (2) Configure LIB_STR_CFG_FP_MAX_NBR_DIG_SIG to configure the maximum number of significant
- * digits to calculate &/or display for floating point string function(s).
- *
- * See also 'lib_str.h STRING FLOATING POINT DEFINES Note #1'.
- *********************************************************************************************************
- */
- /* Configure floating point feature(s) [see Note #1] : */
- #define LIB_STR_CFG_FP_EN DEF_DISABLED
- /* DEF_DISABLED Floating point functions DISABLED */
- /* DEF_ENABLED Floating point functions ENABLED */
- /* Configure floating point feature(s)' number of ... */
- /* ... significant digits (see Note #2). */
- #define LIB_STR_CFG_FP_MAX_NBR_DIG_SIG LIB_STR_FP_MAX_NBR_DIG_SIG_DFLT
- /*$PAGE*/
- /*
- *********************************************************************************************************
- * MODULE END
- *********************************************************************************************************
- */
- #endif /* End of lib cfg module include. */
|