-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
87 lines (75 loc) · 2.46 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
; 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]
description = 433MHz/315MHz receiver test with the Arduino framework
default_envs = digispark-clone
[env:arduino]
platform = atmelavr
board = uno
framework = arduino
upload_port = /dev/cu*usb*
upload_speed = 115200
monitor_port = /dev/cu*usb*
monitor_speed = 9600
lib_deps =
https://github.com/vi7/rc-switch.git#5f8a319a46ef41561ac309ea6addb944db91cf56
; lib_extra_dirs =
; ../private_libraries
[env:digispark-clone]
platform = atmelavr
framework = arduino
debug_tool = simavr
board = digispark-tiny
; micronucleus bootloader v2.5+ required for that
board_upload.maximum_size = 6650
;; ArminJo/DigistumpArduino avr core recommended CPU frequency is 16000000L (16MHz)
;; But do we really want that? Looks like it will spoil precise calibration from Micronucleus
;; Thus using the default 16.5MHz
;; Uncomment corresponding line below if you want other frequency
; board_build.f_cpu = 16500000L
; board_build.f_cpu = 16000000L
; board_build.f_cpu = 8000000L
; board_build.f_cpu = 1000000L
;; Override core to 'tiny' (https://github.com/SpenceKonde/ATTinyCore)
; board_build.core = tiny
; board_build.variant = tinyX5
;; Required by the tiny core for the compatibility with Micronucleus bootloader and CPU frequencies (F_CPU) > 8MHz
; build_flags =
; -DCLOCK_SOURCE=6
; -DBOOTTUNED165
;; Monitoring over Bus Pirate transparent UART
;; BP Pinout:
;; GND - BR
;; RX - BLK
;; Digispark pinout:
;; TX - PB2 (or PB3 for F_CPU <= 8MHz)
monitor_port = /dev/tty.usbserial
; Put Bus Pirate connection baud rate here (NOT the baud rate from the Serial.begin() !)
monitor_speed = 115200
monitor_flags =
--eol
LF
lib_deps =
https://github.com/vi7/rc-switch.git#5f8a319a46ef41561ac309ea6addb944db91cf56
; lib_extra_dirs =
; ../private_libraries
[env:d1_mini]
platform = espressif8266
board = d1_mini
framework = arduino
upload_port = /dev/cu.usbserial*
upload_speed = 460800
monitor_port = /dev/cu.usbserial*
monitor_speed = 9600
; Set to 1 to disable device reset when serial monitor is connected
monitor_rts = 0
monitor_dtr = 0
lib_deps =
https://github.com/vi7/rc-switch.git#5f8a319a46ef41561ac309ea6addb944db91cf56