1b1b22905e
This commit adds support for using Bluetooth on the unix port via a H4 serial interface (distinct from a USB dongle), with both BTstack and NimBLE Bluetooth stacks. Note that MICROPY_PY_BLUETOOTH is now disabled for the coverage variant. Prior to this commit Bluetooth was anyway not being built on Travis because libusb was not detected. But now that bluetooth works in H4 mode it will be built, and will lead to a large decrease in coverage because Bluetooth tests cannot be run on Travis.
20 lines
505 B
Makefile
20 lines
505 B
Makefile
PROG ?= micropython-coverage
|
|
|
|
# Disable optimisations and enable assert() on coverage builds.
|
|
DEBUG ?= 1
|
|
|
|
CFLAGS += \
|
|
-fprofile-arcs -ftest-coverage \
|
|
-Wformat -Wmissing-declarations -Wmissing-prototypes \
|
|
-Wold-style-definition -Wpointer-arith -Wshadow -Wuninitialized -Wunused-parameter \
|
|
-DMICROPY_UNIX_COVERAGE
|
|
|
|
LDFLAGS += -fprofile-arcs -ftest-coverage
|
|
|
|
FROZEN_MANIFEST ?= $(VARIANT_DIR)/manifest.py
|
|
|
|
MICROPY_ROM_TEXT_COMPRESSION = 1
|
|
MICROPY_VFS_FAT = 1
|
|
MICROPY_VFS_LFS1 = 1
|
|
MICROPY_VFS_LFS2 = 1
|