feat: add sdk and toolchain management tools
This commit is contained in:
1 parent
a3b3c9e3c9
commit
a7ea9189f6
5 files changed
+344
No files matched your search
@@ -11,6 +11,7 @@ M.defaults = {
|
||||
sysbuild = true,
|
||||
overlays = {},
|
||||
extra_cmake = {},
|
||||
terminal_shell = "zsh",
|
||||
keys = {
|
||||
build = "<leader>nb",
|
||||
pristine = "<leader>np",
|
||||
@@ -23,6 +24,11 @@ M.defaults = {
|
||||
config = "<leader>nc",
|
||||
build_config = "<leader>nB",
|
||||
monitor = "<leader>nt",
|
||||
terminal = "<leader>nT",
|
||||
toolchain = "<leader>nl",
|
||||
toolchain_install = "<leader>ni",
|
||||
toolchain_search = "<leader>nN",
|
||||
sdk = "<leader>ns",
|
||||
},
|
||||
}
|
||||
|
||||
@@ -74,6 +80,27 @@ function M.monitor()
|
||||
return require("hego.monitor").run(M.options)
|
||||
end
|
||||
|
||||
--- Terminal con el entorno NCS activo.
|
||||
function M.terminal(version)
|
||||
return require("hego.toolchain").terminal(M.options, version)
|
||||
end
|
||||
|
||||
function M.toolchain_pick()
|
||||
return require("hego.toolchain").pick(M.options)
|
||||
end
|
||||
|
||||
function M.toolchain_install()
|
||||
return require("hego.toolchain").install_prompt(M.options)
|
||||
end
|
||||
|
||||
function M.toolchain_search()
|
||||
return require("hego.toolchain").search_pick(M.options)
|
||||
end
|
||||
|
||||
function M.sdk_pick()
|
||||
return require("hego.sdk").pick(M.options)
|
||||
end
|
||||
|
||||
function M.edit_config()
|
||||
local Config = require("hego.config")
|
||||
|
||||
|
||||
Reference in new issue
Block a user