Skip to content
This repository was archived by the owner on Jun 8, 2024. It is now read-only.

Commit fb74dbe

Browse files
committed
feat: c++17(最大)に変更
c++20以降にしたいなら,以下が参考になる. arduino/ArduinoCore-avr#435 (comment)
1 parent 8487cc3 commit fb74dbe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

platformio.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
; Please visit documentation for the other options and examples
99
; https://docs.platformio.org/page/projectconf.html
1010

11+
[env]
12+
build_unflags = -std=gnu++11
13+
build_flags = -std=gnu++17
14+
1115
[env:megaatmega2560]
1216
platform = atmelavr
1317
board = megaatmega2560

0 commit comments

Comments
 (0)