Xively demo for cc3000
Dependencies: NVIC_set_all_priorities cc3000_hostdriver_mbedsocket libxively mbed
xi_user_config.h@3:6eb505b0beb3, 2013-10-14 (annotated)
- Committer:
- Kojto
- Date:
- Mon Oct 14 15:33:28 2013 +0000
- Revision:
- 3:6eb505b0beb3
- Parent:
- 1:ad3b3e58ba36
xively update with xi_user_config
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kojto | 1:ad3b3e58ba36 | 1 | /* mbed Microcontroller Library |
Kojto | 1:ad3b3e58ba36 | 2 | * Copyright (c) 2006-2013 ARM Limited |
Kojto | 1:ad3b3e58ba36 | 3 | * |
Kojto | 1:ad3b3e58ba36 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
Kojto | 1:ad3b3e58ba36 | 5 | * you may not use this file except in compliance with the License. |
Kojto | 1:ad3b3e58ba36 | 6 | * You may obtain a copy of the License at |
Kojto | 1:ad3b3e58ba36 | 7 | * |
Kojto | 1:ad3b3e58ba36 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
Kojto | 1:ad3b3e58ba36 | 9 | * |
Kojto | 1:ad3b3e58ba36 | 10 | * Unless required by applicable law or agreed to in writing, software |
Kojto | 1:ad3b3e58ba36 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
Kojto | 1:ad3b3e58ba36 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
Kojto | 1:ad3b3e58ba36 | 13 | * See the License for the specific language governing permissions and |
Kojto | 1:ad3b3e58ba36 | 14 | * limitations under the License. |
Kojto | 1:ad3b3e58ba36 | 15 | */ |
Kojto | 3:6eb505b0beb3 | 16 | #ifndef __XI_USER_CONFIG_H__ |
Kojto | 3:6eb505b0beb3 | 17 | #define __XI_USER_CONFIG_H__ |
Kojto | 3:6eb505b0beb3 | 18 | |
Kojto | 3:6eb505b0beb3 | 19 | // The following settings should lower memory footprint. |
Kojto | 3:6eb505b0beb3 | 20 | // The library currently allows one to send batch datapoint |
Kojto | 3:6eb505b0beb3 | 21 | // and feed updates, but it's not needed in most use cases |
Kojto | 3:6eb505b0beb3 | 22 | #define XI_MAX_DATAPOINTS 1 |
Kojto | 3:6eb505b0beb3 | 23 | // The number of channels can be increased if needed |
Kojto | 3:6eb505b0beb3 | 24 | #define XI_MAX_DATASTREAMS 5 |
Kojto | 1:ad3b3e58ba36 | 25 | |
Kojto | 3:6eb505b0beb3 | 26 | // Below are optimisations that reduce some minor functionality |
Kojto | 3:6eb505b0beb3 | 27 | #define XI_OPT_NO_ERROR_STRINGS |
Kojto | 1:ad3b3e58ba36 | 28 | |
Kojto | 3:6eb505b0beb3 | 29 | // If you wish to enable assertions, set this to 1 |
Kojto | 3:6eb505b0beb3 | 30 | #define XI_DEBUG_ASSERT 0 |
Kojto | 3:6eb505b0beb3 | 31 | // If you wish to disable debug output, set this to 0 |
Kojto | 3:6eb505b0beb3 | 32 | #define XI_DEBUG_OUTPUT 0 |
Kojto | 3:6eb505b0beb3 | 33 | |
Kojto | 3:6eb505b0beb3 | 34 | #endif /* __XI_USER_CONFIG_H__ */ |