summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2020-02-20 14:42:15 +1100
committerDamien George <damien.p.george@gmail.com>2020-03-10 01:53:42 +1100
commit51f8591097cc58bfcb0449fccb5048db7e5473dc (patch)
tree319e655ced592e5a3f2701409b86f524e1f06164
parent0e95815bfbf9e0c1ca87437536c848e14f5dc6cf (diff)
stm32/boards/PYBD: Allow building with BTstack (via make command line).
Work done in collaboration with Jim Mussared aka @jimmo.
-rw-r--r--ports/stm32/boards/PYBD_SF2/mpconfigboard.mk5
-rw-r--r--ports/stm32/boards/PYBD_SF3/mpconfigboard.mk5
-rw-r--r--ports/stm32/boards/PYBD_SF6/mpconfigboard.mk5
3 files changed, 9 insertions, 6 deletions
diff --git a/ports/stm32/boards/PYBD_SF2/mpconfigboard.mk b/ports/stm32/boards/PYBD_SF2/mpconfigboard.mk
index 69407345b..ead8bb8c0 100644
--- a/ports/stm32/boards/PYBD_SF2/mpconfigboard.mk
+++ b/ports/stm32/boards/PYBD_SF2/mpconfigboard.mk
@@ -10,8 +10,9 @@ TEXT0_SECTIONS = .isr_vector .text .data
TEXT1_SECTIONS = .text_ext
# MicroPython settings
-MICROPY_PY_BLUETOOTH = 1
-MICROPY_BLUETOOTH_NIMBLE = 1
+MICROPY_PY_BLUETOOTH ?= 1
+MICROPY_BLUETOOTH_NIMBLE ?= 1
+MICROPY_BLUETOOTH_BTSTACK ?= 0
MICROPY_PY_LWIP = 1
MICROPY_PY_NETWORK_CYW43 = 1
MICROPY_PY_USSL = 1
diff --git a/ports/stm32/boards/PYBD_SF3/mpconfigboard.mk b/ports/stm32/boards/PYBD_SF3/mpconfigboard.mk
index f6d6e955b..119ec8f82 100644
--- a/ports/stm32/boards/PYBD_SF3/mpconfigboard.mk
+++ b/ports/stm32/boards/PYBD_SF3/mpconfigboard.mk
@@ -10,8 +10,9 @@ TEXT0_SECTIONS = .isr_vector .text .data
TEXT1_SECTIONS = .text_ext
# MicroPython settings
-MICROPY_PY_BLUETOOTH = 1
-MICROPY_BLUETOOTH_NIMBLE = 1
+MICROPY_PY_BLUETOOTH ?= 1
+MICROPY_BLUETOOTH_NIMBLE ?= 1
+MICROPY_BLUETOOTH_BTSTACK ?= 0
MICROPY_PY_LWIP = 1
MICROPY_PY_NETWORK_CYW43 = 1
MICROPY_PY_USSL = 1
diff --git a/ports/stm32/boards/PYBD_SF6/mpconfigboard.mk b/ports/stm32/boards/PYBD_SF6/mpconfigboard.mk
index e33d62d86..ddc176e9c 100644
--- a/ports/stm32/boards/PYBD_SF6/mpconfigboard.mk
+++ b/ports/stm32/boards/PYBD_SF6/mpconfigboard.mk
@@ -7,8 +7,9 @@ LD_FILES = boards/PYBD_SF6/f767.ld
TEXT0_ADDR = 0x08008000
# MicroPython settings
-MICROPY_PY_BLUETOOTH = 1
-MICROPY_BLUETOOTH_NIMBLE = 1
+MICROPY_PY_BLUETOOTH ?= 1
+MICROPY_BLUETOOTH_NIMBLE ?= 1
+MICROPY_BLUETOOTH_BTSTACK ?= 0
MICROPY_PY_LWIP = 1
MICROPY_PY_NETWORK_CYW43 = 1
MICROPY_PY_USSL = 1