forked from mysensors/MySensorsBootloaderRF24
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
67 lines (59 loc) · 1.24 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
[platformio]
default_envs = mysboot-328_RSnode_V1_0
src_dir = .
[common]
RS485_BAUDRATE = 38400
[env:mysboot-328_RSnode_V1_0]
platform = atmelavr
board = atmega328p
board_build.f_cpu = 8000000L
board_fuses.lfuse = 0xE2 ; std=E2 with clock out on Port B0=A2
board_fuses.hfuse = 0xD0
board_fuses.efuse = 0xFD
;upload_speed = 9600
upload_port = usb
monitor_port = COM6
monitor_speed = 9600
upload_protocol = stk500v2
; each flag in a new line
upload_flags =
-Pusb
-F
extra_scripts = extra_linker_script.py
build_flags =
;-save-temps
-DRSNode_V1_0
-funsigned-char
-funsigned-bitfields
-fno-tree-loop-optimize
-DBAUD_RATE=${common.RS485_BAUDRATE}
-DBAUD=${common.RS485_BAUDRATE}
-DRS485_COLLISION_DETECTION
-Os
-fpack-struct
-fshort-enums
-mrelax
-Wextra
-Wundef
-pedantic
-std=gnu11
-c
-MD
-MP
-Wl,-s
-Wl,-static
-Wl,-Map=OutputFileName.map
-Wl,--start-group
-Wl,--end-group
-Wl,--gc-sections
-Wl,-section-start=.text=0x7800
build_unflags =
-std=gnu11
-fno-fat-lto-objects
-flto
-DPLATFORMIO=40003
-DARDUINO_ARCH_AVR
-DARDUINO_AVR_ATmega328P
-DARDUINO=10805
-fuse-linker-plugin
-lm