We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3e0bd7 commit 9c61a44Copy full SHA for 9c61a44
SampleProjects/TestSomething/.arduino-ci.yml
@@ -1,3 +1,18 @@
1
+platforms:
2
+ uno:
3
+ board: arduino:avr:uno
4
+ package: arduino:avr
5
+ gcc:
6
+ features:
7
+ defines:
8
+ - __AVR__
9
+ - __AVR_ATmega328P__
10
+ - ARDUINO_ARCH_AVR
11
+ - ARDUINO_AVR_UNO
12
+ warnings:
13
+ - no-unknown-attributes
14
+ flags:
15
+
16
unittest:
17
platforms:
18
- uno
lib/arduino_ci/cpp_library.rb
@@ -443,7 +443,7 @@ def feature_args(ci_gcc_config)
443
def warning_args(ci_gcc_config)
444
return [] if ci_gcc_config[:warnings].nil?
445
446
- ci_gcc_config[:features].map { |w| "-W#{w}" }
+ ci_gcc_config[:warnings].map { |w| "-W#{w}" }
447
end
448
449
# GCC command line arguments for defines (e.g. -Dhave_something)
0 commit comments