Commit 5f1bd2bc9018373cf09d9a54ed5dcd332136c546
1 parent
db44327d
Removing unnecessary folders
Showing
391 changed files
with
0 additions
and
150540 deletions
Too many changes to show.
To preserve performance only 47 of 391 files are displayed.
Blinker-MSP-EXP430G2/.project deleted
1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
2 | -<projectDescription> | ||
3 | - <name>Blinker-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> |
Blinker-MSP-EXP430G2/Blinker-Prog.c deleted
1 | -#include "Blinker.h" | ||
2 | -#include "Hal.h" | ||
3 | - | ||
4 | -static void tickHandler(void); | ||
5 | - | ||
6 | -static Blinker_cmd_t cmdVal = Blinker_START_CMD; | ||
7 | -static Blinker_count_t countVal = 0; | ||
8 | -static Blinker_delay_t delayVal = 1.2 * Blinker_delay_scale; | ||
9 | - | ||
10 | -#define FOREVER -1 | ||
11 | - | ||
12 | -static Blinker_count_t curCount = FOREVER; | ||
13 | -static Blinker_delay_t curTime = 0; | ||
14 | - | ||
15 | -void main() { | ||
16 | - Hal_init(); | ||
17 | - Hal_tickStart(Blinker_delay_step, tickHandler); | ||
18 | - Blinker_start(); | ||
19 | - Hal_idleLoop(); | ||
20 | -} | ||
21 | - | ||
22 | -static void tickHandler(void) { | ||
23 | - | ||
24 | - if (cmdVal == Blinker_STOP_CMD) { | ||
25 | - return; | ||
26 | - } | ||
27 | - | ||
28 | - if (curTime < delayVal) { | ||
29 | - curTime += Blinker_delay_step; | ||
30 | - return; | ||
31 | - } | ||
32 | - | ||
33 | - if (curCount == FOREVER || curCount-- > 0) { | ||
34 | - Hal_ledToggle(); | ||
35 | - } | ||
36 | - else { | ||
37 | - cmdVal = Blinker_STOP_CMD; | ||
38 | - Hal_ledOff(); | ||
39 | - } | ||
40 | - curTime = 0; | ||
41 | - Blinker_ledState_indicate(); | ||
42 | -} | ||
43 | - | ||
44 | -/* -------- SCHEMA CALLBACKS -------- */ | ||
45 | - | ||
46 | -void Blinker_connectHandler(void) { | ||
47 | - Hal_connected(); | ||
48 | -} | ||
49 | - | ||
50 | -void Blinker_disconnectHandler(void) { | ||
51 | - Hal_disconnected(); | ||
52 | -} | ||
53 | - | ||
54 | -void Blinker_cmd_store(Blinker_cmd_t* input) { | ||
55 | - cmdVal = *input; | ||
56 | - switch (cmdVal) { | ||
57 | - case Blinker_START_CMD: | ||
58 | - curCount = countVal > 0 ? countVal * 2 : FOREVER; | ||
59 | - curTime = 0; | ||
60 | - break; | ||
61 | - case Blinker_STOP_CMD: | ||
62 | - Hal_ledOff(); | ||
63 | - break; | ||
64 | - } | ||
65 | -} | ||
66 | - | ||
67 | -void Blinker_count_fetch(Blinker_count_t* output) { | ||
68 | - *output = countVal; | ||
69 | -} | ||
70 | - | ||
71 | -void Blinker_count_store(Blinker_count_t* input) { | ||
72 | - countVal = *input; | ||
73 | -} | ||
74 | - | ||
75 | -void Blinker_delay_fetch(Blinker_delay_t* output) { | ||
76 | - *output = delayVal; | ||
77 | -} | ||
78 | - | ||
79 | -void Blinker_delay_store(Blinker_delay_t* input) { | ||
80 | - delayVal = *input; | ||
81 | -} | ||
82 | - | ||
83 | -void Blinker_ledState_fetch(Blinker_ledState_t* output) { | ||
84 | - *output = Hal_ledRead() ? Blinker_LED_ON : Blinker_LED_OFF; | ||
85 | -} | ||
86 | - |
Blinker-MSP-EXP430G2/Blinker.ems deleted
1 | -version = "1.0.0"; | ||
2 | -description = "Blinker, the hello world program for mobile control"; | ||
3 | - | ||
4 | -schema Blinker { | ||
5 | - | ||
6 | - /* -------- resource cmd -------- */ | ||
7 | - | ||
8 | - enum Cmd { | ||
9 | - START_CMD, STOP_CMD | ||
10 | - }; | ||
11 | - | ||
12 | - Cmd cmd { | ||
13 | - writeonly | ||
14 | - }; | ||
15 | - | ||
16 | - /* -------- resource count -------- */ | ||
17 | - | ||
18 | - int16 count { | ||
19 | - readwrite | ||
20 | - }; | ||
21 | - | ||
22 | - /* -------- resource delay -------- */ | ||
23 | - | ||
24 | - num <0.5, 2.0, 0.100> delay { | ||
25 | - readwrite | ||
26 | - }; | ||
27 | - | ||
28 | - /* -------- resource ledState -------- */ | ||
29 | - | ||
30 | - enum LedState { | ||
31 | - LED_OFF, LED_ON | ||
32 | - }; | ||
33 | - | ||
34 | - LedState ledState { | ||
35 | - indicator | ||
36 | - }; | ||
37 | - | ||
38 | -}; |
Blinker-MSP-EXP430G2/Em/Blinker-STUBS.c deleted
1 | -/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.Blinker on 2014-07-30T13:03:35T ****/ | ||
2 | -/**** protocolLevel = 13, toolsVersion = 13.4.1.201311121909 ****/ | ||
3 | - | ||
4 | -#include "Blinker.h" | ||
5 | - | ||
6 | -#ifdef Blinker_STUBS_ /* enables optional inclusion of application stubs */ | ||
7 | - | ||
8 | -/* Copy the function skeletons below into your own application source file */ | ||
9 | - | ||
10 | -void Blinker_connectHandler(void) { | ||
11 | - /* TODO: application is now connected */ | ||
12 | -} | ||
13 | - | ||
14 | -void Blinker_disconnectHandler(void) { | ||
15 | - /* TODO: application is now disconnected */ | ||
16 | -} | ||
17 | - | ||
18 | -void Blinker_cmd_store(Blinker_cmd_t* input) { | ||
19 | - /* TODO: write resource 'cmd' from 'input' */ | ||
20 | -} | ||
21 | - | ||
22 | -void Blinker_count_fetch(Blinker_count_t* output) { | ||
23 | - /* TODO: read resource 'count' into 'output' */ | ||
24 | -} | ||
25 | - | ||
26 | -void Blinker_count_store(Blinker_count_t* input) { | ||
27 | - /* TODO: write resource 'count' from 'input' */ | ||
28 | -} | ||
29 | - | ||
30 | -void Blinker_delay_fetch(Blinker_delay_t* output) { | ||
31 | - /* TODO: read resource 'delay' into 'output' */ | ||
32 | -} | ||
33 | - | ||
34 | -void Blinker_delay_store(Blinker_delay_t* input) { | ||
35 | - /* TODO: write resource 'delay' from 'input' */ | ||
36 | -} | ||
37 | - | ||
38 | -void Blinker_ledState_fetch(Blinker_ledState_t* output) { | ||
39 | - /* TODO: read resource 'ledState' into 'output' */ | ||
40 | -} | ||
41 | - | ||
42 | -#endif /* application stubs */ |
Blinker-MSP-EXP430G2/Em/Blinker.c deleted
1 | -/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.Blinker on 2014-07-30T13:03:35T ****/ | ||
2 | -/**** protocolLevel = 13, toolsVersion = 13.4.1.201311121909 ****/ | ||
3 | - | ||
4 | -#include "Em_Message.h" | ||
5 | -#include "Blinker.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[] = {100, 133, 204, 118, 171, 105, 196, 176, 165, 61, 177, 160, 190, 191, 194, 241, 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[] = {71, 133, 240, 134, 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 Blinker_accept | ||
28 | -#define Em_App_ACTIVATEPARAMETERS Blinker_activateParameters | ||
29 | -#define Em_App_BROADCASTOFF Blinker_broadcastOff | ||
30 | -#define Em_App_DISCONNECT Blinker_disconnect | ||
31 | -#define Em_App_PAIRINGON Blinker_pairingOn | ||
32 | -#define Em_App_PAIRINGOFF Blinker_pairingOff | ||
33 | -#define Em_App_RESET Blinker_reset | ||
34 | -#define Em_App_SETDEVICENAME Blinker_setDeviceName | ||
35 | -#define Em_App_START Blinker_start | ||
36 | - | ||
37 | -#define Em_App_CONNECTHANDLER Blinker_connectHandler | ||
38 | -#define Em_App_DISCONNECTHANDLER Blinker_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 2: { | ||
399 | -#ifdef Em_16BIT | ||
400 | - Blinker_count_t val; | ||
401 | - Em_App_valp = (uint8_t*)&val; | ||
402 | - Em_App_bufp = Em_App_msg.data; | ||
403 | - Em_App_desc = "2"; | ||
404 | - Blinker_count_fetch(&val); | ||
405 | - Em_App_marshallToBuf(); | ||
406 | -#else | ||
407 | - Blinker_count_fetch((void*)Em_App_msg.data); | ||
408 | -#endif | ||
409 | - size = 2; | ||
410 | - break; | ||
411 | - } | ||
412 | - case 3: { | ||
413 | -#ifdef Em_16BIT | ||
414 | - Blinker_delay_t val; | ||
415 | - Em_App_valp = (uint8_t*)&val; | ||
416 | - Em_App_bufp = Em_App_msg.data; | ||
417 | - Em_App_desc = "2"; | ||
418 | - Blinker_delay_fetch(&val); | ||
419 | - Em_App_marshallToBuf(); | ||
420 | -#else | ||
421 | - Blinker_delay_fetch((void*)Em_App_msg.data); | ||
422 | -#endif | ||
423 | - size = 2; | ||
424 | - break; | ||
425 | - } | ||
426 | - case 4: { | ||
427 | -#ifdef Em_16BIT | ||
428 | - Blinker_ledState_t val; | ||
429 | - Em_App_valp = (uint8_t*)&val; | ||
430 | - Em_App_bufp = Em_App_msg.data; | ||
431 | - Em_App_desc = "1"; | ||
432 | - Blinker_ledState_fetch(&val); | ||
433 | - Em_App_marshallToBuf(); | ||
434 | -#else | ||
435 | - Blinker_ledState_fetch((void*)Em_App_msg.data); | ||
436 | -#endif | ||
437 | - size = 1; | ||
438 | - break; | ||
439 | - } | ||
440 | - } | ||
441 | - Em_App_sendResponse(Em_Message_FETCH_DONE, size); | ||
442 | -} | ||
443 | - | ||
444 | -void Em_App_storeDispatch(void) { | ||
445 | - switch (Em_App_msg.hdr.resId) { | ||
446 | - case 0: { | ||
447 | - break; | ||
448 | - } | ||
449 | - case 1: { | ||
450 | -#ifdef Em_16BIT | ||
451 | - Blinker_cmd_t val; | ||
452 | - Em_App_valp = (uint8_t*)&val; | ||
453 | - Em_App_bufp = Em_App_msg.data; | ||
454 | - Em_App_desc = "1"; | ||
455 | - Em_App_marshallToVal(); | ||
456 | - Blinker_cmd_store(&val); | ||
457 | -#else | ||
458 | - Blinker_cmd_store((void*)Em_App_msg.data); | ||
459 | -#endif | ||
460 | - break; | ||
461 | - } | ||
462 | - case 2: { | ||
463 | -#ifdef Em_16BIT | ||
464 | - Blinker_count_t val; | ||
465 | - Em_App_valp = (uint8_t*)&val; | ||
466 | - Em_App_bufp = Em_App_msg.data; | ||
467 | - Em_App_desc = "2"; | ||
468 | - Em_App_marshallToVal(); | ||
469 | - Blinker_count_store(&val); | ||
470 | -#else | ||
471 | - Blinker_count_store((void*)Em_App_msg.data); | ||
472 | -#endif | ||
473 | - break; | ||
474 | - } | ||
475 | - case 3: { | ||
476 | -#ifdef Em_16BIT | ||
477 | - Blinker_delay_t val; | ||
478 | - Em_App_valp = (uint8_t*)&val; | ||
479 | - Em_App_bufp = Em_App_msg.data; | ||
480 | - Em_App_desc = "2"; | ||
481 | - Em_App_marshallToVal(); | ||
482 | - Blinker_delay_store(&val); | ||
483 | -#else | ||
484 | - Blinker_delay_store((void*)Em_App_msg.data); | ||
485 | -#endif | ||
486 | - break; | ||
487 | - } | ||
488 | - } | ||
489 | - Em_App_sendResponse(Em_Message_STORE_DONE, 0); | ||
490 | -} | ||
491 | - | ||
492 | -void Em_App_sendIndicator(Em_Message_ResId indId) { | ||
493 | - Em_Message_Size resId = 0; | ||
494 | - Em_Message_Size size = 0; | ||
495 | - switch (indId) { | ||
496 | - case 1: { | ||
497 | -#ifdef Em_16BIT | ||
498 | - Blinker_ledState_t val; | ||
499 | - Em_App_valp = (uint8_t*)&val; | ||
500 | - Em_App_bufp = Em_App_ind.data; | ||
501 | - Em_App_desc = "1"; | ||
502 | - Blinker_ledState_fetch(&val); | ||
503 | - Em_App_marshallToBuf(); | ||
504 | -#else | ||
505 | - Blinker_ledState_fetch((Blinker_ledState_t*)&Em_App_ind.data); | ||
506 | -#endif | ||
507 | - resId = 4; | ||
508 | - size = 1; | ||
509 | - break; | ||
510 | - } | ||
511 | - } | ||
512 | - Em_App_ind.sot = 0; | ||
513 | - Em_App_ind.hdr.kind = Em_Message_INDICATOR; | ||
514 | - Em_App_ind.hdr.size = sizeof (Em_Message_Header) + size; | ||
515 | - Em_App_ind.hdr.resId = resId; | ||
516 | - Em_App_startIndSend(); | ||
517 | -} | ||
518 | - | ||
519 | -void Blinker_ledState_indicate(void) { | ||
520 | - if (Em_App_state == Em_App_CONNECTED && Em_App_xmitReady(1 + 1)) Em_App_sendIndicator(1); | ||
521 | -} | ||
522 | - | ||
523 | -#ifdef __cplusplus | ||
524 | -} | ||
525 | -#endif | ||
526 | - |
Blinker-MSP-EXP430G2/Em/Blinker.h deleted
1 | -/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.Blinker on 2014-07-30T13:03:35T ****/ | ||
2 | -/**** protocolLevel = 13, toolsVersion = 13.4.1.201311121909 ****/ | ||
3 | - | ||
4 | -#ifndef Blinker__H | ||
5 | -#define Blinker__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 Blinker_connectHandler(void); | ||
17 | -void Blinker_disconnectHandler(void); | ||
18 | - | ||
19 | -/* -------- resource types defined in the schema -------- */ | ||
20 | - | ||
21 | -/* enum Cmd */ | ||
22 | -typedef uint8_t Blinker_Cmd; | ||
23 | -#define Blinker_START_CMD 0 | ||
24 | -#define Blinker_STOP_CMD 1 | ||
25 | - | ||
26 | -/* enum LedState */ | ||
27 | -typedef uint8_t Blinker_LedState; | ||
28 | -#define Blinker_LED_OFF 0 | ||
29 | -#define Blinker_LED_ON 1 | ||
30 | - | ||
31 | -/* -------- resource callback functions implemented by the application -------- */ | ||
32 | - | ||
33 | -/* resource cmd */ | ||
34 | -typedef Blinker_Cmd Blinker_cmd_t; | ||
35 | -extern void Blinker_cmd_store(Blinker_cmd_t* input); | ||
36 | - | ||
37 | -/* resource count */ | ||
38 | -typedef int16_t Blinker_count_t; | ||
39 | -extern void Blinker_count_fetch(Blinker_count_t* output); | ||
40 | -extern void Blinker_count_store(Blinker_count_t* input); | ||
41 | - | ||
42 | -/* resource delay */ | ||
43 | -typedef uint16_t Blinker_delay_t; | ||
44 | -#define Blinker_delay_min 500 | ||
45 | -#define Blinker_delay_max 2000 | ||
46 | -#define Blinker_delay_step 100 | ||
47 | -#define Blinker_delay_scale 1000 | ||
48 | -extern void Blinker_delay_fetch(Blinker_delay_t* output); | ||
49 | -extern void Blinker_delay_store(Blinker_delay_t* input); | ||
50 | - | ||
51 | -/* resource ledState */ | ||
52 | -typedef Blinker_LedState Blinker_ledState_t; | ||
53 | -extern void Blinker_ledState_fetch(Blinker_ledState_t* output); | ||
54 | -extern void Blinker_ledState_indicate(void); /* called by the application */ | ||
55 | - | ||
56 | -/* -------- application functions implemented in Blinker.c -------- */ | ||
57 | - | ||
58 | -void Blinker_accept(bool enable); | ||
59 | -void Blinker_activateParameters(uint8_t group); | ||
60 | -void Blinker_broadcastOff(void); | ||
61 | -void Blinker_disconnect(void); | ||
62 | -void Blinker_pairingOn(uint8_t secs, void(*handler)(void)); | ||
63 | -void Blinker_pairingOff(void(*handler)(void)); | ||
64 | -void Blinker_reset(void); | ||
65 | -void Blinker_setDeviceName(const char* name); | ||
66 | -void Blinker_start(void); | ||
67 | - | ||
68 | -#ifdef __cplusplus | ||
69 | -} | ||
70 | -#endif | ||
71 | - | ||
72 | -#endif /* Blinker__H */ |
Blinker-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_*/ |
Blinker-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_*/ |
Blinker-MSP-EXP430G2/Em/blinker.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 | - "count": { | ||
12 | - "id": 2, | ||
13 | - "align": 2, | ||
14 | - "attributes": {"readwrite": true}, | ||
15 | - "type": "i2", | ||
16 | - "access": "rw", | ||
17 | - "size": 2 | ||
18 | - }, | ||
19 | - "$activeGroup": { | ||
20 | - "id": -10, | ||
21 | - "align": 1, | ||
22 | - "pack": 1, | ||
23 | - "attributes": {"readwrite": true}, | ||
24 | - "type": "E:system@emmoco.com.System/ParameterGroup", | ||
25 | - "access": "rw", | ||
26 | - "size": 1 | ||
27 | - }, | ||
28 | - "$mcmDisconnect": { | ||
29 | - "id": -9, | ||
30 | - "align": 1, | ||
31 | - "attributes": {"writeonly": true}, | ||
32 | - "type": "u1", | ||
33 | - "access": "w", | ||
34 | - "size": 1 | ||
35 | - }, | ||
36 | - "$eapBuildDate": { | ||
37 | - "dim": 8, | ||
38 | - "id": -4, | ||
39 | - "align": 1, | ||
40 | - "attributes": {"readonly": true}, | ||
41 | - "type": "A8:u1", | ||
42 | - "access": "r", | ||
43 | - "size": 8 | ||
44 | - }, | ||
45 | - "ledState": { | ||
46 | - "id": 4, | ||
47 | - "align": 1, | ||
48 | - "pack": 1, | ||
49 | - "attributes": {"indicator": true}, | ||
50 | - "type": "E:@emmoco.com.Blinker/LedState", | ||
51 | - "access": "ir", | ||
52 | - "size": 1 | ||
53 | - }, | ||
54 | - "$resourceCount": { | ||
55 | - "id": -7, | ||
56 | - "align": 1, | ||
57 | - "attributes": {"readonly": true}, | ||
58 | - "type": "S:system@emmoco.com.System/ResourceCount", | ||
59 | - "access": "r", | ||
60 | - "size": 2 | ||
61 | - }, | ||
62 | - "$schemaHash": { | ||
63 | - "dim": 20, | ||
64 | - "id": -6, | ||
65 | - "align": 1, | ||
66 | - "attributes": {"readonly": true}, | ||
67 | - "type": "A20:u1", | ||
68 | - "access": "r", | ||
69 | - "size": 20 | ||
70 | - }, | ||
71 | - "cmd": { | ||
72 | - "id": 1, | ||
73 | - "align": 1, | ||
74 | - "pack": 1, | ||
75 | - "attributes": {"writeonly": true}, | ||
76 | - "type": "E:@emmoco.com.Blinker/Cmd", | ||
77 | - "access": "w", | ||
78 | - "size": 1 | ||
79 | - }, | ||
80 | - "$mcmProtocolLevel": { | ||
81 | - "id": -2, | ||
82 | - "align": 2, | ||
83 | - "attributes": {"readonly": true}, | ||
84 | - "type": "u2", | ||
85 | - "access": "r", | ||
86 | - "size": 2 | ||
87 | - }, | ||
88 | - "$mobileRssi": { | ||
89 | - "id": -8, | ||
90 | - "align": 1, | ||
91 | - "attributes": {"readonly": true}, | ||
92 | - "type": "i1", | ||
93 | - "access": "r", | ||
94 | - "size": 1 | ||
95 | - }, | ||
96 | - "delay": { | ||
97 | - "id": 3, | ||
98 | - "align": 2, | ||
99 | - "pack": 4, | ||
100 | - "attributes": {"readwrite": true}, | ||
101 | - "type": "N:0.500000,2.000000,0.100000,3/u2/15", | ||
102 | - "access": "rw", | ||
103 | - "size": 2 | ||
104 | - }, | ||
105 | - "$fileIndexReset": { | ||
106 | - "id": -5, | ||
107 | - "align": 2, | ||
108 | - "attributes": {"writeonly": true}, | ||
109 | - "type": "i2", | ||
110 | - "access": "w", | ||
111 | - "size": 2 | ||
112 | - } | ||
113 | - }, | ||
114 | - "resourceNamesSys": [ | ||
115 | - "$activeGroup", | ||
116 | - "$eapBuildDate", | ||
117 | - "$eapProtocolLevel", | ||
118 | - "$fileIndexReset", | ||
119 | - "$mcmDisconnect", | ||
120 | - "$mcmProtocolLevel", | ||
121 | - "$mobileRssi", | ||
122 | - "$resourceCount", | ||
123 | - "$schemaHash" | ||
124 | - ], | ||
125 | - "manifest": { | ||
126 | - "protocolLevel": 13, | ||
127 | - "hash": [ | ||
128 | - 100, | ||
129 | - 133, | ||
130 | - 204, | ||
131 | - 118, | ||
132 | - 171, | ||
133 | - 105, | ||
134 | - 196, | ||
135 | - 176, | ||
136 | - 165, | ||
137 | - 61, | ||
138 | - 177, | ||
139 | - 160, | ||
140 | - 190, | ||
141 | - 191, | ||
142 | - 194, | ||
143 | - 241 | ||
144 | - ], | ||
145 | - "toolVersion": "13.4.1.201311121909", | ||
146 | - "name": "Blinker", | ||
147 | - "$$md5": "6485cc76ab69c4b0a53db1a0bebfc2f1", | ||
148 | - "build": [ | ||
149 | - 71, | ||
150 | - 133, | ||
151 | - 240, | ||
152 | - 134, | ||
153 | - 71, | ||
154 | - 1, | ||
155 | - 0, | ||
156 | - 0 | ||
157 | - ], | ||
158 | - "date": "2014-07-30T13:03:35T", | ||
159 | - "maxAlign": 2, | ||
160 | - "maxSize": 20, | ||
161 | - "version": "1.0.0" | ||
162 | - }, | ||
163 | - "resourceNames": [ | ||
164 | - "cmd", | ||
165 | - "count", | ||
166 | - "delay", | ||
167 | - "ledState", | ||
168 | - "$mcmProtocolLevel", | ||
169 | - "$eapProtocolLevel", | ||
170 | - "$eapBuildDate", | ||
171 | - "$fileIndexReset", | ||
172 | - "$schemaHash", | ||
173 | - "$resourceCount", | ||
174 | - "$mobileRssi", | ||
175 | - "$mcmDisconnect", | ||
176 | - "$activeGroup" | ||
177 | - ], | ||
178 | - "attributes": { | ||
179 | - "description": "Blinker, the hello world program for mobile control", | ||
180 | - "version": "1.0.0" | ||
181 | - }, | ||
182 | - "resourceNamesApp": [ | ||
183 | - "cmd", | ||
184 | - "count", | ||
185 | - "delay", | ||
186 | - "ledState" | ||
187 | - ], | ||
188 | - "types": { | ||
189 | - "@emmoco.com.Blinker/LedState": { | ||
190 | - "values": [ | ||
191 | - "LED_OFF", | ||
192 | - "LED_ON" | ||
193 | - ], | ||
194 | - "align": 1, | ||
195 | - "pack": 1, | ||
196 | - "type": "E:@emmoco.com.Blinker/LedState", | ||
197 | - "size": 1 | ||
198 | - }, | ||
199 | - "system@emmoco.com.System/ResourceCount": { | ||
200 | - "packed": false, | ||
201 | - "align": 1, | ||
202 | - "type": "S:system@emmoco.com.System/ResourceCount", | ||
203 | - "size": 2, | ||
204 | - "fields": [ | ||
205 | - { | ||
206 | - "pad": 0, | ||
207 | - "align": 1, | ||
208 | - "name": "app", | ||
209 | - "type": "u1", | ||
210 | - "size": 1 | ||
211 | - }, | ||
212 | - { | ||
213 | - "pad": 0, | ||
214 | - "align": 1, | ||
215 | - "name": "sys", | ||
216 | - "type": "u1", | ||
217 | - "size": 1 | ||
218 | - } | ||
219 | - ] | ||
220 | - }, | ||
221 | - "std:i2": { | ||
222 | - "align": 2, | ||
223 | - "size": 2 | ||
224 | - }, | ||
225 | - "std:i1": { | ||
226 | - "align": 1, | ||
227 | - "size": 1 | ||
228 | - }, | ||
229 | - "std:u1": { | ||
230 | - "align": 1, | ||
231 | - "size": 1 | ||
232 | - }, | ||
233 | - "system@emmoco.com.System/ParameterGroup": { | ||
234 | - "values": [ | ||
235 | - "GROUP_A", | ||
236 | - "GROUP_B" | ||
237 | - ], | ||
238 | - "align": 1, | ||
239 | - "pack": 1, | ||
240 | - "type": "E:system@emmoco.com.System/ParameterGroup", | ||
241 | - "size": 1 | ||
242 | - }, | ||
243 | - "@emmoco.com.Blinker/Cmd": { | ||
244 | - "values": [ | ||
245 | - "START_CMD", | ||
246 | - "STOP_CMD" | ||
247 | - ], | ||
248 | - "align": 1, | ||
249 | - "pack": 1, | ||
250 | - "type": "E:@emmoco.com.Blinker/Cmd", | ||
251 | - "size": 1 | ||
252 | - }, | ||
253 | - "std:u2": { | ||
254 | - "align": 2, | ||
255 | - "size": 2 | ||
256 | - } | ||
257 | - }, | ||
258 | - "imports": {"@emmoco.com.Blinker": true} | ||
259 | -} | ||
260 | \ No newline at end of file | 0 | \ No newline at end of file |
Blinker-MSP-EXP430G2/Output/Blinker-Prog.hex deleted
1 | -:10C000005542200135D0085A824562023140000471 | ||
2 | -:10C010003F4006000F9308249242620220012F83C2 | ||
3 | -:10C020009F4FA4C80002F8233F405C000F930724F1 | ||
4 | -:10C030009242620220011F83CF430602F923B0120D | ||
5 | -:10C04000F2C43E4060C03F406400B01224C6B0124B | ||
6 | -:10C0500046C1B012C2C532D0F000FD3F30405CC8CE | ||
7 | -:10C06000D293060215241F4208021F9200021128D3 | ||
8 | -:10C070001F4202023F9306240E4F3E53824E02029D | ||
9 | -:10C080001F930C38B0121CC682430802B012C8C4F9 | ||
10 | -:10C0900030413F506400824F08023041D2430602D3 | ||
11 | -:10C0A000B01202C6F13FB012E4C43041B012EAC48B | ||
12 | -:10C0B00030416F4FC24F06024F930A201F420A02BF | ||
13 | -:10C0C0001F930C380F5F824F0202824308023041F7 | ||
14 | -:10C0D0005F9301243041B01202C630413F43F33F29 | ||
15 | -:10C0E0009F420A0200003041A24F0A0230419F42A3 | ||
16 | -:10C0F000000200003041A24F000230410B120B4FF2 | ||
17 | -:10C10000B0120AC6CB4F00003B413041B01252C6BC | ||
18 | -:10C110008243100282431402C2430E02C24312023F | ||
19 | -:10C12000C2432D02C2435E02C2433C02C2432C0200 | ||
20 | -:10C13000C243200282431C0282431E028243180231 | ||
21 | -:10C1400082431A023041B0120CC1D2432002304166 | ||
22 | -:10C15000B01246C13041B240330216025F4234028F | ||
23 | -:10C160005F53C24F2D02C2435E02B012A8C63041D7 | ||
24 | -:10C17000B240410216025F4242025F53C24F2D029B | ||
25 | -:10C18000C2435E02B012A8C630410B120A12091255 | ||
26 | -:10C190000812484FB01248C6494F1A4218021B42B3 | ||
27 | -:10C1A0001A028293100224241E434F487FF00F008E | ||
28 | -:10C1B00018200C4E8E108E118E108E110D4E0E4AC0 | ||
29 | -:10C1C0000F4B0EDC0FDD824E1802824F1A024A43DB | ||
30 | -:10C1D0004F49B012DAC64F4A384139413A413B41E2 | ||
31 | -:10C1E00030410E5E7F53E5270E5E7F53FA23E13F19 | ||
32 | -:10C1F0000A93DA230B93D8235A43EA3FC2932002CF | ||
33 | -:10C2000001203041C2434102C24F43026E52C24E2E | ||
34 | -:10C2100042024F43B0128AC14F93F327B01270C14C | ||
35 | -:10C220003041F290FBFF4402042082431C0282430F | ||
36 | -:10C230001E024E436F42B012FCC130415F424402C5 | ||
37 | -:10C240007F500B007F90090005284E436F43B012CA | ||
38 | -:10C25000FCC130414F4F0F5F104F5EC81C420C02B3 | ||
39 | -:10C260000C93F3273F4046020E430D4C0D5E6D4D7F | ||
40 | -:10C27000CF4D00004D9340241E531F533E900900A4 | ||
41 | -:10C28000F4234E4E6F43B012FCC13041E2424602ED | ||
42 | -:10C29000F240090047026E436F43B012FCC13041C7 | ||
43 | -:10C2A0003F4090C83E404602FE4F00001E533F9064 | ||
44 | -:10C2B000A3C8FA23D24286C859027E4014006F43B5 | ||
45 | -:10C2C000B012FCC130413F4088C83E404602FE4F9C | ||
46 | -:10C2D00000001E533F9090C8FA237E426F43B01275 | ||
47 | -:10C2E000FCC13041F2400D004602C24347026E439A | ||
48 | -:10C2F0006F43B012FCC130413E523E503E02CE432D | ||
49 | -:10C3000000001E533E904F02FA237E4009006F4307 | ||
50 | -:10C31000B012FCC130415F4244027F9003001B24F5 | ||
51 | -:10C320006F9210246F9305244E436F43B012FCC1EB | ||
52 | -:10C3300030413F404602B012E0C06E436F43B0123E | ||
53 | -:10C34000FCC130413F404602B012FCC05E436F4327 | ||
54 | -:10C35000B012FCC130413F404602B012EEC06E4305 | ||
55 | -:10C360006F43B012FCC130415F4244026F931C2402 | ||
56 | -:10C370007F90030010245F9305244E436F42B01258 | ||
57 | -:10C38000FCC130413F404602B012B2C04E436F4242 | ||
58 | -:10C39000B012FCC130413F404602B012F6C04E43DD | ||
59 | -:10C3A0006F42B012FCC130413F404602B012E8C0BB | ||
60 | -:10C3B0004E436F42B012FCC13041C29320020424AC | ||
61 | -:10C3C000F2900B004302012830415F4243020F5FAD | ||
62 | -:10C3D000104F70C81F425A020F93F6278F12304138 | ||
63 | -:10C3E000E2432002B012ACC03041F2400300200210 | ||
64 | -:10C3F000B012A6C03041C29344020938B01268C3DB | ||
65 | -:10C400003041C29344020638B01216C33041B01214 | ||
66 | -:10C4100022C23041B0123CC230415F930E246E42C2 | ||
67 | -:10C420004F43C2433302F24005003502C24E34028C | ||
68 | -:10C43000C24F3602B01256C130413F403802B012EE | ||
69 | -:10C44000FCC07E4005006F42EC3F0B12B01248C6A4 | ||
70 | -:10C450004B4F1E4218021F421A020E9307200F93E1 | ||
71 | -:10C4600005204F4BB012DAC63B4130410C4E0D4F08 | ||
72 | -:10C470001CF30DF30C930C240C4E0D4F3CF0FEFFFF | ||
73 | -:10C480003DF3824C1802824D1A02B01270C1E93F8E | ||
74 | -:10C490000D93F2230C4E0D4F2CF30DF30C930D2442 | ||
75 | -:10C4A0000C4E0D4F3CF0FDFF3DF3824C1802824DC7 | ||
76 | -:10C4B0001A024F43B0121AC4D43F0D93F1234F4BCD | ||
77 | -:10C4C000B012DAC63B413041F29003002002012451 | ||
78 | -:10C4D00030416F43B0128AC14F93FA275F43B012C5 | ||
79 | -:10C4E0001AC43041D2D321003041F2F0FEFF2100C6 | ||
80 | -:10C4F0003041B240805A2001C24358005F42FF10D1 | ||
81 | -:10C500007F930824C2435600D242FF105700D24204 | ||
82 | -:10C51000FE105600F2D080FF5700F2402400530076 | ||
83 | -:10C52000F2D040002200F2F0BFFF2100D2D322005F | ||
84 | -:10C53000F2F0FEFF2100F2D22A00F2F0F7FF29000C | ||
85 | -:10C54000F2D010002A00F2F0EFFF2900F2D2290009 | ||
86 | -:10C55000F2F0F7FF2900B240200180011F42900154 | ||
87 | -:10C560003F50B80B824F9401B24010008401D2D3E7 | ||
88 | -:10C570006100E2D32600E2D34100E2D22600E2D2FB | ||
89 | -:10C580004100D2D32A00D2D32900F2F0FDFF2A00C5 | ||
90 | -:10C59000E2D32C00F2F0FDFF2B00E2D32D00F2F0ED | ||
91 | -:10C5A000FEFF2900F24081FF6100F2400C006400B0 | ||
92 | -:10C5B000F2426200F2F0FEFF6100B240BAC328020C | ||
93 | -:10C5C00030410B120A12091232D232C2034319420D | ||
94 | -:10C5D0002202824322020993032032D0D800F53F81 | ||
95 | -:10C5E00032D23A4024021B430F4B0FF904242F4A46 | ||
96 | -:10C5F0000F9301248F120B5B2A533A902A02F423E3 | ||
97 | -:10C60000E43FF2F0BFFF210030415E4221003EF0E6 | ||
98 | -:10C6100040005F430E9301204F433041F2E0400061 | ||
99 | -:10C6200021003041824E26020E4F0E5E0F5E0F5FDC | ||
100 | -:10C630000F5F824F2A021E4290010E5F824E9201CE | ||
101 | -:10C64000B2401000820130410F4232C203437FF2F8 | ||
102 | -:10C6500030410D427DF232C20343F2F0FEFF290069 | ||
103 | -:10C660003E4064003F404C011F83FE2303430343CD | ||
104 | -:10C670003E53F823D2D329003E40F4013F404C0101 | ||
105 | -:10C680001F83FE23034303433E53F823F2F0FEFFD0 | ||
106 | -:10C690000300F2F0FDFF0300F2F0FDFF2B00D2D308 | ||
107 | -:10C6A00001004F4D02DF30411F4216021F53824FDF | ||
108 | -:10C6B0001002C2430E02829314020324C243670095 | ||
109 | -:10C6C00030411F4290013F50B80B824F9401B2405D | ||
110 | -:10C6D00010008401C243670030414F4F02DF3041F8 | ||
111 | -:10C6E0000F120E120E4232C2034392D322024F4E59 | ||
112 | -:10C6F0007FF24F4F02DFF2F0F7FF2300F2D2250066 | ||
113 | -:10C70000B1C0D00004003E413F4100130F120E1291 | ||
114 | -:10C710005E426600829314023324F2F0FEFF290089 | ||
115 | -:10C72000D2D32900C29312020A204E930620B1C030 | ||
116 | -:10C73000D00004003E413F410013C24E12021F428E | ||
117 | -:10C740001402CF4E00001F53824F14025F421202A8 | ||
118 | -:10C750007F53C24F1202EB238243140282931002D2 | ||
119 | -:10C760001F240E4232C20343A2D222024F4E7FF256 | ||
120 | -:10C770004F4F02DFB1C0D00004003E413F410013E3 | ||
121 | -:10C7800092420402140282931002C7231F429001B6 | ||
122 | -:10C790003F50B80B824F9401B24010008401BD3F5E | ||
123 | -:10C7A00082438401DE3F0F120E1292522A0292013E | ||
124 | -:10C7B0000E4232C20343A2D322024F4E7FF24F4FAA | ||
125 | -:10C7C00002DFB1C0D00004003E413F4100130F1210 | ||
126 | -:10C7D0000E120D120C125F422B002FF317241F4272 | ||
127 | -:10C7E00010020F9310245E420E024E9302206E4FF1 | ||
128 | -:10C7F0005E537E53C24E0E0211246E4F1F53824F62 | ||
129 | -:10C800001002C24E6700F2F0FDFF2B00B1C0D00055 | ||
130 | -:10C8100008003C413D413E413F410013824310022C | ||
131 | -:10C82000C2432D02B0124AC482931402EC23824305 | ||
132 | -:10C830008401E93F0F120E120D120C121F421E014D | ||
133 | -:10C840002F93072082438401B01250C1B1C0D000A1 | ||
134 | -:0EC8500008003C413D413E413F4100130013B2 | ||
135 | -:10C85E005CC24AC24AC24AC28CC2A0C24AC2C6C244 | ||
136 | -:10C86E00E4C2C8C302C4C8C3F6C3C8C3C8C3EAC3BC | ||
137 | -:10C87E00E0C3C8C3C8C3D4C300014785F0864701CF | ||
138 | -:10C88E0000006485CC76AB69C4B0A53DB1A0BEBF37 | ||
139 | -:06C89E00C2F10D001100C3 | ||
140 | -:06C8A400B004FFFF420298 | ||
141 | -:02C8AA0000008C | ||
142 | -:10FFE0005CC05CC0E0C6CEC75CC05CC05CC00CC777 | ||
143 | -:10FFF0005CC05CC05CC05CC034C8A6C75CC000C04C | ||
144 | -:040000030000C00039 | ||
145 | -:00000001FF |
Blinker-MSP-EXP430G2/Output/Blinker-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/Blinker.obj | ||
26 | -Em_App_xmitSize 0x1 Output/Blinker.obj | ||
27 | -Em_App_valp 0x2 Output/Blinker.obj | ||
28 | -Em_App_ind_u 0xc Output/Blinker.obj | ||
29 | -Em_App_recvSize 0x1 Output/Blinker.obj | ||
30 | -Em_App_msg_u 0x1c Output/Blinker.obj | ||
31 | -Em_App_pdHdlr 0x2 Output/Blinker.obj | ||
32 | -Em_App_bufp 0x2 Output/Blinker.obj | ||
33 | -Em_App_xmitIdx 0x1 Output/Blinker.obj | ||
34 | -Em_App_desc 0x2 Output/Blinker.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/Blinker-Prog.obj | ||
42 | - .data 0x0000000000000000 0x0 Output/Blinker-Prog.obj | ||
43 | - .bss 0x0000000000000000 0x0 Output/Blinker-Prog.obj | ||
44 | - .text 0x0000000000000000 0x0 Output/Blinker.obj | ||
45 | - .data 0x0000000000000000 0x0 Output/Blinker.obj | ||
46 | - .bss 0x0000000000000000 0x0 Output/Blinker.obj | ||
47 | - .text.Em_App_marshallToBuf | ||
48 | - 0x0000000000000000 0xd4 Output/Blinker.obj | ||
49 | - .text.Em_App_marshallToVal | ||
50 | - 0x0000000000000000 0x11a Output/Blinker.obj | ||
51 | - .text.Blinker_setDeviceName | ||
52 | - 0x0000000000000000 0x6 Output/Blinker.obj | ||
53 | - .text.Blinker_pairingOn | ||
54 | - 0x0000000000000000 0x24 Output/Blinker.obj | ||
55 | - .text.Blinker_pairingOff | ||
56 | - 0x0000000000000000 0xa Output/Blinker.obj | ||
57 | - .text.Blinker_disconnect | ||
58 | - 0x0000000000000000 0x26 Output/Blinker.obj | ||
59 | - .text.Blinker_broadcastOff | ||
60 | - 0x0000000000000000 0x1c Output/Blinker.obj | ||
61 | - .text.Blinker_activateParameters | ||
62 | - 0x0000000000000000 0x1e Output/Blinker.obj | ||
63 | - .text.Blinker_accept | ||
64 | - 0x0000000000000000 0x20 Output/Blinker.obj | ||
65 | - .text 0x0000000000000000 0x0 Output/Hal.obj | ||
66 | - .data 0x0000000000000000 0x0 Output/Hal.obj | ||
67 | - .bss 0x0000000000000000 0x0 Output/Hal.obj | ||
68 | - .text.buttonHandler | ||
69 | - 0x0000000000000000 0x28 Output/Hal.obj | ||
70 | - .text.Hal_buttonEnable | ||
71 | - 0x0000000000000000 0x3c Output/Hal.obj | ||
72 | - .text.Hal_debugOn | ||
73 | - 0x0000000000000000 0x18 Output/Hal.obj | ||
74 | - .text.Hal_debugOff | ||
75 | - 0x0000000000000000 0x1a Output/Hal.obj | ||
76 | - .text.Hal_debugPulse | ||
77 | - 0x0000000000000000 0x24 Output/Hal.obj | ||
78 | - .text.Hal_delay | ||
79 | - 0x0000000000000000 0x16 Output/Hal.obj | ||
80 | - .text.Hal_ledOn | ||
81 | - 0x0000000000000000 0x8 Output/Hal.obj | ||
82 | - .text.Em_Hal_watchOff | ||
83 | - 0x0000000000000000 0x6 Output/Hal.obj | ||
84 | - .text.Em_Hal_watchOn | ||
85 | - 0x0000000000000000 0x14 Output/Hal.obj | ||
86 | - .bss.appButtonHandler | ||
87 | - 0x0000000000000000 0x2 Output/Hal.obj | ||
88 | - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o) | ||
89 | - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o) | ||
90 | - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o) | ||
91 | - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o) | ||
92 | - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o) | ||
93 | - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o) | ||
94 | - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o) | ||
95 | - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o) | ||
96 | - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o) | ||
97 | - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__low_level_init.o) | ||
98 | - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__low_level_init.o) | ||
99 | - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__low_level_init.o) | ||
100 | - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o) | ||
101 | - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o) | ||
102 | - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o) | ||
103 | - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o) | ||
104 | - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o) | ||
105 | - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o) | ||
106 | - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__stop_progExec__.o) | ||
107 | - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__stop_progExec__.o) | ||
108 | - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__stop_progExec__.o) | ||
109 | - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o) | ||
110 | - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o) | ||
111 | - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o) | ||
112 | - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o) | ||
113 | - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o) | ||
114 | - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o) | ||
115 | - | ||
116 | -Memory Configuration | ||
117 | - | ||
118 | -Name Origin Length Attributes | ||
119 | -sfr 0x0000000000000000 0x0000000000000010 | ||
120 | -peripheral_8bit 0x0000000000000010 0x00000000000000f0 | ||
121 | -peripheral_16bit 0x0000000000000100 0x0000000000000100 | ||
122 | -ram 0x0000000000000200 0x0000000000000200 xw | ||
123 | -infomem 0x0000000000001000 0x0000000000000100 | ||
124 | -infod 0x0000000000001000 0x0000000000000040 | ||
125 | -infoc 0x0000000000001040 0x0000000000000040 | ||
126 | -infob 0x0000000000001080 0x0000000000000040 | ||
127 | -infoa 0x00000000000010c0 0x0000000000000040 | ||
128 | -rom 0x000000000000c000 0x0000000000003fe0 xr | ||
129 | -vectors 0x000000000000ffe0 0x0000000000000020 | ||
130 | -bsl 0x0000000000000000 0x0000000000000000 | ||
131 | -far_rom 0x0000000000000000 0x0000000000000000 | ||
132 | -*default* 0x0000000000000000 0xffffffffffffffff | ||
133 | - | ||
134 | -Linker script and memory map | ||
135 | - | ||
136 | -LOAD /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o | ||
137 | -LOAD Output/Blinker-Prog.obj | ||
138 | -LOAD Output/Blinker.obj | ||
139 | -LOAD Output/Hal.obj | ||
140 | -LOAD /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libgcc.a | ||
141 | -LOAD /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a | ||
142 | -LOAD /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libgcc.a | ||
143 | -LOAD /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a | ||
144 | - 0x0000000000000040 PROVIDE (__info_segment_size, 0x40) | ||
145 | - 0x0000000000001000 PROVIDE (__infod, 0x1000) | ||
146 | - 0x0000000000001040 PROVIDE (__infoc, 0x1040) | ||
147 | - 0x0000000000001080 PROVIDE (__infob, 0x1080) | ||
148 | - 0x00000000000010c0 PROVIDE (__infoa, 0x10c0) | ||
149 | - 0x0000000000000000 __IE1 = 0x0 | ||
150 | - 0x0000000000000002 __IFG1 = 0x2 | ||
151 | - 0x0000000000000001 __IE2 = 0x1 | ||
152 | - 0x0000000000000003 __IFG2 = 0x3 | ||
153 | - 0x0000000000000048 __ADC10DTC0 = 0x48 | ||
154 | - 0x0000000000000049 __ADC10DTC1 = 0x49 | ||
155 | - 0x000000000000004a __ADC10AE0 = 0x4a | ||
156 | - 0x00000000000001b0 __ADC10CTL0 = 0x1b0 | ||
157 | - 0x00000000000001b2 __ADC10CTL1 = 0x1b2 | ||
158 | - 0x00000000000001b4 __ADC10MEM = 0x1b4 | ||
159 | - 0x00000000000001bc __ADC10SA = 0x1bc | ||
160 | - 0x0000000000000056 __DCOCTL = 0x56 | ||
161 | - 0x0000000000000057 __BCSCTL1 = 0x57 | ||
162 | - 0x0000000000000058 __BCSCTL2 = 0x58 | ||
163 | - 0x0000000000000053 __BCSCTL3 = 0x53 | ||
164 | - 0x0000000000000059 __CACTL1 = 0x59 | ||
165 | - 0x000000000000005a __CACTL2 = 0x5a | ||
166 | - 0x000000000000005b __CAPD = 0x5b | ||
167 | - 0x0000000000000128 __FCTL1 = 0x128 | ||
168 | - 0x000000000000012a __FCTL2 = 0x12a | ||
169 | - 0x000000000000012c __FCTL3 = 0x12c | ||
170 | - 0x0000000000000020 __P1IN = 0x20 | ||
171 | - 0x0000000000000021 __P1OUT = 0x21 | ||
172 | - 0x0000000000000022 __P1DIR = 0x22 | ||
173 | - 0x0000000000000023 __P1IFG = 0x23 | ||
174 | - 0x0000000000000024 __P1IES = 0x24 | ||
175 | - 0x0000000000000025 __P1IE = 0x25 | ||
176 | - 0x0000000000000026 __P1SEL = 0x26 | ||
177 | - 0x0000000000000041 __P1SEL2 = 0x41 | ||
178 | - 0x0000000000000027 __P1REN = 0x27 | ||
179 | - 0x0000000000000028 __P2IN = 0x28 | ||
180 | - 0x0000000000000029 __P2OUT = 0x29 | ||
181 | - 0x000000000000002a __P2DIR = 0x2a | ||
182 | - 0x000000000000002b __P2IFG = 0x2b | ||
183 | - 0x000000000000002c __P2IES = 0x2c | ||
184 | - 0x000000000000002d __P2IE = 0x2d | ||
185 | - 0x000000000000002e __P2SEL = 0x2e | ||
186 | - 0x0000000000000042 __P2SEL2 = 0x42 | ||
187 | - 0x000000000000002f __P2REN = 0x2f | ||
188 | - 0x0000000000000018 __P3IN = 0x18 | ||
189 | - 0x0000000000000019 __P3OUT = 0x19 | ||
190 | - 0x000000000000001a __P3DIR = 0x1a | ||
191 | - 0x000000000000001b __P3SEL = 0x1b | ||
192 | - 0x0000000000000043 __P3SEL2 = 0x43 | ||
193 | - 0x0000000000000010 __P3REN = 0x10 | ||
194 | - 0x000000000000012e __TA0IV = 0x12e | ||
195 | - 0x0000000000000160 __TA0CTL = 0x160 | ||
196 | - 0x0000000000000162 __TA0CCTL0 = 0x162 | ||
197 | - 0x0000000000000164 __TA0CCTL1 = 0x164 | ||
198 | - 0x0000000000000166 __TA0CCTL2 = 0x166 | ||
199 | - 0x0000000000000170 __TA0R = 0x170 | ||
200 | - 0x0000000000000172 __TA0CCR0 = 0x172 | ||
201 | - 0x0000000000000174 __TA0CCR1 = 0x174 | ||
202 | - 0x0000000000000176 __TA0CCR2 = 0x176 | ||
203 | - 0x000000000000011e __TA1IV = 0x11e | ||
204 | - 0x0000000000000180 __TA1CTL = 0x180 | ||
205 | - 0x0000000000000182 __TA1CCTL0 = 0x182 | ||
206 | - 0x0000000000000184 __TA1CCTL1 = 0x184 | ||
207 | - 0x0000000000000186 __TA1CCTL2 = 0x186 | ||
208 | - 0x0000000000000190 __TA1R = 0x190 | ||
209 | - 0x0000000000000192 __TA1CCR0 = 0x192 | ||
210 | - 0x0000000000000194 __TA1CCR1 = 0x194 | ||
211 | - 0x0000000000000196 __TA1CCR2 = 0x196 | ||
212 | - 0x0000000000000060 __UCA0CTL0 = 0x60 | ||
213 | - 0x0000000000000061 __UCA0CTL1 = 0x61 | ||
214 | - 0x0000000000000062 __UCA0BR0 = 0x62 | ||
215 | - 0x0000000000000063 __UCA0BR1 = 0x63 | ||
216 | - 0x0000000000000064 __UCA0MCTL = 0x64 | ||
217 | - 0x0000000000000065 __UCA0STAT = 0x65 | ||
218 | - 0x0000000000000066 __UCA0RXBUF = 0x66 | ||
219 | - 0x0000000000000067 __UCA0TXBUF = 0x67 | ||
220 | - 0x000000000000005d __UCA0ABCTL = 0x5d | ||
221 | - 0x000000000000005e __UCA0IRTCTL = 0x5e | ||
222 | - 0x000000000000005f __UCA0IRRCTL = 0x5f | ||
223 | - 0x0000000000000068 __UCB0CTL0 = 0x68 | ||
224 | - 0x0000000000000069 __UCB0CTL1 = 0x69 | ||
225 | - 0x000000000000006a __UCB0BR0 = 0x6a | ||
226 | - 0x000000000000006b __UCB0BR1 = 0x6b | ||
227 | - 0x000000000000006c __UCB0I2CIE = 0x6c | ||
228 | - 0x000000000000006d __UCB0STAT = 0x6d | ||
229 | - 0x000000000000006e __UCB0RXBUF = 0x6e | ||
230 | - 0x000000000000006f __UCB0TXBUF = 0x6f | ||
231 | - 0x0000000000000118 __UCB0I2COA = 0x118 | ||
232 | - 0x000000000000011a __UCB0I2CSA = 0x11a | ||
233 | - 0x0000000000000120 __WDTCTL = 0x120 | ||
234 | - 0x00000000000010f8 __CALDCO_16MHZ = 0x10f8 | ||
235 | - 0x00000000000010f9 __CALBC1_16MHZ = 0x10f9 | ||
236 | - 0x00000000000010fa __CALDCO_12MHZ = 0x10fa | ||
237 | - 0x00000000000010fb __CALBC1_12MHZ = 0x10fb | ||
238 | - 0x00000000000010fc __CALDCO_8MHZ = 0x10fc | ||
239 | - 0x00000000000010fd __CALBC1_8MHZ = 0x10fd | ||
240 | - 0x00000000000010fe __CALDCO_1MHZ = 0x10fe | ||
241 | - 0x00000000000010ff __CALBC1_1MHZ = 0x10ff | ||
242 | - | ||
243 | -.hash | ||
244 | - *(.hash) | ||
245 | - | ||
246 | -.dynsym | ||
247 | - *(.dynsym) | ||
248 | - | ||
249 | -.dynstr | ||
250 | - *(.dynstr) | ||
251 | - | ||
252 | -.gnu.version | ||
253 | - *(.gnu.version) | ||
254 | - | ||
255 | -.gnu.version_d | ||
256 | - *(.gnu.version_d) | ||
257 | - | ||
258 | -.gnu.version_r | ||
259 | - *(.gnu.version_r) | ||
260 | - | ||
261 | -.rel.init | ||
262 | - *(.rel.init) | ||
263 | - | ||
264 | -.rela.init | ||
265 | - *(.rela.init) | ||
266 | - | ||
267 | -.rel.fini | ||
268 | - *(.rel.fini) | ||
269 | - | ||
270 | -.rela.fini | ||
271 | - *(.rela.fini) | ||
272 | - | ||
273 | -.rel.text | ||
274 | - *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*) | ||
275 | - | ||
276 | -.rela.text | ||
277 | - *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*) | ||
278 | - | ||
279 | -.rel.rodata | ||
280 | - *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*) | ||
281 | - | ||
282 | -.rela.rodata | ||
283 | - *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*) | ||
284 | - | ||
285 | -.rel.data | ||
286 | - *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*) | ||
287 | - | ||
288 | -.rela.data | ||
289 | - *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*) | ||
290 | - | ||
291 | -.rel.bss | ||
292 | - *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) | ||
293 | - | ||
294 | -.rela.bss | ||
295 | - *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) | ||
296 | - | ||
297 | -.rel.ctors | ||
298 | - *(.rel.ctors) | ||
299 | - | ||
300 | -.rela.ctors | ||
301 | - *(.rela.ctors) | ||
302 | - | ||
303 | -.rel.dtors | ||
304 | - *(.rel.dtors) | ||
305 | - | ||
306 | -.rela.dtors | ||
307 | - *(.rela.dtors) | ||
308 | - | ||
309 | -.rel.got | ||
310 | - *(.rel.got) | ||
311 | - | ||
312 | -.rela.got | ||
313 | - *(.rela.got) | ||
314 | - | ||
315 | -.rel.plt | ||
316 | - *(.rel.plt) | ||
317 | - | ||
318 | -.rela.plt | ||
319 | - *(.rela.plt) | ||
320 | - | ||
321 | -.text 0x000000000000c000 0x85e | ||
322 | - 0x000000000000c000 . = ALIGN (0x2) | ||
323 | - *(.init .init.*) | ||
324 | - *(.init0) | ||
325 | - .init0 0x000000000000c000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o) | ||
326 | - 0x000000000000c000 _reset_vector__ | ||
327 | - *(.init1) | ||
328 | - .init1 0x000000000000c000 0xc /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o) | ||
329 | - 0x000000000000c000 __watchdog_support | ||
330 | - *(.init2) | ||
331 | - .init2 0x000000000000c00c 0x4 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o) | ||
332 | - 0x000000000000c00c __init_stack | ||
333 | - *(.init3) | ||
334 | - .init3 0x000000000000c010 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__low_level_init.o) | ||
335 | - 0x000000000000c010 __low_level_init | ||
336 | - *(.init4) | ||
337 | - .init4 0x000000000000c010 0x18 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o) | ||
338 | - 0x000000000000c010 __do_copy_data | ||
339 | - .init4 0x000000000000c028 0x16 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o) | ||
340 | - 0x000000000000c028 __do_clear_bss | ||
341 | - *(.init5) | ||
342 | - *(.init6) | ||
343 | - *(.init7) | ||
344 | - *(.init8) | ||
345 | - *(.init9) | ||
346 | - .init9 0x000000000000c03e 0x18 Output/Blinker-Prog.obj | ||
347 | - 0x000000000000c03e main | ||
348 | - *(.fini9) | ||
349 | - .fini9 0x000000000000c056 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__stop_progExec__.o) | ||
350 | - 0x000000000000c056 __stop_progExec__ | ||
351 | - *(.fini8) | ||
352 | - *(.fini7) | ||
353 | - *(.fini6) | ||
354 | - *(.fini5) | ||
355 | - *(.fini4) | ||
356 | - *(.fini3) | ||
357 | - *(.fini2) | ||
358 | - *(.fini1) | ||
359 | - *(.fini0) | ||
360 | - .fini0 0x000000000000c056 0x6 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o) | ||
361 | - 0x000000000000c056 _endless_loop__ | ||
362 | - *(.fini .fini.*) | ||
363 | - 0x000000000000c05c . = ALIGN (0x2) | ||
364 | - 0x000000000000c05c __ctors_start = . | ||
365 | - *(.ctors) | ||
366 | - 0x000000000000c05c __ctors_end = . | ||
367 | - 0x000000000000c05c __dtors_start = . | ||
368 | - *(.dtors) | ||
369 | - 0x000000000000c05c __dtors_end = . | ||
370 | - 0x000000000000c05c . = ALIGN (0x2) | ||
371 | - *(.text .text.* .gnu.linkonce.t.*) | ||
372 | - .text 0x000000000000c05c 0x4 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o | ||
373 | - 0x000000000000c05c __isr_1 | ||
374 | - 0x000000000000c05c __isr_4 | ||
375 | - 0x000000000000c05c __isr_11 | ||
376 | - 0x000000000000c05c __isr_5 | ||
377 | - 0x000000000000c05c __isr_10 | ||
378 | - 0x000000000000c05c __isr_0 | ||
379 | - 0x000000000000c05c __isr_8 | ||
380 | - 0x000000000000c05c __isr_9 | ||
381 | - 0x000000000000c05c __isr_6 | ||
382 | - 0x000000000000c05c __isr_14 | ||
383 | - .text.tickHandler | ||
384 | - 0x000000000000c060 0x46 Output/Blinker-Prog.obj | ||
385 | - .text.Blinker_connectHandler | ||
386 | - 0x000000000000c0a6 0x6 Output/Blinker-Prog.obj | ||
387 | - 0x000000000000c0a6 Blinker_connectHandler | ||
388 | - .text.Blinker_disconnectHandler | ||
389 | - 0x000000000000c0ac 0x6 Output/Blinker-Prog.obj | ||
390 | - 0x000000000000c0ac Blinker_disconnectHandler | ||
391 | - .text.Blinker_cmd_store | ||
392 | - 0x000000000000c0b2 0x2e Output/Blinker-Prog.obj | ||
393 | - 0x000000000000c0b2 Blinker_cmd_store | ||
394 | - .text.Blinker_count_fetch | ||
395 | - 0x000000000000c0e0 0x8 Output/Blinker-Prog.obj | ||
396 | - 0x000000000000c0e0 Blinker_count_fetch | ||
397 | - .text.Blinker_count_store | ||
398 | - 0x000000000000c0e8 0x6 Output/Blinker-Prog.obj | ||
399 | - 0x000000000000c0e8 Blinker_count_store | ||
400 | - .text.Blinker_delay_fetch | ||
401 | - 0x000000000000c0ee 0x8 Output/Blinker-Prog.obj | ||
402 | - 0x000000000000c0ee Blinker_delay_fetch | ||
403 | - .text.Blinker_delay_store | ||
404 | - 0x000000000000c0f6 0x6 Output/Blinker-Prog.obj | ||
405 | - 0x000000000000c0f6 Blinker_delay_store | ||
406 | - .text.Blinker_ledState_fetch | ||
407 | - 0x000000000000c0fc 0x10 Output/Blinker-Prog.obj | ||
408 | - 0x000000000000c0fc Blinker_ledState_fetch | ||
409 | - .text.Blinker_reset | ||
410 | - 0x000000000000c10c 0x3a Output/Blinker.obj | ||
411 | - 0x000000000000c10c Blinker_reset | ||
412 | - .text.Blinker_start | ||
413 | - 0x000000000000c146 0xa Output/Blinker.obj | ||
414 | - 0x000000000000c146 Blinker_start | ||
415 | - .text.Em_Message_restart | ||
416 | - 0x000000000000c150 0x6 Output/Blinker.obj | ||
417 | - 0x000000000000c150 Em_Message_restart | ||
418 | - .text.Em_App_startIndSend | ||
419 | - 0x000000000000c156 0x1a Output/Blinker.obj | ||
420 | - 0x000000000000c156 Em_App_startIndSend | ||
421 | - .text.Em_App_startResSend | ||
422 | - 0x000000000000c170 0x1a Output/Blinker.obj | ||
423 | - 0x000000000000c170 Em_App_startResSend | ||
424 | - .text.Em_App_xmitReady | ||
425 | - 0x000000000000c18a 0x72 Output/Blinker.obj | ||
426 | - 0x000000000000c18a Em_App_xmitReady | ||
427 | - .text.Em_App_sendResponse | ||
428 | - 0x000000000000c1fc 0x26 Output/Blinker.obj | ||
429 | - 0x000000000000c1fc Em_App_sendResponse | ||
430 | - .text.Em_App_sysStoreDispatch | ||
431 | - 0x000000000000c222 0x1a Output/Blinker.obj | ||
432 | - 0x000000000000c222 Em_App_sysStoreDispatch | ||
433 | - .text.Em_App_sysFetchDispatch | ||
434 | - 0x000000000000c23c 0xda Output/Blinker.obj | ||
435 | - 0x000000000000c23c Em_App_sysFetchDispatch | ||
436 | - .text.Em_App_fetchDispatch | ||
437 | - 0x000000000000c316 0x52 Output/Blinker.obj | ||
438 | - 0x000000000000c316 Em_App_fetchDispatch | ||
439 | - .text.Em_App_storeDispatch | ||
440 | - 0x000000000000c368 0x52 Output/Blinker.obj | ||
441 | - 0x000000000000c368 Em_App_storeDispatch | ||
442 | - .text.Em_Message_dispatch | ||
443 | - 0x000000000000c3ba 0x60 Output/Blinker.obj | ||
444 | - 0x000000000000c3ba Em_Message_dispatch | ||
445 | - .text.Em_App_sendIndicator | ||
446 | - 0x000000000000c41a 0x30 Output/Blinker.obj | ||
447 | - 0x000000000000c41a Em_App_sendIndicator | ||
448 | - .text.Em_Message_nextXmit | ||
449 | - 0x000000000000c44a 0x7e Output/Blinker.obj | ||
450 | - 0x000000000000c44a Em_Message_nextXmit | ||
451 | - .text.Blinker_ledState_indicate | ||
452 | - 0x000000000000c4c8 0x1c Output/Blinker.obj | ||
453 | - 0x000000000000c4c8 Blinker_ledState_indicate | ||
454 | - .text.Hal_connected | ||
455 | - 0x000000000000c4e4 0x6 Output/Hal.obj | ||
456 | - 0x000000000000c4e4 Hal_connected | ||
457 | - .text.Hal_disconnected | ||
458 | - 0x000000000000c4ea 0x8 Output/Hal.obj | ||
459 | - 0x000000000000c4ea Hal_disconnected | ||
460 | - .text.Hal_init | ||
461 | - 0x000000000000c4f2 0xd0 Output/Hal.obj | ||
462 | - 0x000000000000c4f2 Hal_init | ||
463 | - .text.Hal_idleLoop | ||
464 | - 0x000000000000c5c2 0x40 Output/Hal.obj | ||
465 | - 0x000000000000c5c2 Hal_idleLoop | ||
466 | - .text.Hal_ledOff | ||
467 | - 0x000000000000c602 0x8 Output/Hal.obj | ||
468 | - 0x000000000000c602 Hal_ledOff | ||
469 | - .text.Hal_ledRead | ||
470 | - 0x000000000000c60a 0x12 Output/Hal.obj | ||
471 | - 0x000000000000c60a Hal_ledRead | ||
472 | - .text.Hal_ledToggle | ||
473 | - 0x000000000000c61c 0x8 Output/Hal.obj | ||
474 | - 0x000000000000c61c Hal_ledToggle | ||
475 | - .text.Hal_tickStart | ||
476 | - 0x000000000000c624 0x24 Output/Hal.obj | ||
477 | - 0x000000000000c624 Hal_tickStart | ||
478 | - .text.Em_Hal_lock | ||
479 | - 0x000000000000c648 0xa Output/Hal.obj | ||
480 | - 0x000000000000c648 Em_Hal_lock | ||
481 | - .text.Em_Hal_reset | ||
482 | - 0x000000000000c652 0x56 Output/Hal.obj | ||
483 | - 0x000000000000c652 Em_Hal_reset | ||
484 | - .text.Em_Hal_startSend | ||
485 | - 0x000000000000c6a8 0x32 Output/Hal.obj | ||
486 | - 0x000000000000c6a8 Em_Hal_startSend | ||
487 | - .text.Em_Hal_unlock | ||
488 | - 0x000000000000c6da 0x6 Output/Hal.obj | ||
489 | - 0x000000000000c6da Em_Hal_unlock | ||
490 | - .text.buttonIsr | ||
491 | - 0x000000000000c6e0 0x2c Output/Hal.obj | ||
492 | - 0x000000000000c6e0 __isr_2 | ||
493 | - 0x000000000000c6e0 buttonIsr | ||
494 | - .text.rxIsr 0x000000000000c70c 0x9a Output/Hal.obj | ||
495 | - 0x000000000000c70c rxIsr | ||
496 | - 0x000000000000c70c __isr_7 | ||
497 | - .text.timerIsr | ||
498 | - 0x000000000000c7a6 0x28 Output/Hal.obj | ||
499 | - 0x000000000000c7a6 timerIsr | ||
500 | - 0x000000000000c7a6 __isr_13 | ||
501 | - .text.txAckIsr | ||
502 | - 0x000000000000c7ce 0x66 Output/Hal.obj | ||
503 | - 0x000000000000c7ce txAckIsr | ||
504 | - 0x000000000000c7ce __isr_3 | ||
505 | - .text.uartWatchdogIsr | ||
506 | - 0x000000000000c834 0x28 Output/Hal.obj | ||
507 | - 0x000000000000c834 uartWatchdogIsr | ||
508 | - 0x000000000000c834 __isr_12 | ||
509 | - .text.crt0 0x000000000000c85c 0x2 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o) | ||
510 | - 0x000000000000c85c _unexpected_ | ||
511 | - 0x000000000000c85e . = ALIGN (0x2) | ||
512 | - | ||
513 | -.rodata 0x000000000000c85e 0x46 | ||
514 | - 0x000000000000c85e . = ALIGN (0x2) | ||
515 | - *(.rodata .rodata.* .gnu.linkonce.r.*) | ||
516 | - .rodata.Em_App_sysFetchDispatch | ||
517 | - 0x000000000000c85e 0x12 Output/Blinker.obj | ||
518 | - .rodata.Em_Message_dispatch | ||
519 | - 0x000000000000c870 0x16 Output/Blinker.obj | ||
520 | - .rodata.Em_App_endian | ||
521 | - 0x000000000000c886 0x2 Output/Blinker.obj | ||
522 | - 0x000000000000c886 Em_App_endian | ||
523 | - .rodata.Em_App_build | ||
524 | - 0x000000000000c888 0x8 Output/Blinker.obj | ||
525 | - 0x000000000000c888 Em_App_build | ||
526 | - .rodata.Em_App_hash | ||
527 | - 0x000000000000c890 0x13 Output/Blinker.obj | ||
528 | - 0x000000000000c890 Em_App_hash | ||
529 | - 0x000000000000c8a4 . = ALIGN (0x2) | ||
530 | - *fill* 0x000000000000c8a3 0x1 00 | ||
531 | - 0x000000000000c8a4 _etext = . | ||
532 | - | ||
533 | -.data 0x0000000000000200 0x6 load address 0x000000000000c8a4 | ||
534 | - 0x0000000000000200 . = ALIGN (0x2) | ||
535 | - 0x0000000000000200 PROVIDE (__data_start, .) | ||
536 | - *(.data .data.* .gnu.linkonce.d.*) | ||
537 | - .data.delayVal | ||
538 | - 0x0000000000000200 0x2 Output/Blinker-Prog.obj | ||
539 | - .data.curCount | ||
540 | - 0x0000000000000202 0x2 Output/Blinker-Prog.obj | ||
541 | - .data.Em_App_inBuf | ||
542 | - 0x0000000000000204 0x2 Output/Blinker.obj | ||
543 | - 0x0000000000000204 Em_App_inBuf | ||
544 | - 0x0000000000000206 . = ALIGN (0x2) | ||
545 | - 0x0000000000000206 _edata = . | ||
546 | - 0x000000000000c8a4 PROVIDE (__data_load_start, LOADADDR (.data)) | ||
547 | - 0x0000000000000006 PROVIDE (__data_size, SIZEOF (.data)) | ||
548 | - | ||
549 | -.bss 0x0000000000000206 0x5c load address 0x000000000000c8aa | ||
550 | - 0x0000000000000206 PROVIDE (__bss_start, .) | ||
551 | - *(.bss .bss.*) | ||
552 | - .bss.cmdVal 0x0000000000000206 0x1 Output/Blinker-Prog.obj | ||
553 | - *fill* 0x0000000000000207 0x1 00 | ||
554 | - .bss.curTime 0x0000000000000208 0x2 Output/Blinker-Prog.obj | ||
555 | - .bss.countVal 0x000000000000020a 0x2 Output/Blinker-Prog.obj | ||
556 | - .bss.Em_App_devName | ||
557 | - 0x000000000000020c 0x2 Output/Blinker.obj | ||
558 | - 0x000000000000020c Em_App_devName | ||
559 | - .bss._Em_Message_txCnt | ||
560 | - 0x000000000000020e 0x1 Output/Blinker.obj | ||
561 | - 0x000000000000020e _Em_Message_txCnt | ||
562 | - *fill* 0x000000000000020f 0x1 00 | ||
563 | - .bss._Em_Message_txBuf | ||
564 | - 0x0000000000000210 0x2 Output/Blinker.obj | ||
565 | - 0x0000000000000210 _Em_Message_txBuf | ||
566 | - .bss._Em_Message_rxCnt | ||
567 | - 0x0000000000000212 0x1 Output/Blinker.obj | ||
568 | - 0x0000000000000212 _Em_Message_rxCnt | ||
569 | - *fill* 0x0000000000000213 0x1 00 | ||
570 | - .bss._Em_Message_rxBuf | ||
571 | - 0x0000000000000214 0x2 Output/Blinker.obj | ||
572 | - 0x0000000000000214 _Em_Message_rxBuf | ||
573 | - .bss.Em_App_outBuf | ||
574 | - 0x0000000000000216 0x2 Output/Blinker.obj | ||
575 | - 0x0000000000000216 Em_App_outBuf | ||
576 | - .bss.Em_App_xmitMask | ||
577 | - 0x0000000000000218 0x4 Output/Blinker.obj | ||
578 | - 0x0000000000000218 Em_App_xmitMask | ||
579 | - .bss.Em_App_fileIndex | ||
580 | - 0x000000000000021c 0x4 Output/Blinker.obj | ||
581 | - 0x000000000000021c Em_App_fileIndex | ||
582 | - .bss.Em_App_state | ||
583 | - 0x0000000000000220 0x1 Output/Blinker.obj | ||
584 | - 0x0000000000000220 Em_App_state | ||
585 | - *fill* 0x0000000000000221 0x1 00 | ||
586 | - .bss.handlerEvents | ||
587 | - 0x0000000000000222 0x2 Output/Hal.obj | ||
588 | - .bss.handlerTab | ||
589 | - 0x0000000000000224 0x6 Output/Hal.obj | ||
590 | - .bss.clockTick | ||
591 | - 0x000000000000022a 0x2 Output/Hal.obj | ||
592 | - *(COMMON) | ||
593 | - COMMON 0x000000000000022c 0x36 Output/Blinker.obj | ||
594 | - 0x000000000000022c Em_App_recvIdx | ||
595 | - 0x000000000000022d Em_App_xmitSize | ||
596 | - 0x000000000000022e Em_App_valp | ||
597 | - 0x0000000000000230 Em_App_ind_u | ||
598 | - 0x000000000000023c Em_App_recvSize | ||
599 | - 0x000000000000023e Em_App_msg_u | ||
600 | - 0x000000000000025a Em_App_pdHdlr | ||
601 | - 0x000000000000025c Em_App_bufp | ||
602 | - 0x000000000000025e Em_App_xmitIdx | ||
603 | - 0x0000000000000260 Em_App_desc | ||
604 | - 0x0000000000000262 . = ALIGN (0x2) | ||
605 | - 0x0000000000000262 PROVIDE (__bss_end, .) | ||
606 | - 0x000000000000005c PROVIDE (__bss_size, SIZEOF (.bss)) | ||
607 | - | ||
608 | -.noinit 0x0000000000000262 0x2 load address 0x000000000000c8aa | ||
609 | - 0x0000000000000262 PROVIDE (__noinit_start, .) | ||
610 | - *(.noinit .noinit.*) | ||
611 | - .noinit.crt0 0x0000000000000262 0x2 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o) | ||
612 | - 0x0000000000000262 __wdt_clear_value | ||
613 | - 0x0000000000000264 . = ALIGN (0x2) | ||
614 | - 0x0000000000000264 PROVIDE (__noinit_end, .) | ||
615 | - 0x0000000000000264 . = ALIGN (0x2) | ||
616 | - 0x0000000000000264 _end = . | ||
617 | - | ||
618 | -.infomem 0x0000000000001000 0x0 | ||
619 | - *(.infomem) | ||
620 | - 0x0000000000001000 . = ALIGN (0x2) | ||
621 | - *(.infomem.*) | ||
622 | - | ||
623 | -.infomemnobits 0x0000000000001000 0x0 | ||
624 | - *(.infomemnobits) | ||
625 | - 0x0000000000001000 . = ALIGN (0x2) | ||
626 | - *(.infomemnobits.*) | ||
627 | - | ||
628 | -.infoa | ||
629 | - *(.infoa .infoa.*) | ||
630 | - | ||
631 | -.infob | ||
632 | - *(.infob .infob.*) | ||
633 | - | ||
634 | -.infoc | ||
635 | - *(.infoc .infoc.*) | ||
636 | - | ||
637 | -.infod | ||
638 | - *(.infod .infod.*) | ||
639 | - | ||
640 | -.vectors 0x000000000000ffe0 0x20 | ||
641 | - 0x000000000000ffe0 PROVIDE (__vectors_start, .) | ||
642 | - *(.vectors*) | ||
643 | - .vectors 0x000000000000ffe0 0x20 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o | ||
644 | - 0x000000000000ffe0 __ivtbl_16 | ||
645 | - 0x0000000000010000 _vectors_end = . | ||
646 | - | ||
647 | -.fartext 0x0000000000000000 0x0 | ||
648 | - 0x0000000000000000 . = ALIGN (0x2) | ||
649 | - *(.fartext) | ||
650 | - 0x0000000000000000 . = ALIGN (0x2) | ||
651 | - *(.fartext.*) | ||
652 | - 0x0000000000000000 _efartext = . | ||
653 | - | ||
654 | -.profiler | ||
655 | - *(.profiler) | ||
656 | - | ||
657 | -.stab | ||
658 | - *(.stab) | ||
659 | - | ||
660 | -.stabstr | ||
661 | - *(.stabstr) | ||
662 | - | ||
663 | -.stab.excl | ||
664 | - *(.stab.excl) | ||
665 | - | ||
666 | -.stab.exclstr | ||
667 | - *(.stab.exclstr) | ||
668 | - | ||
669 | -.stab.index | ||
670 | - *(.stab.index) | ||
671 | - | ||
672 | -.stab.indexstr | ||
673 | - *(.stab.indexstr) | ||
674 | - | ||
675 | -.comment | ||
676 | - *(.comment) | ||
677 | - | ||
678 | -.debug | ||
679 | - *(.debug) | ||
680 | - | ||
681 | -.line | ||
682 | - *(.line) | ||
683 | - | ||
684 | -.debug_srcinfo | ||
685 | - *(.debug_srcinfo) | ||
686 | - | ||
687 | -.debug_sfnames | ||
688 | - *(.debug_sfnames) | ||
689 | - | ||
690 | -.debug_aranges 0x0000000000000000 0x198 | ||
691 | - *(.debug_aranges) | ||
692 | - .debug_aranges | ||
693 | - 0x0000000000000000 0x38 Output/Blinker-Prog.obj | ||
694 | - .debug_aranges | ||
695 | - 0x0000000000000038 0x70 Output/Blinker.obj | ||
696 | - .debug_aranges | ||
697 | - 0x00000000000000a8 0x78 Output/Hal.obj | ||
698 | - .debug_aranges | ||
699 | - 0x0000000000000120 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o) | ||
700 | - .debug_aranges | ||
701 | - 0x0000000000000134 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o) | ||
702 | - .debug_aranges | ||
703 | - 0x0000000000000148 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o) | ||
704 | - .debug_aranges | ||
705 | - 0x000000000000015c 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o) | ||
706 | - .debug_aranges | ||
707 | - 0x0000000000000170 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o) | ||
708 | - .debug_aranges | ||
709 | - 0x0000000000000184 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o) | ||
710 | - | ||
711 | -.debug_pubnames | ||
712 | - *(.debug_pubnames) | ||
713 | - | ||
714 | -.debug_info 0x0000000000000000 0x1bfd | ||
715 | - *(.debug_info) | ||
716 | - .debug_info 0x0000000000000000 0x310 Output/Blinker-Prog.obj | ||
717 | - .debug_info 0x0000000000000310 0x91b Output/Blinker.obj | ||
718 | - .debug_info 0x0000000000000c2b 0xc78 Output/Hal.obj | ||
719 | - .debug_info 0x00000000000018a3 0x8f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o) | ||
720 | - .debug_info 0x0000000000001932 0x8f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o) | ||
721 | - .debug_info 0x00000000000019c1 0x8f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o) | ||
722 | - .debug_info 0x0000000000001a50 0x8f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o) | ||
723 | - .debug_info 0x0000000000001adf 0x8f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o) | ||
724 | - .debug_info 0x0000000000001b6e 0x8f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o) | ||
725 | - *(.gnu.linkonce.wi.*) | ||
726 | - | ||
727 | -.debug_abbrev 0x0000000000000000 0x715 | ||
728 | - *(.debug_abbrev) | ||
729 | - .debug_abbrev 0x0000000000000000 0x103 Output/Blinker-Prog.obj | ||
730 | - .debug_abbrev 0x0000000000000103 0x240 Output/Blinker.obj | ||
731 | - .debug_abbrev 0x0000000000000343 0x35a Output/Hal.obj | ||
732 | - .debug_abbrev 0x000000000000069d 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o) | ||
733 | - .debug_abbrev 0x00000000000006b1 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o) | ||
734 | - .debug_abbrev 0x00000000000006c5 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o) | ||
735 | - .debug_abbrev 0x00000000000006d9 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o) | ||
736 | - .debug_abbrev 0x00000000000006ed 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o) | ||
737 | - .debug_abbrev 0x0000000000000701 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o) | ||
738 | - | ||
739 | -.debug_line 0x0000000000000000 0xbad | ||
740 | - *(.debug_line) | ||
741 | - .debug_line 0x0000000000000000 0x19d Output/Blinker-Prog.obj | ||
742 | - .debug_line 0x000000000000019d 0x3b8 Output/Blinker.obj | ||
743 | - .debug_line 0x0000000000000555 0x3a9 Output/Hal.obj | ||
744 | - .debug_line 0x00000000000008fe 0x72 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o) | ||
745 | - .debug_line 0x0000000000000970 0x70 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o) | ||
746 | - .debug_line 0x00000000000009e0 0x76 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o) | ||
747 | - .debug_line 0x0000000000000a56 0x76 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o) | ||
748 | - .debug_line 0x0000000000000acc 0x71 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o) | ||
749 | - .debug_line 0x0000000000000b3d 0x70 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o) | ||
750 | - | ||
751 | -.debug_frame 0x0000000000000000 0x3aa | ||
752 | - *(.debug_frame) | ||
753 | - .debug_frame 0x0000000000000000 0x90 Output/Blinker-Prog.obj | ||
754 | - .debug_frame 0x0000000000000090 0x17a Output/Blinker.obj | ||
755 | - .debug_frame 0x000000000000020a 0x1a0 Output/Hal.obj | ||
756 | - | ||
757 | -.debug_str 0x0000000000000000 0x9df | ||
758 | - *(.debug_str) | ||
759 | - .debug_str 0x0000000000000000 0x266 Output/Blinker-Prog.obj | ||
760 | - 0x2a2 (size before relaxing) | ||
761 | - .debug_str 0x0000000000000266 0x3e3 Output/Blinker.obj | ||
762 | - 0x554 (size before relaxing) | ||
763 | - .debug_str 0x0000000000000649 0x396 Output/Hal.obj | ||
764 | - 0x5a2 (size before relaxing) | ||
765 | - | ||
766 | -.debug_loc 0x0000000000000000 0x64e | ||
767 | - *(.debug_loc) | ||
768 | - .debug_loc 0x0000000000000000 0x31 Output/Blinker-Prog.obj | ||
769 | - .debug_loc 0x0000000000000031 0x438 Output/Blinker.obj | ||
770 | - .debug_loc 0x0000000000000469 0x1e5 Output/Hal.obj | ||
771 | - | ||
772 | -.debug_macinfo | ||
773 | - *(.debug_macinfo) | ||
774 | - | ||
775 | -.debug_pubtypes | ||
776 | - *(.debug_pubtypes) | ||
777 | - | ||
778 | -.debug_ranges 0x0000000000000000 0x19c | ||
779 | - *(.debug_ranges) | ||
780 | - .debug_ranges 0x0000000000000000 0x2c Output/Blinker-Prog.obj | ||
781 | - .debug_ranges 0x000000000000002c 0x64 Output/Blinker.obj | ||
782 | - .debug_ranges 0x0000000000000090 0x10c Output/Hal.obj | ||
783 | - 0x0000000000000400 PROVIDE (__stack, (ORIGIN (ram) + 0x200)) | ||
784 | - 0x000000000000c8a4 PROVIDE (__data_start_rom, _etext) | ||
785 | - 0x000000000000c8aa PROVIDE (__data_end_rom, (_etext + SIZEOF (.data))) | ||
786 | -OUTPUT(Output/Blinker-Prog.out elf32-msp430) |
Blinker-MSP-EXP430G2/Output/Blinker-Prog.obj deleted
No preview for this file type
Blinker-MSP-EXP430G2/Output/Blinker-Prog.out deleted
No preview for this file type
Blinker-MSP-EXP430G2/Output/Blinker.obj deleted
No preview for this file type
Blinker-MSP-EXP430G2/Output/Hal.obj deleted
No preview for this file type
Blinker-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 | -} |
Blinker-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/Blinker-MSP-EXP430G2/Blinker.ems | ||
10 | -com.emmoco.framework.Properties.toolVersion = 13.4.1.201311121909 |
Blinker-MSP-EXP430G2/makefile deleted
ISG-DUREX/A2541R24A_ADB1_Product_Brief.pdf deleted
No preview for this file type
ISG-DUREX/A2541x24A-ADB1_BoosterPack_Users_Manual.pdf deleted
No preview for this file type
ISG-DUREX/examples.tar.gz deleted
No preview for this file type
ISG-DUREX/ez430rf2500-kext-1.0.1.dmg deleted
No preview for this file type
Platform-MSP-EXP430G2/.project deleted
Platform-MSP-EXP430G2/Hal/Hal.c deleted
1 | -/* | ||
2 | - * ============ Hardware Abstraction Layer for MSP-EXP430G2 LaunchPad ============ | ||
3 | - */ | ||
4 | - | ||
5 | -#include "Hal.h" | ||
6 | -#include "Em_Message.h" | ||
7 | - | ||
8 | -#include <msp430.h> | ||
9 | - | ||
10 | - | ||
11 | -/* -------- INTERNAL FEATURES -------- */ | ||
12 | - | ||
13 | -#define LED_CONFIG() (P1DIR |= BIT6) | ||
14 | -#define LED_ON() (P1OUT |= BIT6) | ||
15 | -#define LED_OFF() (P1OUT &= ~BIT6) | ||
16 | -#define LED_READ() (P1OUT & BIT6) | ||
17 | -#define LED_TOGGLE() (P1OUT ^= BIT6) | ||
18 | - | ||
19 | -#define CONNECTED_LED_CONFIG() (P1DIR |= BIT0) | ||
20 | -#define CONNECTED_LED_ON() (P1OUT |= BIT0) | ||
21 | -#define CONNECTED_LED_OFF() (P1OUT &= ~BIT0) | ||
22 | - | ||
23 | -#define BUTTON_CONFIG() (P1DIR &= ~BIT3, P1REN |= BIT3, P1OUT |= BIT3, P1IES |= BIT3); | ||
24 | -#define BUTTON_ENABLE() (P1IFG &= ~BIT3, P1IE |= BIT3) | ||
25 | -#define BUTTON_PRESSED() (!(P1IN & BIT3)) | ||
26 | -#define BUTTON_DEBOUNCE_MSECS 100 | ||
27 | - | ||
28 | -#define DEBUG1_CONFIG() (P2DIR |= BIT3) | ||
29 | -#define DEBUG1_ON() (P2OUT |= BIT3) | ||
30 | -#define DEBUG1_OFF() (P2OUT &= ~BIT3) | ||
31 | - | ||
32 | -#define DEBUG2_CONFIG() (P2DIR |= BIT4) | ||
33 | -#define DEBUG2_ON() (P2OUT |= BIT4) | ||
34 | -#define DEBUG2_OFF() (P2OUT &= ~BIT4) | ||
35 | - | ||
36 | -#define EAP_RX_BUF UCA0RXBUF | ||
37 | -#define EAP_TX_BUF UCA0TXBUF | ||
38 | - | ||
39 | -#define EAP_RX_VECTOR USCIAB0RX_VECTOR | ||
40 | -#define EAP_TX_VECTOR USCIAB0TX_VECTOR | ||
41 | -#define EAP_TX_ACK_VECTOR PORT2_VECTOR | ||
42 | - | ||
43 | -#define EAP_RX_ENABLE() (P1SEL |= BIT1, P1SEL2 |= BIT1) | ||
44 | -#define EAP_RX_DISABLE() (P1SEL &= ~BIT1, P1SEL2 &= ~BIT1) | ||
45 | -#define EAP_TX_ENABLE() (P1SEL |= BIT2, P1SEL2 |= BIT2) | ||
46 | -#define EAP_TX_DISABLE() (P1SEL &= ~BIT2, P1SEL2 &= ~BIT2) | ||
47 | - | ||
48 | -#define EAP_RX_ACK_CONFIG() (P2DIR |= BIT0) | ||
49 | -#define EAP_RX_ACK_SET() (P2OUT |= BIT0) | ||
50 | -#define EAP_RX_ACK_CLR() (P2OUT &= ~BIT0) | ||
51 | - | ||
52 | -#define EAP_TX_ACK_CONFIG() (P2DIR &= ~BIT1, P2IES |= BIT1, P2IFG &= ~BIT1, P2IE |= BIT1) | ||
53 | -#define EAP_TX_ACK_TST() (P2IFG & BIT1) | ||
54 | -#define EAP_TX_ACK_CLR() (P2IFG &= ~BIT1) | ||
55 | - | ||
56 | -#define EAP_RX_INT_CLR() (IFG2 &= ~UCA0RXIFG) | ||
57 | -#define EAP_RX_INT_ENABLE() (IE2 |= UCA0RXIE) | ||
58 | -#define EAP_TX_INT_CLR() (IFG2 &= ~UCA0TXIFG) | ||
59 | -#define EAP_TX_INT_DISABLE() (IE2 &= ~UCA0TXIE) | ||
60 | -#define EAP_TX_INT_ENABLE() (IE2 |= UCA0TXIE) | ||
61 | - | ||
62 | -#define MCLK_TICKS_PER_MS 1000L | ||
63 | -#define ACLK_TICKS_PER_SECOND 12000L | ||
64 | -#define UART_WATCHDOG_PERIOD (ACLK_TICKS_PER_SECOND * 250) / 1000 | ||
65 | - | ||
66 | -#define UART_WATCH_DISABLE() (TA1CCTL1 = 0) // Turn off CCR1 Interrupt | ||
67 | -#define UART_WATCH_ENABLE() (TA1CCR1 = TA1R + UART_WATCHDOG_PERIOD, TA1CCTL1 = CCIE) // Set CCR1, and Enable CCR1 Interrupt | ||
68 | - | ||
69 | -#ifdef __GNUC__ | ||
70 | -#define DINT() (__disable_interrupt()) | ||
71 | -#define EINT() (__enable_interrupt()) | ||
72 | -#define INTERRUPT | ||
73 | -#define SLEEP() (_BIS_SR(LPM3_bits + GIE)) | ||
74 | -#define WAKEUP() (_BIC_SR_IRQ(LPM3_bits)) | ||
75 | -#endif | ||
76 | - | ||
77 | -#ifdef __TI_COMPILER_VERSION__ | ||
78 | -#define DINT() (_disable_interrupt()) | ||
79 | -#define EINT() (_enable_interrupt()) | ||
80 | -#define INTERRUPT interrupt | ||
81 | -#define SLEEP() (__bis_SR_register(LPM3_bits + GIE)) | ||
82 | -#define WAKEUP() (__bic_SR_register_on_exit(LPM3_bits)) | ||
83 | -#endif | ||
84 | - | ||
85 | -#define NUM_HANDLERS 3 | ||
86 | - | ||
87 | -#define BUTTON_HANDLER_ID 0 | ||
88 | -#define TICK_HANDLER_ID 1 | ||
89 | -#define DISPATCH_HANDLER_ID 2 | ||
90 | - | ||
91 | -static void buttonHandler(void); | ||
92 | -static void postEvent(uint8_t handlerId); | ||
93 | - | ||
94 | -static Hal_Handler appButtonHandler; | ||
95 | -static volatile uint16_t handlerEvents = 0; | ||
96 | -static uint16_t clockTick = 0; | ||
97 | -static Hal_Handler handlerTab[NUM_HANDLERS]; | ||
98 | - | ||
99 | - | ||
100 | -/* -------- APP-HAL INTERFACE -------- */ | ||
101 | - | ||
102 | -void Hal_buttonEnable(Hal_Handler handler) { | ||
103 | - handlerTab[BUTTON_HANDLER_ID] = buttonHandler; | ||
104 | - appButtonHandler = handler; | ||
105 | - BUTTON_CONFIG(); | ||
106 | - Hal_delay(100); | ||
107 | - BUTTON_ENABLE(); | ||
108 | -} | ||
109 | - | ||
110 | -void Hal_connected(void) { | ||
111 | - CONNECTED_LED_ON(); | ||
112 | -} | ||
113 | - | ||
114 | -void Hal_debugOn(uint8_t line) { | ||
115 | - switch (line) { | ||
116 | - case 1: | ||
117 | - DEBUG1_ON(); | ||
118 | - break; | ||
119 | - case 2: | ||
120 | - DEBUG2_ON(); | ||
121 | - } | ||
122 | -} | ||
123 | - | ||
124 | -void Hal_debugOff(uint8_t line) { | ||
125 | - switch (line) { | ||
126 | - case 1: | ||
127 | - DEBUG1_OFF(); | ||
128 | - break; | ||
129 | - case 2: | ||
130 | - DEBUG2_OFF(); | ||
131 | - } | ||
132 | -} | ||
133 | - | ||
134 | -void Hal_debugPulse(uint8_t line) { | ||
135 | - switch (line) { | ||
136 | - case 1: | ||
137 | - DEBUG1_ON(); | ||
138 | - DEBUG1_OFF(); | ||
139 | - break; | ||
140 | - case 2: | ||
141 | - DEBUG2_ON(); | ||
142 | - DEBUG2_OFF(); | ||
143 | - } | ||
144 | -} | ||
145 | - | ||
146 | -void Hal_delay(uint16_t msecs) { | ||
147 | - while (msecs--) { | ||
148 | - __delay_cycles(MCLK_TICKS_PER_MS); | ||
149 | - } | ||
150 | -} | ||
151 | - | ||
152 | -void Hal_disconnected(void) { | ||
153 | - CONNECTED_LED_OFF(); | ||
154 | -} | ||
155 | - | ||
156 | -void Hal_init(void) { | ||
157 | - | ||
158 | - /* setup clocks */ | ||
159 | - | ||
160 | - WDTCTL = WDTPW + WDTHOLD; | ||
161 | - BCSCTL2 = SELM_0 + DIVM_0 + DIVS_0; | ||
162 | - if (CALBC1_1MHZ != 0xFF) { | ||
163 | - DCOCTL = 0x00; | ||
164 | - BCSCTL1 = CALBC1_1MHZ; /* Set DCO to 1MHz */ | ||
165 | - DCOCTL = CALDCO_1MHZ; | ||
166 | - } | ||
167 | - BCSCTL1 |= XT2OFF + DIVA_0; | ||
168 | - BCSCTL3 = XT2S_0 + LFXT1S_2 + XCAP_1; | ||
169 | - | ||
170 | - /* setup LEDs */ | ||
171 | - | ||
172 | - LED_CONFIG(); | ||
173 | - LED_OFF(); | ||
174 | - CONNECTED_LED_CONFIG(); | ||
175 | - CONNECTED_LED_OFF(); | ||
176 | - | ||
177 | - /* setup debug pins */ | ||
178 | - | ||
179 | - DEBUG1_CONFIG(); DEBUG1_OFF(); | ||
180 | - DEBUG2_CONFIG(); DEBUG2_OFF(); | ||
181 | - | ||
182 | - DEBUG1_ON(); DEBUG1_OFF(); | ||
183 | - | ||
184 | - /* setup TimerA1 */ | ||
185 | - TA1CTL = TASSEL_1 + MC_2; // ACLK, Continuous mode | ||
186 | - UART_WATCH_ENABLE(); | ||
187 | - | ||
188 | - /* setup UART */ | ||
189 | - | ||
190 | - UCA0CTL1 |= UCSWRST; | ||
191 | - | ||
192 | - EAP_RX_ENABLE(); | ||
193 | - EAP_TX_ENABLE(); | ||
194 | - | ||
195 | - EAP_RX_ACK_CONFIG(); | ||
196 | - EAP_RX_ACK_SET(); | ||
197 | - | ||
198 | - EAP_TX_ACK_CONFIG(); | ||
199 | - | ||
200 | - // suspend the MCM | ||
201 | - EAP_RX_ACK_CLR(); | ||
202 | - | ||
203 | - UCA0CTL1 = UCSSEL_2 + UCSWRST; | ||
204 | - UCA0MCTL = UCBRF_0 + UCBRS_6; | ||
205 | - UCA0BR0 = 8; | ||
206 | - UCA0CTL1 &= ~UCSWRST; | ||
207 | - | ||
208 | - handlerTab[DISPATCH_HANDLER_ID] = Em_Message_dispatch; | ||
209 | -} | ||
210 | - | ||
211 | -void Hal_idleLoop(void) { | ||
212 | - | ||
213 | - EINT(); | ||
214 | - for (;;) { | ||
215 | - | ||
216 | - // atomically read/clear all handlerEvents | ||
217 | - DINT(); | ||
218 | - uint16_t events = handlerEvents; | ||
219 | - handlerEvents = 0; | ||
220 | - | ||
221 | - if (events) { // dispatch all current events | ||
222 | - EINT(); | ||
223 | - uint16_t mask; | ||
224 | - uint8_t id; | ||
225 | - for (id = 0, mask = 0x1; id < NUM_HANDLERS; id++, mask <<= 1) { | ||
226 | - if ((events & mask) && handlerTab[id]) { | ||
227 | - handlerTab[id](); | ||
228 | - } | ||
229 | - } | ||
230 | - } | ||
231 | - else { // await more events | ||
232 | - SLEEP(); | ||
233 | - } | ||
234 | - } | ||
235 | -} | ||
236 | - | ||
237 | -void Hal_ledOn(void) { | ||
238 | - LED_ON(); | ||
239 | -} | ||
240 | - | ||
241 | -void Hal_ledOff(void) { | ||
242 | - LED_OFF(); | ||
243 | -} | ||
244 | - | ||
245 | -bool Hal_ledRead(void) { | ||
246 | - return LED_READ(); | ||
247 | -} | ||
248 | - | ||
249 | -void Hal_ledToggle(void) { | ||
250 | - LED_TOGGLE(); | ||
251 | -} | ||
252 | - | ||
253 | -void Hal_tickStart(uint16_t msecs, Hal_Handler handler) { | ||
254 | - handlerTab[TICK_HANDLER_ID] = handler; | ||
255 | - clockTick = (ACLK_TICKS_PER_SECOND * msecs) / 1000; | ||
256 | - TA1CCR0 = TA1R + clockTick; // Set the CCR0 interrupt for msecs from now. | ||
257 | - TA1CCTL0 = CCIE; // Enable the CCR0 interrupt | ||
258 | -} | ||
259 | - | ||
260 | - | ||
261 | -/* -------- SRT-HAL INTERFACE -------- */ | ||
262 | - | ||
263 | -uint8_t Em_Hal_lock(void) { | ||
264 | - #ifdef __GNUC__ | ||
265 | - uint8_t key = READ_SR & 0x8; | ||
266 | - __disable_interrupt(); | ||
267 | - return key; | ||
268 | - #endif | ||
269 | - #ifdef __TI_COMPILER_VERSION__ | ||
270 | - uint8_t key = _get_interrupt_state(); | ||
271 | - _disable_interrupt(); | ||
272 | - return key; | ||
273 | - #endif | ||
274 | -} | ||
275 | - | ||
276 | -void Em_Hal_reset(void) { | ||
277 | - uint8_t key = Em_Hal_lock(); | ||
278 | - EAP_RX_ACK_CLR(); // suspend the MCM | ||
279 | - Hal_delay(100); | ||
280 | - EAP_RX_ACK_SET(); // reset the MCM | ||
281 | - Hal_delay(500); | ||
282 | - EAP_RX_INT_CLR(); | ||
283 | - EAP_TX_INT_CLR(); | ||
284 | - EAP_TX_ACK_CLR(); | ||
285 | - EAP_RX_INT_ENABLE(); | ||
286 | - Em_Hal_unlock(key); | ||
287 | -} | ||
288 | - | ||
289 | -void Em_Hal_startSend() { | ||
290 | - EAP_TX_BUF = Em_Message_startTx(); | ||
291 | -} | ||
292 | - | ||
293 | -void Em_Hal_unlock(uint8_t key) { | ||
294 | - #ifdef __GNUC__ | ||
295 | - __asm__("bis %0,r2" : : "ir" ((uint16_t) key)); | ||
296 | - #endif | ||
297 | - #ifdef __TI_COMPILER_VERSION__ | ||
298 | - _set_interrupt_state(key); | ||
299 | - #endif | ||
300 | -} | ||
301 | - | ||
302 | -void Em_Hal_watchOff(void) { | ||
303 | - UART_WATCH_DISABLE(); | ||
304 | -} | ||
305 | - | ||
306 | -void Em_Hal_watchOn(void) { | ||
307 | - UART_WATCH_ENABLE(); | ||
308 | -} | ||
309 | - | ||
310 | - | ||
311 | -/* -------- INTERNAL FUNCTIONS -------- */ | ||
312 | - | ||
313 | -static void buttonHandler(void) { | ||
314 | - Hal_delay(100); | ||
315 | - if (BUTTON_PRESSED() && appButtonHandler) { | ||
316 | - appButtonHandler(); | ||
317 | - } | ||
318 | -} | ||
319 | - | ||
320 | -static void postEvent(uint8_t handlerId) { | ||
321 | - uint8_t key = Em_Hal_lock(); | ||
322 | - handlerEvents |= 1 << handlerId; | ||
323 | - Em_Hal_unlock(key); | ||
324 | -} | ||
325 | - | ||
326 | -/* -------- INTERRUPT SERVICE ROUTINES -------- */ | ||
327 | - | ||
328 | -#ifdef __GNUC__ | ||
329 | - __attribute__((interrupt(PORT1_VECTOR))) | ||
330 | -#endif | ||
331 | -#ifdef __TI_COMPILER_VERSION__ | ||
332 | - #pragma vector=PORT1_VECTOR | ||
333 | -#endif | ||
334 | -INTERRUPT void buttonIsr(void) { | ||
335 | - postEvent(BUTTON_HANDLER_ID); | ||
336 | - BUTTON_ENABLE(); | ||
337 | - WAKEUP(); | ||
338 | -} | ||
339 | - | ||
340 | -#ifdef __GNUC__ | ||
341 | - __attribute__((interrupt(EAP_RX_VECTOR))) | ||
342 | -#endif | ||
343 | -#ifdef __TI_COMPILER_VERSION__ | ||
344 | - #pragma vector=EAP_RX_VECTOR | ||
345 | -#endif | ||
346 | -INTERRUPT void rxIsr(void) { | ||
347 | - uint8_t b = EAP_RX_BUF; | ||
348 | - Em_Message_startRx(); | ||
349 | - EAP_RX_ACK_CLR(); | ||
350 | - EAP_RX_ACK_SET(); | ||
351 | - if (Em_Message_addByte(b)) { | ||
352 | - postEvent(DISPATCH_HANDLER_ID); | ||
353 | - } | ||
354 | - WAKEUP(); | ||
355 | -} | ||
356 | - | ||
357 | -#ifdef __GNUC__ | ||
358 | - __attribute__((interrupt(TIMER1_A0_VECTOR))) | ||
359 | -#endif | ||
360 | -#ifdef __TI_COMPILER_VERSION__ | ||
361 | - #pragma vector=TIMER1_A0_VECTOR | ||
362 | -#endif | ||
363 | -INTERRUPT void timerIsr(void) { | ||
364 | - TA1CCR0 += clockTick; | ||
365 | - postEvent(TICK_HANDLER_ID); | ||
366 | - WAKEUP(); | ||
367 | -} | ||
368 | - | ||
369 | -#ifdef __GNUC__ | ||
370 | - __attribute__((interrupt(EAP_TX_ACK_VECTOR))) | ||
371 | -#endif | ||
372 | -#ifdef __TI_COMPILER_VERSION__ | ||
373 | - #pragma vector=EAP_TX_ACK_VECTOR | ||
374 | -#endif | ||
375 | -INTERRUPT void txAckIsr(void) { | ||
376 | - if (EAP_TX_ACK_TST()) { | ||
377 | - uint8_t b; | ||
378 | - if (Em_Message_getByte(&b)) { | ||
379 | - EAP_TX_BUF = b; | ||
380 | - } | ||
381 | - EAP_TX_ACK_CLR(); | ||
382 | - } | ||
383 | - WAKEUP(); | ||
384 | -} | ||
385 | - | ||
386 | -#ifdef __GNUC__ | ||
387 | - __attribute__((interrupt(TIMER1_A1_VECTOR))) | ||
388 | -#endif | ||
389 | -#ifdef __TI_COMPILER_VERSION__ | ||
390 | - #pragma vector=TIMER1_A1_VECTOR | ||
391 | -#endif | ||
392 | -INTERRUPT void uartWatchdogIsr(void) { | ||
393 | - switch (TA1IV) { | ||
394 | - case 2: // CCR1 | ||
395 | - UART_WATCH_DISABLE(); | ||
396 | - Em_Message_restart(); | ||
397 | - WAKEUP(); | ||
398 | - break; | ||
399 | - } | ||
400 | -} |
Platform-MSP-EXP430G2/Hal/Hal.h deleted
1 | -/** | ||
2 | - * Hal.h -- HAL Interface Definitions | ||
3 | - * | ||
4 | - * This example HAL is intentionally simple. The implementation is limited to: | ||
5 | - * | ||
6 | - * BUTTON -- a single button that when pressed will cause an interrupt. | ||
7 | - * CONNECTED_LED -- an LED that is controlled inside the HAL to indicate connection to a central. | ||
8 | - * DEBUG -- two debug GPIOs that are available as outputs from the EAP and under user control. | ||
9 | - * DELAY -- a delay routine that can delay by n milliseconds. | ||
10 | - * INIT -- set the hardware up to its initial state | ||
11 | - * LED -- a user LED that is available for application control. | ||
12 | - * TICK -- a timer that can be set to interrupt every n milliseconds | ||
13 | - * IDLE LOOP -- an event driven idle loop for controlling the EAP | ||
14 | - * | ||
15 | - * For information on Hal implementations for specific target hardware platforms, | ||
16 | - * visit the http://wiki.em-hub.com/display/ED. | ||
17 | - * | ||
18 | - **/ | ||
19 | - | ||
20 | -#ifndef Hal__H | ||
21 | -#define Hal__H | ||
22 | - | ||
23 | -#include <stdint.h> | ||
24 | -#include <stdbool.h> | ||
25 | - | ||
26 | -#ifdef __cplusplus | ||
27 | -extern "C" { | ||
28 | -#endif | ||
29 | - | ||
30 | -typedef void (*Hal_Handler)(void); | ||
31 | - | ||
32 | -/** | ||
33 | - * --------- Hal_buttonEnable --------- | ||
34 | - * | ||
35 | - * Enable the button interrupt and connect it to the user's buttonHandler | ||
36 | - * | ||
37 | - * When the button is pressed, it will cause an interrupt that will cause BUTTON event | ||
38 | - * to be entered into the event list. Once dispatched by the idle loop, the user's | ||
39 | - * buttonHandler will be called. | ||
40 | - * | ||
41 | - * Inputs: | ||
42 | - * buttonHandler - pointer to the user's handler to be called after interrupt | ||
43 | - * | ||
44 | - * Returns: | ||
45 | - * None | ||
46 | - * | ||
47 | - * Side effects: | ||
48 | - * BUTTON interrupt enabled | ||
49 | - * | ||
50 | - **/ | ||
51 | -extern void Hal_buttonEnable(Hal_Handler handler); | ||
52 | -/** | ||
53 | - * --------- Hal_connected --------- | ||
54 | - * | ||
55 | - * Called whenever the MCM peripheral connects to a central. | ||
56 | - * | ||
57 | - * Turns on the CONNECTED_LED to show connectivity to the central | ||
58 | - * Could do other things associated with connection to the central. | ||
59 | - * | ||
60 | - * Inputs: | ||
61 | - * None | ||
62 | - * | ||
63 | - * Returns: | ||
64 | - * None | ||
65 | - * | ||
66 | - * Side Effects: | ||
67 | - * CONNECTED_LED on. | ||
68 | - * | ||
69 | - **/ | ||
70 | -extern void Hal_connected(void); | ||
71 | -/** | ||
72 | - * --------- Hal_debugOff --------- | ||
73 | - * | ||
74 | - * Turns the selected DEBUG line off. | ||
75 | - * | ||
76 | - * The two DEBUG lines are output GPIOs that are available to the user for | ||
77 | - * debug purposes. | ||
78 | - * | ||
79 | - * Inputs: | ||
80 | - * line - the index value of the debug line to turn off | ||
81 | - * | ||
82 | - * Returns: | ||
83 | - * None | ||
84 | - * | ||
85 | - * Side Effects: | ||
86 | - * DEBUG line off. | ||
87 | - * | ||
88 | - **/ | ||
89 | -extern void Hal_debugOff(uint8_t line); | ||
90 | -/** | ||
91 | - * --------- Hal_debugOn --------- | ||
92 | - * | ||
93 | - * Turns the selected DEBUG line on. | ||
94 | - * | ||
95 | - * The two DEBUG lines are output GPIOs that are available to the user for | ||
96 | - * debug purposes. | ||
97 | - * | ||
98 | - * Inputs: | ||
99 | - * line - the index value of the debug line to turn on | ||
100 | - * | ||
101 | - * Returns: | ||
102 | - * None | ||
103 | - * | ||
104 | - * Side Effects: | ||
105 | - * DEBUG line on. | ||
106 | - * | ||
107 | - **/ | ||
108 | -extern void Hal_debugOn(uint8_t line); | ||
109 | -/** | ||
110 | - * --------- Hal_debugPulse --------- | ||
111 | - * | ||
112 | - * Emits a pulse on the selected DEBUG line. | ||
113 | - * | ||
114 | - * The two DEBUG lines are output GPIOs that are available to the user for | ||
115 | - * debug purposes. | ||
116 | - * | ||
117 | - * Inputs: | ||
118 | - * line - the index value of the debug line to emit a pulse | ||
119 | - * | ||
120 | - * Returns: | ||
121 | - * None | ||
122 | - * | ||
123 | - * Side Effects: | ||
124 | - * DEBUG line turns on then off. | ||
125 | - * | ||
126 | - **/ | ||
127 | -extern void Hal_debugPulse(uint8_t line); | ||
128 | -/** | ||
129 | - * --------- Hal_delay --------- | ||
130 | - * | ||
131 | - * Delays for the specified number of milliseconds. | ||
132 | - * | ||
133 | - * In this example, delay is done with CPU spinning for simplicity's sake. | ||
134 | - * This could easily use a timer interrupt for more power savings. | ||
135 | - * | ||
136 | - * Inputs: | ||
137 | - * msecs - the number of milliseconds to delay | ||
138 | - * | ||
139 | - * Returns: | ||
140 | - * None | ||
141 | - * | ||
142 | - * Side Effects: | ||
143 | - * None | ||
144 | - * | ||
145 | - **/ | ||
146 | -extern void Hal_delay(uint16_t msecs); | ||
147 | -/** | ||
148 | - * --------- Hal_disconnected --------- | ||
149 | - * | ||
150 | - * Called whenever the MCM peripheral disconnects from a central. | ||
151 | - * | ||
152 | - * Turns off the CONNECTED_LED to show lack of connectivity to the central | ||
153 | - * Could do other things associated with connection to the central. | ||
154 | - * | ||
155 | - * Inputs: | ||
156 | - * None | ||
157 | - * | ||
158 | - * Returns: | ||
159 | - * None | ||
160 | - * | ||
161 | - * Side Effects: | ||
162 | - * CONNECTED_LED off. | ||
163 | - * | ||
164 | - **/ | ||
165 | -extern void Hal_disconnected(void); | ||
166 | -/** | ||
167 | - * --------- Hal_idleLoop --------- | ||
168 | - * | ||
169 | - * The idle loop that controls EAP operations. | ||
170 | - * | ||
171 | - * The hal implements an event driven "idle loop" scheduler. | ||
172 | - * When there are no events pending, the idle loop sleeps. | ||
173 | - * When an event happens, the idle loop wakes up, and dispatches | ||
174 | - * to the appropriate event handler. | ||
175 | - * | ||
176 | - * The dispatching is done through a handlerTab that has one entry for each type of event. | ||
177 | - * Each handlerTab entry should be a handler of type hal_handler *. | ||
178 | - * There are currently three types of events, i.e. entries in the handlerTab: | ||
179 | - * BUTTON_HANDLER_ID: handler to call upon a button press | ||
180 | - * TICK_HANDLER_ID: handler to call upon a timer interrupt | ||
181 | - * DISPATCH_HANDLER_ID: handler to call upon a received message from the MCM | ||
182 | - * | ||
183 | - * Inputs: | ||
184 | - * None | ||
185 | - * | ||
186 | - * Returns: | ||
187 | - * None | ||
188 | - * | ||
189 | - * Side Effects: | ||
190 | - * dispatches events as they come in | ||
191 | - * | ||
192 | - **/ | ||
193 | -extern void Hal_idleLoop(void); | ||
194 | -/** | ||
195 | - * --------- Hal_init --------- | ||
196 | - * | ||
197 | - * Initialize the hardware | ||
198 | - * | ||
199 | - * Initializes the EAP and MCM into their reset state. Should be called first. | ||
200 | - * Sets up the clock, ports, watchdog timer, etc. | ||
201 | - * | ||
202 | - * | ||
203 | - * Inputs: | ||
204 | - * None | ||
205 | - * | ||
206 | - * Returns: | ||
207 | - * None | ||
208 | - * | ||
209 | - * Side Effects: | ||
210 | - * EAP and MCM in their initial state. | ||
211 | - * | ||
212 | - **/ | ||
213 | -extern void Hal_init(void); | ||
214 | -/** | ||
215 | - * --------- Hal_ledOff --------- | ||
216 | - * | ||
217 | - * Turns the user LED off. | ||
218 | - * | ||
219 | - * Inputs: | ||
220 | - * None | ||
221 | - * | ||
222 | - * Returns: | ||
223 | - * None | ||
224 | - * | ||
225 | - * Side Effects: | ||
226 | - * User LED off. | ||
227 | - * | ||
228 | - **/ | ||
229 | -extern void Hal_ledOff(void); | ||
230 | -/** | ||
231 | - * --------- Hal_ledOn --------- | ||
232 | - * | ||
233 | - * Turns the user LED on. | ||
234 | - * | ||
235 | - * Inputs: | ||
236 | - * None | ||
237 | - * | ||
238 | - * Returns: | ||
239 | - * None | ||
240 | - * | ||
241 | - * Side Effects: | ||
242 | - * User LED on. | ||
243 | - * | ||
244 | - **/ | ||
245 | -extern void Hal_ledOn(void); | ||
246 | -/** | ||
247 | - * --------- Hal_ledRead --------- | ||
248 | - * | ||
249 | - * Returns the user LED state. | ||
250 | - * | ||
251 | - * Inputs: | ||
252 | - * None | ||
253 | - * | ||
254 | - * Returns: | ||
255 | - * Bool - (true = user LED is on, false = user LED is off) | ||
256 | - * | ||
257 | - * Side Effects: | ||
258 | - * None | ||
259 | - * | ||
260 | - **/ | ||
261 | -extern bool Hal_ledRead(void); | ||
262 | -/** | ||
263 | - * --------- Hal_ledToggle --------- | ||
264 | - * | ||
265 | - * Toggles the user LED. | ||
266 | - * | ||
267 | - * Inputs: | ||
268 | - * None | ||
269 | - * | ||
270 | - * Returns: | ||
271 | - * None | ||
272 | - * | ||
273 | - * Side Effects: | ||
274 | - * User LED toggles state. | ||
275 | - * | ||
276 | - **/ | ||
277 | -extern void Hal_ledToggle(void); | ||
278 | -/** | ||
279 | - * --------- Hal_tickStart --------- | ||
280 | - * | ||
281 | - * Sets up the timer to interrupt every msecs milliseconds and the user's tickHandler | ||
282 | - * that will be called upon interrupt. | ||
283 | - * | ||
284 | - * Enable a timer interrupt every msecs ms. The interrupt will cause a TICK event | ||
285 | - * to be entered into the event list. Once dispatched by the idle loop, the user's | ||
286 | - * tickHandler will be called. | ||
287 | - * | ||
288 | - * Inputs: | ||
289 | - * msecs - the number of milliseconds between tick interrupts | ||
290 | - * tickHandler - the address of the user's tick handler that will be called | ||
291 | - * | ||
292 | - * Returns: | ||
293 | - * None | ||
294 | - * | ||
295 | - * Side Effects: | ||
296 | - * tickhandler called by the idle loop | ||
297 | - * | ||
298 | - **/ | ||
299 | -extern void Hal_tickStart(uint16_t msecs, Hal_Handler Handler); | ||
300 | - | ||
301 | -#ifdef __cplusplus | ||
302 | -} | ||
303 | -#endif | ||
304 | - | ||
305 | -#endif /* Hal__H */ |
Platform-MSP-EXP430G2/common.mk deleted
1 | -OUTDIR = Output | ||
2 | -EMMOCO-ROOT = /Applications/Development/Em-Builder-IDE/eclipse/emmoco | ||
3 | -EMBUILDER ?= | ||
4 | -SCHEMAFILE = $(APPNAME).ems | ||
5 | -MAIN = $(APPNAME)-Prog | ||
6 | -BINFILE = $(OUTDIR)/$(MAIN).bin | ||
7 | -HEXFILE = $(OUTDIR)/$(MAIN).hex | ||
8 | -OUTFILE = $(OUTDIR)/$(MAIN).out | ||
9 | -OBJECTS = $(OUTDIR)/$(MAIN).obj $(OUTDIR)/$(APPNAME).obj $(OUTDIR)/Hal.obj | ||
10 | - | ||
11 | -CC = $(TOOLS)/$(GCCARCH)-gcc | ||
12 | -LD = $(TOOLS)/$(GCCARCH)-ld | ||
13 | -OBJCOPY = $(TOOLS)/$(GCCARCH)-objcopy | ||
14 | -SIZE = $(TOOLS)/$(GCCARCH)-size | ||
15 | - | ||
16 | -CFLAGS = -std=gnu99 -O2 -w -ffunction-sections -fdata-sections -fpack-struct=1 -fno-strict-aliasing -fomit-frame-pointer -c -g -I$(PLATFORM)/Hal -IEm $(COPTS) | ||
17 | - | ||
18 | -load: out-check | ||
19 | - $(EXEC) | ||
20 | - | ||
21 | -build: $(OUTDIR) out-remove $(OUTFILE) | ||
22 | - | ||
23 | -$(OUTDIR): | ||
24 | -ifeq (,$(findstring Windows,$(OS))) | ||
25 | - mkdir $(OUTDIR) | ||
26 | -else | ||
27 | - cmd /c mkdir $(OUTDIR) | ||
28 | -endif | ||
29 | - | ||
30 | -$(OUTDIR)/$(MAIN).obj: $(MAIN).c Em/$(APPNAME).c | ||
31 | - $(CC) $< -o $@ $(CFLAGS) | ||
32 | - | ||
33 | -$(OUTDIR)/$(APPNAME).obj: Em/$(APPNAME).c | ||
34 | - $(CC) $< -o $@ $(CFLAGS) | ||
35 | - | ||
36 | -$(OUTDIR)/Hal.obj: $(PLATFORM)/Hal/Hal.c | ||
37 | - $(CC) $< -o $@ $(CFLAGS) | ||
38 | - | ||
39 | -Em/$(APPNAME).c: $(SCHEMAFILE) | ||
40 | -ifneq (,$(EMBUILDER)) | ||
41 | - $(EMBUILDER) -v --root=$(<D) --outdir=Em --jsondir=Em $< | ||
42 | -else | ||
43 | - @echo terminating because of prior schema errors 1>&2 | ||
44 | - @exit 1 | ||
45 | -endif | ||
46 | - | ||
47 | -local-clean: | ||
48 | -ifeq (,$(findstring Windows,$(OS))) | ||
49 | - rm -rf $(OUTDIR) | ||
50 | -else | ||
51 | -ifneq (,$(wildcard $(OUTDIR))) | ||
52 | - cmd /c rmdir /q /s $(subst /,\,$(OUTDIR)) | ||
53 | -endif | ||
54 | -endif | ||
55 | - | ||
56 | -clean: local-clean | ||
57 | -ifeq (,$(findstring Windows,$(OS))) | ||
58 | - rm -rf $(EM) | ||
59 | -else | ||
60 | -ifneq (,$(wildcard Em)) | ||
61 | - cmd /c rmdir /q /s $(subst /,\,Em) | ||
62 | -endif | ||
63 | -endif | ||
64 | - | ||
65 | -out-check: | ||
66 | -ifeq (,$(wildcard $(OUTFILE))) | ||
67 | - @echo error: $(OUTFILE): No such file or directory 1>&2 | ||
68 | - @exit 1 | ||
69 | -endif | ||
70 | - | ||
71 | -out-remove: | ||
72 | -ifeq (,$(findstring Windows,$(OS))) | ||
73 | - rm -f $(OUTFILE) | ||
74 | -else | ||
75 | -ifneq (,$(wildcard $(OUTFILE))) | ||
76 | - cmd /c del /q $(subst /,\,$(OUTFILE)) | ||
77 | -endif | ||
78 | -endif | ||
79 | - | ||
80 | -.PHONY: all load clean local-clean out-check |
Platform-MSP-EXP430G2/rules.mk deleted
1 | -include $(PLATFORM)/common.mk | ||
2 | - | ||
3 | -TOOLS ?= $(EMMOCO-ROOT)/msptools/bin | ||
4 | -GCCARCH = msp430 | ||
5 | -MCU = msp430g2553 | ||
6 | - | ||
7 | -COPTS = -mmcu=$(MCU) | ||
8 | -LDOPTS = -mmcu=$(MCU) -Wl,-Map=$(OUTDIR)/$(MAIN).map,--gc-sections | ||
9 | - | ||
10 | -ifeq (,$(findstring Windows,$(OS))) | ||
11 | -EXEC = $(EMMOCO-ROOT)/msptools/bin/mspdebug rf2500 "prog $(OUTFILE)" 2>&1 | ||
12 | -else | ||
13 | -EXEC = $(EMMOCO-ROOT)/msptools/bin/MSP430Flasher -i USB -m AUTO -e ERASE_MAIN -n $(MCU) -w $(HEXFILE) -v -z [VCC] -g -s -q | ||
14 | -endif | ||
15 | - | ||
16 | -$(OUTFILE): $(OBJECTS) | ||
17 | - $(CC) -o $(OUTFILE) $^ $(LDOPTS) | ||
18 | - $(OBJCOPY) -O ihex $(OUTFILE) $(HEXFILE) | ||
19 | - $(SIZE) $(OUTFILE) | ||
20 | - | ||
21 | - | ||
22 | - |
codic.png deleted
1.7 MB
ios-examples-13.4.9/Ex_Broadcast/BroadcastExample/EMAppDelegate.h deleted
1 | -// | ||
2 | -// EMAppDelegate.h | ||
3 | -// BroadcastExample | ||
4 | -// | ||
5 | -// Created by Dexter Weiss on 12/17/13. | ||
6 | -// Copyright (c) 2013 Emmoco. All rights reserved. | ||
7 | -// | ||
8 | - | ||
9 | -#import <UIKit/UIKit.h> | ||
10 | - | ||
11 | -@interface EMAppDelegate : UIResponder <UIApplicationDelegate> | ||
12 | - | ||
13 | -@property (strong, nonatomic) UIWindow *window; | ||
14 | - | ||
15 | -@end |
ios-examples-13.4.9/Ex_Broadcast/BroadcastExample/EMAppDelegate.m deleted
1 | -// | ||
2 | -// EMAppDelegate.m | ||
3 | -// BroadcastExample | ||
4 | -// | ||
5 | -// Created by Dexter Weiss on 12/17/13. | ||
6 | -// Copyright (c) 2013 Emmoco. All rights reserved. | ||
7 | -// | ||
8 | - | ||
9 | -#import "EMAppDelegate.h" | ||
10 | -#import "EMFramework.h" | ||
11 | - | ||
12 | -@implementation EMAppDelegate | ||
13 | - | ||
14 | -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions | ||
15 | -{ | ||
16 | - EMBluetoothLowEnergyConnectionType *bluetooth = [[EMBluetoothLowEnergyConnectionType alloc] init]; | ||
17 | - if ([bluetooth isAvailable]) { | ||
18 | - [[EMConnectionListManager sharedManager] addConnectionTypeToUpdates:bluetooth]; | ||
19 | - [bluetooth setScanResetTime:0.5]; | ||
20 | - } | ||
21 | - [[EMConnectionListManager sharedManager] startUpdating]; | ||
22 | - return YES; | ||
23 | -} | ||
24 | - | ||
25 | -- (void)applicationWillResignActive:(UIApplication *)application | ||
26 | -{ | ||
27 | - // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. | ||
28 | - // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. | ||
29 | -} | ||
30 | - | ||
31 | -- (void)applicationDidEnterBackground:(UIApplication *)application | ||
32 | -{ | ||
33 | - // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. | ||
34 | - // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. | ||
35 | -} | ||
36 | - | ||
37 | -- (void)applicationWillEnterForeground:(UIApplication *)application | ||
38 | -{ | ||
39 | - // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. | ||
40 | -} | ||
41 | - | ||
42 | -- (void)applicationDidBecomeActive:(UIApplication *)application | ||
43 | -{ | ||
44 | - // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. | ||
45 | -} | ||
46 | - | ||
47 | -- (void)applicationWillTerminate:(UIApplication *)application | ||
48 | -{ | ||
49 | - // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. | ||
50 | -} | ||
51 | - | ||
52 | -@end |
ios-examples-13.4.9/Ex_Broadcast/BroadcastExample/EMBroadcastViewController.h deleted
ios-examples-13.4.9/Ex_Broadcast/BroadcastExample/EMBroadcastViewController.m deleted
1 | -// | ||
2 | -// EMBroadcastViewController.m | ||
3 | -// BroadcastExample | ||
4 | -// | ||
5 | -// Created by Dexter Weiss on 12/17/13. | ||
6 | -// Copyright (c) 2013 Emmoco. All rights reserved. | ||
7 | -// | ||
8 | - | ||
9 | -#import "EMBroadcastViewController.h" | ||
10 | -#import "EMFramework.h" | ||
11 | - | ||
12 | -@interface EMBroadcastViewController () { | ||
13 | - IBOutlet UILabel *codeLabel; | ||
14 | - IBOutlet UILabel *firstDataField; | ||
15 | - IBOutlet UILabel *secondDataField; | ||
16 | -} | ||
17 | - | ||
18 | -@property (nonatomic, strong) EMDeviceBasicDescription *device; | ||
19 | - | ||
20 | -@end | ||
21 | - | ||
22 | -@implementation EMBroadcastViewController | ||
23 | - | ||
24 | -- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil | ||
25 | -{ | ||
26 | - self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; | ||
27 | - if (self) { | ||
28 | - // Custom initialization | ||
29 | - } | ||
30 | - return self; | ||
31 | -} | ||
32 | - | ||
33 | -- (void)viewDidLoad | ||
34 | -{ | ||
35 | - [super viewDidLoad]; | ||
36 | - [[EMConnectionListManager sharedManager] addObserver:self forKeyPath:@"devices" options:0 context:NULL]; | ||
37 | -} | ||
38 | - | ||
39 | --(void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context { | ||
40 | - if (object == [EMConnectionListManager sharedManager]) { | ||
41 | - if ([keyPath isEqualToString:@"devices"]) { | ||
42 | - NSArray *devices = [[EMConnectionListManager sharedManager] devices]; | ||
43 | - [self setDevice:[devices lastObject]]; | ||
44 | - } | ||
45 | - } | ||
46 | -} | ||
47 | - | ||
48 | --(void)setDevice:(EMDeviceBasicDescription *)device { | ||
49 | - [self willChangeValueForKey:@"device"]; | ||
50 | - _device = device; | ||
51 | - [self didChangeValueForKey:@"device"]; | ||
52 | - [self _updateInterfaceForDevice]; | ||
53 | -} | ||
54 | - | ||
55 | --(void)_updateInterfaceForDevice { | ||
56 | - NSDictionary *broadcastInfo = [[self device] advertiseObject]; | ||
57 | - NSString *code = [broadcastInfo objectForKey:@"c"]; | ||
58 | - NSArray *values = [broadcastInfo objectForKey:@"d"]; | ||
59 | - NSNumber *first = [values firstObject]; | ||
60 | - NSNumber *second = [values lastObject]; | ||
61 | - [codeLabel setText:code]; | ||
62 | - [firstDataField setText:[NSString stringWithFormat:@"%0.1f", [first floatValue]]]; | ||
63 | - [secondDataField setText:[NSString stringWithFormat:@"%0.1f", [second floatValue]]]; | ||
64 | -} | ||
65 | - | ||
66 | -@end |
ios-examples-13.4.9/Ex_Broadcast/BroadcastExample/Ex_Broadcast-Info.plist deleted
1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
2 | -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
3 | -<plist version="1.0"> | ||
4 | -<dict> | ||
5 | - <key>CFBundleDevelopmentRegion</key> | ||
6 | - <string>en</string> | ||
7 | - <key>CFBundleDisplayName</key> | ||
8 | - <string>${PRODUCT_NAME}</string> | ||
9 | - <key>CFBundleExecutable</key> | ||
10 | - <string>${EXECUTABLE_NAME}</string> | ||
11 | - <key>CFBundleIdentifier</key> | ||
12 | - <string>com.emmoco.${PRODUCT_NAME:rfc1034identifier}</string> | ||
13 | - <key>CFBundleInfoDictionaryVersion</key> | ||
14 | - <string>6.0</string> | ||
15 | - <key>CFBundleName</key> | ||
16 | - <string>${PRODUCT_NAME}</string> | ||
17 | - <key>CFBundlePackageType</key> | ||
18 | - <string>APPL</string> | ||
19 | - <key>CFBundleShortVersionString</key> | ||
20 | - <string>1.0</string> | ||
21 | - <key>CFBundleSignature</key> | ||
22 | - <string>????</string> | ||
23 | - <key>CFBundleVersion</key> | ||
24 | - <string>1.0</string> | ||
25 | - <key>LSRequiresIPhoneOS</key> | ||
26 | - <true/> | ||
27 | - <key>UIMainStoryboardFile</key> | ||
28 | - <string>Storyboard</string> | ||
29 | - <key>UIRequiredDeviceCapabilities</key> | ||
30 | - <array> | ||
31 | - <string>armv7</string> | ||
32 | - </array> | ||
33 | - <key>UISupportedInterfaceOrientations</key> | ||
34 | - <array> | ||
35 | - <string>UIInterfaceOrientationPortrait</string> | ||
36 | - <string>UIInterfaceOrientationLandscapeLeft</string> | ||
37 | - <string>UIInterfaceOrientationLandscapeRight</string> | ||
38 | - </array> | ||
39 | -</dict> | ||
40 | -</plist> |
ios-examples-13.4.9/Ex_Broadcast/BroadcastExample/Ex_Broadcast-Prefix.pch deleted
1 | -// | ||
2 | -// Prefix header | ||
3 | -// | ||
4 | -// The contents of this file are implicitly included at the beginning of every source file. | ||
5 | -// | ||
6 | - | ||
7 | -#import <Availability.h> | ||
8 | - | ||
9 | -#ifndef __IPHONE_3_0 | ||
10 | -#warning "This project uses features only available in iOS SDK 3.0 and later." | ||
11 | -#endif | ||
12 | - | ||
13 | -#ifdef __OBJC__ | ||
14 | - #import <UIKit/UIKit.h> | ||
15 | - #import <Foundation/Foundation.h> | ||
16 | -#endif |
ios-examples-13.4.9/Ex_Broadcast/BroadcastExample/Images.xcassets/AppIcon.appiconset/120 - App Icon@2x.png deleted
5.49 KB
ios-examples-13.4.9/Ex_Broadcast/BroadcastExample/Images.xcassets/AppIcon.appiconset/29 - App Icon@2x.png deleted
3 KB
ios-examples-13.4.9/Ex_Broadcast/BroadcastExample/Images.xcassets/AppIcon.appiconset/40 - App Icon@2x.png deleted
3.96 KB
ios-examples-13.4.9/Ex_Broadcast/BroadcastExample/Images.xcassets/AppIcon.appiconset/Contents.json deleted
1 | -{ | ||
2 | - "images" : [ | ||
3 | - { | ||
4 | - "size" : "29x29", | ||
5 | - "idiom" : "iphone", | ||
6 | - "filename" : "29 - App Icon@2x.png", | ||
7 | - "scale" : "2x" | ||
8 | - }, | ||
9 | - { | ||
10 | - "size" : "40x40", | ||
11 | - "idiom" : "iphone", | ||
12 | - "filename" : "40 - App Icon@2x.png", | ||
13 | - "scale" : "2x" | ||
14 | - }, | ||
15 | - { | ||
16 | - "size" : "60x60", | ||
17 | - "idiom" : "iphone", | ||
18 | - "filename" : "120 - App Icon@2x.png", | ||
19 | - "scale" : "2x" | ||
20 | - } | ||
21 | - ], | ||
22 | - "info" : { | ||
23 | - "version" : 1, | ||
24 | - "author" : "xcode" | ||
25 | - } | ||
26 | -} | ||
27 | \ No newline at end of file | 0 | \ No newline at end of file |
ios-examples-13.4.9/Ex_Broadcast/BroadcastExample/Images.xcassets/LaunchImage.launchimage/Contents.json deleted
1 | -{ | ||
2 | - "images" : [ | ||
3 | - { | ||
4 | - "orientation" : "portrait", | ||
5 | - "idiom" : "iphone", | ||
6 | - "extent" : "full-screen", | ||
7 | - "minimum-system-version" : "7.0", | ||
8 | - "scale" : "2x" | ||
9 | - }, | ||
10 | - { | ||
11 | - "orientation" : "portrait", | ||
12 | - "idiom" : "iphone", | ||
13 | - "subtype" : "retina4", | ||
14 | - "extent" : "full-screen", | ||
15 | - "minimum-system-version" : "7.0", | ||
16 | - "scale" : "2x" | ||
17 | - } | ||
18 | - ], | ||
19 | - "info" : { | ||
20 | - "version" : 1, | ||
21 | - "author" : "xcode" | ||
22 | - } | ||
23 | -} | ||
24 | \ No newline at end of file | 0 | \ No newline at end of file |
ios-examples-13.4.9/Ex_Broadcast/BroadcastExample/Storyboard.storyboard deleted
1 | -<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
2 | -<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="4510" systemVersion="13B3116" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="Xa3-lN-gd9"> | ||
3 | - <dependencies> | ||
4 | - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3742"/> | ||
5 | - </dependencies> | ||
6 | - <scenes> | ||
7 | - <!--Broadcast View Controller--> | ||
8 | - <scene sceneID="HBA-Ap-0Bv"> | ||
9 | - <objects> | ||
10 | - <viewController id="Xa3-lN-gd9" customClass="EMBroadcastViewController" sceneMemberID="viewController"> | ||
11 | - <layoutGuides> | ||
12 | - <viewControllerLayoutGuide type="top" id="ySv-Ja-6rq"/> | ||
13 | - <viewControllerLayoutGuide type="bottom" id="yDK-Oq-5wT"/> | ||
14 | - </layoutGuides> | ||
15 | - <view key="view" contentMode="scaleToFill" id="D4d-fo-fng"> | ||
16 | - <rect key="frame" x="0.0" y="0.0" width="320" height="568"/> | ||
17 | - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> | ||
18 | - <subviews> | ||
19 | - <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Code:" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VkA-yO-sqz"> | ||
20 | - <rect key="frame" x="109" y="153" width="47" height="21"/> | ||
21 | - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> | ||
22 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
23 | - <color key="textColor" red="0.63795006789999997" green="0.63795006789999997" blue="0.63795006789999997" alpha="1" colorSpace="calibratedRGB"/> | ||
24 | - <nil key="highlightedColor"/> | ||
25 | - </label> | ||
26 | - <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Data:" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zBn-sl-Yad"> | ||
27 | - <rect key="frame" x="115" y="215" width="41" height="21"/> | ||
28 | - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> | ||
29 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
30 | - <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/> | ||
31 | - <nil key="highlightedColor"/> | ||
32 | - </label> | ||
33 | - <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="-" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XDf-dH-ZiY"> | ||
34 | - <rect key="frame" x="170" y="215" width="86" height="21"/> | ||
35 | - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> | ||
36 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
37 | - <nil key="highlightedColor"/> | ||
38 | - </label> | ||
39 | - <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="-" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="q3Y-MW-LIy"> | ||
40 | - <rect key="frame" x="170" y="244" width="86" height="21"/> | ||
41 | - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> | ||
42 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
43 | - <nil key="highlightedColor"/> | ||
44 | - </label> | ||
45 | - <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="-" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xy1-R9-Ezz"> | ||
46 | - <rect key="frame" x="170" y="153" width="86" height="21"/> | ||
47 | - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> | ||
48 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
49 | - <nil key="highlightedColor"/> | ||
50 | - </label> | ||
51 | - <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="When data is found broadcasting from a broadcast board, it will be displayed below" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="280" translatesAutoresizingMaskIntoConstraints="NO" id="dsa-yw-72P"> | ||
52 | - <rect key="frame" x="20" y="20" width="280" height="80"/> | ||
53 | - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> | ||
54 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
55 | - <nil key="highlightedColor"/> | ||
56 | - </label> | ||
57 | - </subviews> | ||
58 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/> | ||
59 | - </view> | ||
60 | - <connections> | ||
61 | - <outlet property="codeLabel" destination="xy1-R9-Ezz" id="65W-KA-noY"/> | ||
62 | - <outlet property="firstDataField" destination="XDf-dH-ZiY" id="ifz-Bb-sS7"/> | ||
63 | - <outlet property="secondDataField" destination="q3Y-MW-LIy" id="X7C-4A-R6a"/> | ||
64 | - </connections> | ||
65 | - </viewController> | ||
66 | - <placeholder placeholderIdentifier="IBFirstResponder" id="rfb-y5-WAu" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
67 | - </objects> | ||
68 | - <point key="canvasLocation" x="338" y="27"/> | ||
69 | - </scene> | ||
70 | - </scenes> | ||
71 | - <simulatedMetricsContainer key="defaultSimulatedMetrics"> | ||
72 | - <simulatedStatusBarMetrics key="statusBar"/> | ||
73 | - <simulatedOrientationMetrics key="orientation"/> | ||
74 | - <simulatedScreenMetrics key="destination" type="retina4"/> | ||
75 | - </simulatedMetricsContainer> | ||
76 | -</document> | ||
77 | \ No newline at end of file | 0 | \ No newline at end of file |
ios-examples-13.4.9/Ex_Broadcast/BroadcastExample/en.lproj/InfoPlist.strings deleted
ios-examples-13.4.9/Ex_Broadcast/BroadcastExample/ex_broadcast.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 | - "$activeGroup": { | ||
37 | - "id": -10, | ||
38 | - "align": 1, | ||
39 | - "pack": 1, | ||
40 | - "attributes": {"readwrite": true}, | ||
41 | - "type": "E:system@emmoco.com.System/ParameterGroup", | ||
42 | - "access": "rw", | ||
43 | - "size": 1 | ||
44 | - }, | ||
45 | - "$mcmDisconnect": { | ||
46 | - "id": -9, | ||
47 | - "align": 1, | ||
48 | - "attributes": {"writeonly": true}, | ||
49 | - "type": "u1", | ||
50 | - "access": "w", | ||
51 | - "size": 1 | ||
52 | - }, | ||
53 | - "$eapBuildDate": { | ||
54 | - "dim": 8, | ||
55 | - "id": -4, | ||
56 | - "align": 1, | ||
57 | - "attributes": {"readonly": true}, | ||
58 | - "type": "A8:u1", | ||
59 | - "access": "r", | ||
60 | - "size": 8 | ||
61 | - }, | ||
62 | - "$resourceCount": { | ||
63 | - "id": -7, | ||
64 | - "align": 1, | ||
65 | - "attributes": {"readonly": true}, | ||
66 | - "type": "S:system@emmoco.com.System/ResourceCount", | ||
67 | - "access": "r", | ||
68 | - "size": 2 | ||
69 | - }, | ||
70 | - "$fileIndexReset": { | ||
71 | - "id": -5, | ||
72 | - "align": 2, | ||
73 | - "attributes": {"writeonly": true}, | ||
74 | - "type": "i2", | ||
75 | - "access": "w", | ||
76 | - "size": 2 | ||
77 | - }, | ||
78 | - "info": { | ||
79 | - "id": 1, | ||
80 | - "align": 2, | ||
81 | - "pack": 9, | ||
82 | - "attributes": {"broadcast": true}, | ||
83 | - "type": "S:@emmoco.com.Ex_Broadcast/Info", | ||
84 | - "access": "r", | ||
85 | - "size": 2 | ||
86 | - } | ||
87 | - }, | ||
88 | - "resourceNamesSys": [ | ||
89 | - "$activeGroup", | ||
90 | - "$eapBuildDate", | ||
91 | - "$eapProtocolLevel", | ||
92 | - "$fileIndexReset", | ||
93 | - "$mcmDisconnect", | ||
94 | - "$mcmProtocolLevel", | ||
95 | - "$mobileRssi", | ||
96 | - "$resourceCount", | ||
97 | - "$schemaHash" | ||
98 | - ], | ||
99 | - "manifest": { | ||
100 | - "protocolLevel": 13, | ||
101 | - "hash": [ | ||
102 | - 192, | ||
103 | - 219, | ||
104 | - 219, | ||
105 | - 167, | ||
106 | - 239, | ||
107 | - 193, | ||
108 | - 8, | ||
109 | - 28, | ||
110 | - 198, | ||
111 | - 8, | ||
112 | - 2, | ||
113 | - 121, | ||
114 | - 226, | ||
115 | - 88, | ||
116 | - 60, | ||
117 | - 212 | ||
118 | - ], | ||
119 | - "toolVersion": "13.3.7.201308302156", | ||
120 | - "name": "Ex_Broadcast", | ||
121 | - "broadcaster": "info", | ||
122 | - "$$md5": "c0dbdba7efc1081cc6080279e2583cd4", | ||
123 | - "build": [ | ||
124 | - 177, | ||
125 | - 231, | ||
126 | - 254, | ||
127 | - 55, | ||
128 | - 65, | ||
129 | - 1, | ||
130 | - 0, | ||
131 | - 0 | ||
132 | - ], | ||
133 | - "date": "2013-09-19T15:52:34", | ||
134 | - "maxAlign": 2, | ||
135 | - "maxSize": 20, | ||
136 | - "version": "1.0.0" | ||
137 | - }, | ||
138 | - "resourceNames": [ | ||
139 | - "info", | ||
140 | - "$mcmProtocolLevel", | ||
141 | - "$eapProtocolLevel", | ||
142 | - "$eapBuildDate", | ||
143 | - "$fileIndexReset", | ||
144 | - "$schemaHash", | ||
145 | - "$resourceCount", | ||
146 | - "$mobileRssi", | ||
147 | - "$mcmDisconnect", | ||
148 | - "$activeGroup" | ||
149 | - ], | ||
150 | - "attributes": { | ||
151 | - "description": "Broadcast example", | ||
152 | - "version": "1.0.0" | ||
153 | - }, | ||
154 | - "resourceNamesApp": ["info"], | ||
155 | - "types": { | ||
156 | - "system@emmoco.com.System/ResourceCount": { | ||
157 | - "packed": false, | ||
158 | - "align": 1, | ||
159 | - "type": "S:system@emmoco.com.System/ResourceCount", | ||
160 | - "size": 2, | ||
161 | - "fields": [ | ||
162 | - { | ||
163 | - "pad": 0, | ||
164 | - "align": 1, | ||
165 | - "name": "app", | ||
166 | - "type": "u1", | ||
167 | - "size": 1 | ||
168 | - }, | ||
169 | - { | ||
170 | - "pad": 0, | ||
171 | - "align": 1, | ||
172 | - "name": "sys", | ||
173 | - "type": "u1", | ||
174 | - "size": 1 | ||
175 | - } | ||
176 | - ] | ||
177 | - }, | ||
178 | - "std:i2": { | ||
179 | - "align": 2, | ||
180 | - "size": 2 | ||
181 | - }, | ||
182 | - "std:i1": { | ||
183 | - "align": 1, | ||
184 | - "size": 1 | ||
185 | - }, | ||
186 | - "@emmoco.com.Ex_Broadcast/Code": { | ||
187 | - "values": [ | ||
188 | - "C1", | ||
189 | - "C2" | ||
190 | - ], | ||
191 | - "align": 1, | ||
192 | - "pack": 1, | ||
193 | - "type": "E:@emmoco.com.Ex_Broadcast/Code", | ||
194 | - "size": 1 | ||
195 | - }, | ||
196 | - "std:u1": { | ||
197 | - "align": 1, | ||
198 | - "size": 1 | ||
199 | - }, | ||
200 | - "system@emmoco.com.System/ParameterGroup": { | ||
201 | - "values": [ | ||
202 | - "GROUP_A", | ||
203 | - "GROUP_B" | ||
204 | - ], | ||
205 | - "align": 1, | ||
206 | - "pack": 1, | ||
207 | - "type": "E:system@emmoco.com.System/ParameterGroup", | ||
208 | - "size": 1 | ||
209 | - }, | ||
210 | - "std:u2": { | ||
211 | - "align": 2, | ||
212 | - "size": 2 | ||
213 | - }, | ||
214 | - "@emmoco.com.Ex_Broadcast/Info": { | ||
215 | - "packed": true, | ||
216 | - "align": 2, | ||
217 | - "pack": 9, | ||
218 | - "type": "S:@emmoco.com.Ex_Broadcast/Info", | ||
219 | - "size": 2, | ||
220 | - "fields": [ | ||
221 | - { | ||
222 | - "pad": 0, | ||
223 | - "packed": true, | ||
224 | - "align": 1, | ||
225 | - "name": "c", | ||
226 | - "pack": 1, | ||
227 | - "type": "E:@emmoco.com.Ex_Broadcast/Code", | ||
228 | - "size": 1 | ||
229 | - }, | ||
230 | - { | ||
231 | - "dim": 2, | ||
232 | - "pad": 0, | ||
233 | - "packed": true, | ||
234 | - "align": 1, | ||
235 | - "name": "d", | ||
236 | - "pack": 8, | ||
237 | - "type": "A2:N:1.000000,2.000000,0.100000,1/u1/10", | ||
238 | - "size": 1 | ||
239 | - } | ||
240 | - ] | ||
241 | - } | ||
242 | - }, | ||
243 | - "imports": {"@emmoco.com.Ex_Broadcast": true} | ||
244 | -} | ||
245 | \ No newline at end of file | 0 | \ No newline at end of file |
ios-examples-13.4.9/Ex_Broadcast/BroadcastExample/main.m deleted
1 | -// | ||
2 | -// main.m | ||
3 | -// BroadcastExample | ||
4 | -// | ||
5 | -// Created by Dexter Weiss on 12/17/13. | ||
6 | -// Copyright (c) 2013 Emmoco. All rights reserved. | ||
7 | -// | ||
8 | - | ||
9 | -#import <UIKit/UIKit.h> | ||
10 | - | ||
11 | -#import "EMAppDelegate.h" | ||
12 | - | ||
13 | -int main(int argc, char * argv[]) | ||
14 | -{ | ||
15 | - @autoreleasepool { | ||
16 | - return UIApplicationMain(argc, argv, nil, NSStringFromClass([EMAppDelegate class])); | ||
17 | - } | ||
18 | -} |
ios-examples-13.4.9/Ex_Broadcast/BroadcastExampleTests/BroadcastExampleTests.m deleted
1 | -// | ||
2 | -// BroadcastExampleTests.m | ||
3 | -// BroadcastExampleTests | ||
4 | -// | ||
5 | -// Created by Dexter Weiss on 12/17/13. | ||
6 | -// Copyright (c) 2013 Emmoco. All rights reserved. | ||
7 | -// | ||
8 | - | ||
9 | -#import <XCTest/XCTest.h> | ||
10 | - | ||
11 | -@interface BroadcastExampleTests : XCTestCase | ||
12 | - | ||
13 | -@end | ||
14 | - | ||
15 | -@implementation BroadcastExampleTests | ||
16 | - | ||
17 | -- (void)setUp | ||
18 | -{ | ||
19 | - [super setUp]; | ||
20 | - // Put setup code here. This method is called before the invocation of each test method in the class. | ||
21 | -} | ||
22 | - | ||
23 | -- (void)tearDown | ||
24 | -{ | ||
25 | - // Put teardown code here. This method is called after the invocation of each test method in the class. | ||
26 | - [super tearDown]; | ||
27 | -} | ||
28 | - | ||
29 | -- (void)testExample | ||
30 | -{ | ||
31 | - XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); | ||
32 | -} | ||
33 | - | ||
34 | -@end |
ios-examples-13.4.9/Ex_Broadcast/BroadcastExampleTests/Ex_BroadcastTests-Info.plist deleted
1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
2 | -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
3 | -<plist version="1.0"> | ||
4 | -<dict> | ||
5 | - <key>CFBundleDevelopmentRegion</key> | ||
6 | - <string>en</string> | ||
7 | - <key>CFBundleExecutable</key> | ||
8 | - <string>${EXECUTABLE_NAME}</string> | ||
9 | - <key>CFBundleIdentifier</key> | ||
10 | - <string>com.emmoco.${PRODUCT_NAME:rfc1034identifier}</string> | ||
11 | - <key>CFBundleInfoDictionaryVersion</key> | ||
12 | - <string>6.0</string> | ||
13 | - <key>CFBundlePackageType</key> | ||
14 | - <string>BNDL</string> | ||
15 | - <key>CFBundleShortVersionString</key> | ||
16 | - <string>1.0</string> | ||
17 | - <key>CFBundleSignature</key> | ||
18 | - <string>????</string> | ||
19 | - <key>CFBundleVersion</key> | ||
20 | - <string>1</string> | ||
21 | -</dict> | ||
22 | -</plist> |
ios-examples-13.4.9/Ex_Broadcast/BroadcastExampleTests/en.lproj/InfoPlist.strings deleted
ios-examples-13.4.9/Ex_Broadcast/EmmocoMobileFramework/Assets/system.json deleted
1 | -{ | ||
2 | - "resources": { | ||
3 | - "$activeParameterGroup": { | ||
4 | - "id": -10, | ||
5 | - "align": 1, | ||
6 | - "pack": 1, | ||
7 | - "attributes": {"readwrite": true}, | ||
8 | - "type": "E:system@emmoco.com.System/ParameterGroup", | ||
9 | - "access": "rw", | ||
10 | - "size": 1 | ||
11 | - }, | ||
12 | - "$schemaHash": { | ||
13 | - "dim": 20, | ||
14 | - "id": -6, | ||
15 | - "align": 1, | ||
16 | - "attributes": {"readonly": true}, | ||
17 | - "type": "A20:u1", | ||
18 | - "access": "r", | ||
19 | - "size": 20 | ||
20 | - }, | ||
21 | - "$eapProtocolLevel": { | ||
22 | - "id": -3, | ||
23 | - "align": 2, | ||
24 | - "attributes": {"readonly": true}, | ||
25 | - "type": "u2", | ||
26 | - "access": "r", | ||
27 | - "size": 2 | ||
28 | - }, | ||
29 | - "$mcmProtocolLevel": { | ||
30 | - "id": -2, | ||
31 | - "align": 2, | ||
32 | - "attributes": {"readonly": true}, | ||
33 | - "type": "u2", | ||
34 | - "access": "r", | ||
35 | - "size": 2 | ||
36 | - }, | ||
37 | - "$mobileRssi": { | ||
38 | - "id": -8, | ||
39 | - "align": 1, | ||
40 | - "attributes": {"readonly": true}, | ||
41 | - "type": "i1", | ||
42 | - "access": "r", | ||
43 | - "size": 1 | ||
44 | - }, | ||
45 | - "$mcmDisconnect": { | ||
46 | - "id": -9, | ||
47 | - "align": 1, | ||
48 | - "attributes": {"writeonly": true}, | ||
49 | - "type": "u1", | ||
50 | - "access": "w", | ||
51 | - "size": 1 | ||
52 | - }, | ||
53 | - "$eapBuildDate": { | ||
54 | - "dim": 8, | ||
55 | - "id": -4, | ||
56 | - "align": 1, | ||
57 | - "attributes": {"readonly": true}, | ||
58 | - "type": "A8:u1", | ||
59 | - "access": "r", | ||
60 | - "size": 8 | ||
61 | - }, | ||
62 | - "$resourceCount": { | ||
63 | - "id": -7, | ||
64 | - "align": 1, | ||
65 | - "attributes": {"readonly": true}, | ||
66 | - "type": "S:system@emmoco.com.System/ResourceCount", | ||
67 | - "access": "r", | ||
68 | - "size": 2 | ||
69 | - }, | ||
70 | - "$fileIndexReset": { | ||
71 | - "id": -5, | ||
72 | - "align": 2, | ||
73 | - "attributes": {"writeonly": true}, | ||
74 | - "type": "i2", | ||
75 | - "access": "w", | ||
76 | - "size": 2 | ||
77 | - } | ||
78 | - }, | ||
79 | - "resourceNamesSys": [ | ||
80 | - "$activeParameterGroup", | ||
81 | - "$eapBuildDate", | ||
82 | - "$eapProtocolLevel", | ||
83 | - "$fileIndexReset", | ||
84 | - "$mcmDisconnect", | ||
85 | - "$mcmProtocolLevel", | ||
86 | - "$mobileRssi", | ||
87 | - "$resourceCount", | ||
88 | - "$schemaHash" | ||
89 | - ], | ||
90 | - "manifest": { | ||
91 | - "protocolLevel": 13, | ||
92 | - "hash": [ | ||
93 | - 108, | ||
94 | - 31, | ||
95 | - 53, | ||
96 | - 92, | ||
97 | - 46, | ||
98 | - 47, | ||
99 | - 48, | ||
100 | - 241, | ||
101 | - 201, | ||
102 | - 5, | ||
103 | - 236, | ||
104 | - 253, | ||
105 | - 10, | ||
106 | - 254, | ||
107 | - 240, | ||
108 | - 187 | ||
109 | - ], | ||
110 | - "toolVersion": "13.3.0.201307022239", | ||
111 | - "name": "System", | ||
112 | - "$$md5": "6c1f355c2e2f30f1c905ecfd0afef0bb", | ||
113 | - "build": [ | ||
114 | - 99, | ||
115 | - 80, | ||
116 | - 140, | ||
117 | - 161, | ||
118 | - 63, | ||
119 | - 1, | ||
120 | - 0, | ||
121 | - 0 | ||
122 | - ], | ||
123 | - "date": "2013-07-02T17:41:34", | ||
124 | - "idFormat": "BINARY4", | ||
125 | - "maxAlign": 2, | ||
126 | - "maxSize": 20, | ||
127 | - "version": "13.3.0" | ||
128 | - }, | ||
129 | - "resourceNames": [ | ||
130 | - "$mcmProtocolLevel", | ||
131 | - "$eapProtocolLevel", | ||
132 | - "$eapBuildDate", | ||
133 | - "$fileIndexReset", | ||
134 | - "$schemaHash", | ||
135 | - "$resourceCount", | ||
136 | - "$mobileRssi", | ||
137 | - "$mcmDisconnect", | ||
138 | - "$activeParameterGroup" | ||
139 | - ], | ||
140 | - "attributes": { | ||
141 | - "description": "System resources schema", | ||
142 | - "version": "13.3.0" | ||
143 | - }, | ||
144 | - "types": { | ||
145 | - "system@emmoco.com.System/ResourceCount": { | ||
146 | - "packed": false, | ||
147 | - "align": 1, | ||
148 | - "type": "S:system@emmoco.com.System/ResourceCount", | ||
149 | - "size": 2, | ||
150 | - "fields": [ | ||
151 | - { | ||
152 | - "pad": 0, | ||
153 | - "align": 1, | ||
154 | - "name": "app", | ||
155 | - "type": "u1", | ||
156 | - "size": 1 | ||
157 | - }, | ||
158 | - { | ||
159 | - "pad": 0, | ||
160 | - "align": 1, | ||
161 | - "name": "sys", | ||
162 | - "type": "u1", | ||
163 | - "size": 1 | ||
164 | - } | ||
165 | - ] | ||
166 | - }, | ||
167 | - "std:i2": { | ||
168 | - "align": 2, | ||
169 | - "size": 2 | ||
170 | - }, | ||
171 | - "std:i1": { | ||
172 | - "align": 1, | ||
173 | - "size": 1 | ||
174 | - }, | ||
175 | - "std:u1": { | ||
176 | - "align": 1, | ||
177 | - "size": 1 | ||
178 | - }, | ||
179 | - "system@emmoco.com.System/ParameterGroup": { | ||
180 | - "values": [ | ||
181 | - "GROUP_A", | ||
182 | - "GROUP_B" | ||
183 | - ], | ||
184 | - "align": 1, | ||
185 | - "pack": 1, | ||
186 | - "type": "E:system@emmoco.com.System/ParameterGroup", | ||
187 | - "size": 1 | ||
188 | - }, | ||
189 | - "std:u2": { | ||
190 | - "align": 2, | ||
191 | - "size": 2 | ||
192 | - } | ||
193 | - }, | ||
194 | - "resourceNamesApp": [], | ||
195 | - "imports": {"@emmoco.com.System": true} | ||
196 | -} | ||
197 | \ No newline at end of file | 0 | \ No newline at end of file |