for vscode makefile and pyinstaller gitignore

This commit is contained in:
ShigemoriHakura
2023-04-22 14:33:10 +08:00
parent fd390b57a5
commit 11c102715e
4 changed files with 8 additions and 7 deletions
@@ -251,7 +251,7 @@ all: $(TARGETS)
# Create build directories
$(OUTPUT_DIRECTORY):
$(MK) $@
# $(MK) -p $@
$(OUTPUT_DIRECTORY)/%/.: | $(OUTPUT_DIRECTORY)
cd $(OUTPUT_DIRECTORY) && $(MK) $*
@@ -42,6 +42,6 @@
#define NRFX_CONFIG_H__
// TODO - temporary redirection
#include <sdk_config.h>
#include "sdk_config.h"
#endif // NRFX_CONFIG_H__
+2 -1
View File
@@ -3,4 +3,5 @@ bin/
# 忽略vscode的文件夹
script/__pycache__
# 忽略编译输出文件夹
src/out
src/out
script/
+4 -4
View File
@@ -85,7 +85,7 @@ class BaseCLIUnit:
raise NotImplementedError("Please implement this")
@staticmethod
def sub_process(cmd, cwd=os.path.abspath("../bin/"), ):
def sub_process(cmd, cwd=os.path.abspath("/bin/"), ):
class ShadowProcess:
def __init__(self):
self.time_start = timeit.default_timer()
@@ -745,7 +745,7 @@ class SlotIndexRequireUint(DeviceRequiredUnit):
parser.add_argument('-s', "--slot", type=int, required=True,
help="Slot index", metavar="number", choices=slot_choices)
return parser
class SenseTypeRequireUint(DeviceRequiredUnit):
def args_parser(self) -> ArgumentParserNoExit or None:
@@ -907,7 +907,7 @@ class HWSlotOpenAll(DeviceRequiredUnit):
def args_parser(self) -> ArgumentParserNoExit or None:
return None
# hw slot openall
def on_exec(self, args: argparse.Namespace):
# what type you need set to default?
@@ -938,7 +938,7 @@ class HWDFU(DeviceRequiredUnit):
def args_parser(self) -> ArgumentParserNoExit or None:
return None
# hw dfu
def on_exec(self, args: argparse.Namespace):
print("Application restarting...")