feat: added build pristine, build configuration, erase and recover
This commit is contained in:
1 parent
80a2c4d56f
commit
5b1d640d4b
11 files changed
+636
-80
No files matched your search
@@ -13,6 +13,30 @@ function M.setup(opts)
|
||||
vim.keymap.set("n", k.flash, function()
|
||||
H.flash()
|
||||
end, { desc = "NCS: Flash" })
|
||||
vim.keymap.set("n", k.flash_erase, function()
|
||||
H.flash("erase")
|
||||
end, { desc = "NCS: Flash (--erase)" })
|
||||
vim.keymap.set("n", k.flash_recover, function()
|
||||
H.flash("recover")
|
||||
end, { desc = "NCS: Flash (--recover)" })
|
||||
vim.keymap.set("n", k.device_recover, function()
|
||||
H.device_recover()
|
||||
end, { desc = "NCS: Device recover (nrfutil)" })
|
||||
vim.keymap.set("n", k.kconfig, function()
|
||||
H.kconfig()
|
||||
end, { desc = "NCS: Kconfig (menuconfig)" })
|
||||
vim.keymap.set("n", k.memory, function()
|
||||
H.memory_report()
|
||||
end, { desc = "NCS: Memory report" })
|
||||
vim.keymap.set("n", k.config, function()
|
||||
H.edit_config()
|
||||
end, { desc = "NCS: Edit build configs" })
|
||||
vim.keymap.set("n", k.build_config, function()
|
||||
H.build_from_config()
|
||||
end, { desc = "NCS: Build with config..." })
|
||||
vim.keymap.set("n", k.monitor, function()
|
||||
H.monitor()
|
||||
end, { desc = "NCS: Monitor serie" })
|
||||
end
|
||||
|
||||
return M
|
||||
Reference in new issue
Block a user