mirror of
https://github.com/RfidResearchGroup/ChameleonUltra.git
synced 2026-05-12 11:22:59 -07:00
for vscode makefile and pyinstaller gitignore
This commit is contained in:
@@ -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
@@ -3,4 +3,5 @@ bin/
|
||||
# 忽略vscode的文件夹
|
||||
script/__pycache__
|
||||
# 忽略编译输出文件夹
|
||||
src/out
|
||||
src/out
|
||||
script/
|
||||
@@ -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...")
|
||||
|
||||
Reference in New Issue
Block a user