diff options
| author | Jim Mussared | 2020-08-14 15:43:09 +1000 |
|---|---|---|
| committer | Damien George | 2020-09-08 11:41:31 +1000 |
| commit | ed14435a8e6199b845c3404a9052f9ff4213292c (patch) | |
| tree | c7fc4c10aeb002bbe9557e212c62bb75a735fee8 /ports/stm32/Makefile | |
| parent | e46aac24bacdafcb5323fbfc702a3bd597f66072 (diff) | |
extmod/modbluetooth: Refactor stack/hci/driver/port bindings.
Previously the interaction between the different layers of the Bluetooth
stack was different on each port and each stack. This commit defines
common interfaces between them and implements them for cyw43, btstack,
nimble, stm32, unix.
Diffstat (limited to 'ports/stm32/Makefile')
| -rw-r--r-- | ports/stm32/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ports/stm32/Makefile b/ports/stm32/Makefile index e7d2e2abc..7b68299e0 100644 --- a/ports/stm32/Makefile +++ b/ports/stm32/Makefile @@ -480,7 +480,7 @@ endif ifeq ($(MICROPY_PY_BLUETOOTH),1) -SRC_C += modbluetooth_hci.c +SRC_C += mpbthciport.c ifeq ($(MICROPY_BLUETOOTH_NIMBLE),1) ifeq ($(MICROPY_BLUETOOTH_BTSTACK),1) @@ -490,12 +490,13 @@ endif ifeq ($(MICROPY_BLUETOOTH_NIMBLE),1) include $(TOP)/extmod/nimble/nimble.mk -SRC_C += nimble.c +SRC_C += mpnimbleport.c endif ifeq ($(MICROPY_BLUETOOTH_BTSTACK),1) +MICROPY_BLUETOOTH_BTSTACK_H4 ?= 1 include $(TOP)/extmod/btstack/btstack.mk -SRC_C += btstack.c +SRC_C += mpbtstackport.c endif ifeq ($(MICROPY_PY_NETWORK_CYW43),1) |
