-
Notifications
You must be signed in to change notification settings - Fork 8
/
platformio.ini
59 lines (53 loc) · 1.59 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
; Uncomment the relevant entry to compile every example
; Additionally every example can be opened as an independent platformio project
[platformio]
; The CC1101_RF need to be used for the examples
lib_dir = .
[env]
extra_scripts = pre:set_src_dir.py
; "set_src_dir.py" will set src_dir to "examples/ping"
[env:ping]
platform = atmelavr
framework = arduino
board = ATmega328P ; MiniCore bare atmega328p @8MHz
board_build.f_cpu = 8000000L
; for ATmegaBoot or optiboot
upload_protocol = arduino
; urboot
;upload_protocol = urclock
; esp-link OTA programmer
;upload_protocol = custom
;upload_command = avrflash esp-link-1 '$BUILD_DIR/${PROGNAME}.hex'
;platform = atmelavr
;framework = arduino
;board = pro8MHzatmega328
;
;platform = espressif8266
;board = nodemcu
;framework = arduino
; "set_src_dir.py" will set src_dir to "examples/pingLowPower/sleep"
[env:pingLowPower-sleep]
platform = atmelavr
framework = arduino
board = ATmega328P ; MiniCore bare atmega328p @8MHz
board_build.f_cpu = 8000000L
; for ATmegaBoot or optiboot
upload_protocol = arduino
; urboot
;upload_protocol = urclock
; esp-link OTA programmer
;upload_protocol = custom
;upload_command = avrflash esp-link-1 '$BUILD_DIR/${PROGNAME}.hex'
; "set_src_dir.py" will set src_dir to "examples/pingLowPower/wake"
[env:pingLowPower-wake]
platform = atmelavr
framework = arduino
board = ATmega328P ; MiniCore bare atmega328p
board_build.f_cpu = 8000000L
; for ATmegaBoot or optiboot
upload_protocol = arduino
; urboot
;upload_protocol = urclock
; esp-link OTA programmer
;upload_protocol = custom
;upload_command = avrflash esp-link-2 '$BUILD_DIR/${PROGNAME}.hex'