-
Notifications
You must be signed in to change notification settings - Fork 5
/
unit2.lfm
670 lines (670 loc) · 16.9 KB
/
unit2.lfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
object Form2: TForm2
Left = 250
Height = 436
Top = 120
Width = 588
Caption = 'Configure'
ClientHeight = 436
ClientWidth = 588
OnCreate = FormCreate
OnShow = FormShow
Position = poScreenCenter
LCLVersion = '1.3'
object PageControl1: TPageControl
Left = 8
Height = 376
Top = 8
Width = 576
ActivePage = TabSheet2
TabIndex = 1
TabOrder = 0
object TabSheet1: TTabSheet
Caption = 'Common'
ClientHeight = 345
ClientWidth = 572
object Label8: TLabel
Left = 6
Height = 13
Top = 218
Width = 40
Caption = 'Hexfile :'
ParentColor = False
end
object Label9: TLabel
Left = 6
Height = 13
Top = 250
Width = 41
Caption = 'Mapfile :'
ParentColor = False
end
object Label10: TLabel
Left = 6
Height = 13
Top = 281
Width = 38
Caption = 'Logfile :'
ParentColor = False
end
object Edit4: TEdit
Left = 69
Height = 21
Top = 211
Width = 496
TabOrder = 0
Text = 'Edit4'
end
object Edit5: TEdit
Left = 69
Height = 21
Top = 243
Width = 496
TabOrder = 1
Text = 'Edit5'
end
object Edit6: TEdit
Left = 69
Height = 21
Top = 274
Width = 496
TabOrder = 2
Text = 'Edit6'
end
object GroupBox1: TGroupBox
Left = 6
Height = 201
Top = 3
Width = 552
Caption = ' CPU '
ClientHeight = 182
ClientWidth = 548
TabOrder = 3
object ComboBox1: TComboBox
Left = 70
Height = 21
Top = -1
Width = 472
ItemHeight = 0
OnChange = ComboBox1Change
Style = csDropDownList
TabOrder = 0
end
object Label1: TLabel
Left = 7
Height = 13
Top = 10
Width = 27
Caption = 'CPU :'
ParentColor = False
end
object Label2: TLabel
Left = 7
Height = 13
Top = 46
Width = 32
Caption = 'Clock :'
ParentColor = False
end
object Label3: TLabel
Left = 190
Height = 13
Top = 46
Width = 12
Caption = 'Hz'
ParentColor = False
end
object SpinEdit1: TSpinEdit
Left = 70
Height = 21
Top = 39
Width = 114
Increment = 100000
MaxValue = 20000000
TabOrder = 1
end
object Label11: TLabel
Left = 7
Height = 13
Top = 79
Width = 82
Caption = 'FLASH EEPROM :'
ParentColor = False
end
object Label12: TLabel
Left = 7
Height = 13
Top = 103
Width = 70
Caption = 'Internal RAM :'
ParentColor = False
end
object Label13: TLabel
Left = 6
Height = 13
Top = 127
Width = 59
Caption = 'Max. Clock :'
ParentColor = False
end
object Label14: TLabel
Left = 6
Height = 13
Top = 151
Width = 48
Caption = 'EEPROM :'
ParentColor = False
end
object Label15: TLabel
Left = 177
Height = 13
Top = 79
Width = 37
Caption = 'Label15'
ParentColor = False
end
object Label16: TLabel
Left = 177
Height = 13
Top = 103
Width = 37
Caption = 'Label16'
ParentColor = False
end
object Label17: TLabel
Left = 177
Height = 13
Top = 127
Width = 37
Caption = 'Label17'
ParentColor = False
end
object Label18: TLabel
Left = 177
Height = 13
Top = 151
Width = 37
Caption = 'Label18'
ParentColor = False
end
object Label19: TLabel
Left = 238
Height = 13
Top = 79
Width = 27
Caption = 'Bytes'
ParentColor = False
end
object Label20: TLabel
Left = 238
Height = 13
Top = 103
Width = 27
Caption = 'Bytes'
ParentColor = False
end
object Label21: TLabel
Left = 238
Height = 13
Top = 127
Width = 12
Caption = 'Hz'
ParentColor = False
end
object Label22: TLabel
Left = 238
Height = 13
Top = 151
Width = 27
Caption = 'Bytes'
ParentColor = False
end
end
object Label23: TLabel
Left = 6
Height = 13
Top = 315
Width = 39
Caption = 'Outfile :'
ParentColor = False
end
object Edit7: TEdit
Left = 69
Height = 21
Top = 308
Width = 496
TabOrder = 4
Text = 'Edit7'
end
end
object TabSheet2: TTabSheet
Caption = 'Compiler'
ClientHeight = 345
ClientWidth = 572
object Label4: TLabel
Left = 6
Height = 17
Top = 19
Width = 71
Caption = 'Command:'
ParentColor = False
end
object Edit1: TEdit
Left = 86
Height = 25
Top = 11
Width = 472
TabOrder = 0
Text = 'Edit1'
end
object CheckBox1: TCheckBox
Left = 6
Height = 21
Top = 51
Width = 402
Caption = '-mcall-prologues: Expand function prologues (smaller code)'
TabOrder = 1
end
object CheckBox2: TCheckBox
Left = 6
Height = 21
Top = 87
Width = 337
Caption = '-Wstrict-prototypes:See "man avr-gcc" for details.'
TabOrder = 2
end
object CheckBox3: TCheckBox
Left = 6
Height = 21
Top = 123
Width = 238
Caption = '-Wall: Turn on all optional warnings'
TabOrder = 3
end
object CheckBox4: TCheckBox
Left = 6
Height = 21
Top = 155
Width = 243
Caption = '-g: Produce debugging information'
TabOrder = 4
end
object CheckBox5: TCheckBox
Left = 6
Height = 21
Top = 251
Width = 416
Caption = 'Define F_CPU symbol (frequency of the cpu, see Common tab)'
TabOrder = 5
end
object Label5: TLabel
Left = 6
Height = 17
Top = 283
Width = 118
Caption = 'Optimization level:'
ParentColor = False
end
object ComboBox2: TComboBox
Left = 134
Height = 27
Top = 274
Width = 200
ItemHeight = 0
Items.Strings = (
'0:No optimization'
'1: Optimization level 1'
'2: Optimization level 2'
'3: Optimization level 3'
's: Optimize for size'
)
TabOrder = 6
Text = 'ComboBox2'
end
object CheckBox15: TCheckBox
Left = 6
Height = 21
Top = 187
Width = 133
Caption = 'use search paths'
TabOrder = 7
end
object CheckBox16: TCheckBox
Left = 6
Height = 21
Top = 219
Width = 176
Caption = 'use library search paths'
TabOrder = 8
end
object Button5: TButton
Left = 246
Height = 25
Top = 183
Width = 179
Caption = 'Edit Search Paths'
OnClick = Button5Click
TabOrder = 9
end
object Button6: TButton
Left = 246
Height = 25
Top = 215
Width = 179
Caption = 'Edit library search paths'
OnClick = Button6Click
TabOrder = 10
end
end
object TabSheet3: TTabSheet
Caption = 'Linker'
ClientHeight = 345
ClientWidth = 572
object Label6: TLabel
Left = 14
Height = 18
Top = 19
Width = 112
Caption = 'Linker command:'
ParentColor = False
end
object Label7: TLabel
Left = 14
Height = 18
Top = 58
Width = 149
Caption = 'Object copy command:'
ParentColor = False
end
object Edit2: TEdit
Left = 174
Height = 25
Top = 12
Width = 384
TabOrder = 0
Text = 'Edit2'
end
object Edit3: TEdit
Left = 174
Height = 25
Top = 51
Width = 384
TabOrder = 1
Text = 'Edit3'
end
end
object TabSheet4: TTabSheet
Caption = 'AVR DUDE'
ClientHeight = 345
ClientWidth = 572
object CheckBox6: TCheckBox
Left = 14
Height = 17
Top = 11
Width = 154
Caption = 'Override RS-232 baud rate:'
OnClick = CheckBox6Click
TabOrder = 0
end
object CheckBox7: TCheckBox
Left = 14
Height = 17
Top = 43
Width = 213
Caption = 'Specify JTAG/STK500v2 bit clock period:'
OnClick = CheckBox7Click
TabOrder = 1
end
object CheckBox8: TCheckBox
Left = 14
Height = 17
Top = 75
Width = 145
Caption = 'Specify programmer type:'
OnClick = CheckBox8Click
TabOrder = 2
end
object CheckBox9: TCheckBox
Left = 14
Height = 17
Top = 112
Width = 137
Caption = 'Specify connection port:'
OnClick = CheckBox9Click
TabOrder = 3
end
object Label24: TLabel
Left = 14
Height = 13
Top = 139
Width = 436
Caption = '-------------------------------------------------------------------------------------------------------------'
ParentColor = False
end
object CheckBox10: TCheckBox
Left = 14
Height = 17
Top = 163
Width = 151
Caption = 'Specify external config file:'
OnClick = CheckBox10Click
TabOrder = 4
end
object CheckBox11: TCheckBox
Left = 14
Height = 17
Top = 195
Width = 193
Caption = 'Disable auto erase for flash memory'
TabOrder = 5
end
object CheckBox12: TCheckBox
Left = 14
Height = 17
Top = 227
Width = 249
Caption = 'Do not write anything to the device (test mode)'
TabOrder = 6
end
object CheckBox13: TCheckBox
Left = 14
Height = 17
Top = 259
Width = 173
Caption = 'Override invalid signature check'
TabOrder = 7
end
object Label25: TLabel
Left = 14
Height = 13
Top = 283
Width = 436
Caption = '-------------------------------------------------------------------------------------------------------------'
ParentColor = False
end
object CheckBox14: TCheckBox
Left = 14
Height = 17
Top = 307
Width = 163
Caption = 'Count # of erases in EEPROM'
OnClick = CheckBox14Click
TabOrder = 8
end
object ComboBox3: TComboBox
Left = 342
Height = 21
Top = 5
Width = 152
ItemHeight = 0
ItemIndex = 4
Items.Strings = (
'1200'
'2400'
'4800'
'9600'
'19200'
'38400'
'57600'
'115000'
)
Style = csDropDownList
TabOrder = 9
Text = '19200'
end
object Label26: TLabel
Left = 502
Height = 13
Top = 14
Width = 27
Caption = 'BAUD'
ParentColor = False
end
object FloatSpinEdit1: TFloatSpinEdit
Left = 342
Height = 21
Top = 39
Width = 152
DecimalPlaces = 1
Increment = 0.1
MaxValue = 100
MinValue = 0
TabOrder = 10
Value = 0
end
object Edit8: TEdit
Left = 342
Height = 21
Top = 71
Width = 152
TabOrder = 11
Text = 'Edit8'
end
object Label27: TLabel
Left = 502
Height = 13
Top = 46
Width = 11
Caption = 'µs'
ParentColor = False
end
object Edit9: TEdit
Left = 342
Height = 21
Top = 107
Width = 152
TabOrder = 12
Text = 'Edit9'
end
object Edit10: TEdit
Left = 342
Height = 21
Top = 159
Width = 152
TabOrder = 13
Text = 'Edit10'
end
object SpeedButton1: TSpeedButton
Left = 502
Height = 22
Top = 159
Width = 23
Glyph.Data = {
46050000424D4605000000000000360000002800000012000000120000000100
2000000000001005000064000000640000000000000000000000D6D2D0FFD6D2
D0FFD6D2D0FFD6D2D0FFD6D2D0FFD6D2D0FFD6D2D0FFD6D2D0FFD6D2D0FFD6D2
D0FFD6D2D0FFD6D2D0FFD6D2D0FFD6D2D0FFD6D2D0FFD6D2D0FFD6D2D0FFD6D2
D0FFD7D3D1FFC03B11FFD3683BFFD56F46FFD56C43FFD26A43FFD0663EFFCA5F
39FFC45833FFBD512DFFB84927FFB24223FFAE3C20FFAA3519FFB95C50FFD7D3
D1FFD7D3D1FFD7D3D1FFD8D4D2FFC43B0DFFF1C5B1FFFEFEFEFFFEFEFEFFFEFE
FEFFFEFEFEFFFBF6F9FFF2E7EBFFE9D8DCFFE1CACEFFD7BDBFFFCFB2B5FFCAAA
AAFFB4422BFFD6CBC9FFD8D4D2FFD8D4D2FFD9D5D3FFCA4612FFE6966CFFFEFD
FEFFFEFEFEFFFEFDFEFFFCF3F6FFF7E9ECFFF1DEE2FFECD7DBFFE6CED1FFE0C3
C5FFDAB8BBFFD6B2B5FFBC5640FFCB9F9BFFD9D5D3FFD9D5D3FFDAD6D4FFD768
31FFE48852FFF8D8B8FFFEEDC8FFFEDAAFFFFCC097FFF7AE88FFF39F78FFE87D
58FFE16740FFDA5E3BFFCE5338FFC44831FFB82D17FFC27A71FFDAD6D4FFDAD6
D4FFDBD7D5FFDE854FFFE39055FFF0C29FFFFEEDB9FFFECC85FFF9A464FFFC9C
5EFFF98447FFF26428FFE43C08FFDA2900FFD22400FFC81A01FFBB170CFFBC59
4CFFDBD4D2FFDBD7D5FFDDD8D6FFDE844FFFF5BF85FFE78F61FFFEFEE1FFF8D5
A2FFFBC48FFFFEAB6FFFFB884CFFF36A30FFED4F16FFDA3006FFC91E00FFC016
01FFC02319FFB93828FFD4B9B4FFDDD8D6FFDED9D7FFDD804BFFFEF2BFFFDB70
38FFFCEBDAFFF8E4D0FFFDFBD5FFFEDEA9FFFDB87DFFFC9859FFFB803CFFF667
27FFE34B16FFC92607FFBE2218FFB81E0FFFCE9A92FFDED9D7FFDFDAD8FFDE83
4DFFFEFECFFFE78E4FFFE28D64FFF5C2A7FFF7C59FFFF5BC8FFFF3AF80FFF2A3
6FFFF39965FFFEA465FFFE8637FFFC7D2EFFEB5A1FFFBC1901FFC57366FFDFDA
D8FFE0DCD9FFE08450FFFEFDCBFFF1BD8FFFDD8F6EFFF0B292FFEBA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0FFE8E3E0FFE8E3
E0FFE9E4E1FFE9E4E1FFE9E4E1FFE9E4E1FFE9E4E1FFE9E4E1FFE9E4E1FFE9E4
E1FFE9E4E1FFE9E4E1FFE9E4E1FFE9E4E1FFE9E4E1FFE9E4E1FFE9E4E1FFE9E4
E1FFE9E4E1FFE9E4E1FF
}
end
object Label28: TLabel
Left = 258
Height = 13
Top = 310
Width = 61
Caption = 'Set erase #:'
ParentColor = False
end
object SpinEdit2: TSpinEdit
Left = 342
Height = 21
Top = 303
Width = 152
MaxValue = 1000000
TabOrder = 14
end
object Button4: TButton
Left = 502
Height = 25
Top = 303
Width = 59
Caption = 'Set'
TabOrder = 15
end
end
end
object Button1: TButton
Left = 8
Height = 25
Top = 400
Width = 104
Caption = 'OK'
OnClick = Button1Click
TabOrder = 1
end
object Button2: TButton
Left = 120
Height = 25
Top = 400
Width = 104
Caption = 'Set as default'
OnClick = Button2Click
TabOrder = 2
end
object Button3: TButton
Left = 480
Height = 25
Top = 400
Width = 104
Caption = 'Cancel'
OnClick = Button3Click
TabOrder = 3
end
end