-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
44 lines (42 loc) · 1016 Bytes
/
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
;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
[env:micro]
platform = atmelavr
board = nanoatmega328
framework = arduino
build_unflags=-std=gnu++11
build_flags=-std=gnu++17
src_build_flags =
-Wextra
-Wall
-Wswitch-enum
-pedantic
-Wcast-align
-Wcast-qual
-Wctor-dtor-privacy
-Wdisabled-optimization
-Wformat=2
-Winit-self
-Wlogical-op
-Wmissing-include-dirs
-Wnoexcept
-Wold-style-cast
-Woverloaded-virtual
-Wredundant-decls
-Wshadow
-Wsign-promo
-Wstrict-null-sentinel
-Wstrict-overflow=5
-Wundef
-Wno-unused
-Wno-variadic-macros
-Wno-parentheses
-Wno-unknown-pragmas
-fdiagnostics-show-option