Doug Anson / Mbed 2 deprecated df-2014-salesforce-testharness-k64f

Dependencies:   BufferedSerial EndpointMain-hello-salesforce Logger EthernetInterface SalesforceInterface mbed-rtos mbed C12832

Committer:
ansond
Date:
Fri Sep 26 04:40:43 2014 +0000
Revision:
31:8e8d1571c148
Parent:
14:5d9fffe3dc7c
updates

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ansond 0:49558a40830a 1 /* Copyright C2014 ARM, MIT License
ansond 0:49558a40830a 2 *
ansond 0:49558a40830a 3 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software
ansond 0:49558a40830a 4 * and associated documentation files the "Software", to deal in the Software without restriction,
ansond 0:49558a40830a 5 * including without limitation the rights to use, copy, modify, merge, publish, distribute,
ansond 0:49558a40830a 6 * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
ansond 0:49558a40830a 7 * furnished to do so, subject to the following conditions:
ansond 0:49558a40830a 8 *
ansond 0:49558a40830a 9 * The above copyright notice and this permission notice shall be included in all copies or
ansond 0:49558a40830a 10 * substantial portions of the Software.
ansond 0:49558a40830a 11 *
ansond 0:49558a40830a 12 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
ansond 0:49558a40830a 13 * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
ansond 0:49558a40830a 14 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
ansond 0:49558a40830a 15 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
ansond 0:49558a40830a 16 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
ansond 0:49558a40830a 17 */
ansond 0:49558a40830a 18
ansond 0:49558a40830a 19 #ifndef _DEFINITIONS_H_
ansond 0:49558a40830a 20 #define _DEFINITIONS_H_
ansond 0:49558a40830a 21
ansond 0:49558a40830a 22 // mbed
ansond 0:49558a40830a 23 #include "mbed.h"
ansond 0:49558a40830a 24
ansond 0:49558a40830a 25 // Our App version
ansond 0:49558a40830a 26 #define APP_VERSION "1.0.0"
ansond 1:76f9a2246720 27
ansond 1:76f9a2246720 28 // Enable/Disable verbose debugging
ansond 14:5d9fffe3dc7c 29 #define ENABLE_DEBUG_LOGGING true // true - enabled, false - disabled (default)
ansond 3:c32e9ad7d582 30
ansond 9:16fc1715ce92 31 // maximum memory buffer chunk
ansond 12:b55df98e90b1 32 #define MAX_BUFFER_LENGTH 2048
ansond 12:b55df98e90b1 33
ansond 12:b55df98e90b1 34 // small buffer chunk
ansond 12:b55df98e90b1 35 #define MAX_SMALL_BUFFER_LENGTH 256
ansond 0:49558a40830a 36
ansond 0:49558a40830a 37 // Blink Time
ansond 0:49558a40830a 38 #define BLINK_TIME 250
ansond 0:49558a40830a 39
ansond 0:49558a40830a 40 // Wait Time for iterations (ms)
ansond 0:49558a40830a 41 #define WAIT_TIME_MS 500
ansond 0:49558a40830a 42
ansond 0:49558a40830a 43 // What platform we are compiling on
ansond 9:16fc1715ce92 44 #define _NXP_PLATFORM false
ansond 0:49558a40830a 45 #define _UBLOX_PLATFORM false
ansond 9:16fc1715ce92 46 #define _K64F_PLATFORM true
ansond 0:49558a40830a 47
ansond 0:49558a40830a 48 // K64F needs to launch the task in a thread with a large stack size...
ansond 0:49558a40830a 49 #if _K64F_PLATFORM
ansond 9:16fc1715ce92 50 #define STACK_SIZE 40000
ansond 0:49558a40830a 51 #endif
ansond 0:49558a40830a 52
ansond 0:49558a40830a 53 // KEIL: our MAC address (debugging)
ansond 0:49558a40830a 54 //#define MAC_ADDRESS 0xa0,0x12,0xAB,0xE3,0x4F,0x56
ansond 9:16fc1715ce92 55 //#define FMT_MAC_BUFFER_LEN 64
ansond 0:49558a40830a 56
ansond 0:49558a40830a 57 #endif // _DEFINITIONS_H_