mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 01:40:14 +01:00
drivers/ninaw10: Rename Bluetooth HCI backend driver.
Rename `bt_hci` to `bthci_uart` for consistency with the CYW43 driver and to distinguish it from HCI backends that use a different transport. Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
This commit is contained in:
committed by
Damien George
parent
193460d18f
commit
fa76d52edb
@@ -50,8 +50,8 @@
|
||||
#define OCF_SET_EVENT_MASK (0x0001)
|
||||
#define OCF_RESET (0x0003)
|
||||
|
||||
#define error_printf(...) // mp_printf(&mp_plat_print, "nina_bt_hci.c: " __VA_ARGS__)
|
||||
#define debug_printf(...) // mp_printf(&mp_plat_print, "nina_bt_hci.c: " __VA_ARGS__)
|
||||
#define error_printf(...) // mp_printf(&mp_plat_print, "nina_bthci_uart.c: " __VA_ARGS__)
|
||||
#define debug_printf(...) // mp_printf(&mp_plat_print, "nina_bthci_uart.c: " __VA_ARGS__)
|
||||
|
||||
// Provided by the port, and also possibly shared with the stack.
|
||||
extern uint8_t mp_bluetooth_hci_cmd_buf[4 + 256];
|
||||
@@ -431,7 +431,7 @@ if (MICROPY_PY_NETWORK_NINAW10)
|
||||
|
||||
# Enable NINA-W10 WiFi and Bluetooth drivers.
|
||||
list(APPEND MICROPY_SOURCE_DRIVERS
|
||||
${MICROPY_DIR}/drivers/ninaw10/nina_bt_hci.c
|
||||
${MICROPY_DIR}/drivers/ninaw10/nina_bthci_uart.c
|
||||
${MICROPY_DIR}/drivers/ninaw10/nina_wifi_drv.c
|
||||
${MICROPY_DIR}/drivers/ninaw10/nina_wifi_bsp.c
|
||||
${MICROPY_DIR}/drivers/ninaw10/machine_pin_nina.c
|
||||
|
||||
Reference in New Issue
Block a user