Skip to content

Commit 9aaa3ce

Browse files
committed
Fix Shell and executables
1 parent fdfb0ba commit 9aaa3ce

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

mrbgems/picoruby-shell/mrbgem.rake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,13 @@ MRuby::Gem::Specification.new('picoruby-shell') do |spec|
1313
spec.add_dependency 'picoruby-sandbox'
1414
spec.add_dependency 'picoruby-env'
1515
spec.add_dependency 'picoruby-crc'
16+
spec.add_dependency 'picoruby-machine'
1617
if build.posix?
1718
if build.vm_mrubyc?
1819
spec.add_dependency('picoruby-dir')
1920
elsif build.vm_mruby?
2021
spec.add_dependency('mruby-dir')
2122
end
22-
else
23-
spec.add_dependency 'picoruby-machine' # for shell executables
2423
end
2524

2625
exe_dir = "#{build_dir}/shell_executables"

mrbgems/picoruby-shell/mrblib/shell.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
require "metaprog"
33
require "picorubyvm"
44
require "sandbox"
5+
require "crc"
6+
require "machine"
57
begin
68
require "filesystem-fat"
79
require "vfs"
-105 Bytes
Binary file not shown.

mrbgems/picoruby-shell/shell_executables/nmble.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ def packet_callback(event_packet)
139139
end
140140

141141
puts "\nLaunching BLE peripheral to configure WiFi connection."
142-
puts "Open https://picoruby.github.io/wifi in a web browser\n"
143142

144143
# Start BLE Peripheral
145144
require 'rng'

mrbgems/picoruby-shell/shell_executables/wifi_connect renamed to mrbgems/picoruby-shell/shell_executables/wifi_connect.rb

File renamed without changes.

0 commit comments

Comments
 (0)