This is Webservice SDK for mbed. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088

Fork of libMiMic by Ryo Iizuka

Revision:
1:9f6a78395432
Parent:
0:142ee8b12fef
Child:
41:2389bd6b6f74
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/core/include/NyLPC_config.h	Mon Mar 25 05:23:49 2013 +0000
@@ -0,0 +1,96 @@
+/*********************************************************************************
+ * PROJECT: MiMic
+ * --------------------------------------------------------------------------------
+ *
+ * This file is part of MiMic
+ * Copyright (C)2011 Ryo Iizuka
+ *
+ * MiMic is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * For further information please contact.
+ *  http://nyatla.jp/
+ *  <airmail(at)ebony.plala.or.jp> or <nyatla(at)nyatla.jp>
+ *
+ *********************************************************************************/
+/**
+ * @file
+ * このファイルは、NyLPC全体に関わる、コンフィギュレーション定数を宣言します。
+ */
+#ifndef NyLPC_config_h
+#define NyLPC_config_h
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+/**
+ * 定義値です。LITTLE ENDIANを表します。
+ */
+#define NyLPC_ENDIAN_LITTLE 0
+/**
+ * 定義値です。BIG ENDIANを表します。
+ */
+#define NyLPC_ENDIAN_BIG    1
+
+/**
+ * 定義値です。CPUのエンディアンを定義します。
+ * この値は、NyLPClibに影響を及ぼします。
+ */
+#define NyLPC_ENDIAN NyLPC_ENDIAN_LITTLE
+
+////////////////////////////////////////////////////////////////////////////////////////////////
+// アーキテクチャ選択値
+////////////////////////////////////////////////////////////////////////////////////////////////
+
+/**
+ * 環境定数です。WIN32環境でコンパイルすることを示します。
+ */
+#define NyLPC_ARCH_WIN32 1
+/**
+ * 環境定数です。FREERTOS環境でコンパイルすることを示します。
+ */
+#define NyLPC_ARCH_FREERTOS 2
+/**
+ * 環境定数です。MbedRTOR環境でコンパイルすることを示します。
+ */
+#define NyLPC_ARCH_MBEDRTOS 3
+
+/**
+ * 環境定数です。アーキテクチャを選択します。NyLPC_ARCH_WIN32は、デバック用の定数です。
+ * 通常は、NyLPC_ARCH_FREERTOSを使用します。
+ */
+//#ifdef WIN_DEBUG
+//    #define NyLPC_ARCH NyLPC_ARCH_WIN32
+//#else
+//    #define NyLPC_ARCH NyLPC_ARCH_FREERTOS
+//#endif
+#define NyLPC_ARCH NyLPC_ARCH_MBEDRTOS
+
+
+////////////////////////////////////////////////////////////////////////////////////////////////
+//デバック情報
+////////////////////////////////////////////////////////////////////////////////////////////////
+
+/**
+ * デバック用の宣言。
+ * 定数が1の場合、メモリブロックをソースにして、TCPSocketをエミュレートします。
+ * ソケットを使わずにデバックをしたいときに使います。
+ */
+#define NyLPC_CONFIG_cHttpStream_DEBUG 0
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif