-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
87 lines (77 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
; 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 Project Configuration File for MiniCore
; https://github.com/MCUdude/MiniCore/
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed, and extra flags
; Library options: dependencies, extra library storage
; Advanced options: extra scripting
;
; Please visit the documentation for the other options
; https://github.com/MCUdude/MiniCore/blob/master/PlatformIO.md
; https://docs.platformio.org/page/projectconf.html
[platformio]
default_envs = attiny3226
[env:atmega328P]
platform = atmelavr
framework = arduino
board = ATmega328P
board_build.f_cpu = 16000000L
build_unflags = -flto
lib_ldf_mode = deep
build_flags =
-D TARGET_MCU=328
!echo '#define GIT_SHA1_VERSION "'$(git log |head -1 |cut -c8-)'"' > src/version.h
monitor_speed = 115200
monitor_port = /dev/cu.usbserial-A50285BI
upload_port = /dev/cu.usbserial-A50285BI
board_upload.speed = 115200
lib_deps =
https://github.com/ttlappalainen/CAN_BUS_Shield.git
https://github.com/McNeight/MemoryFree.git
https://github.com/ieb/SmallNMEA2000.git
DallasTemperature
[env:attiny3226]
platform = atmelmegaavr
platform_packages =
platformio/[email protected]
board = attiny3226
framework = arduino
lib_ldf_mode = deep
#upload_port = /dev/cu.wchusbserial620
# upload_port = /dev/cu.wchusbserial26210
# upload_port = /dev/cu.wchusbserial24130
upload_port = /dev/cu.usbserial-A50285BI
monitor_port = /dev/cu.usbserial-6
monitor_speed = 19200
board_build.f_cpu = 16000000L
build_flags =
-D SERIAL_RX_BUFFER_SIZE=256
-D TARGET_MCU=3226
-D teete
-D DEBUG_EN=1
-D FREQENCY_METHOD_2
!echo '#define GIT_SHA1_VERSION "'$(git log |head -1 |cut -c8-)'"' > src/version.h
upload_flags =
-P
$UPLOAD_PORT
-b
$UPLOAD_SPEED
-C
/Users/ieb/timefields/PlatformIO/Projects/jtag2updi/avrdude.conf
-p
t3226
lib_deps =
https://github.com/ttlappalainen/CAN_BUS_Shield.git
https://github.com/McNeight/MemoryFree.git
https://github.com/ieb/SmallNMEA2000.git
https://github.com/SpenceKonde/OneWire.git
DallasTemperature