Compare commits
2 commits
04380f9362
...
40c3928ce1
Author | SHA1 | Date | |
---|---|---|---|
40c3928ce1 | |||
d31165106b |
3 changed files with 5 additions and 2 deletions
5
Makefile
5
Makefile
|
@ -3,6 +3,10 @@ export PYTHONPATH := $(PWD)/tools/nrfutil:$(PWD)/tools/intelhex:$(PYTHONPATH)
|
||||||
PYTHON ?= python3
|
PYTHON ?= python3
|
||||||
PYTEST ?= pytest-3
|
PYTEST ?= pytest-3
|
||||||
|
|
||||||
|
# Disable debugging to save some space
|
||||||
|
DEBUG ?= 0
|
||||||
|
CFLAGS_EXTRA ?= -Wno-error=incompatible-pointer-types
|
||||||
|
|
||||||
all : bootloader reloader micropython
|
all : bootloader reloader micropython
|
||||||
|
|
||||||
# If BOARD is undefined then set it up so that expanding it issues an
|
# If BOARD is undefined then set it up so that expanding it issues an
|
||||||
|
@ -67,6 +71,7 @@ micropython: build-$(BOARD_SAFE) wasp/boards/$(BOARD_SAFE)/watch.py micropython/
|
||||||
BOARD=$(BOARD) SD=s132 \
|
BOARD=$(BOARD) SD=s132 \
|
||||||
MICROPY_VFS_LFS2=1 \
|
MICROPY_VFS_LFS2=1 \
|
||||||
FROZEN_MANIFEST=$(PWD)/wasp/boards/$(BOARD)/manifest.py \
|
FROZEN_MANIFEST=$(PWD)/wasp/boards/$(BOARD)/manifest.py \
|
||||||
|
DEBUG=$(DEBUG) CFLAGS_EXTRA=$(CFLAGS_EXTRA) \
|
||||||
USER_C_MODULES=$(PWD)/wasp/modules
|
USER_C_MODULES=$(PWD)/wasp/modules
|
||||||
$(PYTHON) -m nordicsemi dfu genpkg \
|
$(PYTHON) -m nordicsemi dfu genpkg \
|
||||||
--dev-type 0x0052 \
|
--dev-type 0x0052 \
|
||||||
|
|
|
@ -30,6 +30,5 @@ manifest = (
|
||||||
'fonts/sans28.py',
|
'fonts/sans28.py',
|
||||||
'fonts/sans36.py',
|
'fonts/sans36.py',
|
||||||
'icons.py',
|
'icons.py',
|
||||||
'steplogger.py',
|
|
||||||
'widgets.py',
|
'widgets.py',
|
||||||
)
|
)
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
import gc
|
import gc
|
||||||
import machine
|
import machine
|
||||||
import micropython
|
import micropython
|
||||||
import steplogger
|
|
||||||
import sys
|
import sys
|
||||||
import watch
|
import watch
|
||||||
import widgets
|
import widgets
|
||||||
|
|
Loading…
Add table
Reference in a new issue