-
Notifications
You must be signed in to change notification settings - Fork 1
/
set_middleware_edgefast_bluetooth.cmake
3879 lines (2746 loc) · 208 KB
/
set_middleware_edgefast_bluetooth.cmake
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
include_guard(GLOBAL)
if (CONFIG_USE_middleware_edgefast_bluetooth_le_audio_config_template)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_le_audio_config_template true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_le_audio_config_template component is included from ${CMAKE_CURRENT_LIST_FILE}.")
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_le_audio_cap)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_le_audio_cap true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_le_audio_cap component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/cap_acceptor.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/cap_commander.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/cap_common.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/cap_initiator.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/cap_stream.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio/config
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio
)
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_le_audio_aics)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_le_audio_aics true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_le_audio_aics component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/aics.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/aics_client.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio/config
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio
)
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_le_audio_vocs)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_le_audio_vocs true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_le_audio_vocs component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/vocs.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/vocs_client.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio/config
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio
)
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_le_audio_csip)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_le_audio_csip true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_le_audio_csip component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/csip_crypto.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/csip_set_coordinator.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/csip_set_member.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio/config
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio
)
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_le_audio_ccid)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_le_audio_ccid true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_le_audio_ccid component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/ccid.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio/config
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio
)
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_le_audio_bap)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_le_audio_bap true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_le_audio_bap component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/ascs.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/bap_iso.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/audio.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/bap_base.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/bap_broadcast_sink.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/bap_broadcast_source.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/codec.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/pacs.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/bap_stream.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/bap_unicast_client.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/bap_unicast_server.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio/config
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind
)
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_le_audio_has)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_le_audio_has true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_le_audio_has component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/has_client.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/has.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio/config
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio
)
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_le_audio_tbs)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_le_audio_tbs true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_le_audio_tbs component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/tbs_client.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/tbs.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio/config
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio
)
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_le_audio_tmap)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_le_audio_tmap true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_le_audio_tmap component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/tmap.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio/config
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio
)
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_le_audio_gmap)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_le_audio_gmap true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_le_audio_gmap component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/gmap_client.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/gmap_server.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio/config
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio
)
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_le_audio_pbp)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_le_audio_pbp true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_le_audio_pbp component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/pbp.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio/config
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio
)
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_config_template)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_config_template true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_config_template component is included from ${CMAKE_CURRENT_LIST_FILE}.")
add_config_file(${CMAKE_CURRENT_LIST_DIR}/./output/templates/config/edgefast_bluetooth_config.h ${CMAKE_CURRENT_LIST_DIR}/./output/templates/config middleware_edgefast_bluetooth_config_template)
add_config_file(${CMAKE_CURRENT_LIST_DIR}/./output/templates/config/edgefast_bluetooth_debug_config.h "" middleware_edgefast_bluetooth_config_template)
add_config_file(${CMAKE_CURRENT_LIST_DIR}/./output/templates/app_bluetooth_config/app_bluetooth_config.h ${CMAKE_CURRENT_LIST_DIR}/./output/templates/app_bluetooth_config middleware_edgefast_bluetooth_config_template)
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_controller_ind_reset)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_controller_ind_reset true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_controller_ind_reset component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/controller/ind_reset/controller_ind_reset.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/controller/ind_reset
)
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_liblc3codec)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_liblc3codec true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_liblc3codec component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/lib/liblc3codec/src/attdet.c
${CMAKE_CURRENT_LIST_DIR}/lib/liblc3codec/src/bits.c
${CMAKE_CURRENT_LIST_DIR}/lib/liblc3codec/src/bwdet.c
${CMAKE_CURRENT_LIST_DIR}/lib/liblc3codec/src/energy.c
${CMAKE_CURRENT_LIST_DIR}/lib/liblc3codec/src/lc3.c
${CMAKE_CURRENT_LIST_DIR}/lib/liblc3codec/src/ltpf.c
${CMAKE_CURRENT_LIST_DIR}/lib/liblc3codec/src/mdct.c
${CMAKE_CURRENT_LIST_DIR}/lib/liblc3codec/src/plc.c
${CMAKE_CURRENT_LIST_DIR}/lib/liblc3codec/src/sns.c
${CMAKE_CURRENT_LIST_DIR}/lib/liblc3codec/src/spec.c
${CMAKE_CURRENT_LIST_DIR}/lib/liblc3codec/src/tables.c
${CMAKE_CURRENT_LIST_DIR}/lib/liblc3codec/src/tns.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/lib/liblc3codec/include
${CMAKE_CURRENT_LIST_DIR}/lib/liblc3codec
${CMAKE_CURRENT_LIST_DIR}/lib/.
)
if(CONFIG_USE_COMPONENT_CONFIGURATION)
message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
if(CONFIG_TOOLCHAIN STREQUAL iar)
target_compile_options(${MCUX_SDK_PROJECT_NAME} PUBLIC
--vla
)
endif()
endif()
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_asrc_sw)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_asrc_sw true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_asrc_sw component is included from ${CMAKE_CURRENT_LIST_FILE}.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/lib/asrc_sw/srCvtFrm.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/lib/asrc_sw/include
${CMAKE_CURRENT_LIST_DIR}/lib/asrc_sw
${CMAKE_CURRENT_LIST_DIR}/lib/.
)
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_sdio_template_evkbmimxrt1170)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_sdio_template_evkbmimxrt1170 true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_sdio_template_evkbmimxrt1170 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_sdmmc_host_usdhc AND CONFIG_USE_middleware_sdmmc_sdio AND CONFIG_USE_middleware_sdmmc_host_usdhc_freertos AND CONFIG_USE_component_igpio_adapter AND (CONFIG_DEVICE_ID STREQUAL MIMXRT1176xxxxx) AND (CONFIG_BOARD STREQUAL evkbmimxrt1170))
else()
message(SEND_ERROR "middleware_edgefast_bluetooth_sdio_template_evkbmimxrt1170 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_mcux_linker_template_evkbmimxrt1170)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_mcux_linker_template_evkbmimxrt1170 true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_mcux_linker_template_evkbmimxrt1170 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if((CONFIG_DEVICE_ID STREQUAL MIMXRT1176xxxxx) AND (CONFIG_BOARD STREQUAL evkbmimxrt1170))
if(CONFIG_TOOLCHAIN STREQUAL mcux)
add_config_file(${CMAKE_CURRENT_LIST_DIR}/../../boards/evkbmimxrt1170/edgefast_bluetooth_examples/template/end_text.ldt "" middleware_edgefast_bluetooth_mcux_linker_template_evkbmimxrt1170)
add_config_file(${CMAKE_CURRENT_LIST_DIR}/../../boards/evkbmimxrt1170/edgefast_bluetooth_examples/template/main_data.ldt "" middleware_edgefast_bluetooth_mcux_linker_template_evkbmimxrt1170)
add_config_file(${CMAKE_CURRENT_LIST_DIR}/../../boards/evkbmimxrt1170/edgefast_bluetooth_examples/template/main_text.ldt "" middleware_edgefast_bluetooth_mcux_linker_template_evkbmimxrt1170)
add_config_file(${CMAKE_CURRENT_LIST_DIR}/../../boards/evkbmimxrt1170/edgefast_bluetooth_examples/template/symbols.ldt "" middleware_edgefast_bluetooth_mcux_linker_template_evkbmimxrt1170)
endif()
else()
message(SEND_ERROR "middleware_edgefast_bluetooth_mcux_linker_template_evkbmimxrt1170 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_pal)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_pal true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_pal component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_freertos-kernel_heap_4 AND CONFIG_USE_middleware_freertos-kernel AND CONFIG_USE_middleware_mbedtls AND CONFIG_USE_middleware_usb_host_stack AND CONFIG_USE_middleware_edgefast_bluetooth_common_ethermind AND CONFIG_USE_middleware_edgefast_bluetooth_porting AND CONFIG_USE_middleware_edgefast_bluetooth_pal_platform_ethermind AND CONFIG_USE_middleware_edgefast_bluetooth_pal_crypto_ethermind AND CONFIG_USE_middleware_edgefast_bluetooth_pal_host_msd_fatfs_ethermind AND CONFIG_USE_middleware_edgefast_bluetooth_pal_db_gen_ethermind AND ((CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_cm7f AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_cm7f) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_cm7f) AND (CONFIG_CORE STREQUAL cm7f)) OR (CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_cm4f AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_cm4f) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_cm4f) AND (CONFIG_CORE STREQUAL cm4f)) OR (CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_cm33 AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_cm33) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_cm33) AND (CONFIG_CORE STREQUAL cm33) AND (CONFIG_DSP STREQUAL DSP)) OR (CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_cm33nodsp AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_cm33nodsp) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_cm33nodsp) AND (CONFIG_CORE STREQUAL cm33) AND (CONFIG_DSP STREQUAL NO_DSP)) OR (CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_cm7f AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_cm7f) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_cm7f) AND (CONFIG_CORE STREQUAL cm7f)) OR (CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_cm4f AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_cm4f) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_cm4f) AND (CONFIG_CORE STREQUAL cm4f)) OR (CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_cm33 AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_cm33) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_cm33) AND (CONFIG_CORE STREQUAL cm33) AND (CONFIG_DSP STREQUAL DSP)) OR (CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_cm33nodsp AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_cm33nodsp) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_cm33nodsp) AND (CONFIG_CORE STREQUAL cm33) AND (CONFIG_DSP STREQUAL NO_DSP)) OR (CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_cm7f AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_cm7f) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_cm7f) AND (CONFIG_CORE STREQUAL cm7f)) OR (CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_cm4f AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_cm4f) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_cm4f) AND (CONFIG_CORE STREQUAL cm4f)) OR (CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_cm33 AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_cm33) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_cm33) AND (CONFIG_CORE STREQUAL cm33) AND (CONFIG_DSP STREQUAL DSP)) OR (CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_cm33nodsp AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_cm33nodsp) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_cm33nodsp) AND (CONFIG_CORE STREQUAL cm33) AND (CONFIG_DSP STREQUAL NO_DSP))))
else()
message(SEND_ERROR "middleware_edgefast_bluetooth_pal dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_common_ethermind_hci)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_common_ethermind_hci true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_common_ethermind_hci component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_edgefast_bluetooth_pal AND (CONFIG_USE_middleware_edgefast_bluetooth_common_ethermind_hci_uart OR CONFIG_USE_middleware_edgefast_bluetooth_common_ethermind_hci_platform))
else()
message(SEND_ERROR "middleware_edgefast_bluetooth_common_ethermind_hci dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_common_ethermind_hci_uart)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_common_ethermind_hci_uart true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_common_ethermind_hci_uart component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_edgefast_bluetooth_common_ethermind AND (CONFIG_DEVICE_ID STREQUAL MIMXRT1042xxxxB OR CONFIG_DEVICE_ID STREQUAL MIMXRT1062xxxxA OR CONFIG_DEVICE_ID STREQUAL MIMXRT1062xxxxB OR CONFIG_DEVICE_ID STREQUAL MIMXRT685S OR CONFIG_DEVICE_ID STREQUAL MIMXRT1176xxxxx OR CONFIG_DEVICE_ID STREQUAL MIMXRT595S OR CONFIG_DEVICE_ID STREQUAL MIMXRT1052xxxxB OR CONFIG_DEVICE_ID STREQUAL MIMXRT1189xxxxx OR CONFIG_DEVICE_ID STREQUAL MIMXRT1187xxxxx OR CONFIG_DEVICE_ID STREQUAL MIMXRT1166xxxxx OR CONFIG_DEVICE_ID STREQUAL MCXN547 OR CONFIG_DEVICE_ID STREQUAL MCXN947) AND CONFIG_USE_component_serial_manager AND CONFIG_USE_component_serial_manager_uart AND (CONFIG_USE_middleware_edgefast_bluetooth_wifi_nxp_controller_base OR CONFIG_USE_middleware_edgefast_bluetooth_k32w061_controller))
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/bluetooth/hci_uart.c
)
if(CONFIG_USE_COMPONENT_CONFIGURATION)
message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC
-DDEBUG_CONSOLE_TRANSFER_NON_BLOCKING=1
-DSERIAL_PORT_TYPE_UART=1
)
endif()
else()
message(SEND_ERROR "middleware_edgefast_bluetooth_common_ethermind_hci_uart dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_common_ethermind_hci_platform)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_common_ethermind_hci_platform true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_common_ethermind_hci_platform component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_edgefast_bluetooth_common_ethermind AND (CONFIG_DEVICE_ID STREQUAL RW612) AND CONFIG_USE_middleware_edgefast_bluetooth_rw610_controller)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/bluetooth/hci_platform.c
)
else()
message(SEND_ERROR "middleware_edgefast_bluetooth_common_ethermind_hci_platform dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_common_ethermind)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_common_ethermind true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_common_ethermind component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_edgefast_bluetooth_pal AND CONFIG_USE_middleware_edgefast_bluetooth_extension_common_ethermind AND CONFIG_USE_middleware_edgefast_bluetooth_common_ethermind_hci AND CONFIG_USE_middleware_edgefast_bluetooth_config_ethermind AND CONFIG_USE_middleware_littlefs AND CONFIG_USE_middleware_fatfs AND CONFIG_USE_component_osa)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/export/vendor/vendor_specific_init.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/osal/src/freertos/EM_config.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/osal/src/freertos/EM_debug.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/osal/src/freertos/EM_fops.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/osal/src/freertos/EM_os.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/osal/src/freertos/EM_serial.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/osal/src/freertos/EM_timer.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/bluetooth/BT_status_pl.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/bluetooth/BT_storage_pl.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/bluetooth/btsnoop_pl.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/bluetooth/sco_audio_pl.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/bluetooth/ctn_pl.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/bluetooth/ftp_pl.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/bluetooth/ht_read_task_pl.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/bluetooth/map_pl.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/bluetooth/obex_pl.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/bluetooth/pbap_pl.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/bluetooth/write_task_pl.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/bluetooth/littlefs_pl.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/bluetooth/fw_loader_uart.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/ethal/ethal_config.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/ethal/ethal_debug.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/ethal/ethal_fops.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/ethal/ethal_os.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/ethal/ethal_serial.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/ethal/ethal_timer.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/EM_platform.c
)
if(CONFIG_TOOLCHAIN STREQUAL mcux)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/toolspec/mcuxpresso/toolspec.c
)
endif()
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/export/eOSAL
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/export/include
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/export/vendor
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/private/protocols/att
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/private/protocols/avctp
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/private/protocols/avdtp
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/private/protocols/bnep
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/private/protocols/dbase
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/private/protocols/hci_1.2
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/private/protocols/mcap
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/private/protocols/obex
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/private/protocols/rfcomm
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/private/protocols/sdp
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/private/protocols/sm
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/private/protocols/smp
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/private/utils/aes_cmac
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/private/utils/at_parser
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/private/utils/object_parser
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/private/utils/racp
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/private/utils/storage
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/private/utils/xml_parser
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/bluetooth
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/ethal
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/sbc
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/osal/src/freertos
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/private/utils/sbc
)
if(CONFIG_TOOLCHAIN STREQUAL mcux)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/toolspec/mcuxpresso
)
endif()
if(CONFIG_USE_COMPONENT_CONFIGURATION)
message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC
-DLFS_NO_INTRINSICS=1
-DLFS_NO_ERROR=1
-DFSL_OSA_TASK_ENABLE=1
-DFSL_OSA_MAIN_FUNC_ENABLE=0
)
endif()
else()
message(SEND_ERROR "middleware_edgefast_bluetooth_common_ethermind dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_common_ethermind_lc3)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_common_ethermind_lc3 true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_common_ethermind_lc3 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if((CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_lib_lc3_cm7f AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_lib_lc3_cm7f) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_lib_lc3_cm7f) AND (CONFIG_CORE STREQUAL cm7f)) OR (CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_lib_lc3_cm4f AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_lib_lc3_cm4f) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_lib_lc3_cm4f) AND (CONFIG_CORE STREQUAL cm4f)) OR (CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_lib_lc3_cm33 AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_lib_lc3_cm33) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_lib_lc3_cm33) AND (CONFIG_CORE STREQUAL cm33) AND (CONFIG_DSP STREQUAL DSP)) OR (CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_lib_lc3_cm33nodsp AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_lib_lc3_cm33nodsp) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_lib_lc3_cm33nodsp) AND (CONFIG_CORE STREQUAL cm33) AND (CONFIG_DSP STREQUAL NO_DSP)) OR (CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_lib_lc3_cm7f AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_lib_lc3_cm7f) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_lib_lc3_cm7f) AND (CONFIG_CORE STREQUAL cm7f)) OR (CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_lib_lc3_cm4f AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_lib_lc3_cm4f) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_lib_lc3_cm4f) AND (CONFIG_CORE STREQUAL cm4f)) OR (CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_lib_lc3_cm33 AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_lib_lc3_cm33) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_lib_lc3_cm33) AND (CONFIG_CORE STREQUAL cm33) AND (CONFIG_DSP STREQUAL DSP)) OR (CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_lib_lc3_cm33nodsp AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_lib_lc3_cm33nodsp) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_lib_lc3_cm33nodsp) AND (CONFIG_CORE STREQUAL cm33) AND (CONFIG_DSP STREQUAL NO_DSP)) OR (CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_lib_lc3_cm7f AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_lib_lc3_cm7f) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_lib_lc3_cm7f) AND (CONFIG_CORE STREQUAL cm7f)) OR (CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_lib_lc3_cm4f AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_lib_lc3_cm4f) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_lib_lc3_cm4f) AND (CONFIG_CORE STREQUAL cm4f)) OR (CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_lib_lc3_cm33 AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_lib_lc3_cm33) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_lib_lc3_cm33) AND (CONFIG_CORE STREQUAL cm33) AND (CONFIG_DSP STREQUAL DSP)) OR (CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_lib_lc3_cm33nodsp AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_lib_lc3_cm33nodsp) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_lib_lc3_cm33nodsp) AND (CONFIG_CORE STREQUAL cm33) AND (CONFIG_DSP STREQUAL NO_DSP)))
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/lc3
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/private/utils/lc3/export/include
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/private/utils/lc3/private/fixed/config
)
if(CONFIG_USE_COMPONENT_CONFIGURATION)
message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC
-DLC3_DSP=1
)
endif()
else()
message(SEND_ERROR "middleware_edgefast_bluetooth_common_ethermind_lc3 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_wifi_nxp_controller_base)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_wifi_nxp_controller_base true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_wifi_nxp_controller_base component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_edgefast_bluetooth_common_ethermind AND CONFIG_USE_middleware_wifi_fwdnld AND ((CONFIG_USE_middleware_edgefast_bluetooth_sdio_template_evkmimxrt1040 AND (CONFIG_BOARD STREQUAL evkmimxrt1040)) OR (CONFIG_USE_middleware_edgefast_bluetooth_sdio_template_evkcmimxrt1060 AND (CONFIG_BOARD STREQUAL evkcmimxrt1060)) OR (CONFIG_USE_middleware_edgefast_bluetooth_sdio_template_evkmimxrt685 AND (CONFIG_BOARD STREQUAL evkmimxrt685)) OR (CONFIG_USE_middleware_edgefast_bluetooth_sdio_template_mimxrt685audevk AND (CONFIG_BOARD STREQUAL mimxrt685audevk)) OR (CONFIG_USE_middleware_edgefast_bluetooth_sdio_template_evkmimxrt595 AND (CONFIG_BOARD STREQUAL evkmimxrt595)) OR (CONFIG_USE_middleware_edgefast_bluetooth_sdio_template_evkbimxrt1050 AND (CONFIG_BOARD STREQUAL evkbimxrt1050)) OR (CONFIG_USE_middleware_edgefast_bluetooth_sdio_template_evkbmimxrt1170 AND (CONFIG_BOARD STREQUAL evkbmimxrt1170)) OR (CONFIG_USE_middleware_edgefast_bluetooth_sdio_template_evkmimxrt1180 AND (CONFIG_BOARD STREQUAL evkmimxrt1180)) OR (CONFIG_USE_middleware_edgefast_bluetooth_sdio_template_mcxn5xxevk AND (CONFIG_BOARD STREQUAL mcxn5xxevk)) OR (CONFIG_USE_middleware_edgefast_bluetooth_sdio_template_mcxn9xxevk AND (CONFIG_BOARD STREQUAL mcxn9xxevk))))
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/bluetooth/controller/controller_wifi_nxp.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/bluetooth/controller
)
else()
message(SEND_ERROR "middleware_edgefast_bluetooth_wifi_nxp_controller_base dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_k32w061_controller)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_k32w061_controller true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_k32w061_controller component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_edgefast_bluetooth_common_ethermind AND (CONFIG_DEVICE_ID STREQUAL MIMXRT1042xxxxB OR CONFIG_DEVICE_ID STREQUAL MIMXRT1062xxxxA OR CONFIG_DEVICE_ID STREQUAL MIMXRT1062xxxxB OR CONFIG_DEVICE_ID STREQUAL MIMXRT685S OR CONFIG_DEVICE_ID STREQUAL MIMXRT1176xxxxx OR CONFIG_DEVICE_ID STREQUAL MIMXRT595S OR CONFIG_DEVICE_ID STREQUAL MIMXRT1052xxxxB OR CONFIG_DEVICE_ID STREQUAL MIMXRT1189xxxxx OR CONFIG_DEVICE_ID STREQUAL MIMXRT1187xxxxx OR CONFIG_DEVICE_ID STREQUAL MIMXRT1166xxxxx))
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/bluetooth/controller/controller_k32w.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/bluetooth/controller
)
else()
message(SEND_ERROR "middleware_edgefast_bluetooth_k32w061_controller dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_rw610_controller)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_rw610_controller true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_rw610_controller component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_edgefast_bluetooth_common_ethermind AND (CONFIG_DEVICE_ID STREQUAL RW612))
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/bluetooth/controller/controller_rw610.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/port/pal/mcux/bluetooth/controller
)
else()
message(SEND_ERROR "middleware_edgefast_bluetooth_rw610_controller dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_config_ethermind)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_config_ethermind true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_config_ethermind component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_edgefast_bluetooth_common_ethermind)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/private/lib/mcux/default/config
)
else()
message(SEND_ERROR "middleware_edgefast_bluetooth_config_ethermind dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_extension_common_ethermind)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_extension_common_ethermind true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_extension_common_ethermind component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_edgefast_bluetooth_common_ethermind)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/export/extension/aes_cmac_pl.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/export/extension/BT_common_pl.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/export/extension/device_queue_pl.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/export/extension/sm_pl.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/export/extension/sm_ssp_pl.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/export/extension/smp_pl.c
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/export/extension/gatt_db_pl.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/../wireless/ethermind/bluetooth/export/extension
)
else()
message(SEND_ERROR "middleware_edgefast_bluetooth_extension_common_ethermind dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_cm4f)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_cm4f true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_btble_ethermind_cm4f component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_edgefast_bluetooth_pal AND CONFIG_USE_middleware_edgefast_bluetooth_template AND CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_lib_cm4f AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_lib_cm4f) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_lib_cm4f) AND (CONFIG_CORE STREQUAL cm4f))
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_a2dp.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/a2dp_codec/sbc/a2dp_codec_sbc.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_avrcp.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_avrcp_al_internal.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_avrcp_al_api.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_att.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_conn.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_data.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_ead.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_crypto.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_gatt.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_hci_core.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_adv.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_br.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_id.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_iso.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_scan.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_ecc.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_addr.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_buf.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_direction.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_keys.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_keys_br.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_l2cap.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_l2cap_br.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_monitor.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_rfcomm.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_spp.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_rpa.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_settings.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_sdp.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_smp.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_ssp.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_uuid.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_hfp_ag.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_hfp_hf.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/common/addr.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host
${CMAKE_CURRENT_LIST_DIR}/./include
)
else()
message(SEND_ERROR "middleware_edgefast_bluetooth_btble_ethermind_cm4f dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_cm4f)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_cm4f true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_ble_ethermind_cm4f component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_edgefast_bluetooth_pal AND CONFIG_USE_middleware_edgefast_bluetooth_template AND CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_lib_cm4f AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_lib_cm4f) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_lib_cm4f) AND (CONFIG_CORE STREQUAL cm4f))
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_att.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_conn.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_data.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_ead.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_crypto.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_gatt.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_hci_core.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_adv.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_br.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_id.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_iso.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_scan.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_ecc.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_addr.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_buf.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_direction.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_keys.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_l2cap.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_monitor.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_rpa.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_settings.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_smp.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_smp_null.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_uuid.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/common/addr.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host
${CMAKE_CURRENT_LIST_DIR}/./include
)
if(CONFIG_USE_COMPONENT_CONFIGURATION)
message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC
-DCFG_BLE
)
endif()
else()
message(SEND_ERROR "middleware_edgefast_bluetooth_ble_ethermind_cm4f dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_cm4f)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_cm4f true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_br_ethermind_cm4f component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_edgefast_bluetooth_pal AND CONFIG_USE_middleware_edgefast_bluetooth_template AND CONFIG_USE_middleware_edgefast_bluetooth_br_ethermind_lib_cm4f AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_ble_ethermind_lib_cm4f) AND (NOT CONFIG_USE_middleware_edgefast_bluetooth_btble_ethermind_lib_cm4f) AND (CONFIG_CORE STREQUAL cm4f))
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_a2dp.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/a2dp_codec/sbc/a2dp_codec_sbc.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_avrcp.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_avrcp_al_internal.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_avrcp_al_api.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_conn.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_data.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_ead.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_crypto.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_hci_core.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_adv.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_br.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_id.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_scan.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_ecc.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_addr.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_buf.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_direction.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_keys.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_keys_br.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_l2cap.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_l2cap_br.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_monitor.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_rfcomm.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_spp.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_rpa.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_settings.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_sdp.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_smp.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_ssp.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_uuid.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_hfp_ag.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host/bt_pal_hfp_hf.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/common/addr.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/host
${CMAKE_CURRENT_LIST_DIR}/./include
)
else()
message(SEND_ERROR "middleware_edgefast_bluetooth_br_ethermind_cm4f dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_le_audio_vcp)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_le_audio_vcp true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_le_audio_vcp component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_edgefast_bluetooth_le_audio_aics AND CONFIG_USE_middleware_edgefast_bluetooth_le_audio_vocs)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/vcp_vol_ctlr.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/vcp_vol_rend.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio/config
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio
)
else()
message(SEND_ERROR "middleware_edgefast_bluetooth_le_audio_vcp dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_le_audio_micp)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_le_audio_micp true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_le_audio_micp component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_edgefast_bluetooth_le_audio_aics)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/micp_mic_ctlr.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/micp_mic_dev.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio/config
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio
)
else()
message(SEND_ERROR "middleware_edgefast_bluetooth_le_audio_micp dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_le_audio_mcs)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_le_audio_mcs true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_le_audio_mcs component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_edgefast_bluetooth_le_audio_ccid)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/mcs.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio/config
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio
)
else()
message(SEND_ERROR "middleware_edgefast_bluetooth_le_audio_mcs dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_le_audio_mcc)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_le_audio_mcc true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_le_audio_mcc component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_edgefast_bluetooth_le_audio_ccid)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/mcc.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio
${CMAKE_CURRENT_LIST_DIR}/./include/bluetooth/audio/config
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio
)
else()
message(SEND_ERROR "middleware_edgefast_bluetooth_le_audio_mcc dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()
endif()
if (CONFIG_USE_middleware_edgefast_bluetooth_le_audio_mpl)
# Add set(CONFIG_USE_middleware_edgefast_bluetooth_le_audio_mpl true) in config.cmake to use this component
message("middleware_edgefast_bluetooth_le_audio_mpl component is included from ${CMAKE_CURRENT_LIST_FILE}.")
if(CONFIG_USE_middleware_edgefast_bluetooth_le_audio_ccid)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/media_proxy.c
${CMAKE_CURRENT_LIST_DIR}/./source/impl/ethermind/audio/mpl.c