forked from meshtastic/firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeListsPrivate.txt
2041 lines (1995 loc) · 178 KB
/
CMakeListsPrivate.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
# !!! WARNING !!! AUTO-GENERATED FILE, PLEASE DO NOT MODIFY IT AND USE
# https://docs.platformio.org/page/projectconf/section_env_build.html#build-flags
#
# If you need to override existing CMake configuration or add extra,
# please create `CMakeListsUser.txt` in the root of project.
# The `CMakeListsUser.txt` will not be overwritten by PlatformIO.
set(CMAKE_CONFIGURATION_TYPES "tbeam;tbeam0.7;heltec;tlora-v1;tlora-v2;tlora-v2-1-1.6;cubecellplus;nrf52840dk;nrf52840dk-geeksville;feather_nrf52832;rak815;ppr;ppr1;eink;eink0.1;lora-relay-v1;lora-relay-v2;native;" CACHE STRING "Build Types reflect PlatformIO Environments" FORCE)
SET(CMAKE_C_COMPILER "/usr/bin/gcc")
SET(CMAKE_CXX_COMPILER "/usr/bin/g++")
SET(CMAKE_CXX_FLAGS "-Wno-missing-field-initializers -Wno-format -Os -O0 -w -Wall -ggdb -DAPP_VERSION=1.2.10")
SET(CMAKE_C_FLAGS "-Wno-missing-field-initializers -Wno-format -Os -O0 -w -Wall -ggdb -DAPP_VERSION=1.2.10")
if (CMAKE_BUILD_TYPE MATCHES "native")
add_definitions(-D'PLATFORMIO=50100')
add_definitions(-D'FIXMEFLAG')
add_definitions(-D'HW_VERSION_')
add_definitions(-D'HW_VERSION=')
add_definitions(-D'USE_THREAD_NAMES')
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
add_definitions(-D'ARDUINO=4403')
add_definitions(-D'PORTDUINO')
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-portduino/libraries/WiFi/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/native/Crypto")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/native/Thread")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/native/AXP202X_Library/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/native/TinyGPSPlus/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/native/RadioLib/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/native/SparkFun Ublox Arduino Library/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/native/arduino-fsm")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/native/CRC32/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/native/OneButton/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/native/ESP8266_SSD1306/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-portduino/libraries/SPI/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-portduino/libraries/Wire/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/mesh")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/gps")
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/include")
include_directories("$ENV{HOME}/.platformio/packages/framework-portduino/cores/portduino")
include_directories("$ENV{HOME}/.platformio/packages/framework-portduino/cores/portduino/FS")
include_directories("$ENV{HOME}/.platformio/packages/framework-portduino/ArduinoCore-API/api")
include_directories("$ENV{HOME}/.platformio/packages/framework-portduino/variants/native")
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/BluetoothOTA")
include_directories("$ENV{HOME}/.platformio/packages/tool-unity")
FILE(GLOB_RECURSE EXTRA_LIB_SOURCES
${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/native/*.*
)
endif()
if (CMAKE_BUILD_TYPE MATCHES "tbeam")
add_definitions(-D'PLATFORMIO=50100')
add_definitions(-D'ARDUINO_T_Beam')
add_definitions(-D'BOARD_HAS_PSRAM')
add_definitions(-D'HW_VERSION_')
add_definitions(-D'HW_VERSION=')
add_definitions(-D'USE_THREAD_NAMES')
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
add_definitions(-D'LOG_LOCAL_LEVEL=ESP_LOG_DEBUG')
add_definitions(-D'CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG')
add_definitions(-D'AXP_DEBUG_PORT=Serial')
add_definitions(-D'TBEAM_V10')
add_definitions(-D'ESP32')
add_definitions(-D'ESP_PLATFORM')
add_definitions(-D'F_CPU=240000000L')
add_definitions(-D'HAVE_CONFIG_H')
add_definitions(-D'MBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"')
add_definitions(-D'ARDUINO=10805')
add_definitions(-D'ARDUINO_ARCH_ESP32')
add_definitions(-D'ARDUINO_VARIANT=\"t-beam\"')
add_definitions(-D'ARDUINO_BOARD=\"TTGO T-Beam\"')
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ESPmDNS/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/DNSServer/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SimpleBLE/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Preferences/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Update/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SPIFFS/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/FS/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/DHT sensor library")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/Adafruit Unified Sensor")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/esp32_https_server/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/Thread")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/AXP202X_Library/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/TinyGPSPlus/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/RadioLib/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/SparkFun Ublox Arduino Library@src-58e4c8c3342495b31ae9596afafd3e00/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/arduino-fsm")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/CRC32/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/OneButton@src-58e84a61e1135cf59834c5fb268069d2/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/ESP8266_SSD1306/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/mesh")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/gps")
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/include")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/esp32")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/esp32-mfix-esp32-psram-cache-issue")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/config")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_trace")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_update")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/asio")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bootloader_support")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bt")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/coap")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/console")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/driver")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/efuse")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-tls")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_adc_cal")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_event")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_client")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_server")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_ota")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_server")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_ringbuf")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/espcoredump")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ethernet")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/expat")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fatfs")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freemodbus")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freertos")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/heap")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/idf_test")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/jsmn")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/json")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/libsodium")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/log")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/lwip")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mbedtls")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mdns")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/micro-ecc")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mqtt")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/newlib")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nghttp")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nimble")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nvs_flash")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/openssl")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protobuf-c")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protocomm")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/pthread")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/sdmmc")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/smartconfig_ack")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/soc")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spi_flash")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spiffs")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcp_transport")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcpip_adapter")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ulp")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/unity")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/vfs")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wear_levelling")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wifi_provisioning")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wpa_supplicant")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/xtensa-debug-module")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-face")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32-camera")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fb_gfx")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/cores/esp32")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/variants/t-beam")
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/BluetoothOTA")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/ESP8266_SSD1306@src-4ab3ad976e5f12b4a61f839d23a3c46d/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/OneButton/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/RadioLib@src-eaad48fc571e663359162082157944f2/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/SparkFun Ublox Arduino Library/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/Thread@src-a2b7660c81ffe1635912fa2f065bc3ce")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/TinyGPSPlus@src-2765db9a05cb947ced769bf56fedd1f5/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/TinyGPSPlus@src-addcdb46757d61b29d61d7a3c8d2c6aa/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/arduino-fsm@src-47e2e1a833a6aba34dc6f0811d801e49")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/arduino-fsm@src-4bf5152e2f279002470ccf60d567d9e6")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/AzureIoT/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/BluetoothSerial/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/EEPROM/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ESP32/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/FFat/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/HTTPClient/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdate/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/NetBIOS/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SD/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SD_MMC/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Ticker/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WiFiClientSecure/src")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/xtensa-esp32-elf")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include-fixed")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include")
include_directories("$ENV{HOME}/.platformio/packages/tool-unity")
FILE(GLOB_RECURSE EXTRA_LIB_SOURCES
${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/*.*
)
endif()
if (CMAKE_BUILD_TYPE MATCHES "tbeam0.7")
add_definitions(-D'PLATFORMIO=50100')
add_definitions(-D'ARDUINO_T_Beam')
add_definitions(-D'BOARD_HAS_PSRAM')
add_definitions(-D'HW_VERSION_')
add_definitions(-D'HW_VERSION=')
add_definitions(-D'USE_THREAD_NAMES')
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
add_definitions(-D'LOG_LOCAL_LEVEL=ESP_LOG_DEBUG')
add_definitions(-D'CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG')
add_definitions(-D'AXP_DEBUG_PORT=Serial')
add_definitions(-D'TBEAM_V07')
add_definitions(-D'ESP32')
add_definitions(-D'ESP_PLATFORM')
add_definitions(-D'F_CPU=240000000L')
add_definitions(-D'HAVE_CONFIG_H')
add_definitions(-D'MBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"')
add_definitions(-D'ARDUINO=10805')
add_definitions(-D'ARDUINO_ARCH_ESP32')
add_definitions(-D'ARDUINO_VARIANT=\"t-beam\"')
add_definitions(-D'ARDUINO_BOARD=\"TTGO T-Beam\"')
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ESPmDNS/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/DNSServer/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SimpleBLE/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Preferences/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Update/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SPIFFS/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/FS/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/DHT sensor library")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/Adafruit Unified Sensor")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/esp32_https_server/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/Thread")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/AXP202X_Library/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/TinyGPSPlus/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/RadioLib/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/SparkFun Ublox Arduino Library/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/arduino-fsm")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/CRC32/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/OneButton/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/ESP8266_SSD1306/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/mesh")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/gps")
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/include")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/esp32")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/esp32-mfix-esp32-psram-cache-issue")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/config")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_trace")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_update")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/asio")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bootloader_support")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bt")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/coap")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/console")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/driver")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/efuse")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-tls")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_adc_cal")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_event")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_client")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_server")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_ota")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_server")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_ringbuf")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/espcoredump")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ethernet")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/expat")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fatfs")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freemodbus")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freertos")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/heap")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/idf_test")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/jsmn")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/json")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/libsodium")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/log")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/lwip")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mbedtls")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mdns")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/micro-ecc")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mqtt")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/newlib")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nghttp")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nimble")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nvs_flash")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/openssl")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protobuf-c")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protocomm")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/pthread")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/sdmmc")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/smartconfig_ack")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/soc")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spi_flash")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spiffs")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcp_transport")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcpip_adapter")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ulp")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/unity")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/vfs")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wear_levelling")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wifi_provisioning")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wpa_supplicant")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/xtensa-debug-module")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-face")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32-camera")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fb_gfx")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/cores/esp32")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/variants/t-beam")
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/BluetoothOTA")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/AXP202X_Library@src-445982841d155f061f37b636975a7965/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/AXP202X_Library@src-4c7639995fa9a549e4df71b1e6ec1726/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/ESP8266_SSD1306@src-4ab3ad976e5f12b4a61f839d23a3c46d/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/[email protected]+sha.eb583d713a/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/RadioLib@src-04c34ef49d4ad9f955bfeccb187cbfb4/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/RadioLib@src-73ec3f00ee50ec53c3e35f8f57cb805b/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/RadioLib@src-7defea5cd18ca13be529349922fbc9bd/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/RadioLib@src-eaad48fc571e663359162082157944f2/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/SparkFun Ublox Arduino Library@src-8ce11c31a386d7fec113d205dac8fee5/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/SparkFun Ublox Arduino Library@src-c2b16aac179b750f0dd483f91954d27c/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/Thread@src-a2b7660c81ffe1635912fa2f065bc3ce")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/TinyGPSPlus@src-2765db9a05cb947ced769bf56fedd1f5/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/TinyGPSPlus@src-addcdb46757d61b29d61d7a3c8d2c6aa/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/arduino-fsm@src-47e2e1a833a6aba34dc6f0811d801e49")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/arduino-fsm@src-4bf5152e2f279002470ccf60d567d9e6")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/AzureIoT/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/BluetoothSerial/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/EEPROM/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ESP32/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/FFat/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/HTTPClient/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdate/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/NetBIOS/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SD/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SD_MMC/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Ticker/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WiFiClientSecure/src")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/xtensa-esp32-elf")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include-fixed")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include")
include_directories("$ENV{HOME}/.platformio/packages/tool-unity")
FILE(GLOB_RECURSE EXTRA_LIB_SOURCES
${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/*.*
)
endif()
if (CMAKE_BUILD_TYPE MATCHES "heltec")
add_definitions(-D'PLATFORMIO=50100')
add_definitions(-D'ARDUINO_HELTEC_WIFI_LORA_32_V2')
add_definitions(-D'HW_VERSION_')
add_definitions(-D'HW_VERSION=')
add_definitions(-D'USE_THREAD_NAMES')
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
add_definitions(-D'LOG_LOCAL_LEVEL=ESP_LOG_DEBUG')
add_definitions(-D'CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG')
add_definitions(-D'AXP_DEBUG_PORT=Serial')
add_definitions(-D'ESP32')
add_definitions(-D'ESP_PLATFORM')
add_definitions(-D'F_CPU=240000000L')
add_definitions(-D'HAVE_CONFIG_H')
add_definitions(-D'MBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"')
add_definitions(-D'ARDUINO=10805')
add_definitions(-D'ARDUINO_ARCH_ESP32')
add_definitions(-D'ARDUINO_VARIANT=\"heltec_wifi_lora_32_V2\"')
add_definitions(-D'ARDUINO_BOARD=\"Heltec WiFi LoRa 32 \(V2\)\"')
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ESPmDNS/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/DNSServer/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SimpleBLE/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Preferences/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Update/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SPIFFS/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/FS/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/DHT sensor library")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/Adafruit Unified Sensor")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/esp32_https_server/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/Thread")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/AXP202X_Library/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/TinyGPSPlus/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/RadioLib/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/SparkFun Ublox Arduino Library/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/arduino-fsm")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/CRC32/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/OneButton/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/ESP8266_SSD1306/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/mesh")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/gps")
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/include")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/esp32")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/esp32-mfix-esp32-psram-cache-issue")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/config")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_trace")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_update")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/asio")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bootloader_support")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bt")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/coap")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/console")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/driver")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/efuse")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-tls")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_adc_cal")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_event")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_client")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_server")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_ota")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_server")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_ringbuf")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/espcoredump")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ethernet")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/expat")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fatfs")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freemodbus")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freertos")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/heap")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/idf_test")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/jsmn")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/json")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/libsodium")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/log")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/lwip")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mbedtls")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mdns")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/micro-ecc")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mqtt")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/newlib")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nghttp")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nimble")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nvs_flash")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/openssl")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protobuf-c")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protocomm")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/pthread")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/sdmmc")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/smartconfig_ack")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/soc")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spi_flash")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spiffs")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcp_transport")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcpip_adapter")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ulp")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/unity")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/vfs")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wear_levelling")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wifi_provisioning")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wpa_supplicant")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/xtensa-debug-module")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-face")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32-camera")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fb_gfx")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/cores/esp32")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/variants/heltec_wifi_lora_32_V2")
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/BluetoothOTA")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/ESP8266_SSD1306@src-4ab3ad976e5f12b4a61f839d23a3c46d/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/[email protected]+sha.eb583d713a/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/RadioLib@src-04c34ef49d4ad9f955bfeccb187cbfb4/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/RadioLib@src-73ec3f00ee50ec53c3e35f8f57cb805b/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/RadioLib@src-7defea5cd18ca13be529349922fbc9bd/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/RadioLib@src-eaad48fc571e663359162082157944f2/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/SparkFun Ublox Arduino Library@src-8ce11c31a386d7fec113d205dac8fee5/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/SparkFun Ublox Arduino Library@src-c2b16aac179b750f0dd483f91954d27c/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/Thread@src-a2b7660c81ffe1635912fa2f065bc3ce")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/TinyGPSPlus@src-2765db9a05cb947ced769bf56fedd1f5/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/TinyGPSPlus@src-addcdb46757d61b29d61d7a3c8d2c6aa/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/arduino-fsm@src-47e2e1a833a6aba34dc6f0811d801e49")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/arduino-fsm@src-4bf5152e2f279002470ccf60d567d9e6")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/AzureIoT/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/BluetoothSerial/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/EEPROM/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ESP32/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/FFat/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/HTTPClient/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdate/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/NetBIOS/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SD/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SD_MMC/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Ticker/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WiFiClientSecure/src")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/xtensa-esp32-elf")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include-fixed")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include")
include_directories("$ENV{HOME}/.platformio/packages/tool-unity")
FILE(GLOB_RECURSE EXTRA_LIB_SOURCES
${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/*.*
)
endif()
if (CMAKE_BUILD_TYPE MATCHES "tlora-v1")
add_definitions(-D'PLATFORMIO=50100')
add_definitions(-D'ARDUINO_TTGO_LoRa32_V1')
add_definitions(-D'HW_VERSION_')
add_definitions(-D'HW_VERSION=')
add_definitions(-D'USE_THREAD_NAMES')
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
add_definitions(-D'LOG_LOCAL_LEVEL=ESP_LOG_DEBUG')
add_definitions(-D'CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG')
add_definitions(-D'AXP_DEBUG_PORT=Serial')
add_definitions(-D'TLORA_V1')
add_definitions(-D'ESP32')
add_definitions(-D'ESP_PLATFORM')
add_definitions(-D'F_CPU=240000000L')
add_definitions(-D'HAVE_CONFIG_H')
add_definitions(-D'MBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"')
add_definitions(-D'ARDUINO=10805')
add_definitions(-D'ARDUINO_ARCH_ESP32')
add_definitions(-D'ARDUINO_VARIANT=\"ttgo-lora32-v1\"')
add_definitions(-D'ARDUINO_BOARD=\"TTGO LoRa32-OLED V1\"')
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ESPmDNS/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/DNSServer/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SimpleBLE/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Preferences/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Update/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SPIFFS/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/FS/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/DHT sensor library")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/Adafruit Unified Sensor")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/esp32_https_server/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/Thread")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/AXP202X_Library/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/TinyGPSPlus/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/RadioLib/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/SparkFun Ublox Arduino Library/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/arduino-fsm")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/CRC32/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/OneButton/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/ESP8266_SSD1306/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/mesh")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/gps")
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/include")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/esp32")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/esp32-mfix-esp32-psram-cache-issue")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/config")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_trace")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_update")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/asio")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bootloader_support")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bt")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/coap")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/console")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/driver")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/efuse")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-tls")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_adc_cal")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_event")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_client")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_server")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_ota")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_server")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_ringbuf")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/espcoredump")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ethernet")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/expat")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fatfs")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freemodbus")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freertos")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/heap")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/idf_test")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/jsmn")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/json")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/libsodium")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/log")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/lwip")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mbedtls")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mdns")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/micro-ecc")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mqtt")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/newlib")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nghttp")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nimble")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nvs_flash")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/openssl")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protobuf-c")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protocomm")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/pthread")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/sdmmc")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/smartconfig_ack")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/soc")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spi_flash")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spiffs")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcp_transport")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcpip_adapter")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ulp")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/unity")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/vfs")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wear_levelling")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wifi_provisioning")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wpa_supplicant")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/xtensa-debug-module")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-face")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32-camera")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fb_gfx")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/cores/esp32")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/variants/ttgo-lora32-v1")
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/BluetoothOTA")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/ESP8266_SSD1306@src-4ab3ad976e5f12b4a61f839d23a3c46d/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/[email protected]+sha.eb583d713a/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/RadioLib@src-04c34ef49d4ad9f955bfeccb187cbfb4/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/RadioLib@src-73ec3f00ee50ec53c3e35f8f57cb805b/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/RadioLib@src-7defea5cd18ca13be529349922fbc9bd/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/RadioLib@src-eaad48fc571e663359162082157944f2/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/SparkFun Ublox Arduino Library@src-8ce11c31a386d7fec113d205dac8fee5/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/SparkFun Ublox Arduino Library@src-c2b16aac179b750f0dd483f91954d27c/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/Thread@src-a2b7660c81ffe1635912fa2f065bc3ce")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/TinyGPSPlus@src-2765db9a05cb947ced769bf56fedd1f5/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/TinyGPSPlus@src-addcdb46757d61b29d61d7a3c8d2c6aa/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/arduino-fsm@src-47e2e1a833a6aba34dc6f0811d801e49")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/arduino-fsm@src-4bf5152e2f279002470ccf60d567d9e6")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/AzureIoT/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/BluetoothSerial/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/EEPROM/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ESP32/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/FFat/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/HTTPClient/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdate/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/NetBIOS/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SD/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SD_MMC/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Ticker/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WiFiClientSecure/src")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/xtensa-esp32-elf")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include-fixed")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include")
include_directories("$ENV{HOME}/.platformio/packages/tool-unity")
FILE(GLOB_RECURSE EXTRA_LIB_SOURCES
${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/*.*
)
endif()
if (CMAKE_BUILD_TYPE MATCHES "tlora-v2")
add_definitions(-D'PLATFORMIO=50100')
add_definitions(-D'ARDUINO_TTGO_LoRa32_V1')
add_definitions(-D'HW_VERSION_')
add_definitions(-D'HW_VERSION=')
add_definitions(-D'USE_THREAD_NAMES')
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
add_definitions(-D'LOG_LOCAL_LEVEL=ESP_LOG_DEBUG')
add_definitions(-D'CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG')
add_definitions(-D'AXP_DEBUG_PORT=Serial')
add_definitions(-D'TLORA_V2')
add_definitions(-D'ESP32')
add_definitions(-D'ESP_PLATFORM')
add_definitions(-D'F_CPU=240000000L')
add_definitions(-D'HAVE_CONFIG_H')
add_definitions(-D'MBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"')
add_definitions(-D'ARDUINO=10805')
add_definitions(-D'ARDUINO_ARCH_ESP32')
add_definitions(-D'ARDUINO_VARIANT=\"ttgo-lora32-v1\"')
add_definitions(-D'ARDUINO_BOARD=\"TTGO LoRa32-OLED V1\"')
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ESPmDNS/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/DNSServer/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SimpleBLE/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Preferences/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Update/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SPIFFS/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/FS/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/DHT sensor library")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/Adafruit Unified Sensor")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/esp32_https_server/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/Thread")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/AXP202X_Library/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/TinyGPSPlus/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/RadioLib/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/SparkFun Ublox Arduino Library/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/arduino-fsm")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/CRC32/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/OneButton/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/ESP8266_SSD1306/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/mesh")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/gps")
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/include")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/esp32")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/esp32-mfix-esp32-psram-cache-issue")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/config")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_trace")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_update")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/asio")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bootloader_support")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bt")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/coap")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/console")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/driver")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/efuse")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-tls")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_adc_cal")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_event")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_client")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_server")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_ota")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_server")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_ringbuf")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/espcoredump")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ethernet")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/expat")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fatfs")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freemodbus")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freertos")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/heap")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/idf_test")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/jsmn")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/json")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/libsodium")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/log")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/lwip")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mbedtls")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mdns")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/micro-ecc")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mqtt")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/newlib")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nghttp")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nimble")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nvs_flash")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/openssl")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protobuf-c")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protocomm")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/pthread")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/sdmmc")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/smartconfig_ack")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/soc")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spi_flash")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spiffs")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcp_transport")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcpip_adapter")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ulp")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/unity")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/vfs")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wear_levelling")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wifi_provisioning")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wpa_supplicant")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/xtensa-debug-module")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-face")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32-camera")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fb_gfx")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/cores/esp32")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/variants/ttgo-lora32-v1")
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/BluetoothOTA")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/ESP8266_SSD1306@src-4ab3ad976e5f12b4a61f839d23a3c46d/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/[email protected]+sha.eb583d713a/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/RadioLib@src-04c34ef49d4ad9f955bfeccb187cbfb4/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/RadioLib@src-73ec3f00ee50ec53c3e35f8f57cb805b/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/RadioLib@src-7defea5cd18ca13be529349922fbc9bd/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/RadioLib@src-eaad48fc571e663359162082157944f2/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/SparkFun Ublox Arduino Library@src-8ce11c31a386d7fec113d205dac8fee5/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/SparkFun Ublox Arduino Library@src-c2b16aac179b750f0dd483f91954d27c/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/Thread@src-a2b7660c81ffe1635912fa2f065bc3ce")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/TinyGPSPlus@src-2765db9a05cb947ced769bf56fedd1f5/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/TinyGPSPlus@src-addcdb46757d61b29d61d7a3c8d2c6aa/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/arduino-fsm@src-47e2e1a833a6aba34dc6f0811d801e49")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/arduino-fsm@src-4bf5152e2f279002470ccf60d567d9e6")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/AzureIoT/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/BluetoothSerial/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/EEPROM/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ESP32/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/FFat/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/HTTPClient/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdate/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/NetBIOS/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SD/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SD_MMC/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Ticker/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WiFiClientSecure/src")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/xtensa-esp32-elf")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include-fixed")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include")
include_directories("$ENV{HOME}/.platformio/packages/tool-unity")
FILE(GLOB_RECURSE EXTRA_LIB_SOURCES
${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/*.*
)
endif()
if (CMAKE_BUILD_TYPE MATCHES "tlora-v2-1-1.6")
add_definitions(-D'PLATFORMIO=50100')
add_definitions(-D'ARDUINO_TTGO_LoRa32_V1')
add_definitions(-D'HW_VERSION_')
add_definitions(-D'HW_VERSION=')
add_definitions(-D'USE_THREAD_NAMES')
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
add_definitions(-D'LOG_LOCAL_LEVEL=ESP_LOG_DEBUG')
add_definitions(-D'CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG')
add_definitions(-D'AXP_DEBUG_PORT=Serial')
add_definitions(-D'TLORA_V2_1_16')
add_definitions(-D'ESP32')
add_definitions(-D'ESP_PLATFORM')
add_definitions(-D'F_CPU=240000000L')
add_definitions(-D'HAVE_CONFIG_H')
add_definitions(-D'MBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"')
add_definitions(-D'ARDUINO=10805')
add_definitions(-D'ARDUINO_ARCH_ESP32')
add_definitions(-D'ARDUINO_VARIANT=\"ttgo-lora32-v1\"')
add_definitions(-D'ARDUINO_BOARD=\"TTGO LoRa32-OLED V1\"')
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ESPmDNS/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/DNSServer/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SimpleBLE/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Preferences/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Update/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SPIFFS/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/FS/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/DHT sensor library")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/Adafruit Unified Sensor")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/esp32_https_server/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/Thread")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/AXP202X_Library/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/TinyGPSPlus/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/RadioLib/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/SparkFun Ublox Arduino Library/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/arduino-fsm")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/CRC32/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/OneButton/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/ESP8266_SSD1306/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/mesh")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/gps")
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/include")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/esp32")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/esp32-mfix-esp32-psram-cache-issue")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/config")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_trace")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_update")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/asio")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bootloader_support")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bt")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/coap")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/console")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/driver")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/efuse")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-tls")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_adc_cal")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_event")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_client")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_server")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_ota")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_server")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_ringbuf")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/espcoredump")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ethernet")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/expat")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fatfs")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freemodbus")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freertos")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/heap")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/idf_test")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/jsmn")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/json")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/libsodium")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/log")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/lwip")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mbedtls")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mdns")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/micro-ecc")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mqtt")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/newlib")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nghttp")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nimble")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nvs_flash")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/openssl")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protobuf-c")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protocomm")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/pthread")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/sdmmc")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/smartconfig_ack")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/soc")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spi_flash")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spiffs")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcp_transport")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcpip_adapter")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ulp")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/unity")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/vfs")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wear_levelling")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wifi_provisioning")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wpa_supplicant")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/xtensa-debug-module")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-face")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32-camera")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fb_gfx")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/cores/esp32")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/variants/ttgo-lora32-v1")
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/BluetoothOTA")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/ESP8266_SSD1306@src-4ab3ad976e5f12b4a61f839d23a3c46d/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/[email protected]+sha.eb583d713a/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/RadioLib@src-04c34ef49d4ad9f955bfeccb187cbfb4/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/RadioLib@src-73ec3f00ee50ec53c3e35f8f57cb805b/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/RadioLib@src-7defea5cd18ca13be529349922fbc9bd/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/RadioLib@src-eaad48fc571e663359162082157944f2/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/SparkFun Ublox Arduino Library@src-8ce11c31a386d7fec113d205dac8fee5/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/SparkFun Ublox Arduino Library@src-c2b16aac179b750f0dd483f91954d27c/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/Thread@src-a2b7660c81ffe1635912fa2f065bc3ce")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/TinyGPSPlus@src-2765db9a05cb947ced769bf56fedd1f5/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/TinyGPSPlus@src-addcdb46757d61b29d61d7a3c8d2c6aa/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/arduino-fsm@src-47e2e1a833a6aba34dc6f0811d801e49")
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/arduino-fsm@src-4bf5152e2f279002470ccf60d567d9e6")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/AzureIoT/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/BluetoothSerial/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/EEPROM/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ESP32/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/FFat/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/HTTPClient/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdate/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/NetBIOS/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SD/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SD_MMC/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Ticker/src")
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WiFiClientSecure/src")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/xtensa-esp32-elf")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include-fixed")
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include")
include_directories("$ENV{HOME}/.platformio/packages/tool-unity")
FILE(GLOB_RECURSE EXTRA_LIB_SOURCES
${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/*.*
)
endif()
if (CMAKE_BUILD_TYPE MATCHES "cubecellplus")
add_definitions(-D'PLATFORMIO=50100')
add_definitions(-D'CubeCell_BoardPlus')
add_definitions(-D'HW_VERSION_')
add_definitions(-D'HW_VERSION=')
add_definitions(-D'USE_THREAD_NAMES')
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
add_definitions(-D'ARDUINO=100')
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")