forked from RFD-FHEM/SIGNALDuino
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
742 lines (676 loc) · 27.9 KB
/
platformio.ini
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
;PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
; https://docs.platformio.org/en/latest/projectconf/section_env.html
; default_envs = esp32_CC1101@debug, esp32_CC1101, esp32@debug, esp32
; default_envs = esp8266_CC1101@debug, esp8266_CC1101, esp8266@debug, esp8266
; default_envs = maple_mini_bootl_v1_CC1101@debug_wr, maple_mini_bootl_v1_CC1101@debug, maple_mini_bootl_v1_CC1101, maple_mini_bootl_v1
; default_envs = maple_mini_bootl_v2_CC1101@debug_wr, maple_mini_bootl_v2_CC1101@debug, maple_mini_bootl_v2_CC1101, maple_mini_bootl_v2
; default_envs = nano_bootl_new_CC1101@debug, nano_bootl_new_CC1101, nano_bootl_new@debug, nano_bootl_new
; default_envs = nano_bootl_old_CC1101@debug, nano_bootl_old_CC1101, nano_bootl_old@debug, nano_bootl_old
; default_envs = pro_promini_16MHz_CC1101@debug, pro_promini_16MHz_CC1101, pro_promini_16MHz@debug, pro_promini_16MHz
; default_envs = pro_promini_8MHz_CC1101@debug, pro_promini_8MHz_CC1101, pro_promini_8MHz@debug, pro_promini_8MHz
; default_envs = radino_CC1101@debug, radino_CC1101
; default_envs = wemos_d1_mini_pro_CC1101@debug, wemos_d1_mini_pro_CC1101, wemos_d1_mini_pro@debug, wemos_d1_mini_pro
; only SIGNALDECODER DEBUG firmware versions based on ESP8266
; default_envs = SDC@DEBUG_1, SDC@DEBUGDECODE_1, SDC@DEBUGDECODE_255, SDC@DEBUGDETECT_0, SDC@DEBUGDETECT_1, SDC@DEBUGDETECT_2, SDC@DEBUGDETECT_3, SDC@DEBUGDETECT_3_DEBUGDECODE_1, SDC@DEBUGDETECT_255, SDC@DEBUGDETECT_255_DEBUGDECODE_1
test_dir = tests/
[env]
; https://docs.platformio.org/en/feature-platformio-30/projectconf.html
src_filter = +<*> -<.git/> -<.svn/> -<example/> -<examples/> -<arduino-ide/SIGNALDuino/> -<_micro-api/libraries/ArduinoJson/test/> -<_micro-api/libraries/ArduinoJson/third-party/> -<_micro-api/libraries/fastdelegate/examples/>-<test/> -<tests/> -<_micro-api/libraries/ArduinoJson/fuzzing/>
lib_extra_dirs =
src/_micro-api/libraries/
; general - for all devices, using ${env.***}
; Unix, example
;debug_port = /dev/ttyUSB0
;monitor_port = /dev/ttyUSB0 ; only devices without WLAN
;upload_port = /dev/ttyUSB0
; Windows, example
debug_port = COM6
monitor_port = COM6 ; only devices without WLAN
upload_port = COM6
; file for Advanced Scripting
; https://docs.platformio.org/en/latest/projectconf/advanced_scripting.html
extra_scripts = pre:extra_script.py ; to rename projectfile
[env_esp]
; all options for ESP
monitor_port = socket://192.168.0.30:23
;monitor_port = COM6
[env_maple_mini]
; all options for MAPLE_Mini
; extra_scripts = pre:custom_hwids.py ; to write USB PID for device | needed to right reconnected
; platform = ststm32 ; Stable version
platform = https://github.com/platformio/platform-ststm32.git ; Development version
board = maple_mini_origin
board_build.mcu = stm32f103cbt6 ; https://docs.platformio.org/en/latest/projectconf/section_env_platform.html#board-build-mcu
board_build.core = STM32Duino ; https://docs.platformio.org/en/latest/platforms/ststm32.html#configuration
framework = arduino
build_flags=
-D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC ; CDC (generic Serial supersede U(S)ART)
-D USBCON ; !! work only with maple_mini bootloader v1.0 !!
;-D USBD_VID=0x1eaf ; Maple Serial (COMxx)
;-D USBD_PID=0x0003 ; Bootloader
-D USBD_PID=0x0004 ; Device
-D USBD_VID=0x0483 ; Serielles USB-Geraet (COMxx)
-D USB_MANUFACTURER="STMicroelectronics"
-D USB_PRODUCT="\"Maple\""
; * * * * * * * * * * * * * * * * * * * * *
; behind this lines, all hardware projects
; * * * * * * * * * * * * * * * * * * * * *
[env:esp32_CC1101@debug]
; Espressif ESP32 - dual core, max 240 MHz, GPIO 36, power consumption 260 mA
; RAM: [= ] 12.8% (used 41912 bytes from 327680 bytes)
; Flash: [====== ] 64.2% (used 841290 bytes from 1310720 bytes)
; platform = espressif32 ; supports ESP-IDF v4 (currently not supported - https://github.com/espressif/arduino-esp32/issues/5821#issuecomment-954807038)
platform = [email protected] ; v1.10.0 is the last version that supports ESP-IDF v3.3
board = nodemcu-32s
framework = arduino
monitor_speed = 115200
monitor_port = ${env_esp.monitor_port}
upload_port = ${env.upload_port}
build_flags=-D DEBUG -D OTHER_BOARD_WITH_CC1101=1
[env:esp32_CC1101]
; Espressif ESP32 - dual core, max 240 MHz, GPIO 36, power consumption 260 mA
; RAM: [= ] 12.8% (used 41912 bytes from 327680 bytes)
; Flash: [====== ] 63.9% (used 838154 bytes from 1310720 bytes)
; platform = espressif32 ; supports ESP-IDF v4 (currently not supported - https://github.com/espressif/arduino-esp32/issues/5821#issuecomment-954807038)
platform = [email protected] ; v1.10.0 is the last version that supports ESP-IDF v3.3
board = nodemcu-32s
framework = arduino
monitor_speed = 115200
monitor_port = ${env_esp.monitor_port}
upload_port = ${env.upload_port}
build_flags=-D OTHER_BOARD_WITH_CC1101=1
[env:esp32@debug]
; Espressif ESP32 - dual core, max 240 MHz, GPIO 36, power consumption 260 mA
; RAM: [= ] 12.8% (used 41792 bytes from 327680 bytes)
; Flash: [====== ] 63.7% (used 834870 bytes from 1310720 bytes)
; platform = espressif32 ; supports ESP-IDF v4 (currently not supported - https://github.com/espressif/arduino-esp32/issues/5821#issuecomment-954807038)
platform = [email protected] ; v1.10.0 is the last version that supports ESP-IDF v3.3
board = nodemcu-32s
framework = arduino
debug_tool = olimex-arm-usb-ocd-h
monitor_speed = 115200
monitor_port = ${env_esp.monitor_port}
upload_port = ${env.upload_port}
build_flags=-D DEBUG
[env:esp32]
; Espressif ESP32 - dual core, max 240 MHz, GPIO 36, power consumption 260 mA
; RAM: [= ] 12.8% (used 41792 bytes from 327680 bytes)
; Flash: [====== ] 63.5% (used 832450 bytes from 1310720 bytes)
; platform = espressif32 ; supports ESP-IDF v4 (currently not supported - https://github.com/espressif/arduino-esp32/issues/5821#issuecomment-954807038)
platform = [email protected] ; v1.10.0 is the last version that supports ESP-IDF v3.3
board = nodemcu-32s
framework = arduino
debug_tool = olimex-arm-usb-ocd-h
monitor_speed = 115200
monitor_port = ${env_esp.monitor_port}
upload_port = ${env.upload_port}
build_flags=
[env:esp8266_CC1101@debug]
; Espressif ESP8266 - single core, max 160 MHz, GPIO 17, power consumption 80 mA
; RAM: [==== ] 39.4% (used 32260 bytes from 81920 bytes)
; Flash: [==== ] 35.8% (used 373456 bytes from 1044464 bytes)
platform = espressif8266
board = nodemcuv2
framework = arduino
;upload_speed = 115200
monitor_port = ${env_esp.monitor_port}
upload_port = ${env.upload_port}
monitor_speed = 115200
lib_deps =
build_flags=-D DEBUG -D OTHER_BOARD_WITH_CC1101=1
[env:esp8266_CC1101]
; Espressif ESP8266 - single core, max 160 MHz, GPIO 17, power consumption 80 mA
; RAM: [==== ] 39.2% (used 32072 bytes from 81920 bytes)
; Flash: [==== ] 35.4% (used 370084 bytes from 1044464 bytes)
platform = espressif8266
board = nodemcuv2
framework = arduino
;upload_speed = 115200
monitor_port = ${env_esp.monitor_port}
upload_port = ${env.upload_port}
monitor_speed = 115200
lib_deps =
build_flags=-D OTHER_BOARD_WITH_CC1101=1
[env:esp8266@debug]
; Espressif ESP8266 - single core, max 160 MHz, GPIO 17, power consumption 80 mA
; RAM: [==== ] 39.3% (used 32196 bytes from 81920 bytes)
; Flash: [==== ] 35.2% (used 367292 bytes from 1044464 bytes)
platform = espressif8266
board = nodemcuv2
framework = arduino
;upload_speed = 115200
monitor_port = ${env_esp.monitor_port}
upload_port = ${env.upload_port}
monitor_speed = 115200
lib_deps =
build_flags=-D DEBUG
[env:esp8266]
; Espressif ESP8266 - single core, max 160 MHz, GPIO 17, power consumption 80 mA
; RAM: [==== ] 39.1% (used 32020 bytes from 81920 bytes)
; Flash: [=== ] 34.9% (used 364700 bytes from 1044464 bytes)
platform = espressif8266
board = nodemcuv2
framework = arduino
;upload_speed = 115200
monitor_port = ${env_esp.monitor_port}
upload_port = ${env.upload_port}
monitor_speed = 115200
lib_deps=
build_flags=
[env:maple_mini_bootl_v1_CC1101@debug_wr]
; ST-Microelectronics STM32F103C8T6 bootloader v1.0
; RAM: [=== ] 29.5% (used 6032 bytes from 20480 bytes)
; Flash: [===== ] 50.3% (used 55600 bytes from 110592 bytes)
platform = ${env_maple_mini.platform}
board = ${env_maple_mini.board}
board_build.mcu = ${env_maple_mini.board_build.mcu}
board_build.core = ${env_maple_mini.board_build.core}
framework = ${env_maple_mini.framework}
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags = ${env_maple_mini.build_flags}
-D ARDUINO_MAPLEMINI_F103CB=1
-D OTHER_BOARD_WITH_CC1101=1
-D WATCHDOG_STM32=1
-D DEBUG
[env:maple_mini_bootl_v1_CC1101@debug]
; ST-Microelectronics STM32F103C8T6 bootloader v1.0
; RAM: [=== ] 29.5% (used 6032 bytes from 20480 bytes)
; Flash: [===== ] 49.6% (used 54852 bytes from 110592 bytes)
platform = ${env_maple_mini.platform}
board = ${env_maple_mini.board}
board_build.mcu = ${env_maple_mini.board_build.mcu}
board_build.core = ${env_maple_mini.board_build.core}
framework = ${env_maple_mini.framework}
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags = ${env_maple_mini.build_flags}
-D ARDUINO_MAPLEMINI_F103CB=1
-D OTHER_BOARD_WITH_CC1101=1
-D DEBUG
[env:maple_mini_bootl_v1_CC1101]
; ST-Microelectronics STM32F103C8T6 bootloader v1.0
; RAM: [=== ] 29.5% (used 6032 bytes from 20480 bytes)
; Flash: [===== ] 46.6% (used 51568 bytes from 110592 bytes)
platform = ${env_maple_mini.platform}
board = ${env_maple_mini.board}
board_build.mcu = ${env_maple_mini.board_build.mcu}
board_build.core = ${env_maple_mini.board_build.core}
framework = ${env_maple_mini.framework}
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags = ${env_maple_mini.build_flags}
-D ARDUINO_MAPLEMINI_F103CB=1
-D OTHER_BOARD_WITH_CC1101=1
[env:maple_mini_bootl_v1]
; ST-Microelectronics STM32F103C8T6 bootloader v1.0
; RAM: [=== ] 29.1% (used 5968 bytes from 20480 bytes)
; Flash: [==== ] 41.7% (used 46144 bytes from 110592 bytes)
platform = ${env_maple_mini.platform}
board = ${env_maple_mini.board}
board_build.mcu = ${env_maple_mini.board_build.mcu}
board_build.core = ${env_maple_mini.board_build.core}
framework = ${env_maple_mini.framework}
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags = ${env_maple_mini.build_flags}
-D ARDUINO_MAPLEMINI_F103CB=1
;[env:maple_mini_bootl_v2_CC1101@debug_wr]
; !!! now, error when compiling with PlatformIO (general problem) !!!
; ST-Microelectronics STM32F103C8T6 bootloader v2.0
; RAM: [== ] 16.2% (used 3324 bytes from 20480 bytes)
; Flash: [=== ] 33.9% (used 41616 bytes from 122880 bytes)
;platform = ${env_maple_mini.platform}
;board = maple_mini_b20
;board_build.mcu = ${env_maple_mini.board_build.mcu}
;board_build.core = ${env_maple_mini.board_build.core}
;framework = ${env_maple_mini.framework}
;monitor_port = ${env.monitor_port}
;upload_port = ${env.upload_port}
;build_flags=-D ARDUINO_MAPLEMINI_F103CB=1 -D OTHER_BOARD_WITH_CC1101=1 -D WATCHDOG_STM32=1 -D DEBUG
;[env:maple_mini_bootl_v2_CC1101@debug]
; !!! now, error when compiling with PlatformIO (general problem) !!!
; ST-Microelectronics STM32F103C8T6 bootloader v2.0
; RAM: [== ] 16.2% (used 3316 bytes from 20480 bytes)
; Flash: [=== ] 33.3% (used 40864 bytes from 122880 bytes)
;platform = ${env_maple_mini.platform}
;board = maple_mini_b20
;board_build.mcu = ${env_maple_mini.board_build.mcu}
;board_build.core = ${env_maple_mini.board_build.core}
;framework = ${env_maple_mini.framework}
;monitor_port = ${env.monitor_port}
;upload_port = ${env.upload_port}
;build_flags=-D ARDUINO_MAPLEMINI_F103CB=1 -D OTHER_BOARD_WITH_CC1101=1 -D DEBUG
;[env:maple_mini_bootl_v2_CC1101]
; !!! now, error when compiling with PlatformIO (general problem) !!!
; ST-Microelectronics STM32F103C8T6 bootloader v2.0
; RAM: [== ] 16.2% (used 3316 bytes from 20480 bytes)
; Flash: [=== ] 30.6% (used 37572 bytes from 122880 bytes)
;platform = ${env_maple_mini.platform}
;board = maple_mini_b20
;board_build.mcu = ${env_maple_mini.board_build.mcu}
;board_build.core = ${env_maple_mini.board_build.core}
;framework = ${env_maple_mini.framework}
;monitor_port = ${env.monitor_port}
;upload_port = ${env.upload_port}
;build_flags=-D ARDUINO_MAPLEMINI_F103CB=1 -D OTHER_BOARD_WITH_CC1101=1
;[env:maple_mini_bootl_v2]
; !!! now, error when compiling with PlatformIO (general problem) !!!
; ST-Microelectronics STM32F103C8T6 bootloader v2.0
; RAM: [== ] 15.8% (used 3240 bytes from 20480 bytes)
; Flash: [=== ] 26.2% (used 32244 bytes from 122880 bytes)
;platform = ${env_maple_mini.platform}
;board = maple_mini_b20
;board_build.mcu = ${env_maple_mini.board_build.mcu}
;board_build.core = ${env_maple_mini.board_build.core}
;framework = ${env_maple_mini.framework}
;monitor_port = ${env.monitor_port}
;upload_port = ${env.upload_port}
;build_flags=-D ARDUINO_MAPLEMINI_F103CB=1
[env:nano_bootl_new_CC1101@debug]
; Arduino Nano ATmega328 - bootloader Optiboot
; RAM: [===== ] 54.2% (used 1109 bytes from 2048 bytes)
; Flash: [========= ] 90.0% (used 27638 bytes from 30720 bytes)
platform = atmelavr
board = nanoatmega328new
monitor_speed = 57600
framework = arduino
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags=-D OTHER_BOARD_WITH_CC1101=1 -D DEBUG
[env:nano_bootl_new_CC1101]
; Arduino Nano ATmega328 - bootloader Optiboot
; RAM: [==== ] 45.0% (used 921 bytes from 2048 bytes)
; Flash: [======== ] 80.8% (used 24820 bytes from 30720 bytes)
platform = atmelavr
board = nanoatmega328new
monitor_speed = 57600
framework = arduino
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags=-D OTHER_BOARD_WITH_CC1101=1
[env:nano_bootl_new@debug]
; Arduino Nano ATmega328 - bootloader Optiboot
; RAM: [===== ] 51.3% (used 1050 bytes from 2048 bytes)
; Flash: [======== ] 77.2% (used 23724 bytes from 30720 bytes)
platform = atmelavr
board = nanoatmega328new
monitor_speed = 57600
framework = arduino
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags=-D DEBUG
src_filter =-cc1101.h -cc1101.cpp +<*> -<.git/> -<.svn/> -<example/> -<examples/> -<arduino-ide/SIGNALDuino/> -<_micro-api/libraries/ArduinoJson/test/> -<_micro-api/libraries/ArduinoJson/third-party/> -<_micro-api/libraries/fastdelegate/examples/>-<test/> -<tests/> -<_micro-api/libraries/ArduinoJson/fuzzing/>
[env:nano_bootl_new]
; Arduino Nano ATmega328 - bootloader Optiboot
; RAM: [==== ] 42.1% (used 862 bytes from 2048 bytes)
; Flash: [======= ] 70.2% (used 21564 bytes from 30720 bytes)
platform = atmelavr
board = nanoatmega328new
monitor_speed = 57600
framework = arduino
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags=
[env:nano_bootl_old_CC1101@debug]
; Arduino Nano ATmega328 - bootloader ATmegaBOOT
; RAM: [===== ] 54.2% (used 1109 bytes from 2048 bytes)
; Flash: [========= ] 90.0% (used 27638 bytes from 30720 bytes)
platform = atmelavr
board = nanoatmega328
monitor_speed = 57600
framework = arduino
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags=-D OTHER_BOARD_WITH_CC1101=1 -D DEBUG
[env:nano_bootl_old_CC1101]
; Arduino Nano ATmega328 - bootloader ATmegaBOOT
; RAM: [==== ] 45.0% (used 921 bytes from 2048 bytes)
; Flash: [======== ] 80.8% (used 24820 bytes from 30720 bytes)
platform = atmelavr
board = nanoatmega328
monitor_speed = 57600
framework = arduino
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags=-D OTHER_BOARD_WITH_CC1101=1
[env:nano_bootl_old@debug]
; Arduino Nano ATmega328 - bootloader ATmegaBOOT
; RAM: [===== ] 51.3% (used 1050 bytes from 2048 bytes)
; Flash: [======== ] 77.2% (used 23724 bytes from 30720 bytes)
platform = atmelavr
board = nanoatmega328
monitor_speed = 57600
framework = arduino
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags=-D DEBUG
src_filter =-cc1101.h -cc1101.cpp +<*> -<.git/> -<.svn/> -<example/> -<examples/> -<arduino-ide/SIGNALDuino/> -<_micro-api/libraries/ArduinoJson/test/> -<_micro-api/libraries/ArduinoJson/third-party/> -<_micro-api/libraries/fastdelegate/examples/>-<test/> -<tests/> -<_micro-api/libraries/ArduinoJson/fuzzing/>
[env:nano_bootl_old]
; Arduino Nano ATmega328 - bootloader ATmegaBOOT
; RAM: [==== ] 42.1% (used 862 bytes from 2048 bytes)
; Flash: [======= ] 70.2% (used 21564 bytes from 30720 bytes)
platform = atmelavr
board = nanoatmega328
monitor_speed = 57600
framework = arduino
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags=
[env:pro_promini_16MHz_CC1101@debug]
; Arduino Pro or Pro Mini - Atmel ATmega328 running at 16MHz
; RAM: [===== ] 54.2% (used 1109 bytes from 2048 bytes)
; Flash: [========= ] 90.0% (used 27638 bytes from 30720 bytes)
platform = atmelavr
board = pro16MHzatmega328
monitor_speed = 57600
framework = arduino
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags=-D OTHER_BOARD_WITH_CC1101=1 -D DEBUG
[env:pro_promini_16MHz_CC1101]
; Arduino Pro or Pro Mini - Atmel ATmega328 running at 16MHz
; RAM: [==== ] 45.0% (used 921 bytes from 2048 bytes)
; Flash: [======== ] 80.8% (used 24820 bytes from 30720 bytes)
platform = atmelavr
board = pro16MHzatmega328
monitor_speed = 57600
framework = arduino
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags=-D OTHER_BOARD_WITH_CC1101=1
[env:pro_promini_16MHz@debug]
; Arduino Pro or Pro Mini - Atmel ATmega328 running at 8MHz
; RAM: [===== ] 51.3% (used 1050 bytes from 2048 bytes)
; Flash: [======== ] 77.2% (used 23724 bytes from 30720 bytes)
platform = atmelavr
board = pro16MHzatmega328
monitor_speed = 57600
framework = arduino
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags=-D DEBUG
[env:pro_promini_16MHz]
; Arduino Pro or Pro Mini - Atmel ATmega328 running at 16MHz
; RAM: [==== ] 42.1% (used 862 bytes from 2048 bytes)
; Flash: [======= ] 70.2% (used 21554 bytes from 30720 bytes)
platform = atmelavr
board = pro8MHzatmega328
monitor_speed = 57600
framework = arduino
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags=
[env:pro_promini_8MHz_CC1101@debug]
; Arduino Pro or Pro Mini - Atmel ATmega328 running at 8MHz
; RAM: [===== ] 53.8% (used 1101 bytes from 2048 bytes)
; Flash: [========= ] 90.1% (used 27684 bytes from 30720 bytes)
platform = atmelavr
board = pro8MHzatmega328
monitor_speed = 57600
framework = arduino
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags=-D OTHER_BOARD_WITH_CC1101=1 -D DEBUG
[env:pro_promini_8MHz_CC1101]
; Arduino Pro or Pro Mini - Atmel ATmega328 running at 8MHz
; RAM: [==== ] 44.6% (used 913 bytes from 2048 bytes)
; Flash: [======== ] 80.9% (used 24866 bytes from 30720 bytes)
platform = atmelavr
board = pro8MHzatmega328
monitor_speed = 57600
framework = arduino
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags=-D OTHER_BOARD_WITH_CC1101=1
[env:pro_promini_8MHz@debug]
; Arduino Pro or Pro Mini - Atmel ATmega328 running at 8MHz
; RAM: [===== ] 50.9% (used 1042 bytes from 2048 bytes)
; Flash: [======== ] 77.4% (used 23768 bytes from 30720 bytes)
platform = atmelavr
board = pro8MHzatmega328
monitor_speed = 57600
framework = arduino
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags=-D DEBUG
[env:pro_promini_8MHz]
; Arduino Pro or Pro Mini - Atmel ATmega328 running at 8MHz
; RAM: [==== ] 41.7% (used 854 bytes from 2048 bytes)
; Flash: [======= ] 70.3% (used 21610 bytes from 30720 bytes)
platform = atmelavr
board = pro8MHzatmega328
monitor_speed = 57600
framework = arduino
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags=
[env:radino_CC1101@debug]
; Arduino compatible (Arduino Micro / Leonardo) - Atmel ATmega32U4
; RAM: [=== ] 41.9% (used 1072 bytes from 2560 bytes)
; Flash: [==========] 104.4% (used 29942 bytes from 28672 bytes)
;
; Radino board from in-circuit is not in POI
; these are compatible with all PIN´s
; working correctly; send & receive function works
platform = atmelavr
board = micro
framework = arduino
board_build.mcu = atmega32u4 ; change microcontroller
board_build.f_cpu = 8000000L ; change MCU frequency
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags=-D ARDUINO_RADINOCC1101=1 -D DEBUG
[env:radino_CC1101]
; Arduino compatible (Arduino Micro / Leonardo) - Atmel ATmega32U4
; RAM: [=== ] 34.5% (used 882 bytes from 2560 bytes)
; Flash: [========= ] 94.6% (used 27114 bytes from 28672 bytes)
;
; Radino board from in-circuit is not in POI
; these are compatible with all PIN´s
; working correctly; send & receive function works
platform = atmelavr
board = micro
framework = arduino
board_build.mcu = atmega32u4 ; change microcontroller
board_build.f_cpu = 8000000L ; change MCU frequency
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags=-D ARDUINO_RADINOCC1101=1
[env:wemos_d1_mini_pro_CC1101@debug]
; Espressif ESP8266 WeMos D1 mini pro - single core, max 160MHz, GPIO 11, power consumption 70 mA
; RAM: [==== ] 39.4% (used 32260 bytes from 81920 bytes)
; Flash: [==== ] 35.8% (used 373456 bytes from 1044464 bytes)
platform = espressif8266
board = d1_mini_pro
framework = arduino
monitor_speed = 115200
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags=-D PIN_LED_INVERSE=1 -D OTHER_BOARD_WITH_CC1101=1 -D DEBUG
[env:wemos_d1_mini_pro_CC1101]
; Espressif ESP8266 WeMos D1 mini pro - single core, max 160MHz, GPIO 11, power consumption 70 mA
; RAM: [==== ] 39.0% (used 31944 bytes from 81920 bytes)
; Flash: [==== ] 35.4% (used 370212 bytes from 1044464 bytes)
platform = espressif8266
board = d1_mini_pro
framework = arduino
monitor_speed = 115200
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags=-D PIN_LED_INVERSE=1 -D OTHER_BOARD_WITH_CC1101=1
[env:wemos_d1_mini_pro@debug]
; Espressif ESP8266 WeMos D1 mini pro - single core, max 160MHz, GPIO 11, power consumption 70 mA
; RAM: [==== ] 39.1% (used 32052 bytes from 81920 bytes)
; Flash: [==== ] 35.2% (used 367404 bytes from 1044464 bytes)
platform = espressif8266
board = d1_mini_pro
framework = arduino
monitor_speed = 115200
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags=-D PIN_LED_INVERSE=1 -D DEBUG
[env:wemos_d1_mini_pro]
; Espressif ESP8266 WeMos D1 mini pro - single core, max 160MHz, GPIO 11, power consumption 70 mA
; RAM: [==== ] 38.9% (used 31876 bytes from 81920 bytes)
; Flash: [=== ] 34.9% (used 364828 bytes from 1044464 bytes)
platform = espressif8266
board = d1_mini_pro
framework = arduino
monitor_speed = 115200
monitor_port = ${env.monitor_port}
upload_port = ${env.upload_port}
build_flags=-D PIN_LED_INVERSE=1
; only SIGNALDECODER DEBUG firmware versions based on ESP8266
; -----------------------------------------------------------
[env:SDC@DEBUG_1]
; 80KB RAM, 4MB Flash
; RAM: [==== ] 40.6% (used 33252 bytes from 81920 bytes)
; Flash: [==== ] 36.1% (used 376661 bytes from 1044464 bytes)
platform = espressif8266
board = nodemcuv2
framework = arduino
;upload_speed = 115200
monitor_port = ${env_esp.monitor_port}
upload_port = ${env.upload_port}
monitor_speed = 115200
lib_deps =
build_flags=-D OTHER_BOARD_WITH_CC1101=1 -D DEBUG=1
[env:SDC@DEBUGDECODE_1]
; 80KB RAM, 4MB Flash
; RAM: [==== ] 40.9% (used 33508 bytes from 81920 bytes)
; Flash: [==== ] 36.2% (used 378285 bytes from 1044464 bytes)
platform = espressif8266
board = nodemcuv2
framework = arduino
;upload_speed = 115200
monitor_port = ${env_esp.monitor_port}
upload_port = ${env.upload_port}
monitor_speed = 115200
lib_deps =
build_flags=-D OTHER_BOARD_WITH_CC1101=1 -D DEBUG -D DEBUGDECODE=1
[env:SDC@DEBUGDECODE_255]
; 80KB RAM, 4MB Flash
; RAM: [==== ] 41.0% (used 33572 bytes from 81920 bytes)
; Flash: [==== ] 36.2% (used 378317 bytes from 1044464 bytes)
platform = espressif8266
board = nodemcuv2
framework = arduino
;upload_speed = 115200
monitor_port = ${env_esp.monitor_port}
upload_port = ${env.upload_port}
monitor_speed = 115200
lib_deps =
build_flags=-D OTHER_BOARD_WITH_CC1101=1 -D DEBUG=1 -D DEBUGDECODE=255
[env:SDC@DEBUGDETECT_0]
; 80KB RAM, 4MB Flash
; RAM: [==== ] 40.6% (used 33284 bytes from 81920 bytes)
; Flash: [==== ] 36.1% (used 376789 bytes from 1044464 bytes)
platform = espressif8266
board = nodemcuv2
framework = arduino
;upload_speed = 115200
monitor_port = ${env_esp.monitor_port}
upload_port = ${env.upload_port}
monitor_speed = 115200
lib_deps =
build_flags=-D OTHER_BOARD_WITH_CC1101=1 -D DEBUG=1 -D DEBUGDETECT=0
[env:SDC@DEBUGDETECT_1]
; 80KB RAM, 4MB Flash
; RAM: [==== ] 41.0% (used 33576 bytes from 81920 bytes)
; Flash: [==== ] 36.2% (used 377657 bytes from 1044464 bytes)
platform = espressif8266
board = nodemcuv2
framework = arduino
;upload_speed = 115200
monitor_port = ${env_esp.monitor_port}
upload_port = ${env.upload_port}
monitor_speed = 115200
lib_deps =
build_flags=-D OTHER_BOARD_WITH_CC1101=1 -D DEBUG=1 -D DEBUGDETECT=1
[env:SDC@DEBUGDETECT_2]
; 80KB RAM, 4MB Flash
; RAM: [==== ] 41.0% (used 33572 bytes from 81920 bytes)
; Flash: [==== ] 36.2% (used 377709 bytes from 1044464 bytes)
platform = espressif8266
board = nodemcuv2
framework = arduino
;upload_speed = 115200
monitor_port = ${env_esp.monitor_port}
upload_port = ${env.upload_port}
monitor_speed = 115200
lib_deps =
build_flags=-D OTHER_BOARD_WITH_CC1101=1 -D DEBUG=1 -D DEBUGDETECT=2
[env:SDC@DEBUGDETECT_3]
; 80KB RAM, 4MB Flash
; RAM: [==== ] 41.1% (used 33640 bytes from 81920 bytes)
; Flash: [==== ] 36.2% (used 378153 bytes from 1044464 bytes)
platform = espressif8266
board = nodemcuv2
framework = arduino
;upload_speed = 115200
monitor_port = ${env_esp.monitor_port}
upload_port = ${env.upload_port}
monitor_speed = 115200
lib_deps =
build_flags=-D OTHER_BOARD_WITH_CC1101=1 -D DEBUG=1 -D DEBUGDETECT=3
[env:SDC@DEBUGDETECT_3_DEBUGDECODE_1]
; 80KB RAM, 4MB Flash
; RAM: [==== ] 41.4% (used 33896 bytes from 81920 bytes)
; Flash: [==== ] 36.4% (used 379809 bytes from 1044464 bytes)
platform = espressif8266
board = nodemcuv2
framework = arduino
;upload_speed = 115200
monitor_port = ${env_esp.monitor_port}
upload_port = ${env.upload_port}
monitor_speed = 115200
lib_deps =
build_flags=-D OTHER_BOARD_WITH_CC1101=1 -D DEBUG=1 -D DEBUGDETECT=3 -D DEBUGDECODE=1
[env:SDC@DEBUGDETECT_255]
; 80KB RAM, 4MB Flash
; RAM: [==== ] 41.2% (used 33768 bytes from 81920 bytes)
; Flash: [==== ] 36.2% (used 378553 bytes from 1044464 bytes)
platform = espressif8266
board = nodemcuv2
framework = arduino
;upload_speed = 115200
monitor_port = ${env_esp.monitor_port}
upload_port = ${env.upload_port}
monitor_speed = 115200
lib_deps =
build_flags=-D OTHER_BOARD_WITH_CC1101=1 -D DEBUG=1 -D DEBUGDETECT=255
[env:SDC@DEBUGDETECT_255_DEBUGDECODE_1]
; 80KB RAM, 4MB Flash
; RAM: [==== ] 41.5% (used 34020 bytes from 81920 bytes)
; Flash: [==== ] 36.4% (used 380213 bytes from 1044464 bytes)
platform = espressif8266
board = nodemcuv2
framework = arduino
;upload_speed = 115200
monitor_port = ${env_esp.monitor_port}
upload_port = ${env.upload_port}
monitor_speed = 115200
lib_deps =
build_flags=-D OTHER_BOARD_WITH_CC1101=1 -D DEBUG=1 -D DEBUGDETECT=255 -D DEBUGDECODE=1
; only tests native
; -----------------
[env:native]
platform = native
lib_deps =
build_flags =
-std=c++11
lib_archive = false
test_ignore = embedded*
;src_dir = tests/testSignalDecoder
lib_compat_mode = off