Commit 77d4b7bfbba99b2659a3cf0024630aff8913d5f7

Authored by Imanol-Mikel Barba Sabariego
1 parent 9e254526

FINAL CODE REVIEW

DUREX/DUREX-Prog.c deleted
1   -#include "DUREX.h"
2   -#include "Hal.h"
3   -
4   -DUREX_numBytes_t numBytes = 0;
5   -DUREX_data_t data = "";
6   -DUREX_numPackets_t numPackets = 0;
7   -DUREX_messageAvailable_t messageAvailable = 0;
8   -uint8_t lastMessageAck = 1;
9   -
10   -void main() {
11   - Hal_init();
12   - DUREX_start();
13   - Hal_idleLoop();
14   -}
15   -
16   -/* -------- SCHEMA CALLBACKS -------- */
17   -
18   -void processMessage()
19   -{
20   - if(!strcmp(data,"Hello"))
21   - {
22   - memcpy(data,"Hello",6);
23   - numBytes = 6;
24   - numPackets = 1;
25   - }
26   -}
27   -
28   -void DUREX_connectHandler(void)
29   -{
30   - Hal_connected();
31   -}
32   -
33   -void DUREX_disconnectHandler(void)
34   -{
35   - Hal_disconnected();
36   -}
37   -
38   -void DUREX_numBytes_fetch(DUREX_numBytes_t* const output)
39   -{
40   - *output = numBytes;
41   -}
42   -
43   -void DUREX_numBytes_store(DUREX_numBytes_t* const input)
44   -{
45   - numBytes = *input;
46   -}
47   -
48   -void DUREX_data_fetch(DUREX_data_t output)
49   -{
50   - memcpy(output,data,numBytes);
51   -}
52   -
53   -void DUREX_data_store(DUREX_data_t input)
54   -{
55   - memcpy(data,input,numBytes);
56   -}
57   -
58   -void DUREX_numPackets_fetch(DUREX_numPackets_t* const output)
59   -{
60   - *output = numPackets;
61   -}
62   -
63   -void DUREX_numPackets_store(DUREX_numPackets_t* const input)
64   -{
65   - numPackets = *input;
66   -}
67   -
68   -void DUREX_messageAvailable_fetch(DUREX_messageAvailable_t* const output)
69   -{
70   - *output = messageAvailable;
71   -}
72   -
73   -void DUREX_messageAvailable_store(DUREX_messageAvailable_t* const input)
74   -{
75   - messageAvailable = *input;
76   - if(messageAvailable == DUREX_TRUE)
77   - {
78   - led1_on();
79   - lastMessageAck = 0;
80   - messageAvailable = DUREX_FALSE;
81   - DUREX_messageAvailable_indicate();
82   - processMessage();
83   - messageAvailable = DUREX_TRUE;
84   - DUREX_messageAvailable_indicate();
85   - }
86   - else if(messageAvailable == DUREX_FALSE)
87   - {
88   - led1_off();
89   - lastMessageAck = 1;
90   - }
91   -}
92   -
DUREX/DUREX.ems deleted
1   -version = "1.0.0"
2   -description = ""
3   -
4   -schema DUREX
5   -{
6   - enum BOOLEAN{ TRUE, FALSE };
7   - typedef string<200> String; //MAXIMUM SIZE AVAILABLE
8   -
9   - uint8 numBytes;
10   - String data;
11   - uint8 numPackets;
12   - BOOLEAN messageAvailable
13   - {
14   - indicator
15   - }
16   -}
DUREX/Em/DUREX-STUBS.c deleted
1   -/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.DUREX on 2014-08-07T19:28:56T ****/
2   -/**** protocolLevel = 13, toolsVersion = 13.4.1.201311121909 ****/
3   -
4   -#include "DUREX.h"
5   -
6   -#ifdef DUREX_STUBS_ /* enables optional inclusion of application stubs */
7   -
8   -/* Copy the function skeletons below into your own application source file */
9   -
10   -void DUREX_connectHandler(void) {
11   - /* TODO: application is now connected */
12   -}
13   -
14   -void DUREX_disconnectHandler(void) {
15   - /* TODO: application is now disconnected */
16   -}
17   -
18   -void DUREX_numBytes_fetch(DUREX_numBytes_t* output) {
19   - /* TODO: read resource 'numBytes' into 'output' */
20   -}
21   -
22   -void DUREX_numBytes_store(DUREX_numBytes_t* input) {
23   - /* TODO: write resource 'numBytes' from 'input' */
24   -}
25   -
26   -void DUREX_data_fetch(DUREX_data_t output) {
27   - /* TODO: read resource 'data' into 'output' */
28   -}
29   -
30   -void DUREX_data_store(DUREX_data_t input) {
31   - /* TODO: write resource 'data' from 'input' */
32   -}
33   -
34   -void DUREX_numPackets_fetch(DUREX_numPackets_t* output) {
35   - /* TODO: read resource 'numPackets' into 'output' */
36   -}
37   -
38   -void DUREX_numPackets_store(DUREX_numPackets_t* input) {
39   - /* TODO: write resource 'numPackets' from 'input' */
40   -}
41   -
42   -void DUREX_messageAvailable_fetch(DUREX_messageAvailable_t* output) {
43   - /* TODO: read resource 'messageAvailable' into 'output' */
44   -}
45   -
46   -#endif /* application stubs */
DUREX/Em/DUREX.c deleted
1   -/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.DUREX on 2014-08-07T19:28:56T ****/
2   -/**** protocolLevel = 13, toolsVersion = 13.4.1.201311121909 ****/
3   -
4   -#include "Em_Message.h"
5   -#include "DUREX.h"
6   -
7   -#ifdef __cplusplus
8   -extern "C" {
9   -#endif
10   -
11   -#define Em_Message_protocolLevel 13
12   -
13   -typedef struct Em_App_Message {
14   - uint8_t dummy[3];
15   - uint8_t sot;
16   - Em_Message_Header hdr;
17   - uint8_t data[201];
18   -} Em_App_Message;
19   -
20   -const uint8_t Em_App_hash[] = {0, 164, 192, 32, 22, 163, 114, 239, 91, 240, 123, 128, 206, 12, 50, 148, 13, 0, ((sizeof(struct{uint8_t f1; uint16_t f2;}) - sizeof(uint16_t)) << 4) | (sizeof(struct{uint8_t f1; uint32_t f2;}) - sizeof(uint32_t))};
21   -
22   -const uint8_t Em_App_build[] = {131, 51, 132, 177, 71, 1, 0, 0};
23   -
24   -#define Em_App_APP_RESOURCE_COUNT 4
25   -#define Em_App_SYS_RESOURCE_COUNT 9
26   -
27   -#define Em_App_ACCEPT DUREX_accept
28   -#define Em_App_ACTIVATEPARAMETERS DUREX_activateParameters
29   -#define Em_App_BROADCASTOFF DUREX_broadcastOff
30   -#define Em_App_DISCONNECT DUREX_disconnect
31   -#define Em_App_PAIRINGON DUREX_pairingOn
32   -#define Em_App_PAIRINGOFF DUREX_pairingOff
33   -#define Em_App_RESET DUREX_reset
34   -#define Em_App_SETDEVICENAME DUREX_setDeviceName
35   -#define Em_App_START DUREX_start
36   -
37   -#define Em_App_CONNECTHANDLER DUREX_connectHandler
38   -#define Em_App_DISCONNECTHANDLER DUREX_disconnectHandler
39   -
40   -#define Em_App_MAX_INDICATOR 2
41   -
42   -/* BEGIN common code */
43   -
44   -enum {Em_App_IDLE, Em_App_STARTING, Em_App_DISCONNECTED, Em_App_CONNECTED};
45   -
46   -typedef struct Em_App_Indicator {
47   - uint8_t dummy[3];
48   - uint8_t sot;
49   - Em_Message_Header hdr;
50   - uint8_t data[Em_Message_INDSIZE];
51   -} Em_App_Indicator;
52   -
53   -union { uint32_t align; Em_App_Message msg; } Em_App_msg_u;
54   -union { uint32_t align; Em_App_Indicator ind; } Em_App_ind_u;
55   -#define Em_App_msg Em_App_msg_u.msg
56   -#define Em_App_ind Em_App_ind_u.ind
57   -
58   -void (*Em_App_pdHdlr)(void);
59   -
60   -const uint16_t Em_App_endian = 0x0100;
61   -
62   -Em_Message_Size Em_App_recvIdx;
63   -Em_Message_Size Em_App_recvSize;
64   -Em_Message_Size Em_App_xmitIdx;
65   -Em_Message_Size Em_App_xmitSize;
66   -
67   -uint8_t Em_App_state = Em_App_IDLE;
68   -int32_t Em_App_fileIndex = 0;
69   -uint32_t Em_App_xmitMask = 0;
70   -
71   -uint8_t* Em_App_valp;
72   -uint8_t* Em_App_bufp;
73   -const char* Em_App_desc;
74   -
75   -uint8_t* Em_App_inBuf = (uint8_t*)&Em_App_msg.hdr;
76   -uint8_t* Em_App_outBuf = 0;
77   -
78   -uint8_t* _Em_Message_rxBuf = 0;
79   -uint8_t _Em_Message_rxCnt = 0;
80   -
81   -uint8_t* _Em_Message_txBuf = 0;
82   -uint8_t _Em_Message_txCnt = 0;
83   -
84   -#define Em_App_DEVNAME_LEN 9
85   -const char* Em_App_devName = 0;
86   -
87   -void Em_App_fetchDispatch(void);
88   -void Em_Message_marshallToBuf(uint8_t* valp, uint8_t* bufp, const char* desc);
89   -void Em_Message_marshallToVal(uint8_t* valp, uint8_t* bufp, const char* desc);
90   -void Em_App_storeDispatch(void);
91   -void Em_App_sendIndicator(Em_Message_ResId indId);
92   -void Em_App_sendResponse(Em_Message_Kind kind, Em_Message_Size size);
93   -void Em_App_startIndSend(void);
94   -void Em_App_startResSend(void);
95   -void Em_App_sysFetchDispatch(void);
96   -void Em_App_sysStoreDispatch(void);
97   -bool Em_App_xmitReady(Em_Message_ResId indId);
98   -
99   -void Em_Message_nextXmit(void) {
100   - uint8_t key = Em_Hal_lock();
101   - if (Em_App_xmitMask != 0) {
102   - uint8_t i;
103   - uint32_t m;
104   - for (i = 0, m = 0x1; i < Em_App_MAX_INDICATOR; i++, m <<= 1) {
105   - if (Em_App_xmitMask & m) {
106   - Em_App_xmitMask &= ~m;
107   - if (i == 0) {
108   - Em_App_startResSend();
109   - }
110   - else {
111   - Em_App_sendIndicator(i - 1);
112   - }
113   - break;
114   - }
115   - }
116   - }
117   - Em_Hal_unlock(key);
118   -}
119   -
120   -void Em_Message_restart(void) {
121   - Em_App_START();
122   -}
123   -
124   -void Em_App_ACCEPT(bool enable) {
125   - if (Em_App_state == Em_App_CONNECTED) {
126   - return;
127   - }
128   - Em_App_ind.sot = 0;
129   - Em_App_ind.hdr.kind = Em_Message_ACCEPT;
130   - Em_App_ind.hdr.size = sizeof (Em_Message_Header);
131   - Em_App_ind.hdr.resId = enable;
132   - Em_App_startIndSend();
133   -}
134   -
135   -void Em_App_ACTIVATEPARAMETERS(uint8_t group) {
136   - if (Em_App_state == Em_App_IDLE || Em_App_state == Em_App_STARTING) {
137   - return;
138   - }
139   - Em_App_ind.sot = 0;
140   - Em_App_ind.hdr.kind = Em_Message_ACTIVE_PARAMS;
141   - Em_App_ind.hdr.size = sizeof (Em_Message_Header);
142   - Em_App_ind.hdr.resId = group;
143   - Em_App_startIndSend();
144   -}
145   -
146   -void Em_App_BROADCASTOFF(void) {
147   - Em_App_ind.sot = 0;
148   - Em_App_ind.hdr.kind = Em_Message_INDICATOR;
149   - Em_App_ind.hdr.size = sizeof (Em_Message_Header);
150   - Em_App_ind.hdr.resId = 0;
151   - Em_App_startIndSend();
152   -}
153   -
154   -void Em_App_DISCONNECT(void) {
155   - if (Em_App_state != Em_App_CONNECTED) {
156   - return;
157   - }
158   - Em_App_state = Em_App_DISCONNECTED;
159   - Em_App_ind.sot = 0;
160   - Em_App_ind.hdr.kind = Em_Message_DISCONNECT;
161   - Em_App_ind.hdr.size = sizeof (Em_Message_Header);
162   - Em_App_ind.hdr.resId = 0;
163   - Em_App_startIndSend();
164   -}
165   -
166   -void Em_Message_dispatch(void) {
167   - if (Em_App_state == Em_App_IDLE) {
168   - return;
169   - }
170   - switch (Em_App_msg.hdr.kind) {
171   - case Em_Message_CONNECT:
172   - Em_App_state = Em_App_CONNECTED;
173   - Em_App_CONNECTHANDLER();
174   - break;
175   - case Em_Message_DISCONNECT:
176   - Em_App_state = Em_App_DISCONNECTED;
177   - Em_App_DISCONNECTHANDLER();
178   - break;
179   - case Em_Message_PAIRING_DONE:
180   - if (Em_App_pdHdlr) {
181   - (*Em_App_pdHdlr)();
182   - }
183   - break;
184   - case Em_Message_FETCH:
185   - if (Em_App_msg.hdr.resId < 0x80) {
186   - Em_App_fetchDispatch();
187   - }
188   - else {
189   - Em_App_sysFetchDispatch();
190   - }
191   - break;
192   - case Em_Message_STORE:
193   - if (Em_App_msg.hdr.resId < 0x80) {
194   - Em_App_storeDispatch();
195   - }
196   - else {
197   - Em_App_sysStoreDispatch();
198   - }
199   - break;
200   - }
201   -}
202   -
203   -void Em_App_marshallToBuf() {
204   - char ch;
205   - while ((ch = *Em_App_desc++)) {
206   - switch (ch) {
207   - case '0' : {
208   - *Em_App_bufp++ = 0;
209   - break;
210   - }
211   - case '1' : {
212   - *Em_App_bufp++ = *Em_App_valp & 0xFF;
213   - break;
214   - }
215   - case '2' : {
216   - uint16_t v16 = *(uint16_t*)Em_App_valp;
217   - *Em_App_bufp++ = v16 & 0xFF;
218   - *Em_App_bufp++ = (v16 >> 8) & 0xFF;
219   - break;
220   - }
221   - case '4' : {
222   - if (((uint32_t)Em_App_valp & 0x1)) Em_App_valp++;
223   - uint32_t v32 = *(uint32_t*)Em_App_valp++;
224   - *Em_App_bufp++ = v32 & 0xFF;
225   - *Em_App_bufp++ = (v32 >> 8) & 0xFF;
226   - *Em_App_bufp++ = (v32 >> 16) & 0xFF;
227   - *Em_App_bufp++ = (v32 >> 24) & 0xFF;
228   - break;
229   - }
230   - }
231   - Em_App_valp += 1;
232   - }
233   -}
234   -
235   -void Em_App_marshallToVal() {
236   - char ch;
237   - while ((ch = *Em_App_desc++)) {
238   - switch (ch) {
239   - case '0' : {
240   - *Em_App_valp = 0;
241   - Em_App_bufp += 1;
242   - break;
243   - }
244   - case '1' : {
245   - *Em_App_valp = *Em_App_bufp++ & 0xFF;
246   - break;
247   - }
248   - case '2' : {
249   - uint16_t v16 = *Em_App_bufp++ & 0xFF;
250   - v16 |= (*Em_App_bufp++ << 8);
251   - *(uint16_t*)Em_App_valp = v16;
252   - break;
253   - }
254   - case '4' : {
255   - if (((uint32_t)Em_App_valp & 0x1)) Em_App_valp++;
256   - uint32_t v32 = (uint32_t)*Em_App_bufp++ & 0xFF;
257   - v32 |= ((uint32_t)*Em_App_bufp++ << 8);
258   - v32 |= ((uint32_t)*Em_App_bufp++ << 16);
259   - v32 |= ((uint32_t)*Em_App_bufp++ << 24);
260   - *(uint32_t*)Em_App_valp++ = v32;
261   - break;
262   - }
263   - }
264   - Em_App_valp += 1;
265   - }
266   -}
267   -
268   -void Em_App_PAIRINGOFF(void(*handler)(void)) {
269   - Em_App_PAIRINGON(0, handler);
270   -}
271   -
272   -void Em_App_PAIRINGON(uint8_t secs, void(*handler)(void)) {
273   - if (Em_App_state != Em_App_DISCONNECTED) {
274   - return;
275   - }
276   - Em_App_pdHdlr = handler;
277   - Em_App_ind.sot = 0;
278   - Em_App_ind.hdr.kind = Em_Message_PAIRING;
279   - Em_App_ind.hdr.size = sizeof (Em_Message_Header);
280   - Em_App_ind.hdr.resId = secs;
281   - Em_App_startIndSend();
282   -}
283   -
284   -void Em_App_RESET(void) {
285   - Em_Hal_reset();
286   - _Em_Message_rxBuf = _Em_Message_txBuf = 0;
287   - _Em_Message_rxCnt = _Em_Message_txCnt = 0;
288   - Em_App_recvIdx = Em_App_recvSize = Em_App_xmitIdx = Em_App_xmitSize = 0;
289   - Em_App_state = Em_App_IDLE;
290   - Em_App_fileIndex = 0;
291   - Em_App_xmitMask = 0;
292   -}
293   -
294   -void Em_App_SETDEVICENAME(const char* name) {
295   - Em_App_devName = name;
296   -}
297   -
298   -void Em_App_START(void) {
299   - Em_App_RESET();
300   - Em_App_state = Em_App_STARTING;
301   -}
302   -
303   -void Em_App_sendResponse(Em_Message_Kind kind, Em_Message_Size size) {
304   - if (Em_App_state != Em_App_IDLE) {
305   - Em_App_msg.sot = 0;
306   - Em_App_msg.hdr.kind = kind;
307   - Em_App_msg.hdr.size = size + sizeof (Em_Message_Header);
308   - if (Em_App_xmitReady(0)) {
309   - Em_App_startResSend();
310   - }
311   - }
312   -}
313   -
314   -void Em_App_startIndSend(void) {
315   - Em_App_outBuf = (uint8_t*)&Em_App_ind.sot;
316   - Em_App_xmitSize = Em_App_ind.hdr.size + 1;
317   - Em_App_xmitIdx = 0;
318   - Em_Hal_startSend();
319   -}
320   -
321   -void Em_App_startResSend(void) {
322   - Em_App_outBuf = (uint8_t*)&Em_App_msg.sot;
323   - Em_App_xmitSize = Em_App_msg.hdr.size + 1;
324   - Em_App_xmitIdx = 0;
325   - Em_Hal_startSend();
326   -}
327   -
328   -void Em_App_sysFetchDispatch(void) {
329   - uint8_t size = 0;
330   - int i, j;
331   - switch (Em_App_msg.hdr.resId) {
332   - case Em_Message_SYS_SCHEMA_HASH:
333   - for (i = 0; i < sizeof (Em_App_hash); i++) {
334   - Em_App_msg.data[i] = Em_App_hash[i];
335   - }
336   - Em_App_msg.data[sizeof (Em_App_hash)] = *((uint8_t*)&Em_App_endian);
337   - size = sizeof (Em_App_hash) + 1;
338   - break;
339   - case Em_Message_SYS_MCM_NAME:
340   - if (Em_App_devName) {
341   - for (i = 0; i < Em_App_DEVNAME_LEN; i++) {
342   - if ((Em_App_msg.data[i] = Em_App_devName[i]) == 0) {
343   - break;
344   - }
345   - }
346   - for (j = i; j < Em_App_DEVNAME_LEN; j++) {
347   - Em_App_msg.data[j] = 0;
348   - }
349   - size = Em_App_DEVNAME_LEN;
350   - }
351   - break;
352   - case Em_Message_SYS_EAP_PROTOCOL_LEVEL:
353   - *((Em_Message_protocolLevel_t*)Em_App_msg.data) = Em_Message_protocolLevel;
354   - size = sizeof (Em_Message_protocolLevel_t);
355   - break;
356   - case Em_Message_SYS_EAP_BUILD_DATE:
357   - for (i = 0; i < sizeof (Em_App_build); i++) {
358   - Em_App_msg.data[i] = Em_App_build[i];
359   - }
360   - size = sizeof (Em_App_build);
361   - break;
362   - case Em_Message_SYS_RESOURCE_COUNT:
363   - Em_App_msg.data[0] = Em_App_APP_RESOURCE_COUNT;
364   - Em_App_msg.data[1] = Em_App_SYS_RESOURCE_COUNT;
365   - size = 2;
366   - break;
367   - }
368   - Em_App_sendResponse(Em_Message_FETCH_DONE, size);
369   -}
370   -
371   -void Em_App_sysStoreDispatch(void) {
372   - switch (Em_App_msg.hdr.resId) {
373   - case Em_Message_SYS_FILE_INDEX_RESET:
374   - Em_App_fileIndex = 0;
375   - break;
376   - }
377   - Em_App_sendResponse(Em_Message_STORE_DONE, 0);
378   -}
379   -
380   -bool Em_App_xmitReady(Em_Message_ResId indId) {
381   - uint8_t key = Em_Hal_lock();
382   - bool res = _Em_Message_txBuf == 0 && Em_App_xmitMask == 0;
383   - if (!res) {
384   - Em_App_xmitMask |= (1 << indId);
385   - }
386   - Em_Hal_unlock(key);
387   - return res;
388   -}
389   -
390   -/* END common code */
391   -
392   -void Em_App_fetchDispatch(void) {
393   - uint8_t size = 0;
394   - switch (Em_App_msg.hdr.resId) {
395   - case 0: {
396   - break;
397   - }
398   - case 1: {
399   -#ifdef Em_16BIT
400   - DUREX_numBytes_t val;
401   - Em_App_valp = (uint8_t*)&val;
402   - Em_App_bufp = Em_App_msg.data;
403   - Em_App_desc = "1";
404   - DUREX_numBytes_fetch(&val);
405   - Em_App_marshallToBuf();
406   -#else
407   - DUREX_numBytes_fetch((void*)Em_App_msg.data);
408   -#endif
409   - size = 1;
410   - break;
411   - }
412   - case 2: {
413   -#ifdef Em_16BIT
414   - DUREX_data_t val;
415   - Em_App_valp = (uint8_t*)&val;
416   - Em_App_bufp = Em_App_msg.data;
417   - Em_App_desc = "*\xc9[1]";
418   - DUREX_data_fetch(&val);
419   - Em_App_marshallToBuf();
420   -#else
421   - DUREX_data_fetch((void*)Em_App_msg.data);
422   -#endif
423   - size = 201;
424   - break;
425   - }
426   - case 3: {
427   -#ifdef Em_16BIT
428   - DUREX_numPackets_t val;
429   - Em_App_valp = (uint8_t*)&val;
430   - Em_App_bufp = Em_App_msg.data;
431   - Em_App_desc = "1";
432   - DUREX_numPackets_fetch(&val);
433   - Em_App_marshallToBuf();
434   -#else
435   - DUREX_numPackets_fetch((void*)Em_App_msg.data);
436   -#endif
437   - size = 1;
438   - break;
439   - }
440   - case 4: {
441   -#ifdef Em_16BIT
442   - DUREX_messageAvailable_t val;
443   - Em_App_valp = (uint8_t*)&val;
444   - Em_App_bufp = Em_App_msg.data;
445   - Em_App_desc = "1";
446   - DUREX_messageAvailable_fetch(&val);
447   - Em_App_marshallToBuf();
448   -#else
449   - DUREX_messageAvailable_fetch((void*)Em_App_msg.data);
450   -#endif
451   - size = 1;
452   - break;
453   - }
454   - }
455   - Em_App_sendResponse(Em_Message_FETCH_DONE, size);
456   -}
457   -
458   -void Em_App_storeDispatch(void) {
459   - switch (Em_App_msg.hdr.resId) {
460   - case 0: {
461   - break;
462   - }
463   - case 1: {
464   -#ifdef Em_16BIT
465   - DUREX_numBytes_t val;
466   - Em_App_valp = (uint8_t*)&val;
467   - Em_App_bufp = Em_App_msg.data;
468   - Em_App_desc = "1";
469   - Em_App_marshallToVal();
470   - DUREX_numBytes_store(&val);
471   -#else
472   - DUREX_numBytes_store((void*)Em_App_msg.data);
473   -#endif
474   - break;
475   - }
476   - case 2: {
477   -#ifdef Em_16BIT
478   - DUREX_data_t val;
479   - Em_App_valp = (uint8_t*)&val;
480   - Em_App_bufp = Em_App_msg.data;
481   - Em_App_desc = "*\xc9[1]";
482   - Em_App_marshallToVal();
483   - DUREX_data_store(&val);
484   -#else
485   - DUREX_data_store((void*)Em_App_msg.data);
486   -#endif
487   - break;
488   - }
489   - case 3: {
490   -#ifdef Em_16BIT
491   - DUREX_numPackets_t val;
492   - Em_App_valp = (uint8_t*)&val;
493   - Em_App_bufp = Em_App_msg.data;
494   - Em_App_desc = "1";
495   - Em_App_marshallToVal();
496   - DUREX_numPackets_store(&val);
497   -#else
498   - DUREX_numPackets_store((void*)Em_App_msg.data);
499   -#endif
500   - break;
501   - }
502   - }
503   - Em_App_sendResponse(Em_Message_STORE_DONE, 0);
504   -}
505   -
506   -void Em_App_sendIndicator(Em_Message_ResId indId) {
507   - Em_Message_Size resId = 0;
508   - Em_Message_Size size = 0;
509   - switch (indId) {
510   - case 1: {
511   -#ifdef Em_16BIT
512   - DUREX_messageAvailable_t val;
513   - Em_App_valp = (uint8_t*)&val;
514   - Em_App_bufp = Em_App_ind.data;
515   - Em_App_desc = "1";
516   - DUREX_messageAvailable_fetch(&val);
517   - Em_App_marshallToBuf();
518   -#else
519   - DUREX_messageAvailable_fetch((DUREX_messageAvailable_t*)&Em_App_ind.data);
520   -#endif
521   - resId = 4;
522   - size = 1;
523   - break;
524   - }
525   - }
526   - Em_App_ind.sot = 0;
527   - Em_App_ind.hdr.kind = Em_Message_INDICATOR;
528   - Em_App_ind.hdr.size = sizeof (Em_Message_Header) + size;
529   - Em_App_ind.hdr.resId = resId;
530   - Em_App_startIndSend();
531   -}
532   -
533   -void DUREX_messageAvailable_indicate(void) {
534   - if (Em_App_state == Em_App_CONNECTED && Em_App_xmitReady(1 + 1)) Em_App_sendIndicator(1);
535   -}
536   -
537   -#ifdef __cplusplus
538   -}
539   -#endif
540   -
DUREX/Em/DUREX.h deleted
1   -/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.DUREX on 2014-08-07T19:28:56T ****/
2   -/**** protocolLevel = 13, toolsVersion = 13.4.1.201311121909 ****/
3   -
4   -#ifndef DUREX__H
5   -#define DUREX__H
6   -
7   -#include "Em_Types.h"
8   -#include "Em_Message.h"
9   -
10   -#ifdef __cplusplus
11   -extern "C" {
12   -#endif
13   -
14   -/* -------- connection callback functions implemented by the application -------- */
15   -
16   -void DUREX_connectHandler(void);
17   -void DUREX_disconnectHandler(void);
18   -
19   -/* -------- resource types defined in the schema -------- */
20   -
21   -/* typedef String */
22   -typedef char DUREX_String[201];
23   -#define DUREX_String_length 201
24   -
25   -/* enum BOOLEAN */
26   -typedef uint8_t DUREX_BOOLEAN;
27   -#define DUREX_TRUE 0
28   -#define DUREX_FALSE 1
29   -
30   -/* -------- resource callback functions implemented by the application -------- */
31   -
32   -/* resource numBytes */
33   -typedef uint8_t DUREX_numBytes_t;
34   -extern void DUREX_numBytes_fetch(DUREX_numBytes_t* output);
35   -extern void DUREX_numBytes_store(DUREX_numBytes_t* input);
36   -
37   -/* resource data */
38   -typedef DUREX_String DUREX_data_t;
39   -extern void DUREX_data_fetch(DUREX_data_t output);
40   -extern void DUREX_data_store(DUREX_data_t input);
41   -
42   -/* resource numPackets */
43   -typedef uint8_t DUREX_numPackets_t;
44   -extern void DUREX_numPackets_fetch(DUREX_numPackets_t* output);
45   -extern void DUREX_numPackets_store(DUREX_numPackets_t* input);
46   -
47   -/* resource messageAvailable */
48   -typedef DUREX_BOOLEAN DUREX_messageAvailable_t;
49   -extern void DUREX_messageAvailable_fetch(DUREX_messageAvailable_t* output);
50   -extern void DUREX_messageAvailable_indicate(void); /* called by the application */
51   -
52   -/* -------- application functions implemented in DUREX.c -------- */
53   -
54   -void DUREX_accept(bool enable);
55   -void DUREX_activateParameters(uint8_t group);
56   -void DUREX_broadcastOff(void);
57   -void DUREX_disconnect(void);
58   -void DUREX_pairingOn(uint8_t secs, void(*handler)(void));
59   -void DUREX_pairingOff(void(*handler)(void));
60   -void DUREX_reset(void);
61   -void DUREX_setDeviceName(const char* name);
62   -void DUREX_start(void);
63   -
64   -#ifdef __cplusplus
65   -}
66   -#endif
67   -
68   -#endif /* DUREX__H */
DUREX/Em/Em_Message.h deleted
1   -#ifndef Em_Message_H_
2   -#define Em_Message_H_
3   -
4   -#include "Em_Types.h"
5   -
6   -#ifdef __cplusplus
7   -extern "C" {
8   -#endif
9   -
10   -/* -------- SRT FUNCTIONS CALLED BY HAL -------- */
11   -
12   -static inline bool Em_Message_addByte(uint8_t b);
13   -extern void Em_Message_dispatch(void);
14   -static inline bool Em_Message_getByte(uint8_t* bp);
15   -extern void Em_Message_restart(void);
16   -static inline bool Em_Message_startRx(void);
17   -static inline uint8_t Em_Message_startTx(void);
18   -
19   -
20   -/* -------- HAL FUNCTIONS CALLED BY SRT -------- */
21   -
22   -extern uint8_t Em_Hal_lock(void);
23   -extern void Em_Hal_reset(void);
24   -extern void Em_Hal_startSend(void);
25   -extern void Em_Hal_unlock(uint8_t key);
26   -extern void Em_Hal_watchOff(void);
27   -extern void Em_Hal_watchOn(void);
28   -
29   -
30   -/* -------- MESSAGE FORMAT -------- */
31   -
32   -/* protocolLevel #4 */
33   -#define Em_Message_INDSIZE 4
34   -
35   -typedef uint8_t Em_Message_Size;
36   -typedef uint8_t Em_Message_Kind;
37   -/* protocolLevel #12 -- split 16-bit resId into <resId, chan> */
38   -typedef uint8_t Em_Message_ResId;
39   -typedef uint8_t Em_Message_Chan;
40   -
41   -#define Em_Message_NOP 0
42   -#define Em_Message_FETCH 1
43   -#define Em_Message_FETCH_DONE 2
44   -#define Em_Message_STORE 3
45   -#define Em_Message_STORE_DONE 4
46   -#define Em_Message_INDICATOR 5
47   -#define Em_Message_CONNECT 6
48   -#define Em_Message_DISCONNECT 7
49   -#define Em_Message_ECHO 8
50   -/* protocolLevel #3 */
51   -/* protocolLevel #6 -- rename from BROADCAST to PAIRING */
52   -#define Em_Message_PAIRING 9
53   -#define Em_Message_PAIRING_DONE 10
54   -/* protocolLevel #7 */
55   -#define Em_Message_OFFLINE 11
56   -/* protocolLevel #8 */
57   -#define Em_Message_ACCEPT 12
58   -/* protocolLevel #13 */
59   -#define Em_Message_START 13
60   -#define Em_Message_ACTIVE_PARAMS 14
61   -
62   -typedef struct Em_Message_Header {
63   - Em_Message_Size size;
64   - Em_Message_Kind kind;
65   - Em_Message_ResId resId;
66   - Em_Message_Chan chan;
67   -} Em_Message_Header;
68   -
69   -typedef uint16_t Em_Message_protocolLevel_t;
70   -
71   -/* protocolLevel #1 */
72   -
73   -/* protocolLevel #10 */
74   -/* #define Em_Message_SYS_SCHEMA_UUID 0xFF */
75   -
76   -#define Em_Message_SYS_MCM_PROTOCOL_LEVEL 0xFE
77   -#define Em_Message_SYS_EAP_PROTOCOL_LEVEL 0xFD
78   -#define Em_Message_SYS_EAP_BUILD_DATE 0xFC
79   -
80   -/* protocolLevel #2 */
81   -#define Em_Message_SYS_FILE_INDEX_RESET 0xFB
82   -
83   -/* protocolLevel #5 */
84   -#define Em_Message_SYS_SCHEMA_HASH 0xFA
85   -
86   -/* protocolLevel #7 */
87   -#define Em_Message_SYS_RESOURCE_COUNT 0xF9
88   -
89   -/* protocolLevel #9 */
90   -#define Em_Message_SYS_MOBILE_RSSI 0xF8
91   -
92   -/* protocolLevel #11 */
93   -#define Em_Message_SYS_MCM_DISCONNECT 0xF7
94   -
95   -/* protocolLevel #13a */
96   -#define Em_Message_SYS_MCM_NAME 0xF5
97   -
98   -
99   -/* -------- PRIVATE -------- */
100   -
101   -extern void Em_Message_nextXmit(void);
102   -
103   -extern uint8_t* Em_App_inBuf;
104   -extern uint8_t* Em_App_outBuf;
105   -extern Em_Message_Size Em_App_xmitSize;
106   -
107   -extern uint8_t* _Em_Message_rxBuf;
108   -extern uint8_t _Em_Message_rxCnt;
109   -
110   -extern uint8_t* _Em_Message_txBuf;
111   -extern uint8_t _Em_Message_txCnt;
112   -
113   -static inline bool Em_Message_addByte(uint8_t b) {
114   - if (_Em_Message_rxCnt == 0) {
115   - if (b == 0) {
116   - return false;
117   - }
118   - _Em_Message_rxCnt = b;
119   - }
120   - *_Em_Message_rxBuf++ = b;
121   - if (--_Em_Message_rxCnt == 0) {
122   - _Em_Message_rxBuf = 0;
123   - if (_Em_Message_txBuf == 0) {
124   - Em_Hal_watchOff();
125   - }
126   - return true;
127   - }
128   - else {
129   - return false;
130   - }
131   -}
132   -
133   -static inline bool Em_Message_getByte(uint8_t* bp) {
134   - if (_Em_Message_txBuf == 0) {
135   - return false;
136   - }
137   - if (_Em_Message_txCnt == 0) {
138   - _Em_Message_txCnt = *_Em_Message_txBuf + 1;
139   - }
140   - if (--_Em_Message_txCnt > 0) {
141   - *bp = *_Em_Message_txBuf++;
142   - return true;
143   - }
144   - else {
145   - _Em_Message_txBuf = 0;
146   - Em_App_xmitSize = 0;
147   - Em_Message_nextXmit();
148   - if (_Em_Message_rxBuf == 0) {
149   - Em_Hal_watchOff();
150   - }
151   - return false;
152   - }
153   -}
154   -
155   -static inline bool Em_Message_startRx(void) {
156   - if (_Em_Message_rxBuf == 0) {
157   - _Em_Message_rxBuf = Em_App_inBuf;
158   - if (_Em_Message_txBuf == 0) {
159   - Em_Hal_watchOn();
160   - }
161   - return true;
162   - }
163   - else {
164   - return false;
165   - }
166   -}
167   -
168   -static inline uint8_t Em_Message_startTx(void) {
169   - _Em_Message_txBuf = Em_App_outBuf + 1;
170   - _Em_Message_txCnt = 0;
171   - if (_Em_Message_rxBuf == 0) {
172   - Em_Hal_watchOn();
173   - }
174   - return 0;
175   -}
176   -
177   -
178   -#ifdef __cplusplus
179   -}
180   -#endif
181   -
182   -#endif /*Em_Message_H_*/
DUREX/Em/Em_Types.h deleted
1   -#ifndef Em_Types_H_
2   -#define Em_Types_H_
3   -
4   -#ifndef Em_NOSTDBOOL
5   -#include <stdbool.h>
6   -#endif
7   -
8   -#ifndef Em_NOSTDINT
9   -#include <stdint.h>
10   -#endif
11   -
12   -#ifdef Em_16BIT
13   -typedef signed char int8_t;
14   -typedef unsigned char uint8_t;
15   -#endif
16   -
17   -#endif /*Em_Types_H_*/
DUREX/Em/durex.json deleted
1   -{
2   - "resources": {
3   - "$eapProtocolLevel": {
4   - "id": -3,
5   - "align": 2,
6   - "attributes": {"readonly": true},
7   - "type": "u2",
8   - "access": "r",
9   - "size": 2
10   - },
11   - "numBytes": {
12   - "id": 1,
13   - "align": 1,
14   - "attributes": {},
15   - "type": "u1",
16   - "access": "rw",
17   - "size": 1
18   - },
19   - "data": {
20   - "id": 2,
21   - "align": 1,
22   - "attributes": {},
23   - "type": "C:201",
24   - "access": "rw",
25   - "size": 201
26   - },
27   - "$activeGroup": {
28   - "id": -10,
29   - "align": 1,
30   - "pack": 1,
31   - "attributes": {"readwrite": true},
32   - "type": "E:system@emmoco.com.System/ParameterGroup",
33   - "access": "rw",
34   - "size": 1
35   - },
36   - "$mcmDisconnect": {
37   - "id": -9,
38   - "align": 1,
39   - "attributes": {"writeonly": true},
40   - "type": "u1",
41   - "access": "w",
42   - "size": 1
43   - },
44   - "$eapBuildDate": {
45   - "dim": 8,
46   - "id": -4,
47   - "align": 1,
48   - "attributes": {"readonly": true},
49   - "type": "A8:u1",
50   - "access": "r",
51   - "size": 8
52   - },
53   - "numPackets": {
54   - "id": 3,
55   - "align": 1,
56   - "attributes": {},
57   - "type": "u1",
58   - "access": "rw",
59   - "size": 1
60   - },
61   - "$resourceCount": {
62   - "id": -7,
63   - "align": 1,
64   - "attributes": {"readonly": true},
65   - "type": "S:system@emmoco.com.System/ResourceCount",
66   - "access": "r",
67   - "size": 2
68   - },
69   - "$schemaHash": {
70   - "dim": 20,
71   - "id": -6,
72   - "align": 1,
73   - "attributes": {"readonly": true},
74   - "type": "A20:u1",
75   - "access": "r",
76   - "size": 20
77   - },
78   - "messageAvailable": {
79   - "id": 4,
80   - "align": 1,
81   - "pack": 1,
82   - "attributes": {"indicator": true},
83   - "type": "E:@emmoco.com.DUREX/BOOLEAN",
84   - "access": "ir",
85   - "size": 1
86   - },
87   - "$mcmProtocolLevel": {
88   - "id": -2,
89   - "align": 2,
90   - "attributes": {"readonly": true},
91   - "type": "u2",
92   - "access": "r",
93   - "size": 2
94   - },
95   - "$mobileRssi": {
96   - "id": -8,
97   - "align": 1,
98   - "attributes": {"readonly": true},
99   - "type": "i1",
100   - "access": "r",
101   - "size": 1
102   - },
103   - "$fileIndexReset": {
104   - "id": -5,
105   - "align": 2,
106   - "attributes": {"writeonly": true},
107   - "type": "i2",
108   - "access": "w",
109   - "size": 2
110   - }
111   - },
112   - "resourceNamesSys": [
113   - "$activeGroup",
114   - "$eapBuildDate",
115   - "$eapProtocolLevel",
116   - "$fileIndexReset",
117   - "$mcmDisconnect",
118   - "$mcmProtocolLevel",
119   - "$mobileRssi",
120   - "$resourceCount",
121   - "$schemaHash"
122   - ],
123   - "manifest": {
124   - "protocolLevel": 13,
125   - "hash": [
126   - 0,
127   - 164,
128   - 192,
129   - 32,
130   - 22,
131   - 163,
132   - 114,
133   - 239,
134   - 91,
135   - 240,
136   - 123,
137   - 128,
138   - 206,
139   - 12,
140   - 50,
141   - 148
142   - ],
143   - "toolVersion": "13.4.1.201311121909",
144   - "name": "DUREX",
145   - "$$md5": "00a4c02016a372ef5bf07b80ce0c3294",
146   - "build": [
147   - 131,
148   - 51,
149   - 132,
150   - 177,
151   - 71,
152   - 1,
153   - 0,
154   - 0
155   - ],
156   - "date": "2014-08-07T19:28:56T",
157   - "maxAlign": 2,
158   - "maxSize": 201,
159   - "version": "1.0.0"
160   - },
161   - "resourceNames": [
162   - "numBytes",
163   - "data",
164   - "numPackets",
165   - "messageAvailable",
166   - "$mcmProtocolLevel",
167   - "$eapProtocolLevel",
168   - "$eapBuildDate",
169   - "$fileIndexReset",
170   - "$schemaHash",
171   - "$resourceCount",
172   - "$mobileRssi",
173   - "$mcmDisconnect",
174   - "$activeGroup"
175   - ],
176   - "attributes": {
177   - "description": "",
178   - "version": "1.0.0"
179   - },
180   - "resourceNamesApp": [
181   - "numBytes",
182   - "data",
183   - "numPackets",
184   - "messageAvailable"
185   - ],
186   - "types": {
187   - "system@emmoco.com.System/ResourceCount": {
188   - "packed": false,
189   - "align": 1,
190   - "type": "S:system@emmoco.com.System/ResourceCount",
191   - "size": 2,
192   - "fields": [
193   - {
194   - "pad": 0,
195   - "align": 1,
196   - "name": "app",
197   - "type": "u1",
198   - "size": 1
199   - },
200   - {
201   - "pad": 0,
202   - "align": 1,
203   - "name": "sys",
204   - "type": "u1",
205   - "size": 1
206   - }
207   - ]
208   - },
209   - "std:i2": {
210   - "align": 2,
211   - "size": 2
212   - },
213   - "std:i1": {
214   - "align": 1,
215   - "size": 1
216   - },
217   - "std:u1": {
218   - "align": 1,
219   - "size": 1
220   - },
221   - "@emmoco.com.DUREX/BOOLEAN": {
222   - "values": [
223   - "TRUE",
224   - "FALSE"
225   - ],
226   - "align": 1,
227   - "pack": 1,
228   - "type": "E:@emmoco.com.DUREX/BOOLEAN",
229   - "size": 1
230   - },
231   - "system@emmoco.com.System/ParameterGroup": {
232   - "values": [
233   - "GROUP_A",
234   - "GROUP_B"
235   - ],
236   - "align": 1,
237   - "pack": 1,
238   - "type": "E:system@emmoco.com.System/ParameterGroup",
239   - "size": 1
240   - },
241   - "std:u2": {
242   - "align": 2,
243   - "size": 2
244   - }
245   - },
246   - "imports": {"@emmoco.com.DUREX": true}
247   -}
248 0 \ No newline at end of file
DUREX/Output/DUREX-Prog.hex deleted
1   -:10C000005542200135D0085A8245DA0331400004F8
2   -:10C010003F4002000F9308249242DA0320012F834D
3   -:10C020009F4FF4C80002F8233F40D8010F93072424
4   -:10C030009242DA0320011F83CF430202F923B01298
5   -:10C040008CC4B012DCC0B0125CC532D0F000FD3F31
6   -:10C050003040ACC8B0127EC43041B01284C430410C
7   -:10C06000DF42CD0200003041E24FCD0230415D425F
8   -:10C07000CD023E400402B012B0C730415D42CD0255
9   -:10C080000E4F3F400402B012B0C73041DF420302FE
10   -:10C0900000003041E24F03023041DF420202000063
11   -:10C0A0003041B012A6C58243D2028243D602C243B7
12   -:10C0B000D002C243D402C243EF02C243D603C243FA
13   -:10C0C000FE02C243EE02C243E2028243DE02824328
14   -:10C0D000E0028243DA028243DC023041B012A2C0A5
15   -:10C0E000D243E2023041B012DCC03041B240F5022E
16   -:10C0F000D8025F42F6025F53C24FEF02C243D6033B
17   -:10C10000B012FCC53041B2400303D8025F420403C1
18   -:10C110005F53C24FEF02C243D603B012FCC5304199
19   -:10C120000B120A1209120812484FB0129CC5494F4F
20   -:10C130001A42DA021B42DC028293D20224241E43FA
21   -:10C140004F487FF00F0018200C4E8E108E118E106D
22   -:10C150008E110D4E0E4A0F4B0EDC0FDD824EDA02B1
23   -:10C16000824FDC024A434F49B0122EC64F4A384133
24   -:10C1700039413A413B4130410E5E7F53E5270E5E27
25   -:10C180007F53FA23E13F0A93DA230B93D8235A43D0
26   -:10C19000EA3FC293E20201203041C2430303C24F8F
27   -:10C1A00005036E52C24E04034F43B01220C14F9399
28   -:10C1B000F327B01206C13041F290FBFF06030420C2
29   -:10C1C0008243DE028243E0024E436F42B01292C1CC
30   -:10C1D00030415F4206037F500B007F900900052825
31   -:10C1E0004E436F43B01292C130414F4F0F5F104F1B
32   -:10C1F000AEC81C42CE020C93F3273F4008030E4307
33   -:10C200000D4C0D5E6D4DCF4D00004D9340241E53DF
34   -:10C210001F533E900900F4234E4E6F43B01292C15B
35   -:10C220003041E2420803F240090009036E436F43C4
36   -:10C23000B01292C130413F40E0C83E400803FE4F7B
37   -:10C2400000001E533F90F3C8FA23D242D6C81B0306
38   -:10C250007E4014006F43B01292C130413F40D8C8B5
39   -:10C260003E400803FE4F00001E533F90E0C8FA23F3
40   -:10C270007E426F43B01292C13041F2400D0008037C
41   -:10C28000C24309036E436F43B01292C130410F4E57
42   -:10C290003F523F500003CF4300001F533F90110314
43   -:10C2A000FA237E4009006F43B01292C130415F42D1
44   -:10C2B00006036F9321247F9003000A287F900300D8
45   -:10C2C00025246F9210244E436F43B01292C1304127
46   -:10C2D0005F93F9233F400803B01260C05E436F4391
47   -:10C2E000B01292C130413F400803B0129AC05E4381
48   -:10C2F0006F43B01292C130413F400803B0126EC08C
49   -:10C300007E40C9FF6F43B01292C130413F400803E5
50   -:10C31000B0128CC05E436F43B01292C130415F4295
51   -:10C3200006036F931C247F90030010245F93052461
52   -:10C330004E436F42B01292C130413F400803B012E9
53   -:10C3400068C04E436F42B01292C130413F40080373
54   -:10C35000B01294C04E436F42B01292C130413F4080
55   -:10C360000803B0127CC04E436F42B01292C13041FC
56   -:10C37000C293E2020424F2900B000503012830412D
57   -:10C380005F4205030F5F104FC0C81F42D2030F93D7
58   -:10C39000F6278F123041E243E202B0125AC0304118
59   -:10C3A000F2400300E202B01254C03041C2930603CF
60   -:10C3B0000938B0121EC33041C29306030638B012CA
61   -:10C3C000AEC23041B012B8C13041B012D2C130411A
62   -:10C3D0005F930E246E424F43C243F502F2400500C4
63   -:10C3E000F702C24EF602C24FF802B012ECC0304162
64   -:10C3F0003F40FA02B0129AC07E4005006F42EC3F07
65   -:10C400000B12B0129CC54B4F1E42DA021F42DC02D7
66   -:10C410000E9307200F9305204F4BB0122EC63B41C1
67   -:10C4200030410C4E0D4F1CF30DF30C930C240C4EAD
68   -:10C430000D4F3CF0FEFF3DF3824CDA02824DDC02F0
69   -:10C44000B01206C1E93F0D93F2230C4E0D4F2CF3B1
70   -:10C450000DF30C930D240C4E0D4F3CF0FDFF3DF3FE
71   -:10C46000824CDA02824DDC024F43B012D0C3D43F7B
72   -:10C470000D93F1234F4BB0122EC63B413041D2D326
73   -:10C4800021003041F2F0FEFF21003041B240805ADD
74   -:10C490002001C24358005F42FF107F930824C2432B
75   -:10C4A0005600D242FF105700D242FE105600F2D082
76   -:10C4B00080FF5700F24024005300F2D040002200D9
77   -:10C4C000F2F0BFFF2100D2D32200F2F0FEFF2100E4
78   -:10C4D000F2D22A00F2F0F7FF2900F2D010002A0071
79   -:10C4E000F2F0EFFF2900F2D22900F2F0F7FF290065
80   -:10C4F000B240200180011F4290013F50B80B824F93
81   -:10C500009401B24010008401D2D36100E2D326002E
82   -:10C51000E2D34100E2D22600E2D24100D2D32A0087
83   -:10C52000D2D32900F2F0FDFF2A00E2D32C00F2F072
84   -:10C53000FDFF2B00E2D32D00F2F0FEFF2900F240B8
85   -:10C5400081FF6100F2400C006400F2426200F2F0F0
86   -:10C55000FEFF6100B24070C3EA0230410B120A12C2
87   -:10C56000091232D232C203431942E4028243E40286
88   -:10C570000993032032D0D800F53F32D23A40E60288
89   -:10C580001B430F4B0FF904242F4A0F9301248F12E2
90   -:10C590000B5B2A533A90EC02F423E43F0F4232C281
91   -:10C5A00003437FF230410D427DF232C20343F2F089
92   -:10C5B000FEFF29003E4064003F404C011F83FE23E4
93   -:10C5C000034303433E53F823D2D329003E40F401F2
94   -:10C5D0003F404C011F83FE23034303433E53F82394
95   -:10C5E000F2F0FEFF0300F2F0FDFF0300F2F0FDFFAA
96   -:10C5F0002B00D2D301004F4D02DF30411F42D80241
97   -:10C600001F53824FD202C243D0028293D602032428
98   -:10C61000C243670030411F4290013F50B80B824F28
99   -:10C620009401B24010008401C243670030414F4F73
100   -:10C6300002DF30410F120E120E4232C2034392D378
101   -:10C64000E4024F4E7FF24F4F02DFF2F0F7FF23007C
102   -:10C65000F2D22500B1C0D00004003E413F4100139A
103   -:10C660000F120E125E4266008293D6023324F2F05D
104   -:10C67000FEFF2900D2D32900C293D4020A204E9390
105   -:10C680000620B1C0D00004003E413F410013C24E1D
106   -:10C69000D4021F42D602CF4E00001F53824FD60253
107   -:10C6A0005F42D4027F53C24FD402EB238243D602AF
108   -:10C6B0008293D2021F240E4232C20343A2D2E4026A
109   -:10C6C0004F4E7FF24F4F02DFB1C0D00004003E4119
110   -:10C6D0003F41001392420002D6028293D202C72346
111   -:10C6E0001F4290013F50B80B824F9401B24010009E
112   -:10C6F0008401BD3F82438401DE3F0F120E1292522D
113   -:10C70000EC0292010E4232C20343A2D3E4024F4E26
114   -:10C710007FF24F4F02DFB1C0D00004003E413F41E5
115   -:10C7200000130F120E120D120C125F422B002FF38A
116   -:10C7300017241F42D2020F9310245E42D0024E9360
117   -:10C7400002206E4F5E537E53C24ED00211246E4FB4
118   -:10C750001F53824FD202C24E6700F2F0FDFF2B0042
119   -:10C76000B1C0D00008003C413D413E413F41001373
120   -:10C770008243D202C243EF02B01200C48293D602B7
121   -:10C78000EC2382438401E93F0F120E120D120C12AA
122   -:10C790001F421E012F93072082438401B012E6C07E
123   -:10C7A000B1C0D00008003C413D413E413F41001333
124   -:10C7B0000B120A120912081207120D9371240F9E10
125   -:10C7C0006F240F9E342C0C4E0CDF1CF31B240C4EDC
126   -:10C7D0000CEF1CF307202D9307280B4E1BF32C4363
127   -:10C7E0000C8B033C0C4D013C1C430D8C0A4C094E38
128   -:10C7F0000B4FFB4900001B533A53FB230A4F0A5CC3
129   -:10C800000E5C013C0A4F0B4D12C30B100B24094B5D
130   -:10C81000084E0C4ABC4800002C533953FB230B5BD9
131   -:10C820000E5B0A5B1DF33C24EA4E0000393C0E5DB2
132   -:10C830000C4F0C5D0B4C0BDE1BF31B240B4C0BEE57
133   -:10C840001BF306203D90030003280B4E1BF3013C15
134   -:10C850000B4D0D8B094E0A4C084B088C3A5339533B
135   -:10C86000EA490000074A0758F9233BE31B530C5BD6
136   -:10C870000E5B0B4D12C30B100E240A4B084E094CD5
137   -:10C8800028832983A94800003A53FA230A8B0B4ACC
138   -:10C890000B5B0E5B0C5B1DF30324DC4EFFFFFFFF05
139   -:0EC8A0003741384139413A413B4130410013A4
140   -:10C8AE00F2C1E0C1E0C1E0C122C236C2E0C15CC249
141   -:10C8BE007AC27EC3B8C37EC3ACC37EC37EC3A0C3DD
142   -:10C8CE0096C37EC37EC38AC30001AB1ECC874701CD
143   -:10C8DE00000000A4C02016A372EF5BF07B80CE0C8C
144   -:06C8EE0032940D00110060
145   -:02C8F40004033B
146   -:02C8F600000040
147   -:10FFE00050C050C034C622C750C050C050C060C6B8
148   -:10FFF00050C050C050C050C088C7FAC650C000C0E2
149   -:040000030000C00039
150   -:00000001FF
DUREX/Output/DUREX-Prog.map deleted
1   -Archive member included because of file (symbol)
2   -
3   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(strcmp.o)
4   - Output/DUREX-Prog.obj (strcmp)
5   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(memcpy.o)
6   - Output/DUREX-Prog.obj (memcpy)
7   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o)
8   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o (_reset_vector__)
9   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
10   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o) (__watchdog_support)
11   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
12   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o) (__init_stack)
13   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__low_level_init.o)
14   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o) (__low_level_init)
15   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
16   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o) (__do_copy_data)
17   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
18   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o) (__do_clear_bss)
19   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__stop_progExec__.o)
20   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o) (__stop_progExec__)
21   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
22   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o) (_endless_loop__)
23   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
24   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o (_unexpected_)
25   -
26   -Allocating common symbols
27   -Common symbol size file
28   -
29   -Em_App_recvIdx 0x1 Output/DUREX.obj
30   -Em_App_xmitSize 0x1 Output/DUREX.obj
31   -Em_App_valp 0x2 Output/DUREX.obj
32   -Em_App_ind_u 0xc Output/DUREX.obj
33   -Em_App_recvSize 0x1 Output/DUREX.obj
34   -Em_App_msg_u 0xd1 Output/DUREX.obj
35   -Em_App_pdHdlr 0x2 Output/DUREX.obj
36   -Em_App_bufp 0x2 Output/DUREX.obj
37   -Em_App_xmitIdx 0x1 Output/DUREX.obj
38   -Em_App_desc 0x2 Output/DUREX.obj
39   -
40   -Discarded input sections
41   -
42   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o
43   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o
44   - .text.crt0 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o
45   - .text 0x0000000000000000 0x0 Output/DUREX-Prog.obj
46   - .data 0x0000000000000000 0x0 Output/DUREX-Prog.obj
47   - .bss 0x0000000000000000 0x0 Output/DUREX-Prog.obj
48   - .rodata.processMessage
49   - 0x0000000000000000 0x6 Output/DUREX-Prog.obj
50   - .text.processMessage
51   - 0x0000000000000000 0x40 Output/DUREX-Prog.obj
52   - .text.DUREX_messageAvailable_store
53   - 0x0000000000000000 0x38 Output/DUREX-Prog.obj
54   - .data.lastMessageAck
55   - 0x0000000000000000 0x1 Output/DUREX-Prog.obj
56   - .text 0x0000000000000000 0x0 Output/DUREX.obj
57   - .data 0x0000000000000000 0x0 Output/DUREX.obj
58   - .bss 0x0000000000000000 0x0 Output/DUREX.obj
59   - .text.Em_App_marshallToBuf
60   - 0x0000000000000000 0xd4 Output/DUREX.obj
61   - .text.Em_App_marshallToVal
62   - 0x0000000000000000 0x11a Output/DUREX.obj
63   - .text.DUREX_setDeviceName
64   - 0x0000000000000000 0x6 Output/DUREX.obj
65   - .text.DUREX_pairingOn
66   - 0x0000000000000000 0x24 Output/DUREX.obj
67   - .text.DUREX_pairingOff
68   - 0x0000000000000000 0xa Output/DUREX.obj
69   - .text.DUREX_disconnect
70   - 0x0000000000000000 0x26 Output/DUREX.obj
71   - .text.DUREX_broadcastOff
72   - 0x0000000000000000 0x1c Output/DUREX.obj
73   - .text.DUREX_activateParameters
74   - 0x0000000000000000 0x1e Output/DUREX.obj
75   - .text.DUREX_accept
76   - 0x0000000000000000 0x20 Output/DUREX.obj
77   - .text.DUREX_messageAvailable_indicate
78   - 0x0000000000000000 0x1c Output/DUREX.obj
79   - .text 0x0000000000000000 0x0 Output/Hal.obj
80   - .data 0x0000000000000000 0x0 Output/Hal.obj
81   - .bss 0x0000000000000000 0x0 Output/Hal.obj
82   - .text.buttonHandler
83   - 0x0000000000000000 0x28 Output/Hal.obj
84   - .text.Hal_buttonEnable
85   - 0x0000000000000000 0x3c Output/Hal.obj
86   - .text.Hal_debugOn
87   - 0x0000000000000000 0x18 Output/Hal.obj
88   - .text.Hal_debugOff
89   - 0x0000000000000000 0x1a Output/Hal.obj
90   - .text.Hal_debugPulse
91   - 0x0000000000000000 0x24 Output/Hal.obj
92   - .text.Hal_delay
93   - 0x0000000000000000 0x16 Output/Hal.obj
94   - .text.Hal_ledOn
95   - 0x0000000000000000 0x8 Output/Hal.obj
96   - .text.Hal_ledOff
97   - 0x0000000000000000 0x8 Output/Hal.obj
98   - .text.Hal_ledRead
99   - 0x0000000000000000 0x12 Output/Hal.obj
100   - .text.Hal_ledToggle
101   - 0x0000000000000000 0x8 Output/Hal.obj
102   - .text.Hal_tickStart
103   - 0x0000000000000000 0x24 Output/Hal.obj
104   - .text.Em_Hal_watchOff
105   - 0x0000000000000000 0x6 Output/Hal.obj
106   - .text.Em_Hal_watchOn
107   - 0x0000000000000000 0x14 Output/Hal.obj
108   - .bss.appButtonHandler
109   - 0x0000000000000000 0x2 Output/Hal.obj
110   - .text 0x0000000000000000 0x1e /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(strcmp.o)
111   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(strcmp.o)
112   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(strcmp.o)
113   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(memcpy.o)
114   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(memcpy.o)
115   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o)
116   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o)
117   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o)
118   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
119   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
120   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
121   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
122   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
123   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
124   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__low_level_init.o)
125   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__low_level_init.o)
126   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__low_level_init.o)
127   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
128   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
129   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
130   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
131   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
132   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
133   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__stop_progExec__.o)
134   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__stop_progExec__.o)
135   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__stop_progExec__.o)
136   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
137   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
138   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
139   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
140   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
141   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
142   -
143   -Memory Configuration
144   -
145   -Name Origin Length Attributes
146   -sfr 0x0000000000000000 0x0000000000000010
147   -peripheral_8bit 0x0000000000000010 0x00000000000000f0
148   -peripheral_16bit 0x0000000000000100 0x0000000000000100
149   -ram 0x0000000000000200 0x0000000000000200 xw
150   -infomem 0x0000000000001000 0x0000000000000100
151   -infod 0x0000000000001000 0x0000000000000040
152   -infoc 0x0000000000001040 0x0000000000000040
153   -infob 0x0000000000001080 0x0000000000000040
154   -infoa 0x00000000000010c0 0x0000000000000040
155   -rom 0x000000000000c000 0x0000000000003fe0 xr
156   -vectors 0x000000000000ffe0 0x0000000000000020
157   -bsl 0x0000000000000000 0x0000000000000000
158   -far_rom 0x0000000000000000 0x0000000000000000
159   -*default* 0x0000000000000000 0xffffffffffffffff
160   -
161   -Linker script and memory map
162   -
163   -LOAD /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o
164   -LOAD Output/DUREX-Prog.obj
165   -LOAD Output/DUREX.obj
166   -LOAD Output/Hal.obj
167   -LOAD /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libgcc.a
168   -LOAD /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a
169   -LOAD /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libgcc.a
170   -LOAD /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a
171   - 0x0000000000000040 PROVIDE (__info_segment_size, 0x40)
172   - 0x0000000000001000 PROVIDE (__infod, 0x1000)
173   - 0x0000000000001040 PROVIDE (__infoc, 0x1040)
174   - 0x0000000000001080 PROVIDE (__infob, 0x1080)
175   - 0x00000000000010c0 PROVIDE (__infoa, 0x10c0)
176   - 0x0000000000000000 __IE1 = 0x0
177   - 0x0000000000000002 __IFG1 = 0x2
178   - 0x0000000000000001 __IE2 = 0x1
179   - 0x0000000000000003 __IFG2 = 0x3
180   - 0x0000000000000048 __ADC10DTC0 = 0x48
181   - 0x0000000000000049 __ADC10DTC1 = 0x49
182   - 0x000000000000004a __ADC10AE0 = 0x4a
183   - 0x00000000000001b0 __ADC10CTL0 = 0x1b0
184   - 0x00000000000001b2 __ADC10CTL1 = 0x1b2
185   - 0x00000000000001b4 __ADC10MEM = 0x1b4
186   - 0x00000000000001bc __ADC10SA = 0x1bc
187   - 0x0000000000000056 __DCOCTL = 0x56
188   - 0x0000000000000057 __BCSCTL1 = 0x57
189   - 0x0000000000000058 __BCSCTL2 = 0x58
190   - 0x0000000000000053 __BCSCTL3 = 0x53
191   - 0x0000000000000059 __CACTL1 = 0x59
192   - 0x000000000000005a __CACTL2 = 0x5a
193   - 0x000000000000005b __CAPD = 0x5b
194   - 0x0000000000000128 __FCTL1 = 0x128
195   - 0x000000000000012a __FCTL2 = 0x12a
196   - 0x000000000000012c __FCTL3 = 0x12c
197   - 0x0000000000000020 __P1IN = 0x20
198   - 0x0000000000000021 __P1OUT = 0x21
199   - 0x0000000000000022 __P1DIR = 0x22
200   - 0x0000000000000023 __P1IFG = 0x23
201   - 0x0000000000000024 __P1IES = 0x24
202   - 0x0000000000000025 __P1IE = 0x25
203   - 0x0000000000000026 __P1SEL = 0x26
204   - 0x0000000000000041 __P1SEL2 = 0x41
205   - 0x0000000000000027 __P1REN = 0x27
206   - 0x0000000000000028 __P2IN = 0x28
207   - 0x0000000000000029 __P2OUT = 0x29
208   - 0x000000000000002a __P2DIR = 0x2a
209   - 0x000000000000002b __P2IFG = 0x2b
210   - 0x000000000000002c __P2IES = 0x2c
211   - 0x000000000000002d __P2IE = 0x2d
212   - 0x000000000000002e __P2SEL = 0x2e
213   - 0x0000000000000042 __P2SEL2 = 0x42
214   - 0x000000000000002f __P2REN = 0x2f
215   - 0x0000000000000018 __P3IN = 0x18
216   - 0x0000000000000019 __P3OUT = 0x19
217   - 0x000000000000001a __P3DIR = 0x1a
218   - 0x000000000000001b __P3SEL = 0x1b
219   - 0x0000000000000043 __P3SEL2 = 0x43
220   - 0x0000000000000010 __P3REN = 0x10
221   - 0x000000000000012e __TA0IV = 0x12e
222   - 0x0000000000000160 __TA0CTL = 0x160
223   - 0x0000000000000162 __TA0CCTL0 = 0x162
224   - 0x0000000000000164 __TA0CCTL1 = 0x164
225   - 0x0000000000000166 __TA0CCTL2 = 0x166
226   - 0x0000000000000170 __TA0R = 0x170
227   - 0x0000000000000172 __TA0CCR0 = 0x172
228   - 0x0000000000000174 __TA0CCR1 = 0x174
229   - 0x0000000000000176 __TA0CCR2 = 0x176
230   - 0x000000000000011e __TA1IV = 0x11e
231   - 0x0000000000000180 __TA1CTL = 0x180
232   - 0x0000000000000182 __TA1CCTL0 = 0x182
233   - 0x0000000000000184 __TA1CCTL1 = 0x184
234   - 0x0000000000000186 __TA1CCTL2 = 0x186
235   - 0x0000000000000190 __TA1R = 0x190
236   - 0x0000000000000192 __TA1CCR0 = 0x192
237   - 0x0000000000000194 __TA1CCR1 = 0x194
238   - 0x0000000000000196 __TA1CCR2 = 0x196
239   - 0x0000000000000060 __UCA0CTL0 = 0x60
240   - 0x0000000000000061 __UCA0CTL1 = 0x61
241   - 0x0000000000000062 __UCA0BR0 = 0x62
242   - 0x0000000000000063 __UCA0BR1 = 0x63
243   - 0x0000000000000064 __UCA0MCTL = 0x64
244   - 0x0000000000000065 __UCA0STAT = 0x65
245   - 0x0000000000000066 __UCA0RXBUF = 0x66
246   - 0x0000000000000067 __UCA0TXBUF = 0x67
247   - 0x000000000000005d __UCA0ABCTL = 0x5d
248   - 0x000000000000005e __UCA0IRTCTL = 0x5e
249   - 0x000000000000005f __UCA0IRRCTL = 0x5f
250   - 0x0000000000000068 __UCB0CTL0 = 0x68
251   - 0x0000000000000069 __UCB0CTL1 = 0x69
252   - 0x000000000000006a __UCB0BR0 = 0x6a
253   - 0x000000000000006b __UCB0BR1 = 0x6b
254   - 0x000000000000006c __UCB0I2CIE = 0x6c
255   - 0x000000000000006d __UCB0STAT = 0x6d
256   - 0x000000000000006e __UCB0RXBUF = 0x6e
257   - 0x000000000000006f __UCB0TXBUF = 0x6f
258   - 0x0000000000000118 __UCB0I2COA = 0x118
259   - 0x000000000000011a __UCB0I2CSA = 0x11a
260   - 0x0000000000000120 __WDTCTL = 0x120
261   - 0x00000000000010f8 __CALDCO_16MHZ = 0x10f8
262   - 0x00000000000010f9 __CALBC1_16MHZ = 0x10f9
263   - 0x00000000000010fa __CALDCO_12MHZ = 0x10fa
264   - 0x00000000000010fb __CALBC1_12MHZ = 0x10fb
265   - 0x00000000000010fc __CALDCO_8MHZ = 0x10fc
266   - 0x00000000000010fd __CALBC1_8MHZ = 0x10fd
267   - 0x00000000000010fe __CALDCO_1MHZ = 0x10fe
268   - 0x00000000000010ff __CALBC1_1MHZ = 0x10ff
269   -
270   -.hash
271   - *(.hash)
272   -
273   -.dynsym
274   - *(.dynsym)
275   -
276   -.dynstr
277   - *(.dynstr)
278   -
279   -.gnu.version
280   - *(.gnu.version)
281   -
282   -.gnu.version_d
283   - *(.gnu.version_d)
284   -
285   -.gnu.version_r
286   - *(.gnu.version_r)
287   -
288   -.rel.init
289   - *(.rel.init)
290   -
291   -.rela.init
292   - *(.rela.init)
293   -
294   -.rel.fini
295   - *(.rel.fini)
296   -
297   -.rela.fini
298   - *(.rela.fini)
299   -
300   -.rel.text
301   - *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*)
302   -
303   -.rela.text
304   - *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*)
305   -
306   -.rel.rodata
307   - *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*)
308   -
309   -.rela.rodata
310   - *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*)
311   -
312   -.rel.data
313   - *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*)
314   -
315   -.rela.data
316   - *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*)
317   -
318   -.rel.bss
319   - *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*)
320   -
321   -.rela.bss
322   - *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*)
323   -
324   -.rel.ctors
325   - *(.rel.ctors)
326   -
327   -.rela.ctors
328   - *(.rela.ctors)
329   -
330   -.rel.dtors
331   - *(.rel.dtors)
332   -
333   -.rela.dtors
334   - *(.rela.dtors)
335   -
336   -.rel.got
337   - *(.rel.got)
338   -
339   -.rela.got
340   - *(.rela.got)
341   -
342   -.rel.plt
343   - *(.rel.plt)
344   -
345   -.rela.plt
346   - *(.rela.plt)
347   -
348   -.text 0x000000000000c000 0x8ae
349   - 0x000000000000c000 . = ALIGN (0x2)
350   - *(.init .init.*)
351   - *(.init0)
352   - .init0 0x000000000000c000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o)
353   - 0x000000000000c000 _reset_vector__
354   - *(.init1)
355   - .init1 0x000000000000c000 0xc /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
356   - 0x000000000000c000 __watchdog_support
357   - *(.init2)
358   - .init2 0x000000000000c00c 0x4 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
359   - 0x000000000000c00c __init_stack
360   - *(.init3)
361   - .init3 0x000000000000c010 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__low_level_init.o)
362   - 0x000000000000c010 __low_level_init
363   - *(.init4)
364   - .init4 0x000000000000c010 0x18 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
365   - 0x000000000000c010 __do_copy_data
366   - .init4 0x000000000000c028 0x16 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
367   - 0x000000000000c028 __do_clear_bss
368   - *(.init5)
369   - *(.init6)
370   - *(.init7)
371   - *(.init8)
372   - *(.init9)
373   - .init9 0x000000000000c03e 0xc Output/DUREX-Prog.obj
374   - 0x000000000000c03e main
375   - *(.fini9)
376   - .fini9 0x000000000000c04a 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__stop_progExec__.o)
377   - 0x000000000000c04a __stop_progExec__
378   - *(.fini8)
379   - *(.fini7)
380   - *(.fini6)
381   - *(.fini5)
382   - *(.fini4)
383   - *(.fini3)
384   - *(.fini2)
385   - *(.fini1)
386   - *(.fini0)
387   - .fini0 0x000000000000c04a 0x6 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
388   - 0x000000000000c04a _endless_loop__
389   - *(.fini .fini.*)
390   - 0x000000000000c050 . = ALIGN (0x2)
391   - 0x000000000000c050 __ctors_start = .
392   - *(.ctors)
393   - 0x000000000000c050 __ctors_end = .
394   - 0x000000000000c050 __dtors_start = .
395   - *(.dtors)
396   - 0x000000000000c050 __dtors_end = .
397   - 0x000000000000c050 . = ALIGN (0x2)
398   - *(.text .text.* .gnu.linkonce.t.*)
399   - .text 0x000000000000c050 0x4 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o
400   - 0x000000000000c050 __isr_1
401   - 0x000000000000c050 __isr_4
402   - 0x000000000000c050 __isr_11
403   - 0x000000000000c050 __isr_5
404   - 0x000000000000c050 __isr_10
405   - 0x000000000000c050 __isr_0
406   - 0x000000000000c050 __isr_8
407   - 0x000000000000c050 __isr_9
408   - 0x000000000000c050 __isr_6
409   - 0x000000000000c050 __isr_14
410   - .text.DUREX_connectHandler
411   - 0x000000000000c054 0x6 Output/DUREX-Prog.obj
412   - 0x000000000000c054 DUREX_connectHandler
413   - .text.DUREX_disconnectHandler
414   - 0x000000000000c05a 0x6 Output/DUREX-Prog.obj
415   - 0x000000000000c05a DUREX_disconnectHandler
416   - .text.DUREX_numBytes_fetch
417   - 0x000000000000c060 0x8 Output/DUREX-Prog.obj
418   - 0x000000000000c060 DUREX_numBytes_fetch
419   - .text.DUREX_numBytes_store
420   - 0x000000000000c068 0x6 Output/DUREX-Prog.obj
421   - 0x000000000000c068 DUREX_numBytes_store
422   - .text.DUREX_data_fetch
423   - 0x000000000000c06e 0xe Output/DUREX-Prog.obj
424   - 0x000000000000c06e DUREX_data_fetch
425   - .text.DUREX_data_store
426   - 0x000000000000c07c 0x10 Output/DUREX-Prog.obj
427   - 0x000000000000c07c DUREX_data_store
428   - .text.DUREX_numPackets_fetch
429   - 0x000000000000c08c 0x8 Output/DUREX-Prog.obj
430   - 0x000000000000c08c DUREX_numPackets_fetch
431   - .text.DUREX_numPackets_store
432   - 0x000000000000c094 0x6 Output/DUREX-Prog.obj
433   - 0x000000000000c094 DUREX_numPackets_store
434   - .text.DUREX_messageAvailable_fetch
435   - 0x000000000000c09a 0x8 Output/DUREX-Prog.obj
436   - 0x000000000000c09a DUREX_messageAvailable_fetch
437   - .text.DUREX_reset
438   - 0x000000000000c0a2 0x3a Output/DUREX.obj
439   - 0x000000000000c0a2 DUREX_reset
440   - .text.DUREX_start
441   - 0x000000000000c0dc 0xa Output/DUREX.obj
442   - 0x000000000000c0dc DUREX_start
443   - .text.Em_Message_restart
444   - 0x000000000000c0e6 0x6 Output/DUREX.obj
445   - 0x000000000000c0e6 Em_Message_restart
446   - .text.Em_App_startIndSend
447   - 0x000000000000c0ec 0x1a Output/DUREX.obj
448   - 0x000000000000c0ec Em_App_startIndSend
449   - .text.Em_App_startResSend
450   - 0x000000000000c106 0x1a Output/DUREX.obj
451   - 0x000000000000c106 Em_App_startResSend
452   - .text.Em_App_xmitReady
453   - 0x000000000000c120 0x72 Output/DUREX.obj
454   - 0x000000000000c120 Em_App_xmitReady
455   - .text.Em_App_sendResponse
456   - 0x000000000000c192 0x26 Output/DUREX.obj
457   - 0x000000000000c192 Em_App_sendResponse
458   - .text.Em_App_sysStoreDispatch
459   - 0x000000000000c1b8 0x1a Output/DUREX.obj
460   - 0x000000000000c1b8 Em_App_sysStoreDispatch
461   - .text.Em_App_sysFetchDispatch
462   - 0x000000000000c1d2 0xdc Output/DUREX.obj
463   - 0x000000000000c1d2 Em_App_sysFetchDispatch
464   - .text.Em_App_fetchDispatch
465   - 0x000000000000c2ae 0x70 Output/DUREX.obj
466   - 0x000000000000c2ae Em_App_fetchDispatch
467   - .text.Em_App_storeDispatch
468   - 0x000000000000c31e 0x52 Output/DUREX.obj
469   - 0x000000000000c31e Em_App_storeDispatch
470   - .text.Em_Message_dispatch
471   - 0x000000000000c370 0x60 Output/DUREX.obj
472   - 0x000000000000c370 Em_Message_dispatch
473   - .text.Em_App_sendIndicator
474   - 0x000000000000c3d0 0x30 Output/DUREX.obj
475   - 0x000000000000c3d0 Em_App_sendIndicator
476   - .text.Em_Message_nextXmit
477   - 0x000000000000c400 0x7e Output/DUREX.obj
478   - 0x000000000000c400 Em_Message_nextXmit
479   - .text.Hal_connected
480   - 0x000000000000c47e 0x6 Output/Hal.obj
481   - 0x000000000000c47e Hal_connected
482   - .text.Hal_disconnected
483   - 0x000000000000c484 0x8 Output/Hal.obj
484   - 0x000000000000c484 Hal_disconnected
485   - .text.Hal_init
486   - 0x000000000000c48c 0xd0 Output/Hal.obj
487   - 0x000000000000c48c Hal_init
488   - .text.Hal_idleLoop
489   - 0x000000000000c55c 0x40 Output/Hal.obj
490   - 0x000000000000c55c Hal_idleLoop
491   - .text.Em_Hal_lock
492   - 0x000000000000c59c 0xa Output/Hal.obj
493   - 0x000000000000c59c Em_Hal_lock
494   - .text.Em_Hal_reset
495   - 0x000000000000c5a6 0x56 Output/Hal.obj
496   - 0x000000000000c5a6 Em_Hal_reset
497   - .text.Em_Hal_startSend
498   - 0x000000000000c5fc 0x32 Output/Hal.obj
499   - 0x000000000000c5fc Em_Hal_startSend
500   - .text.Em_Hal_unlock
501   - 0x000000000000c62e 0x6 Output/Hal.obj
502   - 0x000000000000c62e Em_Hal_unlock
503   - .text.buttonIsr
504   - 0x000000000000c634 0x2c Output/Hal.obj
505   - 0x000000000000c634 __isr_2
506   - 0x000000000000c634 buttonIsr
507   - .text.rxIsr 0x000000000000c660 0x9a Output/Hal.obj
508   - 0x000000000000c660 rxIsr
509   - 0x000000000000c660 __isr_7
510   - .text.timerIsr
511   - 0x000000000000c6fa 0x28 Output/Hal.obj
512   - 0x000000000000c6fa timerIsr
513   - 0x000000000000c6fa __isr_13
514   - .text.txAckIsr
515   - 0x000000000000c722 0x66 Output/Hal.obj
516   - 0x000000000000c722 txAckIsr
517   - 0x000000000000c722 __isr_3
518   - .text.uartWatchdogIsr
519   - 0x000000000000c788 0x28 Output/Hal.obj
520   - 0x000000000000c788 uartWatchdogIsr
521   - 0x000000000000c788 __isr_12
522   - .text 0x000000000000c7b0 0xfc /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(memcpy.o)
523   - 0x000000000000c7b0 memcpy
524   - .text.crt0 0x000000000000c8ac 0x2 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
525   - 0x000000000000c8ac _unexpected_
526   - 0x000000000000c8ae . = ALIGN (0x2)
527   -
528   -.rodata 0x000000000000c8ae 0x46
529   - 0x000000000000c8ae . = ALIGN (0x2)
530   - *(.rodata .rodata.* .gnu.linkonce.r.*)
531   - .rodata.Em_App_sysFetchDispatch
532   - 0x000000000000c8ae 0x12 Output/DUREX.obj
533   - .rodata.Em_Message_dispatch
534   - 0x000000000000c8c0 0x16 Output/DUREX.obj
535   - .rodata.Em_App_endian
536   - 0x000000000000c8d6 0x2 Output/DUREX.obj
537   - 0x000000000000c8d6 Em_App_endian
538   - .rodata.Em_App_build
539   - 0x000000000000c8d8 0x8 Output/DUREX.obj
540   - 0x000000000000c8d8 Em_App_build
541   - .rodata.Em_App_hash
542   - 0x000000000000c8e0 0x13 Output/DUREX.obj
543   - 0x000000000000c8e0 Em_App_hash
544   - 0x000000000000c8f4 . = ALIGN (0x2)
545   - *fill* 0x000000000000c8f3 0x1 00
546   - 0x000000000000c8f4 _etext = .
547   -
548   -.data 0x0000000000000200 0x2 load address 0x000000000000c8f4
549   - 0x0000000000000200 . = ALIGN (0x2)
550   - 0x0000000000000200 PROVIDE (__data_start, .)
551   - *(.data .data.* .gnu.linkonce.d.*)
552   - .data.Em_App_inBuf
553   - 0x0000000000000200 0x2 Output/DUREX.obj
554   - 0x0000000000000200 Em_App_inBuf
555   - 0x0000000000000202 . = ALIGN (0x2)
556   - 0x0000000000000202 _edata = .
557   - 0x000000000000c8f4 PROVIDE (__data_load_start, LOADADDR (.data))
558   - 0x0000000000000002 PROVIDE (__data_size, SIZEOF (.data))
559   -
560   -.bss 0x0000000000000202 0x1d8 load address 0x000000000000c8f6
561   - 0x0000000000000202 PROVIDE (__bss_start, .)
562   - *(.bss .bss.*)
563   - .bss.messageAvailable
564   - 0x0000000000000202 0x1 Output/DUREX-Prog.obj
565   - 0x0000000000000202 messageAvailable
566   - .bss.numPackets
567   - 0x0000000000000203 0x1 Output/DUREX-Prog.obj
568   - 0x0000000000000203 numPackets
569   - .bss.data 0x0000000000000204 0xc9 Output/DUREX-Prog.obj
570   - 0x0000000000000204 data
571   - .bss.numBytes 0x00000000000002cd 0x1 Output/DUREX-Prog.obj
572   - 0x00000000000002cd numBytes
573   - .bss.Em_App_devName
574   - 0x00000000000002ce 0x2 Output/DUREX.obj
575   - 0x00000000000002ce Em_App_devName
576   - .bss._Em_Message_txCnt
577   - 0x00000000000002d0 0x1 Output/DUREX.obj
578   - 0x00000000000002d0 _Em_Message_txCnt
579   - *fill* 0x00000000000002d1 0x1 00
580   - .bss._Em_Message_txBuf
581   - 0x00000000000002d2 0x2 Output/DUREX.obj
582   - 0x00000000000002d2 _Em_Message_txBuf
583   - .bss._Em_Message_rxCnt
584   - 0x00000000000002d4 0x1 Output/DUREX.obj
585   - 0x00000000000002d4 _Em_Message_rxCnt
586   - *fill* 0x00000000000002d5 0x1 00
587   - .bss._Em_Message_rxBuf
588   - 0x00000000000002d6 0x2 Output/DUREX.obj
589   - 0x00000000000002d6 _Em_Message_rxBuf
590   - .bss.Em_App_outBuf
591   - 0x00000000000002d8 0x2 Output/DUREX.obj
592   - 0x00000000000002d8 Em_App_outBuf
593   - .bss.Em_App_xmitMask
594   - 0x00000000000002da 0x4 Output/DUREX.obj
595   - 0x00000000000002da Em_App_xmitMask
596   - .bss.Em_App_fileIndex
597   - 0x00000000000002de 0x4 Output/DUREX.obj
598   - 0x00000000000002de Em_App_fileIndex
599   - .bss.Em_App_state
600   - 0x00000000000002e2 0x1 Output/DUREX.obj
601   - 0x00000000000002e2 Em_App_state
602   - *fill* 0x00000000000002e3 0x1 00
603   - .bss.handlerEvents
604   - 0x00000000000002e4 0x2 Output/Hal.obj
605   - .bss.handlerTab
606   - 0x00000000000002e6 0x6 Output/Hal.obj
607   - .bss.clockTick
608   - 0x00000000000002ec 0x2 Output/Hal.obj
609   - *(COMMON)
610   - COMMON 0x00000000000002ee 0xec Output/DUREX.obj
611   - 0x00000000000002ee Em_App_recvIdx
612   - 0x00000000000002ef Em_App_xmitSize
613   - 0x00000000000002f0 Em_App_valp
614   - 0x00000000000002f2 Em_App_ind_u
615   - 0x00000000000002fe Em_App_recvSize
616   - 0x0000000000000300 Em_App_msg_u
617   - 0x00000000000003d2 Em_App_pdHdlr
618   - 0x00000000000003d4 Em_App_bufp
619   - 0x00000000000003d6 Em_App_xmitIdx
620   - 0x00000000000003d8 Em_App_desc
621   - 0x00000000000003da . = ALIGN (0x2)
622   - 0x00000000000003da PROVIDE (__bss_end, .)
623   - 0x00000000000001d8 PROVIDE (__bss_size, SIZEOF (.bss))
624   -
625   -.noinit 0x00000000000003da 0x2 load address 0x000000000000c8f6
626   - 0x00000000000003da PROVIDE (__noinit_start, .)
627   - *(.noinit .noinit.*)
628   - .noinit.crt0 0x00000000000003da 0x2 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
629   - 0x00000000000003da __wdt_clear_value
630   - 0x00000000000003dc . = ALIGN (0x2)
631   - 0x00000000000003dc PROVIDE (__noinit_end, .)
632   - 0x00000000000003dc . = ALIGN (0x2)
633   - 0x00000000000003dc _end = .
634   -
635   -.infomem 0x0000000000001000 0x0
636   - *(.infomem)
637   - 0x0000000000001000 . = ALIGN (0x2)
638   - *(.infomem.*)
639   -
640   -.infomemnobits 0x0000000000001000 0x0
641   - *(.infomemnobits)
642   - 0x0000000000001000 . = ALIGN (0x2)
643   - *(.infomemnobits.*)
644   -
645   -.infoa
646   - *(.infoa .infoa.*)
647   -
648   -.infob
649   - *(.infob .infob.*)
650   -
651   -.infoc
652   - *(.infoc .infoc.*)
653   -
654   -.infod
655   - *(.infod .infod.*)
656   -
657   -.vectors 0x000000000000ffe0 0x20
658   - 0x000000000000ffe0 PROVIDE (__vectors_start, .)
659   - *(.vectors*)
660   - .vectors 0x000000000000ffe0 0x20 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o
661   - 0x000000000000ffe0 __ivtbl_16
662   - 0x0000000000010000 _vectors_end = .
663   -
664   -.fartext 0x0000000000000000 0x0
665   - 0x0000000000000000 . = ALIGN (0x2)
666   - *(.fartext)
667   - 0x0000000000000000 . = ALIGN (0x2)
668   - *(.fartext.*)
669   - 0x0000000000000000 _efartext = .
670   -
671   -.profiler
672   - *(.profiler)
673   -
674   -.stab
675   - *(.stab)
676   -
677   -.stabstr
678   - *(.stabstr)
679   -
680   -.stab.excl
681   - *(.stab.excl)
682   -
683   -.stab.exclstr
684   - *(.stab.exclstr)
685   -
686   -.stab.index
687   - *(.stab.index)
688   -
689   -.stab.indexstr
690   - *(.stab.indexstr)
691   -
692   -.comment
693   - *(.comment)
694   -
695   -.debug
696   - *(.debug)
697   -
698   -.line
699   - *(.line)
700   -
701   -.debug_srcinfo
702   - *(.debug_srcinfo)
703   -
704   -.debug_sfnames
705   - *(.debug_sfnames)
706   -
707   -.debug_aranges 0x0000000000000000 0x1c8
708   - *(.debug_aranges)
709   - .debug_aranges
710   - 0x0000000000000000 0x40 Output/DUREX-Prog.obj
711   - .debug_aranges
712   - 0x0000000000000040 0x70 Output/DUREX.obj
713   - .debug_aranges
714   - 0x00000000000000b0 0x78 Output/Hal.obj
715   - .debug_aranges
716   - 0x0000000000000128 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(strcmp.o)
717   - .debug_aranges
718   - 0x000000000000013c 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(memcpy.o)
719   - .debug_aranges
720   - 0x0000000000000150 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
721   - .debug_aranges
722   - 0x0000000000000164 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
723   - .debug_aranges
724   - 0x0000000000000178 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
725   - .debug_aranges
726   - 0x000000000000018c 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
727   - .debug_aranges
728   - 0x00000000000001a0 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
729   - .debug_aranges
730   - 0x00000000000001b4 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
731   -
732   -.debug_pubnames
733   - *(.debug_pubnames)
734   -
735   -.debug_info 0x0000000000000000 0x1eee
736   - *(.debug_info)
737   - .debug_info 0x0000000000000000 0x44a Output/DUREX-Prog.obj
738   - .debug_info 0x000000000000044a 0x91b Output/DUREX.obj
739   - .debug_info 0x0000000000000d65 0xc78 Output/Hal.obj
740   - .debug_info 0x00000000000019dd 0xa4 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(strcmp.o)
741   - .debug_info 0x0000000000001a81 0x113 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(memcpy.o)
742   - .debug_info 0x0000000000001b94 0x8f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
743   - .debug_info 0x0000000000001c23 0x8f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
744   - .debug_info 0x0000000000001cb2 0x8f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
745   - .debug_info 0x0000000000001d41 0x8f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
746   - .debug_info 0x0000000000001dd0 0x8f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
747   - .debug_info 0x0000000000001e5f 0x8f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
748   - *(.gnu.linkonce.wi.*)
749   -
750   -.debug_abbrev 0x0000000000000000 0x85b
751   - *(.debug_abbrev)
752   - .debug_abbrev 0x0000000000000000 0x152 Output/DUREX-Prog.obj
753   - .debug_abbrev 0x0000000000000152 0x240 Output/DUREX.obj
754   - .debug_abbrev 0x0000000000000392 0x35a Output/Hal.obj
755   - .debug_abbrev 0x00000000000006ec 0x60 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(strcmp.o)
756   - .debug_abbrev 0x000000000000074c 0x97 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(memcpy.o)
757   - .debug_abbrev 0x00000000000007e3 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
758   - .debug_abbrev 0x00000000000007f7 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
759   - .debug_abbrev 0x000000000000080b 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
760   - .debug_abbrev 0x000000000000081f 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
761   - .debug_abbrev 0x0000000000000833 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
762   - .debug_abbrev 0x0000000000000847 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
763   -
764   -.debug_line 0x0000000000000000 0xd16
765   - *(.debug_line)
766   - .debug_line 0x0000000000000000 0x1a8 Output/DUREX-Prog.obj
767   - .debug_line 0x00000000000001a8 0x3bf Output/DUREX.obj
768   - .debug_line 0x0000000000000567 0x3a9 Output/Hal.obj
769   - .debug_line 0x0000000000000910 0x49 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(strcmp.o)
770   - .debug_line 0x0000000000000959 0x10e /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(memcpy.o)
771   - .debug_line 0x0000000000000a67 0x72 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
772   - .debug_line 0x0000000000000ad9 0x70 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
773   - .debug_line 0x0000000000000b49 0x76 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
774   - .debug_line 0x0000000000000bbf 0x76 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
775   - .debug_line 0x0000000000000c35 0x71 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
776   - .debug_line 0x0000000000000ca6 0x70 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
777   -
778   -.debug_frame 0x0000000000000000 0x412
779   - *(.debug_frame)
780   - .debug_frame 0x0000000000000000 0xa2 Output/DUREX-Prog.obj
781   - .debug_frame 0x00000000000000a2 0x17a Output/DUREX.obj
782   - .debug_frame 0x000000000000021c 0x1a0 Output/Hal.obj
783   - .debug_frame 0x00000000000003bc 0x1e /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(strcmp.o)
784   - .debug_frame 0x00000000000003da 0x38 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(memcpy.o)
785   -
786   -.debug_str 0x0000000000000000 0xa89
787   - *(.debug_str)
788   - .debug_str 0x0000000000000000 0x2b6 Output/DUREX-Prog.obj
789   - 0x2ef (size before relaxing)
790   - .debug_str 0x00000000000002b6 0x3d9 Output/DUREX.obj
791   - 0x535 (size before relaxing)
792   - .debug_str 0x000000000000068f 0x367 Output/Hal.obj
793   - 0x593 (size before relaxing)
794   - .debug_str 0x00000000000009f6 0x5f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(strcmp.o)
795   - 0xde (size before relaxing)
796   - .debug_str 0x0000000000000a55 0x34 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(memcpy.o)
797   - 0x100 (size before relaxing)
798   -
799   -.debug_loc 0x0000000000000000 0x868
800   - *(.debug_loc)
801   - .debug_loc 0x0000000000000000 0x28 Output/DUREX-Prog.obj
802   - .debug_loc 0x0000000000000028 0x447 Output/DUREX.obj
803   - .debug_loc 0x000000000000046f 0x1e5 Output/Hal.obj
804   - .debug_loc 0x0000000000000654 0x24 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(strcmp.o)
805   - .debug_loc 0x0000000000000678 0x1f0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(memcpy.o)
806   -
807   -.debug_macinfo
808   - *(.debug_macinfo)
809   -
810   -.debug_pubtypes
811   - *(.debug_pubtypes)
812   -
813   -.debug_ranges 0x0000000000000000 0x1a4
814   - *(.debug_ranges)
815   - .debug_ranges 0x0000000000000000 0x34 Output/DUREX-Prog.obj
816   - .debug_ranges 0x0000000000000034 0x64 Output/DUREX.obj
817   - .debug_ranges 0x0000000000000098 0x10c Output/Hal.obj
818   - 0x0000000000000400 PROVIDE (__stack, (ORIGIN (ram) + 0x200))
819   - 0x000000000000c8f4 PROVIDE (__data_start_rom, _etext)
820   - 0x000000000000c8f6 PROVIDE (__data_end_rom, (_etext + SIZEOF (.data)))
821   -OUTPUT(Output/DUREX-Prog.out elf32-msp430)
DUREX/Output/DUREX-Prog.obj deleted
No preview for this file type
DUREX/Output/DUREX-Prog.out deleted
No preview for this file type
DUREX/Output/DUREX.obj deleted
No preview for this file type
DUREX/Output/Hal.obj deleted
No preview for this file type
DUREX/Schema-Imports/system@emmoco.com/System.ems deleted
1   -owner = "system@emmoco.com"
2   -
3   -schema System {
4   -
5   - // protocolLevel #13
6   -
7   - enum ParameterGroup {
8   - GROUP_A, GROUP_B
9   - }
10   -
11   - // protocolLevel #1
12   -
13   - uint8 $schemaUuid[16] { // protocolLevel #10 -- invisible to applications
14   - readonly
15   - }
16   -
17   - uint16 $mcmProtocolLevel {
18   - readonly
19   - }
20   -
21   - uint16 $eapProtocolLevel {
22   - readonly
23   - }
24   -
25   - uint8 $eapBuildDate[8] { // protocolLevel #5 -- rename from $eapBuildNumber
26   - readonly
27   - }
28   -
29   - // protocolLevel #2
30   -
31   - int16 $fileIndexReset {
32   - writeonly
33   - }
34   -
35   - // protocolLevel #5
36   -
37   - // protocolLevel #12 -- increase size to 20
38   -
39   - uint8 $schemaHash[20] {
40   - readonly
41   - }
42   -
43   - // protocolLevel #7
44   -
45   - struct ResourceCount {
46   - uint8 app
47   - uint8 sys
48   - }
49   -
50   - ResourceCount $resourceCount {
51   - readonly
52   - }
53   -
54   - // protocolLevel #9
55   -
56   - int8 $mobileRssi {
57   - readonly
58   - }
59   -
60   - // protocolLevel #11
61   -
62   - uint8 $mcmDisconnect {
63   - writeonly
64   - }
65   -
66   - // protocolLevel #13
67   -
68   - ParameterGroup $activeGroup {
69   - readwrite
70   - }
71   -
72   -}
DUREX/bundle.properties deleted
1   -# generated file - do not edit
2   -
3   -bundle.requires = com.emmoco.schema.translator
4   -com.emmoco.framework.Properties.applicationDirectory = Em
5   -com.emmoco.framework.Properties.schemaDestinationDirectory = Em
6   -com.emmoco.framework.Properties.serverAPIToken =
7   -com.emmoco.framework.Properties.align16 = 2
8   -com.emmoco.framework.Properties.align32 = 4
9   -com.emmoco.framework.Properties.schemaFile = /Users/imanol/devel/durex/DUREX/DUREX.ems
10   -com.emmoco.framework.Properties.toolVersion = 13.4.1.201311121909
DUREX/makefile deleted
1   -APPNAME = DUREX
2   -PLATFORM = ../Platform-MSP-EXP430G2
3   -
4   -include $(PLATFORM)/rules.mk
FirstApp-MSP-EXP430G2/.project deleted
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<projectDescription>
3   - <name>FirstApp-MSP-EXP430G2</name>
4   - <comment></comment>
5   - <projects>
6   - </projects>
7   - <buildSpec>
8   - <buildCommand>
9   - <name>com.emmoco.mcmtooling.core.mcmToolingBuilder</name>
10   - <arguments>
11   - </arguments>
12   - </buildCommand>
13   - <buildCommand>
14   - <name>com.emmoco.mcmtooling.example.mcmToolingBuilder</name>
15   - <arguments>
16   - </arguments>
17   - </buildCommand>
18   - </buildSpec>
19   - <natures>
20   - <nature>com.emmoco.mcmtooling.example.mcmToolingExampleNature</nature>
21   - <nature>com.emmoco.mcmtooling.core.mcmToolingNature</nature>
22   - </natures>
23   - <linkedResources>
24   - <link>
25   - <name>Hal</name>
26   - <type>2</type>
27   - <locationURI>EM_PLATFORM_LOC/Hal</locationURI>
28   - </link>
29   - </linkedResources>
30   - <variableList>
31   - <variable>
32   - <name>EM_PLATFORM_LOC</name>
33   - <value>$%7BWORKSPACE_LOC%7D/Platform-MSP-EXP430G2</value>
34   - </variable>
35   - </variableList>
36   -</projectDescription>
FirstApp-MSP-EXP430G2/Em/Em_Message.h deleted
1   -#ifndef Em_Message_H_
2   -#define Em_Message_H_
3   -
4   -#include "Em_Types.h"
5   -
6   -#ifdef __cplusplus
7   -extern "C" {
8   -#endif
9   -
10   -/* -------- SRT FUNCTIONS CALLED BY HAL -------- */
11   -
12   -static inline bool Em_Message_addByte(uint8_t b);
13   -extern void Em_Message_dispatch(void);
14   -static inline bool Em_Message_getByte(uint8_t* bp);
15   -extern void Em_Message_restart(void);
16   -static inline bool Em_Message_startRx(void);
17   -static inline uint8_t Em_Message_startTx(void);
18   -
19   -
20   -/* -------- HAL FUNCTIONS CALLED BY SRT -------- */
21   -
22   -extern uint8_t Em_Hal_lock(void);
23   -extern void Em_Hal_reset(void);
24   -extern void Em_Hal_startSend(void);
25   -extern void Em_Hal_unlock(uint8_t key);
26   -extern void Em_Hal_watchOff(void);
27   -extern void Em_Hal_watchOn(void);
28   -
29   -
30   -/* -------- MESSAGE FORMAT -------- */
31   -
32   -/* protocolLevel #4 */
33   -#define Em_Message_INDSIZE 4
34   -
35   -typedef uint8_t Em_Message_Size;
36   -typedef uint8_t Em_Message_Kind;
37   -/* protocolLevel #12 -- split 16-bit resId into <resId, chan> */
38   -typedef uint8_t Em_Message_ResId;
39   -typedef uint8_t Em_Message_Chan;
40   -
41   -#define Em_Message_NOP 0
42   -#define Em_Message_FETCH 1
43   -#define Em_Message_FETCH_DONE 2
44   -#define Em_Message_STORE 3
45   -#define Em_Message_STORE_DONE 4
46   -#define Em_Message_INDICATOR 5
47   -#define Em_Message_CONNECT 6
48   -#define Em_Message_DISCONNECT 7
49   -#define Em_Message_ECHO 8
50   -/* protocolLevel #3 */
51   -/* protocolLevel #6 -- rename from BROADCAST to PAIRING */
52   -#define Em_Message_PAIRING 9
53   -#define Em_Message_PAIRING_DONE 10
54   -/* protocolLevel #7 */
55   -#define Em_Message_OFFLINE 11
56   -/* protocolLevel #8 */
57   -#define Em_Message_ACCEPT 12
58   -/* protocolLevel #13 */
59   -#define Em_Message_START 13
60   -#define Em_Message_ACTIVE_PARAMS 14
61   -
62   -typedef struct Em_Message_Header {
63   - Em_Message_Size size;
64   - Em_Message_Kind kind;
65   - Em_Message_ResId resId;
66   - Em_Message_Chan chan;
67   -} Em_Message_Header;
68   -
69   -typedef uint16_t Em_Message_protocolLevel_t;
70   -
71   -/* protocolLevel #1 */
72   -
73   -/* protocolLevel #10 */
74   -/* #define Em_Message_SYS_SCHEMA_UUID 0xFF */
75   -
76   -#define Em_Message_SYS_MCM_PROTOCOL_LEVEL 0xFE
77   -#define Em_Message_SYS_EAP_PROTOCOL_LEVEL 0xFD
78   -#define Em_Message_SYS_EAP_BUILD_DATE 0xFC
79   -
80   -/* protocolLevel #2 */
81   -#define Em_Message_SYS_FILE_INDEX_RESET 0xFB
82   -
83   -/* protocolLevel #5 */
84   -#define Em_Message_SYS_SCHEMA_HASH 0xFA
85   -
86   -/* protocolLevel #7 */
87   -#define Em_Message_SYS_RESOURCE_COUNT 0xF9
88   -
89   -/* protocolLevel #9 */
90   -#define Em_Message_SYS_MOBILE_RSSI 0xF8
91   -
92   -/* protocolLevel #11 */
93   -#define Em_Message_SYS_MCM_DISCONNECT 0xF7
94   -
95   -/* protocolLevel #13a */
96   -#define Em_Message_SYS_MCM_NAME 0xF5
97   -
98   -
99   -/* -------- PRIVATE -------- */
100   -
101   -extern void Em_Message_nextXmit(void);
102   -
103   -extern uint8_t* Em_App_inBuf;
104   -extern uint8_t* Em_App_outBuf;
105   -extern Em_Message_Size Em_App_xmitSize;
106   -
107   -extern uint8_t* _Em_Message_rxBuf;
108   -extern uint8_t _Em_Message_rxCnt;
109   -
110   -extern uint8_t* _Em_Message_txBuf;
111   -extern uint8_t _Em_Message_txCnt;
112   -
113   -static inline bool Em_Message_addByte(uint8_t b) {
114   - if (_Em_Message_rxCnt == 0) {
115   - if (b == 0) {
116   - return false;
117   - }
118   - _Em_Message_rxCnt = b;
119   - }
120   - *_Em_Message_rxBuf++ = b;
121   - if (--_Em_Message_rxCnt == 0) {
122   - _Em_Message_rxBuf = 0;
123   - if (_Em_Message_txBuf == 0) {
124   - Em_Hal_watchOff();
125   - }
126   - return true;
127   - }
128   - else {
129   - return false;
130   - }
131   -}
132   -
133   -static inline bool Em_Message_getByte(uint8_t* bp) {
134   - if (_Em_Message_txBuf == 0) {
135   - return false;
136   - }
137   - if (_Em_Message_txCnt == 0) {
138   - _Em_Message_txCnt = *_Em_Message_txBuf + 1;
139   - }
140   - if (--_Em_Message_txCnt > 0) {
141   - *bp = *_Em_Message_txBuf++;
142   - return true;
143   - }
144   - else {
145   - _Em_Message_txBuf = 0;
146   - Em_App_xmitSize = 0;
147   - Em_Message_nextXmit();
148   - if (_Em_Message_rxBuf == 0) {
149   - Em_Hal_watchOff();
150   - }
151   - return false;
152   - }
153   -}
154   -
155   -static inline bool Em_Message_startRx(void) {
156   - if (_Em_Message_rxBuf == 0) {
157   - _Em_Message_rxBuf = Em_App_inBuf;
158   - if (_Em_Message_txBuf == 0) {
159   - Em_Hal_watchOn();
160   - }
161   - return true;
162   - }
163   - else {
164   - return false;
165   - }
166   -}
167   -
168   -static inline uint8_t Em_Message_startTx(void) {
169   - _Em_Message_txBuf = Em_App_outBuf + 1;
170   - _Em_Message_txCnt = 0;
171   - if (_Em_Message_rxBuf == 0) {
172   - Em_Hal_watchOn();
173   - }
174   - return 0;
175   -}
176   -
177   -
178   -#ifdef __cplusplus
179   -}
180   -#endif
181   -
182   -#endif /*Em_Message_H_*/
FirstApp-MSP-EXP430G2/Em/Em_Types.h deleted
1   -#ifndef Em_Types_H_
2   -#define Em_Types_H_
3   -
4   -#ifndef Em_NOSTDBOOL
5   -#include <stdbool.h>
6   -#endif
7   -
8   -#ifndef Em_NOSTDINT
9   -#include <stdint.h>
10   -#endif
11   -
12   -#ifdef Em_16BIT
13   -typedef signed char int8_t;
14   -typedef unsigned char uint8_t;
15   -#endif
16   -
17   -#endif /*Em_Types_H_*/
FirstApp-MSP-EXP430G2/Em/FirstApp-STUBS.c deleted
1   -/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.FirstApp on 2014-07-30T13:03:45T ****/
2   -/**** protocolLevel = 13, toolsVersion = 13.4.1.201311121909 ****/
3   -
4   -#include "FirstApp.h"
5   -
6   -#ifdef FirstApp_STUBS_ /* enables optional inclusion of application stubs */
7   -
8   -/* Copy the function skeletons below into your own application source file */
9   -
10   -void FirstApp_connectHandler(void) {
11   - /* TODO: application is now connected */
12   -}
13   -
14   -void FirstApp_disconnectHandler(void) {
15   - /* TODO: application is now disconnected */
16   -}
17   -
18   -void FirstApp_data_fetch(FirstApp_data_t* output) {
19   - /* TODO: read resource 'data' into 'output' */
20   -}
21   -
22   -void FirstApp_data_store(FirstApp_data_t* input) {
23   - /* TODO: write resource 'data' from 'input' */
24   -}
25   -
26   -#endif /* application stubs */
FirstApp-MSP-EXP430G2/Em/FirstApp.c deleted
1   -/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.FirstApp on 2014-07-30T13:03:45T ****/
2   -/**** protocolLevel = 13, toolsVersion = 13.4.1.201311121909 ****/
3   -
4   -#include "Em_Message.h"
5   -#include "FirstApp.h"
6   -
7   -#ifdef __cplusplus
8   -extern "C" {
9   -#endif
10   -
11   -#define Em_Message_protocolLevel 13
12   -
13   -typedef struct Em_App_Message {
14   - uint8_t dummy[3];
15   - uint8_t sot;
16   - Em_Message_Header hdr;
17   - uint8_t data[20];
18   -} Em_App_Message;
19   -
20   -const uint8_t Em_App_hash[] = {124, 222, 24, 201, 135, 244, 35, 197, 14, 170, 21, 17, 84, 224, 220, 189, 13, 0, ((sizeof(struct{uint8_t f1; uint16_t f2;}) - sizeof(uint16_t)) << 4) | (sizeof(struct{uint8_t f1; uint32_t f2;}) - sizeof(uint32_t))};
21   -
22   -const uint8_t Em_App_build[] = {179, 173, 240, 134, 71, 1, 0, 0};
23   -
24   -#define Em_App_APP_RESOURCE_COUNT 1
25   -#define Em_App_SYS_RESOURCE_COUNT 9
26   -
27   -#define Em_App_ACCEPT FirstApp_accept
28   -#define Em_App_ACTIVATEPARAMETERS FirstApp_activateParameters
29   -#define Em_App_BROADCASTOFF FirstApp_broadcastOff
30   -#define Em_App_DISCONNECT FirstApp_disconnect
31   -#define Em_App_PAIRINGON FirstApp_pairingOn
32   -#define Em_App_PAIRINGOFF FirstApp_pairingOff
33   -#define Em_App_RESET FirstApp_reset
34   -#define Em_App_SETDEVICENAME FirstApp_setDeviceName
35   -#define Em_App_START FirstApp_start
36   -
37   -#define Em_App_CONNECTHANDLER FirstApp_connectHandler
38   -#define Em_App_DISCONNECTHANDLER FirstApp_disconnectHandler
39   -
40   -#define Em_App_MAX_INDICATOR 1
41   -
42   -/* BEGIN common code */
43   -
44   -enum {Em_App_IDLE, Em_App_STARTING, Em_App_DISCONNECTED, Em_App_CONNECTED};
45   -
46   -typedef struct Em_App_Indicator {
47   - uint8_t dummy[3];
48   - uint8_t sot;
49   - Em_Message_Header hdr;
50   - uint8_t data[Em_Message_INDSIZE];
51   -} Em_App_Indicator;
52   -
53   -union { uint32_t align; Em_App_Message msg; } Em_App_msg_u;
54   -union { uint32_t align; Em_App_Indicator ind; } Em_App_ind_u;
55   -#define Em_App_msg Em_App_msg_u.msg
56   -#define Em_App_ind Em_App_ind_u.ind
57   -
58   -void (*Em_App_pdHdlr)(void);
59   -
60   -const uint16_t Em_App_endian = 0x0100;
61   -
62   -Em_Message_Size Em_App_recvIdx;
63   -Em_Message_Size Em_App_recvSize;
64   -Em_Message_Size Em_App_xmitIdx;
65   -Em_Message_Size Em_App_xmitSize;
66   -
67   -uint8_t Em_App_state = Em_App_IDLE;
68   -int32_t Em_App_fileIndex = 0;
69   -uint32_t Em_App_xmitMask = 0;
70   -
71   -uint8_t* Em_App_valp;
72   -uint8_t* Em_App_bufp;
73   -const char* Em_App_desc;
74   -
75   -uint8_t* Em_App_inBuf = (uint8_t*)&Em_App_msg.hdr;
76   -uint8_t* Em_App_outBuf = 0;
77   -
78   -uint8_t* _Em_Message_rxBuf = 0;
79   -uint8_t _Em_Message_rxCnt = 0;
80   -
81   -uint8_t* _Em_Message_txBuf = 0;
82   -uint8_t _Em_Message_txCnt = 0;
83   -
84   -#define Em_App_DEVNAME_LEN 9
85   -const char* Em_App_devName = 0;
86   -
87   -void Em_App_fetchDispatch(void);
88   -void Em_Message_marshallToBuf(uint8_t* valp, uint8_t* bufp, const char* desc);
89   -void Em_Message_marshallToVal(uint8_t* valp, uint8_t* bufp, const char* desc);
90   -void Em_App_storeDispatch(void);
91   -void Em_App_sendIndicator(Em_Message_ResId indId);
92   -void Em_App_sendResponse(Em_Message_Kind kind, Em_Message_Size size);
93   -void Em_App_startIndSend(void);
94   -void Em_App_startResSend(void);
95   -void Em_App_sysFetchDispatch(void);
96   -void Em_App_sysStoreDispatch(void);
97   -bool Em_App_xmitReady(Em_Message_ResId indId);
98   -
99   -void Em_Message_nextXmit(void) {
100   - uint8_t key = Em_Hal_lock();
101   - if (Em_App_xmitMask != 0) {
102   - uint8_t i;
103   - uint32_t m;
104   - for (i = 0, m = 0x1; i < Em_App_MAX_INDICATOR; i++, m <<= 1) {
105   - if (Em_App_xmitMask & m) {
106   - Em_App_xmitMask &= ~m;
107   - if (i == 0) {
108   - Em_App_startResSend();
109   - }
110   - else {
111   - Em_App_sendIndicator(i - 1);
112   - }
113   - break;
114   - }
115   - }
116   - }
117   - Em_Hal_unlock(key);
118   -}
119   -
120   -void Em_Message_restart(void) {
121   - Em_App_START();
122   -}
123   -
124   -void Em_App_ACCEPT(bool enable) {
125   - if (Em_App_state == Em_App_CONNECTED) {
126   - return;
127   - }
128   - Em_App_ind.sot = 0;
129   - Em_App_ind.hdr.kind = Em_Message_ACCEPT;
130   - Em_App_ind.hdr.size = sizeof (Em_Message_Header);
131   - Em_App_ind.hdr.resId = enable;
132   - Em_App_startIndSend();
133   -}
134   -
135   -void Em_App_ACTIVATEPARAMETERS(uint8_t group) {
136   - if (Em_App_state == Em_App_IDLE || Em_App_state == Em_App_STARTING) {
137   - return;
138   - }
139   - Em_App_ind.sot = 0;
140   - Em_App_ind.hdr.kind = Em_Message_ACTIVE_PARAMS;
141   - Em_App_ind.hdr.size = sizeof (Em_Message_Header);
142   - Em_App_ind.hdr.resId = group;
143   - Em_App_startIndSend();
144   -}
145   -
146   -void Em_App_BROADCASTOFF(void) {
147   - Em_App_ind.sot = 0;
148   - Em_App_ind.hdr.kind = Em_Message_INDICATOR;
149   - Em_App_ind.hdr.size = sizeof (Em_Message_Header);
150   - Em_App_ind.hdr.resId = 0;
151   - Em_App_startIndSend();
152   -}
153   -
154   -void Em_App_DISCONNECT(void) {
155   - if (Em_App_state != Em_App_CONNECTED) {
156   - return;
157   - }
158   - Em_App_state = Em_App_DISCONNECTED;
159   - Em_App_ind.sot = 0;
160   - Em_App_ind.hdr.kind = Em_Message_DISCONNECT;
161   - Em_App_ind.hdr.size = sizeof (Em_Message_Header);
162   - Em_App_ind.hdr.resId = 0;
163   - Em_App_startIndSend();
164   -}
165   -
166   -void Em_Message_dispatch(void) {
167   - if (Em_App_state == Em_App_IDLE) {
168   - return;
169   - }
170   - switch (Em_App_msg.hdr.kind) {
171   - case Em_Message_CONNECT:
172   - Em_App_state = Em_App_CONNECTED;
173   - Em_App_CONNECTHANDLER();
174   - break;
175   - case Em_Message_DISCONNECT:
176   - Em_App_state = Em_App_DISCONNECTED;
177   - Em_App_DISCONNECTHANDLER();
178   - break;
179   - case Em_Message_PAIRING_DONE:
180   - if (Em_App_pdHdlr) {
181   - (*Em_App_pdHdlr)();
182   - }
183   - break;
184   - case Em_Message_FETCH:
185   - if (Em_App_msg.hdr.resId < 0x80) {
186   - Em_App_fetchDispatch();
187   - }
188   - else {
189   - Em_App_sysFetchDispatch();
190   - }
191   - break;
192   - case Em_Message_STORE:
193   - if (Em_App_msg.hdr.resId < 0x80) {
194   - Em_App_storeDispatch();
195   - }
196   - else {
197   - Em_App_sysStoreDispatch();
198   - }
199   - break;
200   - }
201   -}
202   -
203   -void Em_App_marshallToBuf() {
204   - char ch;
205   - while ((ch = *Em_App_desc++)) {
206   - switch (ch) {
207   - case '0' : {
208   - *Em_App_bufp++ = 0;
209   - break;
210   - }
211   - case '1' : {
212   - *Em_App_bufp++ = *Em_App_valp & 0xFF;
213   - break;
214   - }
215   - case '2' : {
216   - uint16_t v16 = *(uint16_t*)Em_App_valp;
217   - *Em_App_bufp++ = v16 & 0xFF;
218   - *Em_App_bufp++ = (v16 >> 8) & 0xFF;
219   - break;
220   - }
221   - case '4' : {
222   - if (((uint32_t)Em_App_valp & 0x1)) Em_App_valp++;
223   - uint32_t v32 = *(uint32_t*)Em_App_valp++;
224   - *Em_App_bufp++ = v32 & 0xFF;
225   - *Em_App_bufp++ = (v32 >> 8) & 0xFF;
226   - *Em_App_bufp++ = (v32 >> 16) & 0xFF;
227   - *Em_App_bufp++ = (v32 >> 24) & 0xFF;
228   - break;
229   - }
230   - }
231   - Em_App_valp += 1;
232   - }
233   -}
234   -
235   -void Em_App_marshallToVal() {
236   - char ch;
237   - while ((ch = *Em_App_desc++)) {
238   - switch (ch) {
239   - case '0' : {
240   - *Em_App_valp = 0;
241   - Em_App_bufp += 1;
242   - break;
243   - }
244   - case '1' : {
245   - *Em_App_valp = *Em_App_bufp++ & 0xFF;
246   - break;
247   - }
248   - case '2' : {
249   - uint16_t v16 = *Em_App_bufp++ & 0xFF;
250   - v16 |= (*Em_App_bufp++ << 8);
251   - *(uint16_t*)Em_App_valp = v16;
252   - break;
253   - }
254   - case '4' : {
255   - if (((uint32_t)Em_App_valp & 0x1)) Em_App_valp++;
256   - uint32_t v32 = (uint32_t)*Em_App_bufp++ & 0xFF;
257   - v32 |= ((uint32_t)*Em_App_bufp++ << 8);
258   - v32 |= ((uint32_t)*Em_App_bufp++ << 16);
259   - v32 |= ((uint32_t)*Em_App_bufp++ << 24);
260   - *(uint32_t*)Em_App_valp++ = v32;
261   - break;
262   - }
263   - }
264   - Em_App_valp += 1;
265   - }
266   -}
267   -
268   -void Em_App_PAIRINGOFF(void(*handler)(void)) {
269   - Em_App_PAIRINGON(0, handler);
270   -}
271   -
272   -void Em_App_PAIRINGON(uint8_t secs, void(*handler)(void)) {
273   - if (Em_App_state != Em_App_DISCONNECTED) {
274   - return;
275   - }
276   - Em_App_pdHdlr = handler;
277   - Em_App_ind.sot = 0;
278   - Em_App_ind.hdr.kind = Em_Message_PAIRING;
279   - Em_App_ind.hdr.size = sizeof (Em_Message_Header);
280   - Em_App_ind.hdr.resId = secs;
281   - Em_App_startIndSend();
282   -}
283   -
284   -void Em_App_RESET(void) {
285   - Em_Hal_reset();
286   - _Em_Message_rxBuf = _Em_Message_txBuf = 0;
287   - _Em_Message_rxCnt = _Em_Message_txCnt = 0;
288   - Em_App_recvIdx = Em_App_recvSize = Em_App_xmitIdx = Em_App_xmitSize = 0;
289   - Em_App_state = Em_App_IDLE;
290   - Em_App_fileIndex = 0;
291   - Em_App_xmitMask = 0;
292   -}
293   -
294   -void Em_App_SETDEVICENAME(const char* name) {
295   - Em_App_devName = name;
296   -}
297   -
298   -void Em_App_START(void) {
299   - Em_App_RESET();
300   - Em_App_state = Em_App_STARTING;
301   -}
302   -
303   -void Em_App_sendResponse(Em_Message_Kind kind, Em_Message_Size size) {
304   - if (Em_App_state != Em_App_IDLE) {
305   - Em_App_msg.sot = 0;
306   - Em_App_msg.hdr.kind = kind;
307   - Em_App_msg.hdr.size = size + sizeof (Em_Message_Header);
308   - if (Em_App_xmitReady(0)) {
309   - Em_App_startResSend();
310   - }
311   - }
312   -}
313   -
314   -void Em_App_startIndSend(void) {
315   - Em_App_outBuf = (uint8_t*)&Em_App_ind.sot;
316   - Em_App_xmitSize = Em_App_ind.hdr.size + 1;
317   - Em_App_xmitIdx = 0;
318   - Em_Hal_startSend();
319   -}
320   -
321   -void Em_App_startResSend(void) {
322   - Em_App_outBuf = (uint8_t*)&Em_App_msg.sot;
323   - Em_App_xmitSize = Em_App_msg.hdr.size + 1;
324   - Em_App_xmitIdx = 0;
325   - Em_Hal_startSend();
326   -}
327   -
328   -void Em_App_sysFetchDispatch(void) {
329   - uint8_t size = 0;
330   - int i, j;
331   - switch (Em_App_msg.hdr.resId) {
332   - case Em_Message_SYS_SCHEMA_HASH:
333   - for (i = 0; i < sizeof (Em_App_hash); i++) {
334   - Em_App_msg.data[i] = Em_App_hash[i];
335   - }
336   - Em_App_msg.data[sizeof (Em_App_hash)] = *((uint8_t*)&Em_App_endian);
337   - size = sizeof (Em_App_hash) + 1;
338   - break;
339   - case Em_Message_SYS_MCM_NAME:
340   - if (Em_App_devName) {
341   - for (i = 0; i < Em_App_DEVNAME_LEN; i++) {
342   - if ((Em_App_msg.data[i] = Em_App_devName[i]) == 0) {
343   - break;
344   - }
345   - }
346   - for (j = i; j < Em_App_DEVNAME_LEN; j++) {
347   - Em_App_msg.data[j] = 0;
348   - }
349   - size = Em_App_DEVNAME_LEN;
350   - }
351   - break;
352   - case Em_Message_SYS_EAP_PROTOCOL_LEVEL:
353   - *((Em_Message_protocolLevel_t*)Em_App_msg.data) = Em_Message_protocolLevel;
354   - size = sizeof (Em_Message_protocolLevel_t);
355   - break;
356   - case Em_Message_SYS_EAP_BUILD_DATE:
357   - for (i = 0; i < sizeof (Em_App_build); i++) {
358   - Em_App_msg.data[i] = Em_App_build[i];
359   - }
360   - size = sizeof (Em_App_build);
361   - break;
362   - case Em_Message_SYS_RESOURCE_COUNT:
363   - Em_App_msg.data[0] = Em_App_APP_RESOURCE_COUNT;
364   - Em_App_msg.data[1] = Em_App_SYS_RESOURCE_COUNT;
365   - size = 2;
366   - break;
367   - }
368   - Em_App_sendResponse(Em_Message_FETCH_DONE, size);
369   -}
370   -
371   -void Em_App_sysStoreDispatch(void) {
372   - switch (Em_App_msg.hdr.resId) {
373   - case Em_Message_SYS_FILE_INDEX_RESET:
374   - Em_App_fileIndex = 0;
375   - break;
376   - }
377   - Em_App_sendResponse(Em_Message_STORE_DONE, 0);
378   -}
379   -
380   -bool Em_App_xmitReady(Em_Message_ResId indId) {
381   - uint8_t key = Em_Hal_lock();
382   - bool res = _Em_Message_txBuf == 0 && Em_App_xmitMask == 0;
383   - if (!res) {
384   - Em_App_xmitMask |= (1 << indId);
385   - }
386   - Em_Hal_unlock(key);
387   - return res;
388   -}
389   -
390   -/* END common code */
391   -
392   -void Em_App_fetchDispatch(void) {
393   - uint8_t size = 0;
394   - switch (Em_App_msg.hdr.resId) {
395   - case 0: {
396   - break;
397   - }
398   - case 1: {
399   -#ifdef Em_16BIT
400   - FirstApp_data_t val;
401   - Em_App_valp = (uint8_t*)&val;
402   - Em_App_bufp = Em_App_msg.data;
403   - Em_App_desc = "2";
404   - FirstApp_data_fetch(&val);
405   - Em_App_marshallToBuf();
406   -#else
407   - FirstApp_data_fetch((void*)Em_App_msg.data);
408   -#endif
409   - size = 2;
410   - break;
411   - }
412   - }
413   - Em_App_sendResponse(Em_Message_FETCH_DONE, size);
414   -}
415   -
416   -void Em_App_storeDispatch(void) {
417   - switch (Em_App_msg.hdr.resId) {
418   - case 0: {
419   - break;
420   - }
421   - case 1: {
422   -#ifdef Em_16BIT
423   - FirstApp_data_t val;
424   - Em_App_valp = (uint8_t*)&val;
425   - Em_App_bufp = Em_App_msg.data;
426   - Em_App_desc = "2";
427   - Em_App_marshallToVal();
428   - FirstApp_data_store(&val);
429   -#else
430   - FirstApp_data_store((void*)Em_App_msg.data);
431   -#endif
432   - break;
433   - }
434   - }
435   - Em_App_sendResponse(Em_Message_STORE_DONE, 0);
436   -}
437   -
438   -void Em_App_sendIndicator(Em_Message_ResId indId) {
439   - /* no active resources */
440   -}
441   -
442   -#ifdef __cplusplus
443   -}
444   -#endif
445   -
FirstApp-MSP-EXP430G2/Em/FirstApp.h deleted
1   -/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.FirstApp on 2014-07-30T13:03:45T ****/
2   -/**** protocolLevel = 13, toolsVersion = 13.4.1.201311121909 ****/
3   -
4   -#ifndef FirstApp__H
5   -#define FirstApp__H
6   -
7   -#include "Em_Types.h"
8   -#include "Em_Message.h"
9   -
10   -#ifdef __cplusplus
11   -extern "C" {
12   -#endif
13   -
14   -/* -------- connection callback functions implemented by the application -------- */
15   -
16   -void FirstApp_connectHandler(void);
17   -void FirstApp_disconnectHandler(void);
18   -
19   -/* -------- resource types defined in the schema -------- */
20   -
21   -/* -------- resource callback functions implemented by the application -------- */
22   -
23   -/* resource data */
24   -typedef int16_t FirstApp_data_t;
25   -extern void FirstApp_data_fetch(FirstApp_data_t* output);
26   -extern void FirstApp_data_store(FirstApp_data_t* input);
27   -
28   -/* -------- application functions implemented in FirstApp.c -------- */
29   -
30   -void FirstApp_accept(bool enable);
31   -void FirstApp_activateParameters(uint8_t group);
32   -void FirstApp_broadcastOff(void);
33   -void FirstApp_disconnect(void);
34   -void FirstApp_pairingOn(uint8_t secs, void(*handler)(void));
35   -void FirstApp_pairingOff(void(*handler)(void));
36   -void FirstApp_reset(void);
37   -void FirstApp_setDeviceName(const char* name);
38   -void FirstApp_start(void);
39   -
40   -#ifdef __cplusplus
41   -}
42   -#endif
43   -
44   -#endif /* FirstApp__H */
FirstApp-MSP-EXP430G2/Em/firstapp.json deleted
1   -{
2   - "resources": {
3   - "$schemaHash": {
4   - "dim": 20,
5   - "id": -6,
6   - "align": 1,
7   - "attributes": {"readonly": true},
8   - "type": "A20:u1",
9   - "access": "r",
10   - "size": 20
11   - },
12   - "$eapProtocolLevel": {
13   - "id": -3,
14   - "align": 2,
15   - "attributes": {"readonly": true},
16   - "type": "u2",
17   - "access": "r",
18   - "size": 2
19   - },
20   - "$mcmProtocolLevel": {
21   - "id": -2,
22   - "align": 2,
23   - "attributes": {"readonly": true},
24   - "type": "u2",
25   - "access": "r",
26   - "size": 2
27   - },
28   - "$mobileRssi": {
29   - "id": -8,
30   - "align": 1,
31   - "attributes": {"readonly": true},
32   - "type": "i1",
33   - "access": "r",
34   - "size": 1
35   - },
36   - "data": {
37   - "id": 1,
38   - "align": 2,
39   - "attributes": {},
40   - "type": "i2",
41   - "access": "rw",
42   - "size": 2
43   - },
44   - "$activeGroup": {
45   - "id": -10,
46   - "align": 1,
47   - "pack": 1,
48   - "attributes": {"readwrite": true},
49   - "type": "E:system@emmoco.com.System/ParameterGroup",
50   - "access": "rw",
51   - "size": 1
52   - },
53   - "$mcmDisconnect": {
54   - "id": -9,
55   - "align": 1,
56   - "attributes": {"writeonly": true},
57   - "type": "u1",
58   - "access": "w",
59   - "size": 1
60   - },
61   - "$eapBuildDate": {
62   - "dim": 8,
63   - "id": -4,
64   - "align": 1,
65   - "attributes": {"readonly": true},
66   - "type": "A8:u1",
67   - "access": "r",
68   - "size": 8
69   - },
70   - "$resourceCount": {
71   - "id": -7,
72   - "align": 1,
73   - "attributes": {"readonly": true},
74   - "type": "S:system@emmoco.com.System/ResourceCount",
75   - "access": "r",
76   - "size": 2
77   - },
78   - "$fileIndexReset": {
79   - "id": -5,
80   - "align": 2,
81   - "attributes": {"writeonly": true},
82   - "type": "i2",
83   - "access": "w",
84   - "size": 2
85   - }
86   - },
87   - "resourceNamesSys": [
88   - "$activeGroup",
89   - "$eapBuildDate",
90   - "$eapProtocolLevel",
91   - "$fileIndexReset",
92   - "$mcmDisconnect",
93   - "$mcmProtocolLevel",
94   - "$mobileRssi",
95   - "$resourceCount",
96   - "$schemaHash"
97   - ],
98   - "manifest": {
99   - "protocolLevel": 13,
100   - "hash": [
101   - 124,
102   - 222,
103   - 24,
104   - 201,
105   - 135,
106   - 244,
107   - 35,
108   - 197,
109   - 14,
110   - 170,
111   - 21,
112   - 17,
113   - 84,
114   - 224,
115   - 220,
116   - 189
117   - ],
118   - "toolVersion": "13.4.1.201311121909",
119   - "name": "FirstApp",
120   - "$$md5": "7cde18c987f423c50eaa151154e0dcbd",
121   - "build": [
122   - 179,
123   - 173,
124   - 240,
125   - 134,
126   - 71,
127   - 1,
128   - 0,
129   - 0
130   - ],
131   - "date": "2014-07-30T13:03:45T",
132   - "maxAlign": 2,
133   - "maxSize": 20,
134   - "version": "1.0.0"
135   - },
136   - "resourceNames": [
137   - "data",
138   - "$mcmProtocolLevel",
139   - "$eapProtocolLevel",
140   - "$eapBuildDate",
141   - "$fileIndexReset",
142   - "$schemaHash",
143   - "$resourceCount",
144   - "$mobileRssi",
145   - "$mcmDisconnect",
146   - "$activeGroup"
147   - ],
148   - "attributes": {
149   - "description": "My first app",
150   - "version": "1.0.0"
151   - },
152   - "resourceNamesApp": ["data"],
153   - "types": {
154   - "system@emmoco.com.System/ResourceCount": {
155   - "packed": false,
156   - "align": 1,
157   - "type": "S:system@emmoco.com.System/ResourceCount",
158   - "size": 2,
159   - "fields": [
160   - {
161   - "pad": 0,
162   - "align": 1,
163   - "name": "app",
164   - "type": "u1",
165   - "size": 1
166   - },
167   - {
168   - "pad": 0,
169   - "align": 1,
170   - "name": "sys",
171   - "type": "u1",
172   - "size": 1
173   - }
174   - ]
175   - },
176   - "std:i2": {
177   - "align": 2,
178   - "size": 2
179   - },
180   - "std:i1": {
181   - "align": 1,
182   - "size": 1
183   - },
184   - "std:u1": {
185   - "align": 1,
186   - "size": 1
187   - },
188   - "system@emmoco.com.System/ParameterGroup": {
189   - "values": [
190   - "GROUP_A",
191   - "GROUP_B"
192   - ],
193   - "align": 1,
194   - "pack": 1,
195   - "type": "E:system@emmoco.com.System/ParameterGroup",
196   - "size": 1
197   - },
198   - "std:u2": {
199   - "align": 2,
200   - "size": 2
201   - }
202   - },
203   - "imports": {"@emmoco.com.FirstApp": true}
204   -}
205 0 \ No newline at end of file
FirstApp-MSP-EXP430G2/FirstApp-Prog.c deleted
1   -#include "FirstApp.h"
2   -#include "Hal.h"
3   -
4   -static FirstApp_data_t dataVal = -40;
5   -
6   -void main() {
7   - Hal_init();
8   - FirstApp_start();
9   - Hal_idleLoop();
10   -}
11   -
12   -/* -------- SCHEMA CALLBACKS -------- */
13   -
14   -void FirstApp_connectHandler(void) {
15   - Hal_connected();
16   -}
17   -
18   -void FirstApp_disconnectHandler(void) {
19   - Hal_disconnected();
20   -}
21   -
22   -void FirstApp_data_fetch(FirstApp_data_t* output) {
23   - *output = dataVal;
24   -}
25   -
26   -void FirstApp_data_store(FirstApp_data_t* input) {
27   - dataVal = *input;
28   -}
FirstApp-MSP-EXP430G2/FirstApp.ems deleted
1   -version = "1.0.0";
2   -description = "My first app";
3   -
4   -schema FirstApp {
5   -
6   - int16 data;
7   -
8   -};
FirstApp-MSP-EXP430G2/Output/FirstApp-Prog.hex deleted
1   -:10C000005542200135D0085A82455A023140000479
2   -:10C010003F4004000F93082492425A0220012F83CC
3   -:10C020009F4FBCC60002F8233F4056000F930724E1
4   -:10C0300092425A0220011F83CF430402F923B01217
5   -:10C0400050C3B012A8C0B01220C432D0F000FD3FDF
6   -:10C05000304074C6B01242C33041B01248C33041C0
7   -:10C060009F42000200003041A24F00023041B01256
8   -:10C070006AC48243080282430C02C2430602C243DE
9   -:10C080000A02C2432502C2435602C2433402C243DB
10   -:10C090002402C243180282431402824316028243DE
11   -:10C0A0001002824312023041B0126EC0D243180215
12   -:10C0B0003041B012A8C03041B24039020E025F4296
13   -:10C0C0003A025F53C24F2502C2435602B012C0C4A7
14   -:10C0D00030410B12B01260C44B4F1E4210021F427F
15   -:10C0E00012020E9302200F9311240C4E0D4F1CF3DD
16   -:10C0F0000DF30C9310240C4E0D4F3CF0FEFF3DF35E
17   -:10C10000824C1002824D1202B012B8C04F4BB012D6
18   -:10C11000F2C43B4130410D93EE23F83F0B120A125B
19   -:10C1200009120812484FB01260C4494F1A42100257
20   -:10C130001B4212028293080224241E434F487FF0C0
21   -:10C140000F0018200C4E8E108E118E108E110D4E79
22   -:10C150000E4A0F4B0EDC0FDD824E1002824F120290
23   -:10C160004A434F49B012F2C44F4A384139413A412B
24   -:10C170003B4130410E5E7F53E5270E5E7F53FA232D
25   -:10C18000E13F0A93DA230B93D8235A43EA3FC29341
26   -:10C19000180201203041C2433902C24F3B026E52A5
27   -:10C1A000C24E3A024F43B0121CC14F93F327B01254
28   -:10C1B000B8C03041F290FBFF3C02042082431402DD
29   -:10C1C000824316024E436F42B0128EC130415F422D
30   -:10C1D0003C027F500B007F90090005284E436F43BF
31   -:10C1E000B0128EC130414F4F0F5F104F76C61C42C8
32   -:10C1F00004020C93F3273F403E020E430D4C0D5EAC
33   -:10C200006D4DCF4D00004D9340241E531F533E9063
34   -:10C210000900F4234E4E6F43B0128EC13041D24319
35   -:10C220003E02F24009003F026E436F43B0128EC1DE
36   -:10C2300030413F40A8C63E403E02FE4F00001E5324
37   -:10C240003F90BBC6FA23D2429EC651027E401400E4
38   -:10C250006F43B0128EC130413F40A0C63E403E0207
39   -:10C26000FE4F00001E533F90A8C6FA237E426F4344
40   -:10C27000B0128EC13041F2400D003E02C2433F0277
41   -:10C280006E436F43B0128EC130413E523E50360273
42   -:10C29000CE4300001E533E904702FA237E40090021
43   -:10C2A0006F43B0128EC13041D2933C0205244E43FD
44   -:10C2B0006F43B0128EC130413F403E02B01260C0A9
45   -:10C2C0006E436F43B0128EC13041D2933C020420C2
46   -:10C2D0003F403E02B01268C04E436F42B0128EC162
47   -:10C2E0003041C29318020424F2900B003B02012853
48   -:10C2F00030415F423B020F5F104F88C61F4252021F
49   -:10C300000F93F6278F123041E2431802B0125AC041
50   -:10C310003041F24003001802B01254C03041C293C1
51   -:10C320003C020938B012CAC23041C2933C020638FE
52   -:10C33000B012A8C23041B012B4C13041B012CEC167
53   -:10C340003041D2D321003041F2F0FEFF21003041D4
54   -:10C35000B240805A2001C24358005F42FF107F93D1
55   -:10C360000824C2435600D242FF105700D242FE10AA
56   -:10C370005600F2D080FF5700F24024005300F2D064
57   -:10C3800040002200F2F0BFFF2100D2D32200F2F0E1
58   -:10C39000FEFF2100F2D22A00F2F0F7FF2900F2D0CE
59   -:10C3A00010002A00F2F0EFFF2900F2D22900F2F08B
60   -:10C3B000F7FF2900B240200180011F4290013F5049
61   -:10C3C000B80B824F9401B24010008401D2D36100B7
62   -:10C3D000E2D32600E2D34100E2D22600E2D24100BD
63   -:10C3E000D2D32A00D2D32900F2F0FDFF2A00E2D3F3
64   -:10C3F0002C00F2F0FDFF2B00E2D32D00F2F0FEFF47
65   -:10C400002900F24081FF6100F2400C006400F2421A
66   -:10C410006200F2F0FEFF6100B240E2C22002304151
67   -:10C420000B120A12091232D232C2034319421A0203
68   -:10C4300082431A020993032032D0D800F53F32D24A
69   -:10C440003A401C021B430F4B0FF904242F4A0F9351
70   -:10C4500001248F120B5B2A533A902202F423E43F0B
71   -:10C460000F4232C203437FF230410D427DF232C2AD
72   -:10C470000343F2F0FEFF29003E4064003F404C01C0
73   -:10C480001F83FE23034303433E53F823D2D32900E3
74   -:10C490003E40F4013F404C011F83FE23034303430E
75   -:10C4A0003E53F823F2F0FEFF0300F2F0FDFF03001D
76   -:10C4B000F2F0FDFF2B00D2D301004F4D02DF3041DF
77   -:10C4C0001F420E021F53824F0802C243060282938C
78   -:10C4D0000C020324C243670030411F4290013F50C9
79   -:10C4E000B80B824F9401B24010008401C243670030
80   -:10C4F00030414F4F02DF30410F120E120E4232C256
81   -:10C50000034392D31A024F4E7FF24F4F02DFF2F0F5
82   -:10C51000F7FF2300F2D22500B1C0D00004003E4155
83   -:10C520003F4100130F120E125E42660082930C020E
84   -:10C530003324F2F0FEFF2900D2D32900C2930A026D
85   -:10C540000A204E930620B1C0D00004003E413F4176
86   -:10C550000013C24E0A021F420C02CF4E00001F53AE
87   -:10C56000824F0C025F420A027F53C24F0A02EB2342
88   -:10C5700082430C02829308021F240E4232C20343FC
89   -:10C58000A2D21A024F4E7FF24F4F02DFB1C0D0004D
90   -:10C5900004003E413F410013924202020C0282938A
91   -:10C5A0000802C7231F4290013F50B80B824F9401ED
92   -:10C5B000B24010008401BD3F82438401DE3F0F1270
93   -:10C5C0000E129252220292010E4232C20343A2D3B1
94   -:10C5D0001A024F4E7FF24F4F02DFB1C0D00004006D
95   -:10C5E0003E413F4100130F120E120D120C125F421A
96   -:10C5F0002B002FF317241F4208020F9310245E42D2
97   -:10C6000006024E9302206E4F5E537E53C24E0602C8
98   -:10C6100011246E4F1F53824F0802C24E6700F2F082
99   -:10C62000FDFF2B00B1C0D00008003C413D413E4120
100   -:10C630003F41001382430802C2432502B012D2C018
101   -:10C6400082930C02EC2382438401E93F0F120E1205
102   -:10C650000D120C121F421E012F93072082438401EA
103   -:10C66000B012B2C0B1C0D00008003C413D413E41D3
104   -:06C670003F41001300131E
105   -:10C67600EEC1DCC1DCC1DCC11EC232C2DCC158C2A3
106   -:10C6860076C2F0C22AC3F0C21EC3F0C2F0C212C301
107   -:10C6960008C3F0C2F0C2FCC20001B3ADF086470188
108   -:10C6A60000007CDE18C987F423C50EAA151154E0D4
109   -:06C6B600DCBD0D001100C7
110   -:04C6BC00D8FF3A0267
111   -:02C6C000000078
112   -:10FFE00050C050C0F8C4E6C550C050C050C024C571
113   -:10FFF00050C050C050C050C04CC6BEC550C000C05C
114   -:040000030000C00039
115   -:00000001FF
FirstApp-MSP-EXP430G2/Output/FirstApp-Prog.map deleted
1   -Archive member included because of file (symbol)
2   -
3   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o)
4   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o (_reset_vector__)
5   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
6   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o) (__watchdog_support)
7   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
8   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o) (__init_stack)
9   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__low_level_init.o)
10   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o) (__low_level_init)
11   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
12   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o) (__do_copy_data)
13   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
14   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o) (__do_clear_bss)
15   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__stop_progExec__.o)
16   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o) (__stop_progExec__)
17   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
18   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o) (_endless_loop__)
19   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
20   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o (_unexpected_)
21   -
22   -Allocating common symbols
23   -Common symbol size file
24   -
25   -Em_App_recvIdx 0x1 Output/FirstApp.obj
26   -Em_App_xmitSize 0x1 Output/FirstApp.obj
27   -Em_App_valp 0x2 Output/FirstApp.obj
28   -Em_App_ind_u 0xc Output/FirstApp.obj
29   -Em_App_recvSize 0x1 Output/FirstApp.obj
30   -Em_App_msg_u 0x1c Output/FirstApp.obj
31   -Em_App_pdHdlr 0x2 Output/FirstApp.obj
32   -Em_App_bufp 0x2 Output/FirstApp.obj
33   -Em_App_xmitIdx 0x1 Output/FirstApp.obj
34   -Em_App_desc 0x2 Output/FirstApp.obj
35   -
36   -Discarded input sections
37   -
38   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o
39   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o
40   - .text.crt0 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o
41   - .text 0x0000000000000000 0x0 Output/FirstApp-Prog.obj
42   - .data 0x0000000000000000 0x0 Output/FirstApp-Prog.obj
43   - .bss 0x0000000000000000 0x0 Output/FirstApp-Prog.obj
44   - .text 0x0000000000000000 0x0 Output/FirstApp.obj
45   - .data 0x0000000000000000 0x0 Output/FirstApp.obj
46   - .bss 0x0000000000000000 0x0 Output/FirstApp.obj
47   - .text.Em_App_marshallToBuf
48   - 0x0000000000000000 0xd4 Output/FirstApp.obj
49   - .text.Em_App_marshallToVal
50   - 0x0000000000000000 0x11a Output/FirstApp.obj
51   - .text.FirstApp_setDeviceName
52   - 0x0000000000000000 0x6 Output/FirstApp.obj
53   - .text.Em_App_startIndSend
54   - 0x0000000000000000 0x1a Output/FirstApp.obj
55   - .text.FirstApp_pairingOn
56   - 0x0000000000000000 0x24 Output/FirstApp.obj
57   - .text.FirstApp_pairingOff
58   - 0x0000000000000000 0xa Output/FirstApp.obj
59   - .text.FirstApp_disconnect
60   - 0x0000000000000000 0x26 Output/FirstApp.obj
61   - .text.FirstApp_broadcastOff
62   - 0x0000000000000000 0x1c Output/FirstApp.obj
63   - .text.FirstApp_activateParameters
64   - 0x0000000000000000 0x1e Output/FirstApp.obj
65   - .text.FirstApp_accept
66   - 0x0000000000000000 0x20 Output/FirstApp.obj
67   - .text.Em_App_sendIndicator
68   - 0x0000000000000000 0x2 Output/FirstApp.obj
69   - .text 0x0000000000000000 0x0 Output/Hal.obj
70   - .data 0x0000000000000000 0x0 Output/Hal.obj
71   - .bss 0x0000000000000000 0x0 Output/Hal.obj
72   - .text.buttonHandler
73   - 0x0000000000000000 0x28 Output/Hal.obj
74   - .text.Hal_buttonEnable
75   - 0x0000000000000000 0x3c Output/Hal.obj
76   - .text.Hal_debugOn
77   - 0x0000000000000000 0x18 Output/Hal.obj
78   - .text.Hal_debugOff
79   - 0x0000000000000000 0x1a Output/Hal.obj
80   - .text.Hal_debugPulse
81   - 0x0000000000000000 0x24 Output/Hal.obj
82   - .text.Hal_delay
83   - 0x0000000000000000 0x16 Output/Hal.obj
84   - .text.Hal_ledOn
85   - 0x0000000000000000 0x8 Output/Hal.obj
86   - .text.Hal_ledOff
87   - 0x0000000000000000 0x8 Output/Hal.obj
88   - .text.Hal_ledRead
89   - 0x0000000000000000 0x12 Output/Hal.obj
90   - .text.Hal_ledToggle
91   - 0x0000000000000000 0x8 Output/Hal.obj
92   - .text.Hal_tickStart
93   - 0x0000000000000000 0x24 Output/Hal.obj
94   - .text.Em_Hal_watchOff
95   - 0x0000000000000000 0x6 Output/Hal.obj
96   - .text.Em_Hal_watchOn
97   - 0x0000000000000000 0x14 Output/Hal.obj
98   - .bss.appButtonHandler
99   - 0x0000000000000000 0x2 Output/Hal.obj
100   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o)
101   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o)
102   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o)
103   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
104   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
105   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
106   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
107   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
108   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
109   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__low_level_init.o)
110   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__low_level_init.o)
111   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__low_level_init.o)
112   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
113   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
114   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
115   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
116   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
117   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
118   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__stop_progExec__.o)
119   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__stop_progExec__.o)
120   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__stop_progExec__.o)
121   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
122   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
123   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
124   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
125   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
126   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
127   -
128   -Memory Configuration
129   -
130   -Name Origin Length Attributes
131   -sfr 0x0000000000000000 0x0000000000000010
132   -peripheral_8bit 0x0000000000000010 0x00000000000000f0
133   -peripheral_16bit 0x0000000000000100 0x0000000000000100
134   -ram 0x0000000000000200 0x0000000000000200 xw
135   -infomem 0x0000000000001000 0x0000000000000100
136   -infod 0x0000000000001000 0x0000000000000040
137   -infoc 0x0000000000001040 0x0000000000000040
138   -infob 0x0000000000001080 0x0000000000000040
139   -infoa 0x00000000000010c0 0x0000000000000040
140   -rom 0x000000000000c000 0x0000000000003fe0 xr
141   -vectors 0x000000000000ffe0 0x0000000000000020
142   -bsl 0x0000000000000000 0x0000000000000000
143   -far_rom 0x0000000000000000 0x0000000000000000
144   -*default* 0x0000000000000000 0xffffffffffffffff
145   -
146   -Linker script and memory map
147   -
148   -LOAD /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o
149   -LOAD Output/FirstApp-Prog.obj
150   -LOAD Output/FirstApp.obj
151   -LOAD Output/Hal.obj
152   -LOAD /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libgcc.a
153   -LOAD /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a
154   -LOAD /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libgcc.a
155   -LOAD /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a
156   - 0x0000000000000040 PROVIDE (__info_segment_size, 0x40)
157   - 0x0000000000001000 PROVIDE (__infod, 0x1000)
158   - 0x0000000000001040 PROVIDE (__infoc, 0x1040)
159   - 0x0000000000001080 PROVIDE (__infob, 0x1080)
160   - 0x00000000000010c0 PROVIDE (__infoa, 0x10c0)
161   - 0x0000000000000000 __IE1 = 0x0
162   - 0x0000000000000002 __IFG1 = 0x2
163   - 0x0000000000000001 __IE2 = 0x1
164   - 0x0000000000000003 __IFG2 = 0x3
165   - 0x0000000000000048 __ADC10DTC0 = 0x48
166   - 0x0000000000000049 __ADC10DTC1 = 0x49
167   - 0x000000000000004a __ADC10AE0 = 0x4a
168   - 0x00000000000001b0 __ADC10CTL0 = 0x1b0
169   - 0x00000000000001b2 __ADC10CTL1 = 0x1b2
170   - 0x00000000000001b4 __ADC10MEM = 0x1b4
171   - 0x00000000000001bc __ADC10SA = 0x1bc
172   - 0x0000000000000056 __DCOCTL = 0x56
173   - 0x0000000000000057 __BCSCTL1 = 0x57
174   - 0x0000000000000058 __BCSCTL2 = 0x58
175   - 0x0000000000000053 __BCSCTL3 = 0x53
176   - 0x0000000000000059 __CACTL1 = 0x59
177   - 0x000000000000005a __CACTL2 = 0x5a
178   - 0x000000000000005b __CAPD = 0x5b
179   - 0x0000000000000128 __FCTL1 = 0x128
180   - 0x000000000000012a __FCTL2 = 0x12a
181   - 0x000000000000012c __FCTL3 = 0x12c
182   - 0x0000000000000020 __P1IN = 0x20
183   - 0x0000000000000021 __P1OUT = 0x21
184   - 0x0000000000000022 __P1DIR = 0x22
185   - 0x0000000000000023 __P1IFG = 0x23
186   - 0x0000000000000024 __P1IES = 0x24
187   - 0x0000000000000025 __P1IE = 0x25
188   - 0x0000000000000026 __P1SEL = 0x26
189   - 0x0000000000000041 __P1SEL2 = 0x41
190   - 0x0000000000000027 __P1REN = 0x27
191   - 0x0000000000000028 __P2IN = 0x28
192   - 0x0000000000000029 __P2OUT = 0x29
193   - 0x000000000000002a __P2DIR = 0x2a
194   - 0x000000000000002b __P2IFG = 0x2b
195   - 0x000000000000002c __P2IES = 0x2c
196   - 0x000000000000002d __P2IE = 0x2d
197   - 0x000000000000002e __P2SEL = 0x2e
198   - 0x0000000000000042 __P2SEL2 = 0x42
199   - 0x000000000000002f __P2REN = 0x2f
200   - 0x0000000000000018 __P3IN = 0x18
201   - 0x0000000000000019 __P3OUT = 0x19
202   - 0x000000000000001a __P3DIR = 0x1a
203   - 0x000000000000001b __P3SEL = 0x1b
204   - 0x0000000000000043 __P3SEL2 = 0x43
205   - 0x0000000000000010 __P3REN = 0x10
206   - 0x000000000000012e __TA0IV = 0x12e
207   - 0x0000000000000160 __TA0CTL = 0x160
208   - 0x0000000000000162 __TA0CCTL0 = 0x162
209   - 0x0000000000000164 __TA0CCTL1 = 0x164
210   - 0x0000000000000166 __TA0CCTL2 = 0x166
211   - 0x0000000000000170 __TA0R = 0x170
212   - 0x0000000000000172 __TA0CCR0 = 0x172
213   - 0x0000000000000174 __TA0CCR1 = 0x174
214   - 0x0000000000000176 __TA0CCR2 = 0x176
215   - 0x000000000000011e __TA1IV = 0x11e
216   - 0x0000000000000180 __TA1CTL = 0x180
217   - 0x0000000000000182 __TA1CCTL0 = 0x182
218   - 0x0000000000000184 __TA1CCTL1 = 0x184
219   - 0x0000000000000186 __TA1CCTL2 = 0x186
220   - 0x0000000000000190 __TA1R = 0x190
221   - 0x0000000000000192 __TA1CCR0 = 0x192
222   - 0x0000000000000194 __TA1CCR1 = 0x194
223   - 0x0000000000000196 __TA1CCR2 = 0x196
224   - 0x0000000000000060 __UCA0CTL0 = 0x60
225   - 0x0000000000000061 __UCA0CTL1 = 0x61
226   - 0x0000000000000062 __UCA0BR0 = 0x62
227   - 0x0000000000000063 __UCA0BR1 = 0x63
228   - 0x0000000000000064 __UCA0MCTL = 0x64
229   - 0x0000000000000065 __UCA0STAT = 0x65
230   - 0x0000000000000066 __UCA0RXBUF = 0x66
231   - 0x0000000000000067 __UCA0TXBUF = 0x67
232   - 0x000000000000005d __UCA0ABCTL = 0x5d
233   - 0x000000000000005e __UCA0IRTCTL = 0x5e
234   - 0x000000000000005f __UCA0IRRCTL = 0x5f
235   - 0x0000000000000068 __UCB0CTL0 = 0x68
236   - 0x0000000000000069 __UCB0CTL1 = 0x69
237   - 0x000000000000006a __UCB0BR0 = 0x6a
238   - 0x000000000000006b __UCB0BR1 = 0x6b
239   - 0x000000000000006c __UCB0I2CIE = 0x6c
240   - 0x000000000000006d __UCB0STAT = 0x6d
241   - 0x000000000000006e __UCB0RXBUF = 0x6e
242   - 0x000000000000006f __UCB0TXBUF = 0x6f
243   - 0x0000000000000118 __UCB0I2COA = 0x118
244   - 0x000000000000011a __UCB0I2CSA = 0x11a
245   - 0x0000000000000120 __WDTCTL = 0x120
246   - 0x00000000000010f8 __CALDCO_16MHZ = 0x10f8
247   - 0x00000000000010f9 __CALBC1_16MHZ = 0x10f9
248   - 0x00000000000010fa __CALDCO_12MHZ = 0x10fa
249   - 0x00000000000010fb __CALBC1_12MHZ = 0x10fb
250   - 0x00000000000010fc __CALDCO_8MHZ = 0x10fc
251   - 0x00000000000010fd __CALBC1_8MHZ = 0x10fd
252   - 0x00000000000010fe __CALDCO_1MHZ = 0x10fe
253   - 0x00000000000010ff __CALBC1_1MHZ = 0x10ff
254   -
255   -.hash
256   - *(.hash)
257   -
258   -.dynsym
259   - *(.dynsym)
260   -
261   -.dynstr
262   - *(.dynstr)
263   -
264   -.gnu.version
265   - *(.gnu.version)
266   -
267   -.gnu.version_d
268   - *(.gnu.version_d)
269   -
270   -.gnu.version_r
271   - *(.gnu.version_r)
272   -
273   -.rel.init
274   - *(.rel.init)
275   -
276   -.rela.init
277   - *(.rela.init)
278   -
279   -.rel.fini
280   - *(.rel.fini)
281   -
282   -.rela.fini
283   - *(.rela.fini)
284   -
285   -.rel.text
286   - *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*)
287   -
288   -.rela.text
289   - *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*)
290   -
291   -.rel.rodata
292   - *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*)
293   -
294   -.rela.rodata
295   - *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*)
296   -
297   -.rel.data
298   - *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*)
299   -
300   -.rela.data
301   - *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*)
302   -
303   -.rel.bss
304   - *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*)
305   -
306   -.rela.bss
307   - *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*)
308   -
309   -.rel.ctors
310   - *(.rel.ctors)
311   -
312   -.rela.ctors
313   - *(.rela.ctors)
314   -
315   -.rel.dtors
316   - *(.rel.dtors)
317   -
318   -.rela.dtors
319   - *(.rela.dtors)
320   -
321   -.rel.got
322   - *(.rel.got)
323   -
324   -.rela.got
325   - *(.rela.got)
326   -
327   -.rel.plt
328   - *(.rel.plt)
329   -
330   -.rela.plt
331   - *(.rela.plt)
332   -
333   -.text 0x000000000000c000 0x676
334   - 0x000000000000c000 . = ALIGN (0x2)
335   - *(.init .init.*)
336   - *(.init0)
337   - .init0 0x000000000000c000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o)
338   - 0x000000000000c000 _reset_vector__
339   - *(.init1)
340   - .init1 0x000000000000c000 0xc /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
341   - 0x000000000000c000 __watchdog_support
342   - *(.init2)
343   - .init2 0x000000000000c00c 0x4 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
344   - 0x000000000000c00c __init_stack
345   - *(.init3)
346   - .init3 0x000000000000c010 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__low_level_init.o)
347   - 0x000000000000c010 __low_level_init
348   - *(.init4)
349   - .init4 0x000000000000c010 0x18 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
350   - 0x000000000000c010 __do_copy_data
351   - .init4 0x000000000000c028 0x16 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
352   - 0x000000000000c028 __do_clear_bss
353   - *(.init5)
354   - *(.init6)
355   - *(.init7)
356   - *(.init8)
357   - *(.init9)
358   - .init9 0x000000000000c03e 0xc Output/FirstApp-Prog.obj
359   - 0x000000000000c03e main
360   - *(.fini9)
361   - .fini9 0x000000000000c04a 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__stop_progExec__.o)
362   - 0x000000000000c04a __stop_progExec__
363   - *(.fini8)
364   - *(.fini7)
365   - *(.fini6)
366   - *(.fini5)
367   - *(.fini4)
368   - *(.fini3)
369   - *(.fini2)
370   - *(.fini1)
371   - *(.fini0)
372   - .fini0 0x000000000000c04a 0x6 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
373   - 0x000000000000c04a _endless_loop__
374   - *(.fini .fini.*)
375   - 0x000000000000c050 . = ALIGN (0x2)
376   - 0x000000000000c050 __ctors_start = .
377   - *(.ctors)
378   - 0x000000000000c050 __ctors_end = .
379   - 0x000000000000c050 __dtors_start = .
380   - *(.dtors)
381   - 0x000000000000c050 __dtors_end = .
382   - 0x000000000000c050 . = ALIGN (0x2)
383   - *(.text .text.* .gnu.linkonce.t.*)
384   - .text 0x000000000000c050 0x4 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o
385   - 0x000000000000c050 __isr_1
386   - 0x000000000000c050 __isr_4
387   - 0x000000000000c050 __isr_11
388   - 0x000000000000c050 __isr_5
389   - 0x000000000000c050 __isr_10
390   - 0x000000000000c050 __isr_0
391   - 0x000000000000c050 __isr_8
392   - 0x000000000000c050 __isr_9
393   - 0x000000000000c050 __isr_6
394   - 0x000000000000c050 __isr_14
395   - .text.FirstApp_connectHandler
396   - 0x000000000000c054 0x6 Output/FirstApp-Prog.obj
397   - 0x000000000000c054 FirstApp_connectHandler
398   - .text.FirstApp_disconnectHandler
399   - 0x000000000000c05a 0x6 Output/FirstApp-Prog.obj
400   - 0x000000000000c05a FirstApp_disconnectHandler
401   - .text.FirstApp_data_fetch
402   - 0x000000000000c060 0x8 Output/FirstApp-Prog.obj
403   - 0x000000000000c060 FirstApp_data_fetch
404   - .text.FirstApp_data_store
405   - 0x000000000000c068 0x6 Output/FirstApp-Prog.obj
406   - 0x000000000000c068 FirstApp_data_store
407   - .text.FirstApp_reset
408   - 0x000000000000c06e 0x3a Output/FirstApp.obj
409   - 0x000000000000c06e FirstApp_reset
410   - .text.FirstApp_start
411   - 0x000000000000c0a8 0xa Output/FirstApp.obj
412   - 0x000000000000c0a8 FirstApp_start
413   - .text.Em_Message_restart
414   - 0x000000000000c0b2 0x6 Output/FirstApp.obj
415   - 0x000000000000c0b2 Em_Message_restart
416   - .text.Em_App_startResSend
417   - 0x000000000000c0b8 0x1a Output/FirstApp.obj
418   - 0x000000000000c0b8 Em_App_startResSend
419   - .text.Em_Message_nextXmit
420   - 0x000000000000c0d2 0x4a Output/FirstApp.obj
421   - 0x000000000000c0d2 Em_Message_nextXmit
422   - .text.Em_App_xmitReady
423   - 0x000000000000c11c 0x72 Output/FirstApp.obj
424   - 0x000000000000c11c Em_App_xmitReady
425   - .text.Em_App_sendResponse
426   - 0x000000000000c18e 0x26 Output/FirstApp.obj
427   - 0x000000000000c18e Em_App_sendResponse
428   - .text.Em_App_sysStoreDispatch
429   - 0x000000000000c1b4 0x1a Output/FirstApp.obj
430   - 0x000000000000c1b4 Em_App_sysStoreDispatch
431   - .text.Em_App_sysFetchDispatch
432   - 0x000000000000c1ce 0xda Output/FirstApp.obj
433   - 0x000000000000c1ce Em_App_sysFetchDispatch
434   - .text.Em_App_fetchDispatch
435   - 0x000000000000c2a8 0x22 Output/FirstApp.obj
436   - 0x000000000000c2a8 Em_App_fetchDispatch
437   - .text.Em_App_storeDispatch
438   - 0x000000000000c2ca 0x18 Output/FirstApp.obj
439   - 0x000000000000c2ca Em_App_storeDispatch
440   - .text.Em_Message_dispatch
441   - 0x000000000000c2e2 0x60 Output/FirstApp.obj
442   - 0x000000000000c2e2 Em_Message_dispatch
443   - .text.Hal_connected
444   - 0x000000000000c342 0x6 Output/Hal.obj
445   - 0x000000000000c342 Hal_connected
446   - .text.Hal_disconnected
447   - 0x000000000000c348 0x8 Output/Hal.obj
448   - 0x000000000000c348 Hal_disconnected
449   - .text.Hal_init
450   - 0x000000000000c350 0xd0 Output/Hal.obj
451   - 0x000000000000c350 Hal_init
452   - .text.Hal_idleLoop
453   - 0x000000000000c420 0x40 Output/Hal.obj
454   - 0x000000000000c420 Hal_idleLoop
455   - .text.Em_Hal_lock
456   - 0x000000000000c460 0xa Output/Hal.obj
457   - 0x000000000000c460 Em_Hal_lock
458   - .text.Em_Hal_reset
459   - 0x000000000000c46a 0x56 Output/Hal.obj
460   - 0x000000000000c46a Em_Hal_reset
461   - .text.Em_Hal_startSend
462   - 0x000000000000c4c0 0x32 Output/Hal.obj
463   - 0x000000000000c4c0 Em_Hal_startSend
464   - .text.Em_Hal_unlock
465   - 0x000000000000c4f2 0x6 Output/Hal.obj
466   - 0x000000000000c4f2 Em_Hal_unlock
467   - .text.buttonIsr
468   - 0x000000000000c4f8 0x2c Output/Hal.obj
469   - 0x000000000000c4f8 __isr_2
470   - 0x000000000000c4f8 buttonIsr
471   - .text.rxIsr 0x000000000000c524 0x9a Output/Hal.obj
472   - 0x000000000000c524 rxIsr
473   - 0x000000000000c524 __isr_7
474   - .text.timerIsr
475   - 0x000000000000c5be 0x28 Output/Hal.obj
476   - 0x000000000000c5be timerIsr
477   - 0x000000000000c5be __isr_13
478   - .text.txAckIsr
479   - 0x000000000000c5e6 0x66 Output/Hal.obj
480   - 0x000000000000c5e6 txAckIsr
481   - 0x000000000000c5e6 __isr_3
482   - .text.uartWatchdogIsr
483   - 0x000000000000c64c 0x28 Output/Hal.obj
484   - 0x000000000000c64c uartWatchdogIsr
485   - 0x000000000000c64c __isr_12
486   - .text.crt0 0x000000000000c674 0x2 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
487   - 0x000000000000c674 _unexpected_
488   - 0x000000000000c676 . = ALIGN (0x2)
489   -
490   -.rodata 0x000000000000c676 0x46
491   - 0x000000000000c676 . = ALIGN (0x2)
492   - *(.rodata .rodata.* .gnu.linkonce.r.*)
493   - .rodata.Em_App_sysFetchDispatch
494   - 0x000000000000c676 0x12 Output/FirstApp.obj
495   - .rodata.Em_Message_dispatch
496   - 0x000000000000c688 0x16 Output/FirstApp.obj
497   - .rodata.Em_App_endian
498   - 0x000000000000c69e 0x2 Output/FirstApp.obj
499   - 0x000000000000c69e Em_App_endian
500   - .rodata.Em_App_build
501   - 0x000000000000c6a0 0x8 Output/FirstApp.obj
502   - 0x000000000000c6a0 Em_App_build
503   - .rodata.Em_App_hash
504   - 0x000000000000c6a8 0x13 Output/FirstApp.obj
505   - 0x000000000000c6a8 Em_App_hash
506   - 0x000000000000c6bc . = ALIGN (0x2)
507   - *fill* 0x000000000000c6bb 0x1 00
508   - 0x000000000000c6bc _etext = .
509   -
510   -.data 0x0000000000000200 0x4 load address 0x000000000000c6bc
511   - 0x0000000000000200 . = ALIGN (0x2)
512   - 0x0000000000000200 PROVIDE (__data_start, .)
513   - *(.data .data.* .gnu.linkonce.d.*)
514   - .data.dataVal 0x0000000000000200 0x2 Output/FirstApp-Prog.obj
515   - .data.Em_App_inBuf
516   - 0x0000000000000202 0x2 Output/FirstApp.obj
517   - 0x0000000000000202 Em_App_inBuf
518   - 0x0000000000000204 . = ALIGN (0x2)
519   - 0x0000000000000204 _edata = .
520   - 0x000000000000c6bc PROVIDE (__data_load_start, LOADADDR (.data))
521   - 0x0000000000000004 PROVIDE (__data_size, SIZEOF (.data))
522   -
523   -.bss 0x0000000000000204 0x56 load address 0x000000000000c6c0
524   - 0x0000000000000204 PROVIDE (__bss_start, .)
525   - *(.bss .bss.*)
526   - .bss.Em_App_devName
527   - 0x0000000000000204 0x2 Output/FirstApp.obj
528   - 0x0000000000000204 Em_App_devName
529   - .bss._Em_Message_txCnt
530   - 0x0000000000000206 0x1 Output/FirstApp.obj
531   - 0x0000000000000206 _Em_Message_txCnt
532   - *fill* 0x0000000000000207 0x1 00
533   - .bss._Em_Message_txBuf
534   - 0x0000000000000208 0x2 Output/FirstApp.obj
535   - 0x0000000000000208 _Em_Message_txBuf
536   - .bss._Em_Message_rxCnt
537   - 0x000000000000020a 0x1 Output/FirstApp.obj
538   - 0x000000000000020a _Em_Message_rxCnt
539   - *fill* 0x000000000000020b 0x1 00
540   - .bss._Em_Message_rxBuf
541   - 0x000000000000020c 0x2 Output/FirstApp.obj
542   - 0x000000000000020c _Em_Message_rxBuf
543   - .bss.Em_App_outBuf
544   - 0x000000000000020e 0x2 Output/FirstApp.obj
545   - 0x000000000000020e Em_App_outBuf
546   - .bss.Em_App_xmitMask
547   - 0x0000000000000210 0x4 Output/FirstApp.obj
548   - 0x0000000000000210 Em_App_xmitMask
549   - .bss.Em_App_fileIndex
550   - 0x0000000000000214 0x4 Output/FirstApp.obj
551   - 0x0000000000000214 Em_App_fileIndex
552   - .bss.Em_App_state
553   - 0x0000000000000218 0x1 Output/FirstApp.obj
554   - 0x0000000000000218 Em_App_state
555   - *fill* 0x0000000000000219 0x1 00
556   - .bss.handlerEvents
557   - 0x000000000000021a 0x2 Output/Hal.obj
558   - .bss.handlerTab
559   - 0x000000000000021c 0x6 Output/Hal.obj
560   - .bss.clockTick
561   - 0x0000000000000222 0x2 Output/Hal.obj
562   - *(COMMON)
563   - COMMON 0x0000000000000224 0x36 Output/FirstApp.obj
564   - 0x0000000000000224 Em_App_recvIdx
565   - 0x0000000000000225 Em_App_xmitSize
566   - 0x0000000000000226 Em_App_valp
567   - 0x0000000000000228 Em_App_ind_u
568   - 0x0000000000000234 Em_App_recvSize
569   - 0x0000000000000236 Em_App_msg_u
570   - 0x0000000000000252 Em_App_pdHdlr
571   - 0x0000000000000254 Em_App_bufp
572   - 0x0000000000000256 Em_App_xmitIdx
573   - 0x0000000000000258 Em_App_desc
574   - 0x000000000000025a . = ALIGN (0x2)
575   - 0x000000000000025a PROVIDE (__bss_end, .)
576   - 0x0000000000000056 PROVIDE (__bss_size, SIZEOF (.bss))
577   -
578   -.noinit 0x000000000000025a 0x2 load address 0x000000000000c6c0
579   - 0x000000000000025a PROVIDE (__noinit_start, .)
580   - *(.noinit .noinit.*)
581   - .noinit.crt0 0x000000000000025a 0x2 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
582   - 0x000000000000025a __wdt_clear_value
583   - 0x000000000000025c . = ALIGN (0x2)
584   - 0x000000000000025c PROVIDE (__noinit_end, .)
585   - 0x000000000000025c . = ALIGN (0x2)
586   - 0x000000000000025c _end = .
587   -
588   -.infomem 0x0000000000001000 0x0
589   - *(.infomem)
590   - 0x0000000000001000 . = ALIGN (0x2)
591   - *(.infomem.*)
592   -
593   -.infomemnobits 0x0000000000001000 0x0
594   - *(.infomemnobits)
595   - 0x0000000000001000 . = ALIGN (0x2)
596   - *(.infomemnobits.*)
597   -
598   -.infoa
599   - *(.infoa .infoa.*)
600   -
601   -.infob
602   - *(.infob .infob.*)
603   -
604   -.infoc
605   - *(.infoc .infoc.*)
606   -
607   -.infod
608   - *(.infod .infod.*)
609   -
610   -.vectors 0x000000000000ffe0 0x20
611   - 0x000000000000ffe0 PROVIDE (__vectors_start, .)
612   - *(.vectors*)
613   - .vectors 0x000000000000ffe0 0x20 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o
614   - 0x000000000000ffe0 __ivtbl_16
615   - 0x0000000000010000 _vectors_end = .
616   -
617   -.fartext 0x0000000000000000 0x0
618   - 0x0000000000000000 . = ALIGN (0x2)
619   - *(.fartext)
620   - 0x0000000000000000 . = ALIGN (0x2)
621   - *(.fartext.*)
622   - 0x0000000000000000 _efartext = .
623   -
624   -.profiler
625   - *(.profiler)
626   -
627   -.stab
628   - *(.stab)
629   -
630   -.stabstr
631   - *(.stabstr)
632   -
633   -.stab.excl
634   - *(.stab.excl)
635   -
636   -.stab.exclstr
637   - *(.stab.exclstr)
638   -
639   -.stab.index
640   - *(.stab.index)
641   -
642   -.stab.indexstr
643   - *(.stab.indexstr)
644   -
645   -.comment
646   - *(.comment)
647   -
648   -.debug
649   - *(.debug)
650   -
651   -.line
652   - *(.line)
653   -
654   -.debug_srcinfo
655   - *(.debug_srcinfo)
656   -
657   -.debug_sfnames
658   - *(.debug_sfnames)
659   -
660   -.debug_aranges 0x0000000000000000 0x180
661   - *(.debug_aranges)
662   - .debug_aranges
663   - 0x0000000000000000 0x24 Output/FirstApp-Prog.obj
664   - .debug_aranges
665   - 0x0000000000000024 0x6c Output/FirstApp.obj
666   - .debug_aranges
667   - 0x0000000000000090 0x78 Output/Hal.obj
668   - .debug_aranges
669   - 0x0000000000000108 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
670   - .debug_aranges
671   - 0x000000000000011c 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
672   - .debug_aranges
673   - 0x0000000000000130 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
674   - .debug_aranges
675   - 0x0000000000000144 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
676   - .debug_aranges
677   - 0x0000000000000158 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
678   - .debug_aranges
679   - 0x000000000000016c 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
680   -
681   -.debug_pubnames
682   - *(.debug_pubnames)
683   -
684   -.debug_info 0x0000000000000000 0x1a82
685   - *(.debug_info)
686   - .debug_info 0x0000000000000000 0x1ce Output/FirstApp-Prog.obj
687   - .debug_info 0x00000000000001ce 0x8e2 Output/FirstApp.obj
688   - .debug_info 0x0000000000000ab0 0xc78 Output/Hal.obj
689   - .debug_info 0x0000000000001728 0x8f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
690   - .debug_info 0x00000000000017b7 0x8f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
691   - .debug_info 0x0000000000001846 0x8f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
692   - .debug_info 0x00000000000018d5 0x8f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
693   - .debug_info 0x0000000000001964 0x8f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
694   - .debug_info 0x00000000000019f3 0x8f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
695   - *(.gnu.linkonce.wi.*)
696   -
697   -.debug_abbrev 0x0000000000000000 0x6d2
698   - *(.debug_abbrev)
699   - .debug_abbrev 0x0000000000000000 0xb0 Output/FirstApp-Prog.obj
700   - .debug_abbrev 0x00000000000000b0 0x250 Output/FirstApp.obj
701   - .debug_abbrev 0x0000000000000300 0x35a Output/Hal.obj
702   - .debug_abbrev 0x000000000000065a 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
703   - .debug_abbrev 0x000000000000066e 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
704   - .debug_abbrev 0x0000000000000682 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
705   - .debug_abbrev 0x0000000000000696 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
706   - .debug_abbrev 0x00000000000006aa 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
707   - .debug_abbrev 0x00000000000006be 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
708   -
709   -.debug_line 0x0000000000000000 0xac7
710   - *(.debug_line)
711   - .debug_line 0x0000000000000000 0x120 Output/FirstApp-Prog.obj
712   - .debug_line 0x0000000000000120 0x34f Output/FirstApp.obj
713   - .debug_line 0x000000000000046f 0x3a9 Output/Hal.obj
714   - .debug_line 0x0000000000000818 0x72 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
715   - .debug_line 0x000000000000088a 0x70 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
716   - .debug_line 0x00000000000008fa 0x76 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
717   - .debug_line 0x0000000000000970 0x76 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
718   - .debug_line 0x00000000000009e6 0x71 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
719   - .debug_line 0x0000000000000a57 0x70 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
720   -
721   -.debug_frame 0x0000000000000000 0x35c
722   - *(.debug_frame)
723   - .debug_frame 0x0000000000000000 0x4e Output/FirstApp-Prog.obj
724   - .debug_frame 0x000000000000004e 0x16e Output/FirstApp.obj
725   - .debug_frame 0x00000000000001bc 0x1a0 Output/Hal.obj
726   -
727   -.debug_str 0x0000000000000000 0x8d7
728   - *(.debug_str)
729   - .debug_str 0x0000000000000000 0x194 Output/FirstApp-Prog.obj
730   - 0x1d0 (size before relaxing)
731   - .debug_str 0x0000000000000194 0x3dc Output/FirstApp.obj
732   - 0x521 (size before relaxing)
733   - .debug_str 0x0000000000000570 0x367 Output/Hal.obj
734   - 0x5a8 (size before relaxing)
735   -
736   -.debug_loc 0x0000000000000000 0x597
737   - *(.debug_loc)
738   - .debug_loc 0x0000000000000000 0x3b2 Output/FirstApp.obj
739   - .debug_loc 0x00000000000003b2 0x1e5 Output/Hal.obj
740   -
741   -.debug_macinfo
742   - *(.debug_macinfo)
743   -
744   -.debug_pubtypes
745   - *(.debug_pubtypes)
746   -
747   -.debug_ranges 0x0000000000000000 0x190
748   - *(.debug_ranges)
749   - .debug_ranges 0x0000000000000000 0x18 Output/FirstApp-Prog.obj
750   - .debug_ranges 0x0000000000000018 0x6c Output/FirstApp.obj
751   - .debug_ranges 0x0000000000000084 0x10c Output/Hal.obj
752   - 0x0000000000000400 PROVIDE (__stack, (ORIGIN (ram) + 0x200))
753   - 0x000000000000c6bc PROVIDE (__data_start_rom, _etext)
754   - 0x000000000000c6c0 PROVIDE (__data_end_rom, (_etext + SIZEOF (.data)))
755   -OUTPUT(Output/FirstApp-Prog.out elf32-msp430)
FirstApp-MSP-EXP430G2/Output/FirstApp-Prog.obj deleted
No preview for this file type
FirstApp-MSP-EXP430G2/Output/FirstApp-Prog.out deleted
No preview for this file type
FirstApp-MSP-EXP430G2/Output/FirstApp.obj deleted
No preview for this file type
FirstApp-MSP-EXP430G2/Output/Hal.obj deleted
No preview for this file type
FirstApp-MSP-EXP430G2/Schema-Imports/system@emmoco.com/System.ems deleted
1   -owner = "system@emmoco.com"
2   -
3   -schema System {
4   -
5   - // protocolLevel #13
6   -
7   - enum ParameterGroup {
8   - GROUP_A, GROUP_B
9   - }
10   -
11   - // protocolLevel #1
12   -
13   - uint8 $schemaUuid[16] { // protocolLevel #10 -- invisible to applications
14   - readonly
15   - }
16   -
17   - uint16 $mcmProtocolLevel {
18   - readonly
19   - }
20   -
21   - uint16 $eapProtocolLevel {
22   - readonly
23   - }
24   -
25   - uint8 $eapBuildDate[8] { // protocolLevel #5 -- rename from $eapBuildNumber
26   - readonly
27   - }
28   -
29   - // protocolLevel #2
30   -
31   - int16 $fileIndexReset {
32   - writeonly
33   - }
34   -
35   - // protocolLevel #5
36   -
37   - // protocolLevel #12 -- increase size to 20
38   -
39   - uint8 $schemaHash[20] {
40   - readonly
41   - }
42   -
43   - // protocolLevel #7
44   -
45   - struct ResourceCount {
46   - uint8 app
47   - uint8 sys
48   - }
49   -
50   - ResourceCount $resourceCount {
51   - readonly
52   - }
53   -
54   - // protocolLevel #9
55   -
56   - int8 $mobileRssi {
57   - readonly
58   - }
59   -
60   - // protocolLevel #11
61   -
62   - uint8 $mcmDisconnect {
63   - writeonly
64   - }
65   -
66   - // protocolLevel #13
67   -
68   - ParameterGroup $activeGroup {
69   - readwrite
70   - }
71   -
72   -}
FirstApp-MSP-EXP430G2/bundle.properties deleted
1   -# generated file - do not edit
2   -
3   -bundle.requires = com.emmoco.schema.translator
4   -com.emmoco.framework.Properties.applicationDirectory = Em
5   -com.emmoco.framework.Properties.schemaDestinationDirectory = Em
6   -com.emmoco.framework.Properties.serverAPIToken =
7   -com.emmoco.framework.Properties.align16 = 2
8   -com.emmoco.framework.Properties.align32 = 4
9   -com.emmoco.framework.Properties.schemaFile = /Users/imanol/devel/em-builder/FirstApp-MSP-EXP430G2/FirstApp.ems
10   -com.emmoco.framework.Properties.toolVersion = 13.4.1.201311121909
FirstApp-MSP-EXP430G2/makefile deleted
1   -APPNAME = FirstApp
2   -PLATFORM = ../Platform-MSP-EXP430G2
3   -
4   -include $(PLATFORM)/rules.mk