Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,13 @@
components
armgcc/_build
gfx/screen.png
.build
lib/nRF5_SDK_11.0.0_89a8197

*.DS_Store

Pipfile.lock

notebooks/smaq2oss_pb2.py

test/test_runners/
9 changes: 9 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[submodule "lib/nanopb"]
path = lib/nanopb
url = https://github.com/nanopb/nanopb
[submodule "lib/unity"]
path = lib/unity
url = https://github.com/ThrowTheSwitch/Unity.git
[submodule "bin/fw-tool-pi-nrfjprog.sh"]
path = bin/fw-tool-pi-nrfjprog.sh
url = https://github.com/nello-io/fw-tool-pi-nrfjprog.sh.git
31 changes: 31 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
PROJECT_NAME = $(notdir $(shell pwd))

.PHONY: all
.PHONY: test
.PHONY: profile
.PHONY: jupyter
.PHONY: clean
.PHONY: cppcheck
.PHONY: reset
.PHONY: flash
.PHONY: patch

include conf/common.mk
include conf/compile_setup.mk
include conf/compile.mk
include conf/download.mk
include conf/tests.mk
include conf/programming.mk
include conf/jupyter.mk
include conf/patch.mk

clean:
$(CLEANUP) src/protobuff/*.pb.*
$(CLEANUP) notebooks/*_pb2.py
$(CLEANUP)r $(BUILD_DIR)
$(CLEANUP)r $(RELEASE_DIR)

.PRECIOUS: $(TEST_RESULTS_DIR)%.txt
.PRECIOUS: $(PROFILING_RESULTS_DIR)%.txt
.PRECIOUS: $(BUILD_DIR)%.c.o.out
.PRECIOUS: $(PBMODELS)
19 changes: 19 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]

[packages]
jupyterlab = "*"
gatt = "*"
dbus-python = "*"
pygobject = "*"
protobuf = "*"
arrow = "*"
adafruit-nrfutil = "*"
jupyterlab-git = "*"

[requires]
python_version = "3.7"
Loading