Skip to content

Commit c23fbd0

Browse files
committed
Add in missed code.
1 parent 362cf15 commit c23fbd0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

exe/arduino_ci.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def self.parse(options)
2424
ci_config: {
2525
"unittest" => unit_config
2626
},
27+
min_free_space: 0,
2728
}
2829

2930
opt_parser = OptionParser.new do |opts|
@@ -49,6 +50,10 @@ def self.parse(options)
4950
unit_config["testfiles"]["reject"] << p
5051
end
5152

53+
opts.on("--min-free-space=VALUE", "Minimum free SRAM memory for stack/heap") do |p|
54+
output_options[:min_free_space] = p.to_i()
55+
end
56+
5257
opts.on("-h", "--help", "Prints this help") do
5358
puts opts
5459
puts

0 commit comments

Comments
 (0)