-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathout.txt
6647 lines (6597 loc) · 295 KB
/
out.txt
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
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
diff --git a/.cproject b/.cproject
index efb999d..93c7edd 100644
--- a/.cproject
+++ b/.cproject
@@ -112,7 +112,19 @@
</option>
<option id="gnu.c.compiler.option.preprocessor.undef.symbol.1472448836" name="Undefined symbols (-U)" superClass="gnu.c.compiler.option.preprocessor.undef.symbol" useByScannerDiscovery="false"/>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.c.compiler.option.include.paths.1616961349" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/drivers}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/drivers/freertos}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/source}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/CMSIS}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/component/uart}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/component/serial_manager}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/component/lists}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/freertos/freertos_kernel/include}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/utilities}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/freertos/freertos_kernel/portable/GCC/ARM_CM4F}""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/device}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/device}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/utilities}""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/CMSIS}""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/component/uart}""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/drivers}""/>
@@ -124,11 +136,6 @@
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/freertos/freertos_kernel/portable/GCC/ARM_CM4F}""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/board}""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/utilities/}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/utilities/SEGGER_RTT_V754b/}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/utilities/SEGGER_RTT_V754b/RTT/}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/utilities/SEGGER_RTT_V754b/Config/}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/source/lib}""/>
</option>
<option id="gnu.c.compiler.option.include.files.665957874" name="Include files (-include)" superClass="gnu.c.compiler.option.include.files" useByScannerDiscovery="false"/>
<option id="com.crt.advproject.gcc.exe.debug.option.optimization.level.585018388" name="Optimization Level" superClass="com.crt.advproject.gcc.exe.debug.option.optimization.level" useByScannerDiscovery="true"/>
@@ -185,10 +192,21 @@
<inputType id="com.crt.advproject.compiler.input.248894035" superClass="com.crt.advproject.compiler.input"/>
</tool>
<tool id="com.crt.advproject.gas.exe.debug.1233492824" name="MCU Assembler" superClass="com.crt.advproject.gas.exe.debug">
- <option id="com.crt.advproject.gas.thumb.895586507" name="Thumb mode" superClass="com.crt.advproject.gas.thumb" useByScannerDiscovery="false" value="true" valueType="boolean"/>
- <option id="com.crt.advproject.gas.arch.779270694" name="Architecture" superClass="com.crt.advproject.gas.arch" useByScannerDiscovery="false" value="com.crt.advproject.gas.target.cm4" valueType="enumerated"/>
- <option id="gnu.both.asm.option.flags.crt.1363850050" name="Assembler flags" superClass="gnu.both.asm.option.flags.crt" useByScannerDiscovery="false" value="-c -x assembler-with-cpp -D__REDLIB__" valueType="string"/>
- <option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.both.asm.option.include.paths.1048725615" name="Include paths (-I)" superClass="gnu.both.asm.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
+ <option id="com.crt.advproject.gas.thumb.895586507" name="Thumb mode" superClass="com.crt.advproject.gas.thumb" value="true" valueType="boolean"/>
+ <option id="com.crt.advproject.gas.arch.779270694" name="Architecture" superClass="com.crt.advproject.gas.arch" value="com.crt.advproject.gas.target.cm4" valueType="enumerated"/>
+ <option id="gnu.both.asm.option.flags.crt.1363850050" name="Assembler flags" superClass="gnu.both.asm.option.flags.crt" value="-c -x assembler-with-cpp -D__REDLIB__" valueType="string"/>
+ <option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.both.asm.option.include.paths.1048725615" name="Include paths (-I)" superClass="gnu.both.asm.option.include.paths" valueType="includePath">
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/drivers}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/drivers/freertos}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/source}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/CMSIS}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/component/uart}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/component/serial_manager}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/component/lists}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/freertos/freertos_kernel/include}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/utilities}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/freertos/freertos_kernel/portable/GCC/ARM_CM4F}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/device}""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/device}""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/utilities}""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/CMSIS}""/>
@@ -202,19 +220,16 @@
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/freertos/freertos_kernel/portable/GCC/ARM_CM4F}""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/board}""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/utilities/SEGGER_RTT_V754b/RTT/}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/utilities/SEGGER_RTT_V754b/Config/}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/source/lib}""/>
</option>
- <option id="gnu.both.asm.option.warnings.nowarn.1261642570" name="Suppress warnings (-W)" superClass="gnu.both.asm.option.warnings.nowarn" useByScannerDiscovery="false"/>
- <option id="gnu.both.asm.option.version.1528867978" name="Announce version (-v)" superClass="gnu.both.asm.option.version" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.gas.exe.debug.option.debugging.level.1885786594" name="Debug level" superClass="com.crt.advproject.gas.exe.debug.option.debugging.level" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.gas.fpu.1524414037" name="Floating point" superClass="com.crt.advproject.gas.fpu" useByScannerDiscovery="false" value="com.crt.advproject.gas.fpu.fpv4.hard" valueType="enumerated"/>
- <option id="com.crt.advproject.gas.thumbinterwork.1134748641" name="Enable Thumb interworking" superClass="com.crt.advproject.gas.thumbinterwork" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.gas.hdrlib.296790487" name="Library headers" superClass="com.crt.advproject.gas.hdrlib" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.gas.specs.334646398" name="Specs" superClass="com.crt.advproject.gas.specs" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.gas.config.992942154" name="Obsolete (Config)" superClass="com.crt.advproject.gas.config" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.gas.store.1452517732" name="Obsolete (Store)" superClass="com.crt.advproject.gas.store" useByScannerDiscovery="false"/>
+ <option id="gnu.both.asm.option.warnings.nowarn.1261642570" name="Suppress warnings (-W)" superClass="gnu.both.asm.option.warnings.nowarn"/>
+ <option id="gnu.both.asm.option.version.1528867978" name="Announce version (-v)" superClass="gnu.both.asm.option.version"/>
+ <option id="com.crt.advproject.gas.exe.debug.option.debugging.level.1885786594" name="Debug level" superClass="com.crt.advproject.gas.exe.debug.option.debugging.level"/>
+ <option id="com.crt.advproject.gas.fpu.1524414037" name="Floating point" superClass="com.crt.advproject.gas.fpu" value="com.crt.advproject.gas.fpu.fpv4.hard" valueType="enumerated"/>
+ <option id="com.crt.advproject.gas.thumbinterwork.1134748641" name="Enable Thumb interworking" superClass="com.crt.advproject.gas.thumbinterwork"/>
+ <option id="com.crt.advproject.gas.hdrlib.296790487" name="Library headers" superClass="com.crt.advproject.gas.hdrlib"/>
+ <option id="com.crt.advproject.gas.specs.334646398" name="Specs" superClass="com.crt.advproject.gas.specs"/>
+ <option id="com.crt.advproject.gas.config.992942154" name="Obsolete (Config)" superClass="com.crt.advproject.gas.config"/>
+ <option id="com.crt.advproject.gas.store.1452517732" name="Obsolete (Store)" superClass="com.crt.advproject.gas.store"/>
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.568869829" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
<inputType id="com.crt.advproject.assembler.input.1918967902" name="Additional Assembly Source Files" superClass="com.crt.advproject.assembler.input"/>
</tool>
@@ -269,121 +284,86 @@
<option id="com.crt.advproject.link.cpp.inimplib.1054218635" name="Input Secure Gateway Import Library" superClass="com.crt.advproject.link.cpp.inimplib"/>
</tool>
<tool id="com.crt.advproject.link.exe.debug.1808674003" name="MCU Linker" superClass="com.crt.advproject.link.exe.debug">
- <option id="com.crt.advproject.link.thumb.814290186" name="Thumb mode" superClass="com.crt.advproject.link.thumb" useByScannerDiscovery="false" value="true" valueType="boolean"/>
+ <option id="com.crt.advproject.link.thumb.814290186" name="Thumb mode" superClass="com.crt.advproject.link.thumb" value="true" valueType="boolean"/>
<option id="com.crt.advproject.link.memory.load.image.1128562733" name="Plain load image" superClass="com.crt.advproject.link.memory.load.image" useByScannerDiscovery="false" value="" valueType="string"/>
- <option defaultValue="com.crt.advproject.heapAndStack.mcuXpressoStyle" id="com.crt.advproject.link.memory.heapAndStack.style.599827557" name="Heap and Stack placement" superClass="com.crt.advproject.link.memory.heapAndStack.style" useByScannerDiscovery="false" value="com.crt.advproject.heapAndStack.mcuXpressoStyle" valueType="enumerated"/>
- <option id="com.crt.advproject.link.memory.heapAndStack.1972476839" name="Heap and Stack options" superClass="com.crt.advproject.link.memory.heapAndStack" useByScannerDiscovery="false" value="&Heap:Default;Post Data;Default&Stack:Default;End;Default" valueType="string"/>
+ <option defaultValue="com.crt.advproject.heapAndStack.mcuXpressoStyle" id="com.crt.advproject.link.memory.heapAndStack.style.599827557" name="Heap and Stack placement" superClass="com.crt.advproject.link.memory.heapAndStack.style" useByScannerDiscovery="false" valueType="enumerated"/>
+ <option id="com.crt.advproject.link.memory.heapAndStack.1972476839" name="Heap and Stack options" superClass="com.crt.advproject.link.memory.heapAndStack" value="&Heap:Default;Post Data;Default&Stack:Default;End;Default" valueType="string"/>
<option id="com.crt.advproject.link.memory.data.1602209396" name="Global data placement" superClass="com.crt.advproject.link.memory.data" useByScannerDiscovery="false" value="" valueType="string"/>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="true" id="com.crt.advproject.link.memory.sections.1935376594" name="Extra linker script input sections" superClass="com.crt.advproject.link.memory.sections" useByScannerDiscovery="false" valueType="stringList"/>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="true" id="com.crt.advproject.link.gcc.multicore.master.userobjs.1242150886" name="Slave Objects (not visible)" superClass="com.crt.advproject.link.gcc.multicore.master.userobjs" useByScannerDiscovery="false" valueType="userObjs"/>
- <option id="com.crt.advproject.link.arch.1777470155" name="Architecture" superClass="com.crt.advproject.link.arch" useByScannerDiscovery="false" value="com.crt.advproject.link.target.cm4" valueType="enumerated"/>
- <option id="gnu.c.link.option.nostart.142017723" name="Do not use standard start files (-nostartfiles)" superClass="gnu.c.link.option.nostart" useByScannerDiscovery="false"/>
- <option id="gnu.c.link.option.nodeflibs.1355502826" name="Do not use default libraries (-nodefaultlibs)" superClass="gnu.c.link.option.nodeflibs" useByScannerDiscovery="false"/>
- <option id="gnu.c.link.option.nostdlibs.1394380316" name="No startup or default libs (-nostdlib)" superClass="gnu.c.link.option.nostdlibs" useByScannerDiscovery="false" value="true" valueType="boolean"/>
- <option id="gnu.c.link.option.strip.1638341683" name="Omit all symbol information (-s)" superClass="gnu.c.link.option.strip" useByScannerDiscovery="false"/>
- <option id="gnu.c.link.option.noshared.1118193236" name="No shared libraries (-static)" superClass="gnu.c.link.option.noshared" useByScannerDiscovery="false"/>
- <option id="gnu.c.link.option.libs.1945732439" name="Libraries (-l)" superClass="gnu.c.link.option.libs" useByScannerDiscovery="false"/>
- <option id="gnu.c.link.option.paths.66944990" name="Library search path (-L)" superClass="gnu.c.link.option.paths" useByScannerDiscovery="false"/>
- <option id="gnu.c.link.option.ldflags.114082909" name="Linker flags" superClass="gnu.c.link.option.ldflags" useByScannerDiscovery="false"/>
- <option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.c.link.option.other.1257829769" name="Other options (-Xlinker [option])" superClass="gnu.c.link.option.other" useByScannerDiscovery="false" valueType="stringList">
+ <option id="com.crt.advproject.link.arch.1777470155" name="Architecture" superClass="com.crt.advproject.link.arch" value="com.crt.advproject.link.target.cm4" valueType="enumerated"/>
+ <option id="gnu.c.link.option.nostart.142017723" name="Do not use standard start files (-nostartfiles)" superClass="gnu.c.link.option.nostart"/>
+ <option id="gnu.c.link.option.nodeflibs.1355502826" name="Do not use default libraries (-nodefaultlibs)" superClass="gnu.c.link.option.nodeflibs"/>
+ <option id="gnu.c.link.option.nostdlibs.1394380316" name="No startup or default libs (-nostdlib)" superClass="gnu.c.link.option.nostdlibs" value="true" valueType="boolean"/>
+ <option id="gnu.c.link.option.strip.1638341683" name="Omit all symbol information (-s)" superClass="gnu.c.link.option.strip"/>
+ <option id="gnu.c.link.option.noshared.1118193236" name="No shared libraries (-static)" superClass="gnu.c.link.option.noshared"/>
+ <option id="gnu.c.link.option.libs.1945732439" name="Libraries (-l)" superClass="gnu.c.link.option.libs"/>
+ <option id="gnu.c.link.option.paths.66944990" name="Library search path (-L)" superClass="gnu.c.link.option.paths"/>
+ <option id="gnu.c.link.option.ldflags.114082909" name="Linker flags" superClass="gnu.c.link.option.ldflags"/>
+ <option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.c.link.option.other.1257829769" name="Other options (-Xlinker [option])" superClass="gnu.c.link.option.other" valueType="stringList">
<listOptionValue builtIn="false" value="-Map="${BuildArtifactFileBaseName}.map""/>
<listOptionValue builtIn="false" value="--gc-sections"/>
<listOptionValue builtIn="false" value="-print-memory-usage"/>
<listOptionValue builtIn="false" value="--sort-section=alignment"/>
<listOptionValue builtIn="false" value="--cref"/>
</option>
- <option id="gnu.c.link.option.userobjs.1327955712" name="Other objects" superClass="gnu.c.link.option.userobjs" useByScannerDiscovery="false"/>
- <option id="gnu.c.link.option.shared.117499087" name="Shared (-shared)" superClass="gnu.c.link.option.shared" useByScannerDiscovery="false"/>
- <option id="gnu.c.link.option.soname.2099391967" name="Shared object name (-Wl,-soname=)" superClass="gnu.c.link.option.soname" useByScannerDiscovery="false"/>
- <option id="gnu.c.link.option.implname.1355375787" name="Import Library name (-Wl,--out-implib=)" superClass="gnu.c.link.option.implname" useByScannerDiscovery="false"/>
- <option id="gnu.c.link.option.defname.122911240" name="DEF file name (-Wl,--output-def=)" superClass="gnu.c.link.option.defname" useByScannerDiscovery="false"/>
- <option id="gnu.c.link.option.debugging.prof.114806988" name="Generate prof information (-p)" superClass="gnu.c.link.option.debugging.prof" useByScannerDiscovery="false"/>
- <option id="gnu.c.link.option.debugging.gprof.1894686349" name="Generate gprof information (-pg)" superClass="gnu.c.link.option.debugging.gprof" useByScannerDiscovery="false"/>
- <option id="gnu.c.link.option.debugging.codecov.666331096" name="Generate gcov information (-ftest-coverage -fprofile-arcs)" superClass="gnu.c.link.option.debugging.codecov" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.link.gcc.lto.586531795" name="Enable Link-time optimization (-flto)" superClass="com.crt.advproject.link.gcc.lto" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.link.gcc.lto.optmization.level.203361231" name="Link-time optimization level" superClass="com.crt.advproject.link.gcc.lto.optmization.level" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.link.fpu.1633881717" name="Floating point" superClass="com.crt.advproject.link.fpu" useByScannerDiscovery="false" value="com.crt.advproject.link.fpu.fpv4.hard" valueType="enumerated"/>
- <option id="com.crt.advproject.link.manage.1996928132" name="Manage linker script" superClass="com.crt.advproject.link.manage" useByScannerDiscovery="false" value="true" valueType="boolean"/>
- <option id="com.crt.advproject.link.script.1246535284" name="Linker script" superClass="com.crt.advproject.link.script" useByScannerDiscovery="false" value="WB-CAN-Firmware_Debug.ld" valueType="string"/>
- <option id="com.crt.advproject.link.scriptdir.1547313109" name="Script path" superClass="com.crt.advproject.link.scriptdir" useByScannerDiscovery="false" value="" valueType="string"/>
- <option id="com.crt.advproject.link.crpenable.31611165" name="Enable automatic placement of Code Read Protection field in image" superClass="com.crt.advproject.link.crpenable" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.link.flashconfigenable.86167577" name="Enable automatic placement of Flash Configuration field in image" superClass="com.crt.advproject.link.flashconfigenable" useByScannerDiscovery="false" value="true" valueType="boolean"/>
- <option id="com.crt.advproject.link.ecrp.2067803535" name="Enhanced CRP" superClass="com.crt.advproject.link.ecrp" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.link.gcc.hdrlib.703403230" name="Library" superClass="com.crt.advproject.link.gcc.hdrlib" useByScannerDiscovery="false" value="com.crt.advproject.gcc.link.hdrlib.codered.semihost_nf" valueType="enumerated"/>
- <option id="com.crt.advproject.link.gcc.nanofloat.1446751446" name="Enable printf float " superClass="com.crt.advproject.link.gcc.nanofloat" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.link.gcc.nanofloat.scanf.278701198" name="Enable scanf float " superClass="com.crt.advproject.link.gcc.nanofloat.scanf" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.link.toram.1433314722" name="Link application to RAM" superClass="com.crt.advproject.link.toram" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.link.stackOffset.1473826109" name="Stack offset" superClass="com.crt.advproject.link.stackOffset" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.link.gcc.multicore.slave.264046534" name="Multicore configuration" superClass="com.crt.advproject.link.gcc.multicore.slave" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.link.gcc.multicore.master.68264935" name="Multicore master" superClass="com.crt.advproject.link.gcc.multicore.master" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.link.gcc.multicore.empty.386515757" name="No Multicore options for this project" superClass="com.crt.advproject.link.gcc.multicore.empty" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.link.config.1695605517" name="Obsolete (Config)" superClass="com.crt.advproject.link.config" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.link.store.762091210" name="Obsolete (Store)" superClass="com.crt.advproject.link.store" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.link.securestate.1136424564" name="TrustZone Project Type" superClass="com.crt.advproject.link.securestate" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.link.sgstubs.placement.998733164" name="Secure Gateway Placement" superClass="com.crt.advproject.link.sgstubs.placement" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.link.sgstubenable.1907987007" name="Enable generation of Secure Gateway Import Library" superClass="com.crt.advproject.link.sgstubenable" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.link.nonsecureobject.667446973" name="Secure Gateway Import Library" superClass="com.crt.advproject.link.nonsecureobject" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.link.inimplib.456293984" name="Input Secure Gateway Import Library" superClass="com.crt.advproject.link.inimplib" useByScannerDiscovery="false"/>
+ <option id="gnu.c.link.option.userobjs.1327955712" name="Other objects" superClass="gnu.c.link.option.userobjs"/>
+ <option id="gnu.c.link.option.shared.117499087" name="Shared (-shared)" superClass="gnu.c.link.option.shared"/>
+ <option id="gnu.c.link.option.soname.2099391967" name="Shared object name (-Wl,-soname=)" superClass="gnu.c.link.option.soname"/>
+ <option id="gnu.c.link.option.implname.1355375787" name="Import Library name (-Wl,--out-implib=)" superClass="gnu.c.link.option.implname"/>
+ <option id="gnu.c.link.option.defname.122911240" name="DEF file name (-Wl,--output-def=)" superClass="gnu.c.link.option.defname"/>
+ <option id="gnu.c.link.option.debugging.prof.114806988" name="Generate prof information (-p)" superClass="gnu.c.link.option.debugging.prof"/>
+ <option id="gnu.c.link.option.debugging.gprof.1894686349" name="Generate gprof information (-pg)" superClass="gnu.c.link.option.debugging.gprof"/>
+ <option id="gnu.c.link.option.debugging.codecov.666331096" name="Generate gcov information (-ftest-coverage -fprofile-arcs)" superClass="gnu.c.link.option.debugging.codecov"/>
+ <option id="com.crt.advproject.link.gcc.lto.586531795" name="Enable Link-time optimization (-flto)" superClass="com.crt.advproject.link.gcc.lto"/>
+ <option id="com.crt.advproject.link.gcc.lto.optmization.level.203361231" name="Link-time optimization level" superClass="com.crt.advproject.link.gcc.lto.optmization.level"/>
+ <option id="com.crt.advproject.link.fpu.1633881717" name="Floating point" superClass="com.crt.advproject.link.fpu" value="com.crt.advproject.link.fpu.fpv4.hard" valueType="enumerated"/>
+ <option id="com.crt.advproject.link.manage.1996928132" name="Manage linker script" superClass="com.crt.advproject.link.manage" value="true" valueType="boolean"/>
+ <option id="com.crt.advproject.link.script.1246535284" name="Linker script" superClass="com.crt.advproject.link.script" value="WB-CAN-Firmware_Debug.ld" valueType="string"/>
+ <option id="com.crt.advproject.link.scriptdir.1547313109" name="Script path" superClass="com.crt.advproject.link.scriptdir"/>
+ <option id="com.crt.advproject.link.crpenable.31611165" name="Enable automatic placement of Code Read Protection field in image" superClass="com.crt.advproject.link.crpenable"/>
+ <option id="com.crt.advproject.link.flashconfigenable.86167577" name="Enable automatic placement of Flash Configuration field in image" superClass="com.crt.advproject.link.flashconfigenable" value="true" valueType="boolean"/>
+ <option id="com.crt.advproject.link.ecrp.2067803535" name="Enhanced CRP" superClass="com.crt.advproject.link.ecrp"/>
+ <option id="com.crt.advproject.link.gcc.hdrlib.703403230" name="Library" superClass="com.crt.advproject.link.gcc.hdrlib" value="com.crt.advproject.gcc.link.hdrlib.codered.semihost_nf" valueType="enumerated"/>
+ <option id="com.crt.advproject.link.gcc.nanofloat.1446751446" name="Enable printf float " superClass="com.crt.advproject.link.gcc.nanofloat"/>
+ <option id="com.crt.advproject.link.gcc.nanofloat.scanf.278701198" name="Enable scanf float " superClass="com.crt.advproject.link.gcc.nanofloat.scanf"/>
+ <option id="com.crt.advproject.link.toram.1433314722" name="Link application to RAM" superClass="com.crt.advproject.link.toram"/>
+ <option id="com.crt.advproject.link.stackOffset.1473826109" name="Stack offset" superClass="com.crt.advproject.link.stackOffset"/>
+ <option id="com.crt.advproject.link.gcc.multicore.slave.264046534" name="Multicore configuration" superClass="com.crt.advproject.link.gcc.multicore.slave"/>
+ <option id="com.crt.advproject.link.gcc.multicore.master.68264935" name="Multicore master" superClass="com.crt.advproject.link.gcc.multicore.master"/>
+ <option id="com.crt.advproject.link.gcc.multicore.empty.386515757" name="No Multicore options for this project" superClass="com.crt.advproject.link.gcc.multicore.empty"/>
+ <option id="com.crt.advproject.link.config.1695605517" name="Obsolete (Config)" superClass="com.crt.advproject.link.config"/>
+ <option id="com.crt.advproject.link.store.762091210" name="Obsolete (Store)" superClass="com.crt.advproject.link.store"/>
+ <option id="com.crt.advproject.link.securestate.1136424564" name="TrustZone Project Type" superClass="com.crt.advproject.link.securestate"/>
+ <option id="com.crt.advproject.link.sgstubs.placement.998733164" name="Secure Gateway Placement" superClass="com.crt.advproject.link.sgstubs.placement"/>
+ <option id="com.crt.advproject.link.sgstubenable.1907987007" name="Enable generation of Secure Gateway Import Library" superClass="com.crt.advproject.link.sgstubenable"/>
+ <option id="com.crt.advproject.link.nonsecureobject.667446973" name="Secure Gateway Import Library" superClass="com.crt.advproject.link.nonsecureobject"/>
+ <option id="com.crt.advproject.link.inimplib.456293984" name="Input Secure Gateway Import Library" superClass="com.crt.advproject.link.inimplib"/>
<inputType id="cdt.managedbuild.tool.gnu.c.linker.input.1233945941" superClass="cdt.managedbuild.tool.gnu.c.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
</inputType>
</tool>
<tool id="com.crt.advproject.tool.debug.debug.323252551" name="MCU Debugger" superClass="com.crt.advproject.tool.debug.debug">
- <option id="com.crt.advproject.linkserver.debug.prevent.debug.1155340207" name="Prevent Debugging" superClass="com.crt.advproject.linkserver.debug.prevent.debug" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.miscellaneous.end_of_heap.2095420946" name="Last used address of the heap" superClass="com.crt.advproject.miscellaneous.end_of_heap" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.miscellaneous.pvHeapStart.1246488227" name="First address of the heap" superClass="com.crt.advproject.miscellaneous.pvHeapStart" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.miscellaneous.pvHeapLimit.861610588" name="Maximum extent of heap" superClass="com.crt.advproject.miscellaneous.pvHeapLimit" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.debugger.security.nonsecureimageenable.1791058710" name="Enable pre-programming of Non-Secure Image" superClass="com.crt.advproject.debugger.security.nonsecureimageenable" useByScannerDiscovery="false"/>
- <option id="com.crt.advproject.debugger.security.nonsecureimage.1034386405" name="Non-Secure Project" superClass="com.crt.advproject.debugger.security.nonsecureimage" useByScannerDiscovery="false"/>
- </tool>
- </toolChain>
- </folderInfo>
- <folderInfo id="com.crt.advproject.config.exe.debug.384082807.1076643821" name="/" resourcePath="source/lib">
- <toolChain id="com.crt.advproject.toolchain.exe.debug.371447906" name="NXP MCU Tools" superClass="com.crt.advproject.toolchain.exe.debug" unusedChildren="">
- <targetPlatform binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.GNU_ELF" id="com.crt.advproject.platform.exe.debug" name="ARM-based MCU (Debug)" superClass="com.crt.advproject.platform.exe.debug"/>
- <tool id="com.crt.advproject.cpp.exe.debug.1854106199" name="MCU C++ Compiler" superClass="com.crt.advproject.cpp.exe.debug.852707520"/>
- <tool id="com.crt.advproject.gcc.exe.debug.1123399549" name="MCU C Compiler" superClass="com.crt.advproject.gcc.exe.debug.1852124878">
- <inputType id="com.crt.advproject.compiler.input.826332839" superClass="com.crt.advproject.compiler.input"/>
- </tool>
- <tool id="com.crt.advproject.gas.exe.debug.1041902071" name="MCU Assembler" superClass="com.crt.advproject.gas.exe.debug.1233492824">
- <option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.both.asm.option.include.paths.1868988049" name="Include paths (-I)" superClass="gnu.both.asm.option.include.paths" valueType="includePath">
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/device}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/utilities}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/CMSIS}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/component/uart}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/drivers}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/freertos/freertos_kernel/include}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/component/lists}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/component/serial_manager}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/drivers/freertos}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/freertos/freertos_kernel/portable/GCC/ARM_CM4F}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/board}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/utilities/RTT/}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/utilities/SEGGER_RTT_V754b/RTT/}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/utilities/SEGGER_RTT_V754b/Config/}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/source/}""/>
- </option>
- <inputType id="cdt.managedbuild.tool.gnu.assembler.input.1203720656" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
- <inputType id="com.crt.advproject.assembler.input.265502452" name="Additional Assembly Source Files" superClass="com.crt.advproject.assembler.input"/>
+ <option id="com.crt.advproject.linkserver.debug.prevent.debug.1155340207" name="Prevent Debugging" superClass="com.crt.advproject.linkserver.debug.prevent.debug"/>
+ <option id="com.crt.advproject.miscellaneous.end_of_heap.2095420946" name="Last used address of the heap" superClass="com.crt.advproject.miscellaneous.end_of_heap"/>
+ <option id="com.crt.advproject.miscellaneous.pvHeapStart.1246488227" name="First address of the heap" superClass="com.crt.advproject.miscellaneous.pvHeapStart"/>
+ <option id="com.crt.advproject.miscellaneous.pvHeapLimit.861610588" name="Maximum extent of heap" superClass="com.crt.advproject.miscellaneous.pvHeapLimit"/>
+ <option id="com.crt.advproject.debugger.security.nonsecureimageenable.1791058710" name="Enable pre-programming of Non-Secure Image" superClass="com.crt.advproject.debugger.security.nonsecureimageenable"/>
+ <option id="com.crt.advproject.debugger.security.nonsecureimage.1034386405" name="Non-Secure Project" superClass="com.crt.advproject.debugger.security.nonsecureimage"/>
</tool>
- <tool id="com.crt.advproject.link.cpp.exe.debug.1385125577" name="MCU C++ Linker" superClass="com.crt.advproject.link.cpp.exe.debug.286776023"/>
- <tool id="com.crt.advproject.link.exe.debug.1560685627" name="MCU Linker" superClass="com.crt.advproject.link.exe.debug.1808674003"/>
- <tool id="com.crt.advproject.tool.debug.debug.1309649558" name="MCU Debugger" superClass="com.crt.advproject.tool.debug.debug.323252551"/>
</toolChain>
</folderInfo>
<sourceEntries>
- <entry excluding="CMSIS|board|component|device|drivers|freertos|source|startup|utilities" flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name=""/>
- <entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="CMSIS"/>
- <entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="board"/>
<entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="component"/>
- <entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="device"/>
- <entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="drivers"/>
- <entry excluding="freertos_kernel/portable/MemMang/heap_useNewlib.c|freertos_kernel/portable/MemMang/heap_1.c|freertos_kernel/portable/MemMang/heap_2.c|freertos_kernel/portable/MemMang/heap_3.c|freertos_kernel/portable/MemMang/heap_5.c" flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="freertos"/>
+ <entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="CMSIS"/>
<entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="source"/>
+ <entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="utilities"/>
+ <entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="drivers"/>
+ <entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="device"/>
+ <entry excluding="freertos_kernel/portable/MemMang/heap_1.c|freertos_kernel/portable/MemMang/heap_2.c|freertos_kernel/portable/MemMang/heap_3.c|freertos_kernel/portable/MemMang/heap_5.c|freertos_kernel/portable/MemMang/heap_useNewlib.c" flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="freertos"/>
<entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="startup"/>
- <entry excluding="SEGGER_RTT_V754b/Syscalls/SEGGER_RTT_Syscalls_KEIL.c|SEGGER_RTT_V754b/Syscalls/SEGGER_RTT_Syscalls_IAR.c|SEGGER_RTT_V754b/Examples|SEGGER_RTT_V754b/Syscalls/SEGGER_RTT_Syscalls_SES.c" flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="utilities"/>
+ <entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="board"/>
</sourceEntries>
</configuration>
</storageModule>
@@ -499,6 +479,17 @@
</option>
<option id="gnu.c.compiler.option.preprocessor.undef.symbol.551007114" name="Undefined symbols (-U)" superClass="gnu.c.compiler.option.preprocessor.undef.symbol" useByScannerDiscovery="false"/>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.c.compiler.option.include.paths.1188034603" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/drivers}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/drivers/freertos}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/source}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/CMSIS}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/component/uart}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/component/serial_manager}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/component/lists}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/freertos/freertos_kernel/include}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/utilities}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/freertos/freertos_kernel/portable/GCC/ARM_CM4F}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/device}""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/device}""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/utilities}""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/CMSIS}""/>
@@ -512,10 +503,6 @@
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/freertos/freertos_kernel/portable/GCC/ARM_CM4F}""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/board}""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/utilities/SEGGER_RTT_V754b/RTT/}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/utilities/SEGGER_RTT_V754b/Config/}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/source/*}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/source/headers}""/>
</option>
<option id="gnu.c.compiler.option.include.files.1220388796" name="Include files (-include)" superClass="gnu.c.compiler.option.include.files" useByScannerDiscovery="false"/>
<option id="gnu.c.compiler.option.optimization.flags.348280577" name="Other optimization flags" superClass="gnu.c.compiler.option.optimization.flags" useByScannerDiscovery="false" value="-fno-common" valueType="string"/>
@@ -574,6 +561,17 @@
<option id="com.crt.advproject.gas.arch.1708340023" name="Architecture" superClass="com.crt.advproject.gas.arch" value="com.crt.advproject.gas.target.cm4" valueType="enumerated"/>
<option id="gnu.both.asm.option.flags.crt.728572039" name="Assembler flags" superClass="gnu.both.asm.option.flags.crt" value="-c -x assembler-with-cpp -D__REDLIB__" valueType="string"/>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.both.asm.option.include.paths.1267503675" name="Include paths (-I)" superClass="gnu.both.asm.option.include.paths" valueType="includePath">
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/drivers}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/drivers/freertos}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/source}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/CMSIS}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/component/uart}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/component/serial_manager}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/component/lists}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/freertos/freertos_kernel/include}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/utilities}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/freertos/freertos_kernel/portable/GCC/ARM_CM4F}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/device}""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/device}""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/utilities}""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/CMSIS}""/>
@@ -587,11 +585,6 @@
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/freertos/freertos_kernel/portable/GCC/ARM_CM4F}""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/board}""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/utilities/RTT/}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/utilities/SEGGER_RTT_V754b/RTT/}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/utilities/SEGGER_RTT_V754b/Config/}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/source/*}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/source/headers}""/>
</option>
<option id="gnu.both.asm.option.warnings.nowarn.1351750550" name="Suppress warnings (-W)" superClass="gnu.both.asm.option.warnings.nowarn"/>
<option id="gnu.both.asm.option.version.1323262073" name="Announce version (-v)" superClass="gnu.both.asm.option.version"/>
@@ -656,12 +649,12 @@
</tool>
<tool id="com.crt.advproject.link.exe.release.206653685" name="MCU Linker" superClass="com.crt.advproject.link.exe.release">
<option id="com.crt.advproject.link.thumb.1929397737" name="Thumb mode" superClass="com.crt.advproject.link.thumb" value="true" valueType="boolean"/>
- <option id="com.crt.advproject.link.memory.load.image.568133097" name="Plain load image" superClass="com.crt.advproject.link.memory.load.image" useByScannerDiscovery="false" value="" valueType="string"/>
- <option defaultValue="com.crt.advproject.heapAndStack.mcuXpressoStyle" id="com.crt.advproject.link.memory.heapAndStack.style.460922040" name="Heap and Stack placement" superClass="com.crt.advproject.link.memory.heapAndStack.style" useByScannerDiscovery="false" valueType="enumerated"/>
+ <option id="com.crt.advproject.link.memory.load.image.568133097" name="Plain load image" superClass="com.crt.advproject.link.memory.load.image" value="" valueType="string"/>
+ <option defaultValue="com.crt.advproject.heapAndStack.mcuXpressoStyle" id="com.crt.advproject.link.memory.heapAndStack.style.460922040" name="Heap and Stack placement" superClass="com.crt.advproject.link.memory.heapAndStack.style" valueType="enumerated"/>
<option id="com.crt.advproject.link.memory.heapAndStack.211110992" name="Heap and Stack options" superClass="com.crt.advproject.link.memory.heapAndStack" value="&Heap:Default;Post Data;Default&Stack:Default;End;Default" valueType="string"/>
- <option id="com.crt.advproject.link.memory.data.1235529903" name="Global data placement" superClass="com.crt.advproject.link.memory.data" useByScannerDiscovery="false" value="" valueType="string"/>
- <option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="true" id="com.crt.advproject.link.memory.sections.1890453033" name="Extra linker script input sections" superClass="com.crt.advproject.link.memory.sections" useByScannerDiscovery="false" valueType="stringList"/>
- <option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="true" id="com.crt.advproject.link.gcc.multicore.master.userobjs.1785585183" name="Slave Objects (not visible)" superClass="com.crt.advproject.link.gcc.multicore.master.userobjs" useByScannerDiscovery="false" valueType="userObjs"/>
+ <option id="com.crt.advproject.link.memory.data.1235529903" name="Global data placement" superClass="com.crt.advproject.link.memory.data" value="" valueType="string"/>
+ <option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="true" id="com.crt.advproject.link.memory.sections.1890453033" name="Extra linker script input sections" superClass="com.crt.advproject.link.memory.sections" valueType="stringList"/>
+ <option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="true" id="com.crt.advproject.link.gcc.multicore.master.userobjs.1785585183" name="Slave Objects (not visible)" superClass="com.crt.advproject.link.gcc.multicore.master.userobjs" valueType="userObjs"/>
<option id="com.crt.advproject.link.arch.399498072" name="Architecture" superClass="com.crt.advproject.link.arch" value="com.crt.advproject.link.target.cm4" valueType="enumerated"/>
<option id="gnu.c.link.option.nostart.770485132" name="Do not use standard start files (-nostartfiles)" superClass="gnu.c.link.option.nostart"/>
<option id="gnu.c.link.option.nodeflibs.2141358555" name="Do not use default libraries (-nodefaultlibs)" superClass="gnu.c.link.option.nodeflibs"/>
@@ -725,15 +718,15 @@
</toolChain>
</folderInfo>
<sourceEntries>
- <entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="CMSIS"/>
- <entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="board"/>
<entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="component"/>
- <entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="device"/>
- <entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="drivers"/>
- <entry excluding="freertos_kernel/portable/MemMang/heap_useNewlib.c|freertos_kernel/portable/MemMang/heap_1.c|freertos_kernel/portable/MemMang/heap_2.c|freertos_kernel/portable/MemMang/heap_3.c|freertos_kernel/portable/MemMang/heap_5.c" flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="freertos"/>
+ <entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="CMSIS"/>
<entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="source"/>
+ <entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="utilities"/>
+ <entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="drivers"/>
+ <entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="device"/>
+ <entry excluding="freertos_kernel/portable/MemMang/heap_1.c|freertos_kernel/portable/MemMang/heap_2.c|freertos_kernel/portable/MemMang/heap_3.c|freertos_kernel/portable/MemMang/heap_5.c|freertos_kernel/portable/MemMang/heap_useNewlib.c" flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="freertos"/>
<entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="startup"/>
- <entry excluding="SEGGER_RTT_V754b/Syscalls/SEGGER_RTT_Syscalls_KEIL.c|SEGGER_RTT_V754b/Syscalls/SEGGER_RTT_Syscalls_IAR.c|SEGGER_RTT_V754b/Examples|SEGGER_RTT_V754b/Syscalls/SEGGER_RTT_Syscalls_SES.c" flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="utilities"/>
+ <entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="board"/>
</sourceEntries>
</configuration>
</storageModule>
@@ -763,7 +756,7 @@
<sdkName>SDK_2.x_MK66FX1M0xxx18</sdkName>
<sdkVersion>2.8.2</sdkVersion>
<sdkComponents>middleware.freertos-kernel.extension.MK66F18;middleware.freertos-kernel.template.MK66F18;middleware.freertos-kernel.MK66F18;platform.drivers.clock.MK66F18;platform.drivers.common.MK66F18;platform.drivers.gpio.MK66F18;platform.drivers.uart.MK66F18;component.uart_adapter.MK66F18;component.serial_manager_uart.MK66F18;utility.debug_console.MK66F18;component.serial_manager.MK66F18;component.lists.MK66F18;device.MK66F18_startup.MK66F18;platform.Include_common.MK66F18;platform.Include_core_cm4.MK66F18;platform.Include_dsp.MK66F18;device.MK66F18_CMSIS.MK66F18;platform.drivers.dspi_freertos.MK66F18;platform.drivers.dspi.MK66F18;platform.drivers.port.MK66F18;middleware.baremetal.MK66F18;platform.drivers.adc16.MK66F18;</sdkComponents>
- <sdkComponents>middleware.freertos-kernel.extension.MK66F18;middleware.freertos-kernel.template.MK66F18;middleware.freertos-kernel.MK66F18;platform.drivers.clock.MK66F18;platform.drivers.common.MK66F18;platform.drivers.gpio.MK66F18;platform.drivers.uart.MK66F18;component.uart_adapter.MK66F18;component.serial_manager_uart.MK66F18;utility.debug_console.MK66F18;component.serial_manager.MK66F18;component.lists.MK66F18;device.MK66F18_startup.MK66F18;platform.Include_common.MK66F18;platform.Include_core_cm4.MK66F18;platform.Include_dsp.MK66F18;device.MK66F18_CMSIS.MK66F18;platform.drivers.dspi_freertos.MK66F18;platform.drivers.dspi.MK66F18;platform.drivers.port.MK66F18;middleware.baremetal.MK66F18;platform.drivers.adc16.MK66F18;</sdkComponents>
+ <sdkComponents>middleware.freertos-kernel.extension.MK66F18;middleware.freertos-kernel.template.MK66F18;middleware.freertos-kernel.MK66F18;platform.drivers.clock.MK66F18;platform.drivers.common.MK66F18;platform.drivers.gpio.MK66F18;platform.drivers.uart.MK66F18;component.uart_adapter.MK66F18;component.serial_manager_uart.MK66F18;utility.debug_console.MK66F18;component.serial_manager.MK66F18;component.lists.MK66F18;device.MK66F18_startup.MK66F18;platform.Include_common.MK66F18;platform.Include_core_cm4.MK66F18;platform.Include_dsp.MK66F18;device.MK66F18_CMSIS.MK66F18;platform.drivers.dspi_freertos.MK66F18;platform.drivers.dspi.MK66F18;platform.drivers.port.MK66F18;middleware.baremetal.MK66F18;platform.drivers.adc16.MK66F18;platform.drivers.i2c.MK66F18;</sdkComponents>
<package>MK66FX1M0VLQ18</package>
<core>cm4</core>
<coreId>core0_MK66FX1M0xxx18</coreId>
@@ -794,12 +787,5 @@
</TargetConfig></projectStorage>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
- <storageModule moduleId="refreshScope" versionNumber="2">
- <configuration configurationName="Debug">
- <resource resourceType="PROJECT" workspacePath="/WB-CAN-Firmware"/>
- </configuration>
- <configuration configurationName="Release">
- <resource resourceType="PROJECT" workspacePath="/WB-CAN-Firmware"/>
- </configuration>
- </storageModule>
+ <storageModule moduleId="refreshScope"/>
</cproject>
diff --git a/.gitignore b/.gitignore
index f56d8dc..a71d8fa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,8 +1,2 @@
**/Debug
.settings/*
-
-*.DS_Store
-*.launch
-
-.vscode
-
diff --git a/README.md b/README.md
index 8929428..6d5f91b 100644
--- a/README.md
+++ b/README.md
@@ -7,10 +7,3 @@
This is a repository with the code for the UBC Rocket Whistler Blackcomb data acquisition board, which is used to collect data from sensors and return it back to the main flight computer through the CAN bus. The name was ill-advisidly chosen from the CAN bus on which the board operates despite the board having much more functionality than that.
The PCB that this board runs on can be seen [here](https://github.com/UBC-Rocket/WB-AV-4510-CAN).
-
-
-## Documentation:
-
-### How to plot Pressure Data:
-Using RTTViewer, select "Start Terminal Logging," and save as a .log file. As of the current commit #7f6d3e1 the values are separated by commas, so they can be directly imported in excel as CSV data.
-
diff --git a/WB-CAN-Firmware JLink Debug.launch b/WB-CAN-Firmware JLink Debug.launch
new file mode 100644
index 0000000..6d19f1d
--- /dev/null
+++ b/WB-CAN-Firmware JLink Debug.launch
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="com.nxp.mcuxpresso.core.debug.support.segger.launchConfigurationType">
+<stringAttribute key="com.crt.ctrlcenter.OFSemuDetails" value="JLink801012213"/>
+<booleanAttribute key="com.crt.ctrlcenter.mainBreakIsHardware" value="true"/>
+<stringAttribute key="com.crt.ctrlcenter.serialNumber" value="USB 801012213"/>
+<mapAttribute key="com.crt.ctrlcenter.symbolsGroupSettings"/>
+<intAttribute key="com.nxp.mcuxpresso.core.debug.support.segger.launches.JLinkLaunchConfigHandler.version" value="2"/>
+<booleanAttribute key="com.nxp.mcuxpresso.flash.clear.console" value="true"/>
+<booleanAttribute key="com.nxp.mcuxpresso.flash.confirm" value="false"/>
+<stringAttribute key="com.nxp.mcuxpresso.ide.probe.manufacturer" value="SEGGER"/>
+<stringAttribute key="com.nxp.mcuxpresso.ide.probe.name" value="J-Link EDU Mini"/>
+<stringAttribute key="com.nxp.mcuxpresso.ide.probe.type" value="USB"/>
+<stringAttribute key="com.nxp.mcuxpresso.jlink.flash.base.address" value="0x0"/>
+<stringAttribute key="com.nxp.mcuxpresso.jlink.flash.executable" value="hex"/>
+<booleanAttribute key="com.nxp.mcuxpresso.jlink.flash.halt.target" value="true"/>
+<booleanAttribute key="com.nxp.mcuxpresso.jlink.flash.reset.target" value="true"/>
+<stringAttribute key="com.nxp.mcuxpresso.segger.auto.startup" value="auto"/>
+<stringAttribute key="com.nxp.mcuxpresso.segger.device" value="MK66FX1M0xxx18"/>
+<stringAttribute key="com.nxp.mcuxpresso.segger.endian" value="little"/>
+<stringAttribute key="com.nxp.mcuxpresso.segger.halt.target" value="-halt"/>
+<stringAttribute key="com.nxp.mcuxpresso.segger.if" value="SWD"/>
+<stringAttribute key="com.nxp.mcuxpresso.segger.init.register" value="-noir"/>
+<stringAttribute key="com.nxp.mcuxpresso.segger.jlinkscriptfile" value=""/>
+<stringAttribute key="com.nxp.mcuxpresso.segger.options" value=""/>
+<intAttribute key="com.nxp.mcuxpresso.segger.port" value="2331"/>
+<booleanAttribute key="com.nxp.mcuxpresso.segger.powertarget 50" value="false"/>
+<stringAttribute key="com.nxp.mcuxpresso.segger.reset" value="true;"/>
+<stringAttribute key="com.nxp.mcuxpresso.segger.rtos" value="false;GDBServer/RTOSPlugin_FreeRTOS"/>
+<stringAttribute key="com.nxp.mcuxpresso.segger.select" value="USB=801012213"/>
+<stringAttribute key="com.nxp.mcuxpresso.segger.silent" value="-nosilent"/>
+<stringAttribute key="com.nxp.mcuxpresso.segger.singlerun" value="-singlerun"/>
+<stringAttribute key="com.nxp.mcuxpresso.segger.speed" value="auto"/>
+<intAttribute key="com.nxp.mcuxpresso.segger.swoport" value="2332"/>
+<intAttribute key="com.nxp.mcuxpresso.segger.telnetport" value="2333"/>
+<stringAttribute key="com.nxp.mcuxpresso.segger.verify" value="-vd"/>
+<stringAttribute key="disconnect" value="Run"/>
+<stringAttribute key="launch.config.handler" value="com.nxp.mcuxpresso.core.debug.support.segger.launches.JLinkLaunchConfigHandler"/>
+<intAttribute key="org.eclipse.cdt.debug.gdbjtag.core.delay" value="3"/>
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.doHalt" value="false"/>
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.doReset" value="false"/>
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.imageFileName" value=""/>
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.imageOffset" value=""/>
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.initCommands" value="monitor reset"/>
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.ipAddress" value="localhost"/>
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.jtagDeviceId" value="org.eclipse.cdt.debug.gdbjtag.core.jtagdevice.genericDevice"/>
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.loadImage" value="true"/>
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.loadSymbols" value="true"/>
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.pcRegister" value=""/>
+<intAttribute key="org.eclipse.cdt.debug.gdbjtag.core.portNumber" value="2331"/>
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.runCommands" value=""/>
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setPcRegister" value="false"/>
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setResume" value="false"/>
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setStopAt" value="true"/>
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.stopAt" value="main"/>
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.symbolsFileName" value=""/>
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.symbolsOffset" value=""/>
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.useFileForImage" value="false"/>
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.useFileForSymbols" value="false"/>
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.useProjBinaryForImage" value="true"/>
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.useProjBinaryForSymbols" value="true"/>
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.useRemoteTarget" value="true"/>
+<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="arm-none-eabi-gdb"/>
+<booleanAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_ON_FORK" value="false"/>
+<booleanAttribute key="org.eclipse.cdt.dsf.gdb.EXTERNAL_CONSOLE" value="false"/>
+<stringAttribute key="org.eclipse.cdt.dsf.gdb.GDB_INIT" value=""/>
+<booleanAttribute key="org.eclipse.cdt.dsf.gdb.NON_STOP" value="false"/>
+<booleanAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE" value="false"/>
+<stringAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE_MODE" value="UseSoftTrace"/>
+<stringAttribute key="org.eclipse.cdt.dsf.gdb.TRACEPOINT_MODE" value="TP_NORMAL_ONLY"/>
+<booleanAttribute key="org.eclipse.cdt.dsf.gdb.UPDATE_THREADLIST_ON_SUSPEND" value="false"/>
+<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="2"/>
+<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_START_MODE" value="remote"/>
+<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="Debug\WB-CAN-Firmware.axf"/>
+<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="WB-CAN-Firmware"/>
+<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="false"/>
+<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value="com.crt.advproject.config.exe.debug.384082807"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/WB-CAN-Firmware"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="4"/>
+</listAttribute>
+<mapAttribute key="org.eclipse.debug.core.preferred_launchers">
+<mapEntry key="[debug]" value="com.nxp.mcuxpresso.core.debug.support.segger.dsfLaunchDelegate"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.dsf.launch.MEMORY_BLOCKS" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <memoryBlockExpressionList context="reserved-for-future-use"/> "/>
+<stringAttribute key="process_factory_id" value="com.nxp.mcuxpresso.core.debug.override.MCXProcessFactory"/>
+<booleanAttribute key="semihost" value="true"/>
+<booleanAttribute key="start.server" value="true"/>
+</launchConfiguration>
diff --git a/WB-DAQ-Firmware.mex b/WB-DAQ-Firmware.mex
index 57712be..26dd3b9 100644
--- a/WB-DAQ-Firmware.mex
+++ b/WB-DAQ-Firmware.mex
@@ -42,6 +42,16 @@
<data>true</data>
</feature>
</dependency>
+ <dependency resourceType="Peripheral" resourceId="I2C1" description="Peripheral I2C1 is not initialized" problem_level="1" source="Pins:BOARD_InitPins">
+ <feature name="initialized" evaluation="equal">
+ <data>true</data>
+ </feature>
+ </dependency>
+ <dependency resourceType="Peripheral" resourceId="I2C3" description="Peripheral I2C3 is not initialized" problem_level="1" source="Pins:BOARD_InitPins">
+ <feature name="initialized" evaluation="equal">
+ <data>true</data>
+ </feature>
+ </dependency>
<dependency resourceType="SWComponent" resourceId="platform.drivers.common" description="Pins initialization requires the COMMON Driver in the project." problem_level="2" source="Pins:BOARD_InitPins">
<feature name="enabled" evaluation="equal" configuration="core0">
<data>true</data>
@@ -74,6 +84,10 @@
</pin_features>
</pin>
<pin peripheral="ADC0" signal="SE, 18" pin_num="46" pin_signal="ADC0_SE18/PTE25/LLWU_P21/CAN1_RX/UART4_RX/I2C0_SDA/EWM_IN"/>
+ <pin peripheral="I2C1" signal="SCL" pin_num="115" pin_signal="ADC1_SE6b/PTC10/I2C1_SCL/FTM3_CH6/I2S0_RX_FS/FB_AD5/SDRAM_A13"/>
+ <pin peripheral="I2C1" signal="SDA" pin_num="116" pin_signal="ADC1_SE7b/PTC11/LLWU_P11/I2C1_SDA/FTM3_CH7/I2S0_RXD1/FB_RW_b"/>
+ <pin peripheral="I2C3" signal="SCL" pin_num="14" pin_signal="PTE11/I2C3_SCL/I2S0_TX_FS/LPUART0_RTS_b/FTM3_CH6"/>
+ <pin peripheral="I2C3" signal="SDA" pin_num="13" pin_signal="PTE10/LLWU_P18/I2C3_SDA/I2S0_TXD0/LPUART0_CTS_b/FTM3_CH5/USB1_ID"/>
</pins>
</function>
</functions_list>
@@ -159,6 +173,16 @@
<data type="Version">2.1.0</data>
</feature>
</dependency>
+ <dependency resourceType="SWComponent" resourceId="platform.drivers.i2c" description="I2C Driver not found in the toolchain/IDE project. Project will not compile!" problem_level="2" source="Peripherals">
+ <feature name="enabled" evaluation="equal">
+ <data type="Boolean">true</data>
+ </feature>
+ </dependency>
+ <dependency resourceType="SWComponent" resourceId="platform.drivers.i2c" description="Unsupported version of the I2C Driver in the toolchain/IDE project. Required: ${required_value}, actual: ${actual_value}. Project might not compile correctly." problem_level="1" source="Peripherals">
+ <feature name="version" evaluation="equivalent">
+ <data type="Version">2.0.5</data>
+ </feature>
+ </dependency>
</dependencies>
<generated_project_files>
<file path="board/peripherals.c" update_enabled="true"/>
@@ -171,7 +195,38 @@
<functional_group name="BOARD_InitPeripherals" uuid="003e09be-8246-4dfc-8d8b-7814e2a4e030" called_from_default_init="true" id_prefix="" core="core0">
<description></description>
<options/>
- <dependencies/>
+ <dependencies>
+ <dependency resourceType="PeripheralUnifiedSignal" resourceId="I2C1.i2c_scl" description="Signal serial clock of the peripheral I2C1 is not routed." problem_level="1" source="Peripherals:BOARD_InitPeripherals">
+ <feature name="routed" evaluation="">
+ <data type="Boolean">true</data>
+ </feature>
+ </dependency>
+ <dependency resourceType="PeripheralUnifiedSignal" resourceId="I2C1.i2c_sda" description="Signal serial data of the peripheral I2C1 is not routed." problem_level="1" source="Peripherals:BOARD_InitPeripherals">
+ <feature name="routed" evaluation="">
+ <data type="Boolean">true</data>
+ </feature>
+ </dependency>
+ <dependency resourceType="ClockOutput" resourceId="Bus_clock" description="Bus clock is inactive." problem_level="1" source="Peripherals:BOARD_InitPeripherals">
+ <feature name="frequency" evaluation="greaterThan">
+ <data type="Frequency" unit="Hz">0</data>
+ </feature>
+ </dependency>
+ <dependency resourceType="PeripheralUnifiedSignal" resourceId="I2C3.i2c_scl" description="Signal serial clock of the peripheral I2C3 is not routed." problem_level="1" source="Peripherals:BOARD_InitPeripherals">
+ <feature name="routed" evaluation="">
+ <data type="Boolean">true</data>
+ </feature>
+ </dependency>
+ <dependency resourceType="PeripheralUnifiedSignal" resourceId="I2C3.i2c_sda" description="Signal serial data of the peripheral I2C3 is not routed." problem_level="1" source="Peripherals:BOARD_InitPeripherals">
+ <feature name="routed" evaluation="">
+ <data type="Boolean">true</data>
+ </feature>
+ </dependency>
+ <dependency resourceType="ClockOutput" resourceId="Bus_clock" description="Bus clock is inactive." problem_level="1" source="Peripherals:BOARD_InitPeripherals">
+ <feature name="frequency" evaluation="greaterThan">
+ <data type="Frequency" unit="Hz">0</data>
+ </feature>
+ </dependency>
+ </dependencies>
<instances>
<instance name="ADC0" uuid="1ffa8f96-a482-4488-bfc8-e16f973e73e1" type="adc16" type_id="adc16_7a29cdeb84266e77f0c7ceac1b49fe2d" mode="ADC" peripheral="ADC0" enabled="true" comment="" custom_name_enabled="false">
<config_set name="fsl_adc16" quick_selection="QS_ADC16_1">
@@ -206,6 +261,32 @@
<array name="adc16_channels_config"/>
</config_set>
</instance>
+ <instance name="I2C1" uuid="398ceef7-5ad2-471d-81da-fb7c3891e303" type="i2c" type_id="i2c_2566d7363e7e9aaedabb432110e372d7" mode="I2C_Polling" peripheral="I2C1" enabled="true" comment="" custom_name_enabled="false">
+ <config_set name="fsl_i2c" quick_selection="QS_I2C_1">
+ <setting name="i2c_mode" value="kI2C_Master"/>
+ <setting name="clockSource" value="BusInterfaceClock"/>
+ <setting name="clockSourceFreq" value="GetFreq"/>
+ <struct name="i2c_master_config">
+ <setting name="enableMaster" value="true"/>
+ <setting name="enableStopHold" value="false"/>
+ <setting name="baudRate_Bps" value="100000"/>
+ <setting name="glitchFilterWidth" value="0"/>
+ </struct>
+ </config_set>
+ </instance>
+ <instance name="I2C3" uuid="a2382ea4-df9c-4349-b400-1cab538ade1f" type="i2c" type_id="i2c_2566d7363e7e9aaedabb432110e372d7" mode="I2C_Polling" peripheral="I2C3" enabled="true" comment="" custom_name_enabled="false">
+ <config_set name="fsl_i2c" quick_selection="QS_I2C_1">
+ <setting name="i2c_mode" value="kI2C_Master"/>
+ <setting name="clockSource" value="BusInterfaceClock"/>
+ <setting name="clockSourceFreq" value="GetFreq"/>
+ <struct name="i2c_master_config">
+ <setting name="enableMaster" value="true"/>
+ <setting name="enableStopHold" value="false"/>
+ <setting name="baudRate_Bps" value="100000"/>
+ <setting name="glitchFilterWidth" value="0"/>
+ </struct>
+ </config_set>
+ </instance>
</instances>
</functional_group>
</functional_groups>
diff --git a/board/peripherals.c b/board/peripherals.c
index 495429c..a927a17 100644
--- a/board/peripherals.c
+++ b/board/peripherals.c
@@ -105,6 +105,82 @@ static void ADC0_init(void) {
ADC16_SetChannelMuxMode(ADC0_PERIPHERAL, ADC0_muxMode);
}
+/***********************************************************************************************************************
+ * I2C1 initialization code
+ **********************************************************************************************************************/
+/* clang-format off */
+/* TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+instance:
+- name: 'I2C1'
+- type: 'i2c'
+- mode: 'I2C_Polling'
+- custom_name_enabled: 'false'
+- type_id: 'i2c_2566d7363e7e9aaedabb432110e372d7'
+- functional_group: 'BOARD_InitPeripherals'
+- peripheral: 'I2C1'
+- config_sets:
+ - fsl_i2c:
+ - i2c_mode: 'kI2C_Master'
+ - clockSource: 'BusInterfaceClock'
+ - clockSourceFreq: 'GetFreq'
+ - i2c_master_config:
+ - enableMaster: 'true'
+ - enableStopHold: 'false'
+ - baudRate_Bps: '100000'
+ - glitchFilterWidth: '0'
+ - quick_selection: 'QS_I2C_1'
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS **********/
+/* clang-format on */
+const i2c_master_config_t I2C1_config = {
+ .enableMaster = true,
+ .enableStopHold = false,
+ .baudRate_Bps = 100000UL,
+ .glitchFilterWidth = 0U
+};
+
+static void I2C1_init(void) {
+ /* Initialization function */
+ I2C_MasterInit(I2C1_PERIPHERAL, &I2C1_config, I2C1_CLK_FREQ);
+}
+
+/***********************************************************************************************************************
+ * I2C3 initialization code
+ **********************************************************************************************************************/
+/* clang-format off */
+/* TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
+instance:
+- name: 'I2C3'
+- type: 'i2c'
+- mode: 'I2C_Polling'
+- custom_name_enabled: 'false'
+- type_id: 'i2c_2566d7363e7e9aaedabb432110e372d7'
+- functional_group: 'BOARD_InitPeripherals'
+- peripheral: 'I2C3'
+- config_sets:
+ - fsl_i2c:
+ - i2c_mode: 'kI2C_Master'
+ - clockSource: 'BusInterfaceClock'
+ - clockSourceFreq: 'GetFreq'
+ - i2c_master_config:
+ - enableMaster: 'true'
+ - enableStopHold: 'false'
+ - baudRate_Bps: '100000'
+ - glitchFilterWidth: '0'
+ - quick_selection: 'QS_I2C_1'
+ * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS **********/
+/* clang-format on */
+const i2c_master_config_t I2C3_config = {
+ .enableMaster = true,
+ .enableStopHold = false,
+ .baudRate_Bps = 100000UL,
+ .glitchFilterWidth = 0U
+};
+
+static void I2C3_init(void) {
+ /* Initialization function */
+ I2C_MasterInit(I2C3_PERIPHERAL, &I2C3_config, I2C3_CLK_FREQ);
+}
+
/***********************************************************************************************************************
* Initialization functions
**********************************************************************************************************************/
@@ -112,6 +188,8 @@ void BOARD_InitPeripherals(void)
{
/* Initialize components */
ADC0_init();
+ I2C1_init();
+ I2C3_init();
}
/***********************************************************************************************************************
diff --git a/board/peripherals.h b/board/peripherals.h
index 832b876..0c4c236 100644
--- a/board/peripherals.h
+++ b/board/peripherals.h
@@ -11,6 +11,7 @@
**********************************************************************************************************************/
#include "fsl_common.h"
#include "fsl_adc16.h"
+#include "fsl_i2c.h"
#if defined(__cplusplus)
extern "C" {
@@ -26,6 +27,20 @@ extern "C" {
#define ADC0_IRQN ADC0_IRQn
/* ADC0 interrupt handler identifier. */
#define ADC0_IRQHANDLER ADC0_IRQHandler
+/* BOARD_InitPeripherals defines for I2C1 */
+/* Definition of peripheral ID */
+#define I2C1_PERIPHERAL I2C1
+/* Definition of the clock source */
+#define I2C1_CLOCK_SOURCE I2C1_CLK_SRC
+/* Definition of the clock source frequency */
+#define I2C1_CLK_FREQ CLOCK_GetFreq(I2C1_CLOCK_SOURCE)
+/* BOARD_InitPeripherals defines for I2C3 */
+/* Definition of peripheral ID */
+#define I2C3_PERIPHERAL I2C3
+/* Definition of the clock source */
+#define I2C3_CLOCK_SOURCE I2C3_CLK_SRC
+/* Definition of the clock source frequency */
+#define I2C3_CLK_FREQ CLOCK_GetFreq(I2C3_CLOCK_SOURCE)
/***********************************************************************************************************************
* Global variables
@@ -33,6 +48,8 @@ extern "C" {
extern const adc16_config_t ADC0_config;
extern const adc16_channel_mux_mode_t ADC0_muxMode;
extern const adc16_hardware_average_mode_t ADC0_hardwareAverageMode;
+extern const i2c_master_config_t I2C1_config;
+extern const i2c_master_config_t I2C3_config;
/***********************************************************************************************************************
* Initialization functions
diff --git a/board/pin_mux.c b/board/pin_mux.c
index 29398b7..5da92cd 100644
--- a/board/pin_mux.c
+++ b/board/pin_mux.c
@@ -47,6 +47,10 @@ BOARD_InitPins:
- {pin_num: '110', peripheral: GPIOC, signal: 'GPIO, 5', pin_signal: PTC5/LLWU_P9/SPI0_SCK/LPTMR0_ALT2/I2S0_RXD0/FB_AD10/SDRAM_A18/CMP0_OUT/FTM0_CH2, identifier: HS_SWITCH_B_IN1,
direction: OUTPUT, gpio_init_state: 'false'}
- {pin_num: '46', peripheral: ADC0, signal: 'SE, 18', pin_signal: ADC0_SE18/PTE25/LLWU_P21/CAN1_RX/UART4_RX/I2C0_SDA/EWM_IN}
+ - {pin_num: '115', peripheral: I2C1, signal: SCL, pin_signal: ADC1_SE6b/PTC10/I2C1_SCL/FTM3_CH6/I2S0_RX_FS/FB_AD5/SDRAM_A13}
+ - {pin_num: '116', peripheral: I2C1, signal: SDA, pin_signal: ADC1_SE7b/PTC11/LLWU_P11/I2C1_SDA/FTM3_CH7/I2S0_RXD1/FB_RW_b}
+ - {pin_num: '14', peripheral: I2C3, signal: SCL, pin_signal: PTE11/I2C3_SCL/I2S0_TX_FS/LPUART0_RTS_b/FTM3_CH6}
+ - {pin_num: '13', peripheral: I2C3, signal: SDA, pin_signal: PTE10/LLWU_P18/I2C3_SDA/I2S0_TXD0/LPUART0_CTS_b/FTM3_CH5/USB1_ID}
* BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
*/
/* clang-format on */
@@ -78,12 +82,24 @@ void BOARD_InitPins(void)
/* Initialize GPIO functionality on pin PTC6 (pin 111) */
GPIO_PinInit(BOARD_INITPINS_HS_SWITCH_B_IN0_GPIO, BOARD_INITPINS_HS_SWITCH_B_IN0_PIN, &HS_SWITCH_B_IN0_config);
+ /* PORTC10 (pin 115) is configured as I2C1_SCL */
+ PORT_SetPinMux(PORTC, 10U, kPORT_MuxAlt2);
+
+ /* PORTC11 (pin 116) is configured as I2C1_SDA */
+ PORT_SetPinMux(PORTC, 11U, kPORT_MuxAlt2);
+
/* PORTC5 (pin 110) is configured as PTC5 */
PORT_SetPinMux(BOARD_INITPINS_HS_SWITCH_B_IN1_PORT, BOARD_INITPINS_HS_SWITCH_B_IN1_PIN, kPORT_MuxAsGpio);
/* PORTC6 (pin 111) is configured as PTC6 */
PORT_SetPinMux(BOARD_INITPINS_HS_SWITCH_B_IN0_PORT, BOARD_INITPINS_HS_SWITCH_B_IN0_PIN, kPORT_MuxAsGpio);
+ /* PORTE10 (pin 13) is configured as I2C3_SDA */
+ PORT_SetPinMux(PORTE, 10U, kPORT_MuxAlt2);
+
+ /* PORTE11 (pin 14) is configured as I2C3_SCL */
+ PORT_SetPinMux(PORTE, 11U, kPORT_MuxAlt2);
+
/* PORTE25 (pin 46) is configured as ADC0_SE18 */
PORT_SetPinMux(PORTE, 25U, kPORT_PinDisabledOrAnalog);
}
diff --git a/source/WB-CAN-Firmware.c b/source/WB-CAN-Firmware.c
index 6d24c6e..1636a84 100644
--- a/source/WB-CAN-Firmware.c
+++ b/source/WB-CAN-Firmware.c
@@ -5,8 +5,7 @@
/*******************************************************************************
* Includes
******************************************************************************/
-/// Need to put it back into the source folder
-#include "adc.h"
+
#include <stdio.h>
#include "board.h"
#include "peripherals.h"
@@ -20,15 +19,10 @@
#include "fsl_dspi.h"
#include "fsl_dspi_freertos.h"
#include "fsl_gpio.h"
-
+#include "fsl_adc16.h"
#include "fsl_i2c.h"
#include "fsl_i2c_freertos.h"
-#include "SEGGER_RTT.h"
-
-#include "message_types.h"
-#include "buffer.h"
-
/*******************************************************************************
* Definitions
@@ -45,58 +39,34 @@
#define TC_I2C3_CLK_FREQ CLOCK_GetFreq((I2C3_CLK_SRC))
#define TC_I2C3 ((I2C_Type *)TC_I2C3_BASE)
-#define BUFFER_SIZE 50
/*******************************************************************************
* Task Prototypes
******************************************************************************/
-static void mainTask(void *pv);
static void blinkTask(void *pv);
-
+static void testTask(void *pv);
static void actuatorTask(void *pv);
-static void ControlTask(void *pv);
-static void tcTask(void *pv);
-static void rttReceive(void *pv);
-
-
-
-#define VALVE_PIN BOARD_INITPINS_HS_SWITCH_B_IN0_GPIO
-#define VALVE_PIN_MASK BOARD_INITPINS_HS_SWITCH_B_IN0_GPIO_PIN_MASK
-
-void PWM(uint32_t, uint32_t);
-uint32_t duty_cycle = 10;
-uint32_t period = 100;
-float kp;
-
-
-
-#define VALVE_PIN BOARD_INITPINS_HS_SWITCH_B_IN0_GPIO
-#define VALVE_PIN_MASK BOARD_INITPINS_HS_SWITCH_B_IN0_GPIO_PIN_MASK
-
-uint8_t pwm_active = 0;
-
-
-// DPR Constants
-#define PI_MAX 5
-#define PI_MIN 0
-
-#define DUTYCYCLE_MAX 100
-#define DUTYCYCLE_MIN 0
-
+static void ADCTask(void *pv);
+static void tcTask(void *pv);
+/*******************************************************************************
+ * ADC Prototypes and Interrupt Variables
+ ******************************************************************************/
+void adcSetup(adc16_config_t, adc16_channel_config_t);
+void adcRead(adc16_config_t, adc16_channel_config_t);
+void ADC16_IRQ_HANDLER_FUNC(void);
-typedef enum testConfigEnum
- {
- POTENTIOMETER,
- KULITE
- } testConfigType;
+volatile bool g_Adc16ConversionDoneFlag = false;
+volatile uint32_t g_Adc16ConversionValue;
+volatile uint32_t g_Adc16InterruptCounter;
-testConfigType testConfig = POTENTIOMETER; // Swap this to Kulite or Potentiometer.
-float pressureScaling = 3.3;
+#define ADC16_BASE ADC0
+#define ADC16_CHANNEL_GROUP 0U
+#define ADC16_USER_CHANNEL 18U // This sets what ADC Signal you are using:
-struct mBuffer mBuf;
+#define ADC16_IRQn ADC0_IRQn
+#define ADC16_IRQ_HANDLER_FUNC ADC0_IRQHandler
-TaskHandle_t actuator_task;
/*******************************************************************************
* Main
@@ -105,11 +75,9 @@ TaskHandle_t actuator_task;
int main(void) {
/* Init board hardware. */
- BOARD_InitPins();
BOARD_InitBootPins();
BOARD_InitBootClocks();
BOARD_InitBootPeripherals();
- SEGGER_RTT_ConfigUpBuffer(0, NULL, NULL, 0, SEGGER_RTT_MODE_BLOCK_IF_FIFO_FULL);
#ifndef BOARD_INIT_DEBUG_CONSOLE_PERIPHERAL
/* Init FSL debug console. */
BOARD_InitDebugConsole();
@@ -121,11 +89,9 @@ int main(void) {
BaseType_t error;
- // initialize mBuffer
- mBufferInit(&mBuf);
-
// Create the BlinkTest
- if ((error = xTaskCreate(blinkTask,
+ if ((error = xTaskCreate(
+ blinkTask,
"Blink LED Task",
512,
NULL,
@@ -137,8 +103,8 @@ int main(void) {
};
- if ((error = xTaskCreate(mainTask,
- "Main Task",
+ if ((error = xTaskCreate(testTask,
+ "Test Debugging Task",
512,
NULL,
0,
@@ -148,24 +114,12 @@ int main(void) {
;
};
-
- if ((error = xTaskCreate(rttReceive,
- "RTT Receive Task",
- 512,
- NULL,
- 0,
- NULL)) != pdPASS) {
- printf("Task init failed: %ld\n", error);
- for (;;)
- ;
- };
-
if ((error = xTaskCreate(actuatorTask,
"Actuator Task",
512,
NULL,
0,
- &actuator_task)) != pdPASS) {
+ NULL)) != pdPASS) {
printf("Task init failed: %ld\n", error);
for (;;)
;
@@ -182,8 +136,8 @@ int main(void) {
;
};
- if ((error = xTaskCreate(ControlTask,
- "Control Task",
+ if ((error = xTaskCreate(ADCTask,
+ "ADC Task",
512,
NULL,
0,
@@ -193,283 +147,101 @@ int main(void) {
;
};