1 /*------------------------------------------------------------------------------------------------*/
2 /* UNICENS V2.1.0-3491 */
3 /* Copyright (c) 2017 Microchip Technology Germany II GmbH & Co. KG. */
5 /* This program is free software: you can redistribute it and/or modify */
6 /* it under the terms of the GNU General Public License as published by */
7 /* the Free Software Foundation, either version 2 of the License, or */
8 /* (at your option) any later version. */
10 /* This program is distributed in the hope that it will be useful, */
11 /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
12 /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
13 /* GNU General Public License for more details. */
15 /* You should have received a copy of the GNU General Public License */
16 /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
18 /* You may also obtain this software under a propriety license from Microchip. */
19 /* Please contact Microchip for further information. */
20 /*------------------------------------------------------------------------------------------------*/
24 * \brief UNICENSV2 API include file
27 #ifndef UCS_SHARED_CONFIG_H
28 #define UCS_SHARED_CONFIG_H
30 /*------------------------------------------------------------------------------------------------*/
32 /*------------------------------------------------------------------------------------------------*/
35 /*------------------------------------------------------------------------------------------------*/
36 /* Shared Definitions */
37 /*------------------------------------------------------------------------------------------------*/
38 /*! \def UCS_FOOTPRINT_TINY
39 * \brief Define this macro to reduce the RAM and ROM size of the UNICENS software by
40 * disabling certain features.
41 * \ingroup G_UCS_INIT_AND_SRV
42 * \details If this macro is defined the following changes apply:
43 * - Reduction of low-level buffers
44 * - AMS does not support segmentation (payload > 45 bytes)
47 #ifndef UCS_FOOTPRINT_TINY
48 # define UCS_FOOTPRINT_TINY
50 # define AMS_FOOTPRINT_TINY
51 # define MNSL_FOOTPRINT_TINY
52 # define SMM_FOOTPRINT_TINY
55 #endif /* UCS_SHARED_CONFIG_H */
56 /*------------------------------------------------------------------------------------------------*/
58 /*------------------------------------------------------------------------------------------------*/