This is Webservice SDK for mbed. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088
Fork of libMiMic by
Diff: core/NyLPC_cMiMicEnv.c
- Revision:
- 70:2ed02b798004
- Parent:
- 69:8c5f220441f5
- Child:
- 71:855020258513
--- a/core/NyLPC_cMiMicEnv.c Thu May 29 14:29:15 2014 +0000 +++ b/core/NyLPC_cMiMicEnv.c Thu May 29 16:07:14 2014 +0000 @@ -2,11 +2,17 @@ #include "../uip/NyLPC_cUipService_protected.h" const static char* VERSION="MiMic/1.5.0"; + +#if NyLPC_MCU==NyLPC_MCU_LPC4088 +const static char* MCU="LPC4088"; +#elif NyLPC_MCU==NyLPC_MCU_LPC17xx const static char* MCU="LPC176x"; +#endif + const static char* UNKNOWN="UNKNOWN"; -static const char* PNAME_LPCXPRESSO1769="LPCXpresso1769"; +static const char* PNAME_LPCXPRESSO="LPCXpresso"; static const char* PNAME_MBED="mbed"; @@ -19,7 +25,7 @@ case NyLPC_cMiMicEnv_SHORT_NAME: switch(*(NyLPC_cUipService_refDeviceName())){ case 'L': - return PNAME_LPCXPRESSO1769; + return PNAME_LPCXPRESSO; case 'D': return PNAME_MBED; default: