-
-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy pathMakefile
788 lines (708 loc) · 16.9 KB
/
Makefile
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
#
# @section License
#
# The MIT License (MIT)
#
# Copyright (c) 2014-2018, Erik Moqvist
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
# restriction, including without limitation the rights to use, copy,
# modify, merge, publish, distribute, sublicense, and/or sell copies
# of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# This file is part of the Simba project.
#
.PHONY: tags doc
SIMBA_VERSION ?= $(shell cat VERSION.txt)
BOARD ?= linux
ifeq ($(BOARD), linux)
TESTS = $(addprefix tst/kernel/, \
sys \
thrd \
time \
timer)
TESTS += $(addprefix tst/sync/, \
bus \
cond \
chan \
event \
mutex \
queue \
rwlock \
sem)
TESTS += $(addprefix tst/collections/, \
binary_tree \
bits \
circular_buffer \
fifo \
hash_map \
list)
TESTS += $(addprefix tst/alloc/, \
circular_heap \
heap)
TESTS += $(addprefix tst/text/, \
configfile \
emacs \
std \
re)
TESTS += $(addprefix tst/debug/, \
log \
harness)
TESTS += $(addprefix tst/oam/, \
nvm \
service \
settings \
shell \
soam)
# upgrade \
# upgrade/http \
# upgrade/kermit \
# upgrade/uds)
TESTS += $(addprefix tst/filesystems/, \
fat16 \
fs)
# spiffs)
TESTS += $(addprefix tst/encode/, \
base64 \
json \
nmea)
TESTS += $(addprefix tst/hash/, \
crc \
sha1)
TESTS += $(addprefix tst/inet/, \
http_server \
http_websocket_client \
http_websocket_server \
inet \
isotp \
mqtt_client \
ping \
slip \
ssl \
tftp_server)
TESTS += $(addprefix tst/multimedia/, \
midi)
TESTS += $(addprefix tst/drivers/software/, \
network/jtag_soft \
network/xbee \
network/xbee_client \
sensors/dht \
sensors/bmp280 \
sensors/hx711 \
storage/eeprom_soft \
various/gnss)
TESTS += $(addprefix tst/science/, \
math \
science)
endif
ifeq ($(BOARD), arduino_due)
TESTS = $(addprefix tst/kernel/, \
sys \
thrd \
time \
timer)
TESTS += $(addprefix tst/sync/, \
bus \
event \
queue \
rwlock \
sem)
TESTS += $(addprefix tst/collections/, \
binary_tree \
bits \
fifo \
hash_map)
TESTS += $(addprefix tst/alloc/, \
circular_heap \
heap)
TESTS += $(addprefix tst/text/, \
configfile \
std \
re)
TESTS += $(addprefix tst/debug/, \
log)
TESTS += $(addprefix tst/oam/, \
settings \
shell)
TESTS += $(addprefix tst/filesystems/, \
fs \
spiffs)
TESTS += $(addprefix tst/encode/, \
base64 \
json)
TESTS += $(addprefix tst/hash/, \
crc \
sha1)
TESTS += $(addprefix tst/drivers/hardware/, \
basic/chipid \
network/can \
storage/flash)
endif
ifeq ($(BOARD), arduino_mega)
TESTS = $(addprefix tst/kernel/, \
sys \
thrd \
time \
timer)
TESTS += $(addprefix tst/sync/, \
bus \
event \
queue \
rwlock \
sem)
TESTS += $(addprefix tst/collections/, \
binary_tree \
bits \
fifo \
hash_map)
TESTS += $(addprefix tst/alloc/, \
circular_heap \
heap)
TESTS += $(addprefix tst/text/, \
configfile \
std \
re)
TESTS += $(addprefix tst/debug/, \
log)
TESTS += $(addprefix tst/oam/, \
settings \
shell)
TESTS += $(addprefix tst/filesystems/, \
fat16 \
fs)
TESTS += $(addprefix tst/encode/, \
base64)
TESTS += $(addprefix tst/hash/, \
crc \
sha1)
TESTS += $(addprefix tst/inet/, \
http_websocket_client \
http_websocket_server \
inet \
mqtt_client \
ping)
TESTS += $(addprefix tst/drivers/hardware/, \
basic/adc \
basic/analog_input_pin \
various/ds3231 \
storage/sd \
basic/pin)
endif
ifeq ($(BOARD), arduino_nano)
TESTS = $(addprefix tst/drivers/hardware/, \
sensors/ds18b20 \
basic/analog_output_pin \
basic/exti \
network/owi)
endif
ifeq ($(BOARD), arduino_pro_micro)
TESTS = $(addprefix tst/kernel/, \
sys \
thrd \
timer)
endif
ifeq ($(BOARD), esp12e)
TESTS = $(addprefix tst/kernel/, \
sys \
thrd \
timer)
endif
ifeq ($(BOARD), nodemcu)
TESTS = $(addprefix tst/kernel/, \
sys \
thrd \
timer)
TESTS += $(addprefix tst/sync/, \
bus \
event \
queue \
rwlock \
sem)
TESTS += $(addprefix tst/collections/, \
binary_tree \
bits \
fifo \
hash_map)
TESTS += $(addprefix tst/alloc/, \
circular_heap)
TESTS += $(addprefix tst/text/, \
std \
re)
TESTS += $(addprefix tst/debug/, \
log)
TESTS += $(addprefix tst/oam/, \
shell)
TESTS += $(addprefix tst/encode/, \
base64 \
json)
TESTS += $(addprefix tst/hash/, \
crc \
sha1)
TESTS += $(addprefix tst/inet/, \
http_websocket_client \
http_websocket_server \
inet \
mqtt_client \
network_interface/wifi_esp \
ping)
TESTS += $(addprefix tst/drivers/hardware/, \
basic/pin \
basic/random \
basic/power)
TESTS += $(addprefix tst/filesystems/, \
fs \
spiffs)
endif
ifeq ($(BOARD), nano32)
TESTS = $(addprefix tst/kernel/, \
sys \
thrd \
timer)
TESTS += $(addprefix tst/sync/, \
bus \
event \
queue \
rwlock \
sem)
TESTS += $(addprefix tst/collections/, \
binary_tree \
bits \
fifo \
hash_map)
TESTS += $(addprefix tst/alloc/, \
circular_heap)
TESTS += $(addprefix tst/text/, \
std \
re)
TESTS += $(addprefix tst/debug/, \
log)
TESTS += $(addprefix tst/oam/, \
shell)
TESTS += $(addprefix tst/encode/, \
base64 \
json)
TESTS += $(addprefix tst/hash/, \
crc \
sha1)
TESTS += $(addprefix tst/inet/, \
http_websocket_client \
http_websocket_server \
inet \
mqtt_client_network \
network_interface/wifi_esp \
ping)
TESTS += $(addprefix tst/filesystems/, \
fs \
spiffs)
endif
ifeq ($(BOARD), stm32vldiscovery)
TESTS = $(addprefix tst/kernel/, \
sys \
thrd \
timer)
TESTS += $(addprefix tst/sync/, \
bus \
event \
queue \
rwlock \
sem)
TESTS += $(addprefix tst/collections/, \
binary_tree \
bits \
fifo \
hash_map)
TESTS += $(addprefix tst/alloc/, \
circular_heap)
TESTS += $(addprefix tst/text/, \
std \
re)
TESTS += $(addprefix tst/debug/, \
log)
TESTS += $(addprefix tst/oam/, \
shell)
TESTS += $(addprefix tst/encode/, \
base64 \
json)
TESTS += $(addprefix tst/hash/, \
crc \
sha1)
TESTS += $(addprefix tst/inet/, \
http_websocket_client \
http_websocket_server \
inet \
mqtt_client \
ping)
TESTS += $(addprefix tst/drivers/hardware/, \
basic/pin \
basic/random)
endif
ifeq ($(BOARD), photon)
TESTS = $(addprefix tst/kernel/, \
sys \
thrd \
time \
timer)
TESTS += $(addprefix tst/sync/, \
bus \
event \
queue \
rwlock \
sem)
TESTS += $(addprefix tst/collections/, \
binary_tree \
bits \
fifo \
hash_map)
TESTS += $(addprefix tst/alloc/, \
circular_heap)
TESTS += $(addprefix tst/text/, \
std \
re)
TESTS += $(addprefix tst/debug/, \
log)
TESTS += $(addprefix tst/oam/, \
shell)
TESTS += $(addprefix tst/encode/, \
base64 \
json)
TESTS += $(addprefix tst/hash/, \
crc \
sha1)
TESTS += $(addprefix tst/inet/, \
http_websocket_client \
http_websocket_server \
inet \
mqtt_client \
ping)
endif
ifeq ($(BOARD), spc56ddiscovery)
TESTS = $(addprefix tst/kernel/, \
sys \
thrd \
time \
timer)
TESTS += $(addprefix tst/sync/, \
bus \
event \
queue \
rwlock \
sem)
TESTS += $(addprefix tst/collections/, \
binary_tree \
bits \
fifo \
hash_map)
TESTS += $(addprefix tst/alloc/, \
circular_heap)
TESTS += $(addprefix tst/text/, \
std \
re)
TESTS += $(addprefix tst/debug/, \
log)
TESTS += $(addprefix tst/oam/, \
shell \
soam)
TESTS += $(addprefix tst/encode/, \
base64 \
json)
TESTS += $(addprefix tst/hash/, \
crc \
sha1)
TESTS += $(addprefix tst/drivers/hardware/, \
storage/eeprom_soft)
endif
ifeq ($(BOARD), xvisor_raspberry_pi_3)
TESTS = $(addprefix tst/kernel/, \
sys \
thrd \
time \
timer)
TESTS += $(addprefix tst/sync/, \
cond \
event \
mutex \
queue)
TESTS += $(addprefix tst/alloc/, \
heap \
circular_heap)
TESTS += $(addprefix tst/debug/, \
log)
TESTS += $(addprefix tst/encode/, \
base64 \
json)
TESTS += $(addprefix tst/hash/, \
crc \
sha1)
TESTS += $(addprefix tst/text/, \
std \
emacs)
endif
ifeq ($(BOARD), defcon26_badge)
TESTS = $(addprefix tst/kernel/, \
stress \
sys \
thrd \
timer)
TESTS += $(addprefix tst/sync/, \
cond \
event \
mutex \
queue)
TESTS += $(addprefix tst/alloc/, \
heap \
circular_heap)
TESTS += $(addprefix tst/debug/, \
log)
TESTS += $(addprefix tst/encode/, \
base64 \
json)
TESTS += $(addprefix tst/hash/, \
crc \
sha1)
endif
# List of all application to build
APPS += $(TESTS)
all: $(APPS:%=%.all)
clean: $(APPS:%=%.clean)
rerun:
for test in $(TESTS) ; do \
$(MAKE) -C $$test run || exit 1 ; \
done
# Depend on 'all' to build all applications (optinally with -j) before
# uploading and running them one at a time.
run: all
for test in $(TESTS) ; do \
if [ ! -e $$test/.$(BOARD).passed ] ; then \
$(MAKE) -C $$test run || exit 1 ; \
touch $$test/.$(BOARD).passed ; \
else \
echo ; \
echo "$$test already passed." ; \
echo ; \
fi \
done
size: $(TESTS:%=%.size)
report:
for test in $(TESTS) ; do \
$(MAKE) -C $(basename $$test) report ; \
echo ; \
done
test: run
$(MAKE) report
coverage: $(TESTS:%=%.cov)
lcov $(TESTS:%=-a %/coverage.info) -o coverage.info
mkdir -p coverage && cd coverage && genhtml ../coverage.info
genhtml coverage.info
@echo
@echo "Run 'firefox coverage/index.html' to open the coverage report in a web browser."
@echo
codecov-coverage: $(TESTS:%=%.ccc)
jenkins-coverage: $(TESTS:%=%.jc)
travis:
$(MAKE) cloc
$(MAKE) pmccabe
$(MAKE) test CDEFS_EXTRA="CONFIG_ASSERT=1"
release-test:
+bin/release.py --test --version $(SIMBA_VERSION)
release:
+bin/release.py --package --version $(SIMBA_VERSION)
clean-arduino-due:
$(MAKE) BOARD=arduino_due clean
clean-arduino-mega:
$(MAKE) BOARD=arduino_mega clean
clean-arduino-nano:
$(MAKE) BOARD=arduino_nano clean
clean-arduino-pro-micro:
$(MAKE) BOARD=arduino_pro_micro clean
clean-nodemcu:
$(MAKE) BOARD=nodemcu clean
clean-esp12e:
$(MAKE) BOARD=esp12e clean
clean-nano32:
$(MAKE) BOARD=nano32 clean
clean-stm32vldiscovery:
$(MAKE) BOARD=stm32vldiscovery clean
clean-photon:
$(MAKE) BOARD=photon clean
clean-spc56ddiscovery:
$(MAKE) BOARD=spc56ddiscovery clean
clean-xvisor-raspberry-pi-3:
$(MAKE) BOARD=xvisor_raspberry_pi_3 clean
clean-xvisor-defcon26-badge:
$(MAKE) BOARD=defcon26_badge clean
test-arduino-due:
@echo "Arduino Due"
$(MAKE) BOARD=arduino_due SERIAL_PORT=/dev/simba-arduino_due test
test-arduino-mega:
@echo "Arduino Mega"
$(MAKE) BOARD=arduino_mega SERIAL_PORT=/dev/simba-arduino_mega test
test-arduino-nano:
@echo "Arduino Nano"
$(MAKE) BOARD=arduino_nano SERIAL_PORT=/dev/simba-arduino_nano test
test-arduino-pro-micro:
@echo "Arduino Pro Micro"
$(MAKE) BOARD=arduino_pro_micro SERIAL_PORT=/dev/simba-arduino_pro_micro test
test-nodemcu:
@echo "NodeMcu"
$(MAKE) BOARD=nodemcu SERIAL_PORT=/dev/simba-nodemcuv3 test
test-esp12e:
@echo "ESP12-E"
$(MAKE) BOARD=esp12e SERIAL_PORT=/dev/simba-esp12e test
test-nano32:
@echo "Nano32"
$(MAKE) BOARD=nano32 SERIAL_PORT=/dev/simba-nano32 test
test-stm32vldiscovery:
@echo "STM32VLDISCOVERY"
$(MAKE) BOARD=stm32vldiscovery SERIAL_PORT=/dev/simba-stm32vldiscovery test
test-photon:
@echo "Photon"
$(MAKE) BOARD=photon SERIAL_PORT=/dev/simba-photon test
test-spc56ddiscovery:
@echo "SPC56D Discovery"
$(MAKE) BOARD=spc56ddiscovery SERIAL_PORT=/dev/simba-spc56ddiscovery CONTROL_PORT=/dev/simba-spc56ddiscovery-control test
test-xvisor-raspberry-pi-3:
@echo "Xvisor Raspberry Pi 3"
$(MAKE) -C tst/kernel/sys BOARD=xvisor_raspberry_pi_3 all
$(MAKE) BOARD=xvisor_raspberry_pi_3 SERIAL_PORT=/dev/arduino test
test-xvisor-defon26-badge:
@echo "DEF CON 26 Badge"
$(MAKE) BOARD=defcon26_badge SERIAL_PORT=/dev/ttyUSB0 test
clean-arduino-due-platformio:
@echo "Arduino Due"
$(MAKE) -C examples/platformio BOARD=arduino_due SERIAL_PORT=/dev/simba-arduino_due clean
clean-arduino-mega-platformio:
@echo "Arduino Mega"
$(MAKE) -C examples/platformio BOARD=arduino_mega SERIAL_PORT=/dev/simba-arduino_mega clean
clean-nodemcu-platformio:
@echo "NodeMCU"
$(MAKE) -C examples/platformio BOARD=nodemcu SERIAL_PORT=/dev/simba-nodemcu clean
test-arduino-due-platformio:
@echo "Arduino Due"
$(MAKE) -C examples/platformio BOARD=arduino_due SERIAL_PORT=/dev/simba-arduino_due test
test-arduino-mega-platformio:
@echo "Arduino Mega"
$(MAKE) -C examples/platformio BOARD=arduino_mega SERIAL_PORT=/dev/simba-arduino_mega test
test-nodemcu-platformio:
@echo "NodeMCU"
$(MAKE) -C examples/platformio BOARD=nodemcu SERIAL_PORT=/dev/simba-nodemcuv3 test
test-i2c-nano-mega:
@echo "I2C Nano Mega"
$(MAKE) -C tst/drivers/hardware/network/i2c/slave BOARD=arduino_nano SERIAL_PORT=/dev/simba-arduino_nano upload
$(MAKE) -C tst/drivers/hardware/network/i2c/master_soft BOARD=arduino_mega SERIAL_PORT=/dev/simba-arduino_mega run
clean-i2c-nano-mega:
@echo "I2C Nano Mega"
$(MAKE) -C tst/drivers/hardware/network/i2c/slave BOARD=arduino_nano clean
$(MAKE) -C tst/drivers/hardware/network/i2c/master_soft BOARD=arduino_mega clean
test-all-boards:
$(MAKE) test-arduino-due
$(MAKE) test-arduino-mega
$(MAKE) test-arduino-nano
$(MAKE) test-esp12e
# $(MAKE) test-photon
$(MAKE) test-arduino-due-platformio
$(MAKE) test-arduino-mega-platformio
$(MAKE) test-i2c-nano-mega
$(MAKE) test-nodemcu-platformio
$(MAKE) test-arduino-pro-micro
$(MAKE) test-nodemcu
$(MAKE) test-nano32
$(MAKE) test-spc56ddiscovery
$(MAKE) test-xvisor-raspberry-pi-3
clean-all-boards:
$(MAKE) clean-arduino-due
$(MAKE) clean-arduino-mega
$(MAKE) clean-arduino-nano
$(MAKE) clean-esp12e
# $(MAKE) clean-photon
$(MAKE) clean-arduino-due-platformio
$(MAKE) clean-arduino-mega-platformio
$(MAKE) clean-i2c-nano-mega
$(MAKE) clean-nodemcu-platformio
$(MAKE) clean-arduino-pro-micro
$(MAKE) clean-nodemcu
$(MAKE) clean-nano32
$(MAKE) clean-spc56ddiscovery
$(MAKE) clean-xvisor-raspberry-pi-3
doc:
+bin/dbgen.py database.json
+bin/docgen.py database.json
$(MAKE) -s -C doc
arduino:
+make/arduino/arduino.py --remove-outdir --version $(SIMBA_VERSION)
platformio:
+make/platformio/platformio.py --version $(SIMBA_VERSION)
$(APPS:%=%.all):
$(MAKE) -C $(basename $@) all
$(APPS:%=%.clean):
$(MAKE) -C $(basename $@) clean
rm -f $(basename $@)/.$(BOARD).passed
$(APPS:%=%.size):
$(MAKE) -C $(basename $@) size
$(TESTS:%=%.report):
$(MAKE) -C $(basename $@) report
$(TESTS:%=%.cov):
$(MAKE) -C $(basename $@) coverage
$(TESTS:%=%.ccc):
$(MAKE) -C $(basename $@) codecov-coverage
$(TESTS:%=%.jc):
$(MAKE) -C $(basename $@) jenkins-coverage
tags:
echo "Creating tags file .TAGS"
etags -o .TAGS --declarations $$(git ls-files *.[hci] | xargs) \
$$(find 3pp/mbedtls -name "*.[hc]" -o -name "*.cpp" | xargs)
cloc:
cloc $$(git ls-files | grep -v 3pp | xargs)
pmccabe:
pmccabe $$(git ls-files "src/*.[hic]") | sort -n
print-%:
@echo $($*)
generate-stubs:
rm -rf tst/stubs
(cd src && \
for f in $$(find . -name "*.h" \
| grep -v ports \
| grep -v boards \
| grep -v mcus \
| grep -v simba.h \
| grep -v simba_gen.h \
| grep -v config_default.h \
| grep -v config.h) ; do \
stub.py -d generate \
--ignore-function fs_split \
--ignore-function chipid_read \
--ignore-function pin_device_set_mode \
--ignore-function pin_device_read \
--ignore-function pin_device_write \
--ignore-function pin_device_write_high \
--ignore-function pin_device_write_low \
$$f ../tst/stubs/$$(dirname $$f) ; done)
help:
@echo "--------------------------------------------------------------------------------"
@echo " target description"
@echo "--------------------------------------------------------------------------------"
@echo " all compile and link the application"
@echo " clean remove all generated files and folders"
@echo " run run the application"
@echo " report print test report"
@echo " test run + report"
@echo " size print executable size information"
@echo " cloc print source code line statistics"
@echo " pmccabe print source code complexity statistics"
@echo " doc Generate the documentation."
@echo " help show this help"
@echo