From 085849210737e52d95b13310177c983fec1f2a4d Mon Sep 17 00:00:00 2001 From: _index Date: Mon, 25 Nov 2024 16:07:38 +0100 Subject: [PATCH] add 'cargo c/cargo config' command --- Makefile.toml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Makefile.toml b/Makefile.toml index 055015d..d8b7fcc 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -28,4 +28,25 @@ dependencies = [ "build-release", "convert-to-bin", "write", +] + +# CONFIG + +[tasks.mvdebug] +command = "mv" +args = ["sdkconfig", "sdkconfig.debug"] + +[tasks.mvrelease] +command = "mv" +args = ["sdkconfig.debug", "sdkconfig"] + +[tasks.pio] +command = "cargo" +args = ["pio", "espidf", "menuconfig"] + +[tasks.config] +dependencies = [ + "mvdebug", + "pio", + "mvrelease", ] \ No newline at end of file