-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
80 lines (71 loc) · 2.17 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
; PlatformIO template configuration file for MightyCore
; https://github.com/MCUdude/MightyCore/
;
; Build options: build flags, source filter
; Hardware options: oscillator type, BOD, UART number, EEPROM retain
; 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
; https://github.com/MCUdude/MightyCore/blob/master/PlatformIO.md
; https://docs.platformio.org/page/projectconf.html
; https://docs.platformio.org/en/latest/platforms/atmelavr.html
[platformio]
default_envs = MightyCore
; ENVIRONMENT SETTINGS
[env:MightyCore]
platform = atmelavr @ ~5.0.0
framework = arduino
lib_deps =
quicksander/ArduinoHttpServer @ ~0.10.1
jandrassy/EthernetENC @ ~2.0.4
bblanchon/ArduinoJson @ ~6.21.5
lib_ignore =
Test
; TARGET SETTINGS
; PlatformIO requires the board parameter. Must match your actual hardware
board = ATmega644P
; Clock frequency in [Hz]
board_build.f_cpu = 16000000UL
; HARDWARE SETTINGS
; Oscillator option
board_hardware.oscillator = external
; Hardware UART for serial upload
board_hardware.uart = uart0
; Brown-out detection
board_hardware.bod = 2.7v
; EEPROM retain
board_hardware.eesave = yes
; UPLOAD SETTINGS
board_upload.speed = 115200
; Upload serial port is automatically detected by default. Override by uncommenting the line below
;upload_port = /dev/cu.usbserial*
; BUILD OPTIONS
; Current pinout
board_build.variant = standard
; Comment out to enable LTO (this line unflags it)
build_unflags = -flto
; Extra build flags
build_flags =
-I./src/Rego6xx
;-DDEBUG
; Upload using programmer
;upload_protocol = stk500v1
; Aditional upload flags
;upload_flags = -Pusb
; SERIAL MONITOR OPTIONS
; Monitor and upload port is the same by default
;monitor_port =
; Serial monitor baud rate
monitor_speed = 115200
; Desktop platforms (Win, Mac, Linux, Raspberry Pi, etc)
; See https://platformio.org/platforms/native
[env:native]
platform = native
build_flags =
-std=c++11
-DARDUINO=100
-DPROGMEM=
-DNATIVE
lib_ignore =