stm32/boards/PYBD: Enable BLE for Pyboard D.
This commit is contained in:
parent
6f35f214d3
commit
fafa9d35dd
@ -177,6 +177,10 @@ extern struct _spi_bdev_t spi_bdev2;
|
||||
#define MICROPY_HW_USB_HS_IN_FS (1)
|
||||
#define MICROPY_HW_USB_MAIN_DEV (USB_PHY_HS_ID)
|
||||
|
||||
// Bluetooth config
|
||||
#define MICROPY_HW_BLE_UART_ID (PYB_UART_6)
|
||||
#define MICROPY_HW_BLE_UART_BAUDRATE (115200)
|
||||
|
||||
/******************************************************************************/
|
||||
// Bootloader configuration
|
||||
|
||||
|
@ -10,6 +10,8 @@ TEXT0_SECTIONS = .isr_vector .text .data
|
||||
TEXT1_SECTIONS = .text_ext
|
||||
|
||||
# MicroPython settings
|
||||
MICROPY_PY_BLUETOOTH = 1
|
||||
MICROPY_BLUETOOTH_NIMBLE = 1
|
||||
MICROPY_PY_LWIP = 1
|
||||
MICROPY_PY_NETWORK_CYW43 = 1
|
||||
MICROPY_PY_USSL = 1
|
||||
|
@ -10,6 +10,8 @@ TEXT0_SECTIONS = .isr_vector .text .data
|
||||
TEXT1_SECTIONS = .text_ext
|
||||
|
||||
# MicroPython settings
|
||||
MICROPY_PY_BLUETOOTH = 1
|
||||
MICROPY_BLUETOOTH_NIMBLE = 1
|
||||
MICROPY_PY_LWIP = 1
|
||||
MICROPY_PY_NETWORK_CYW43 = 1
|
||||
MICROPY_PY_USSL = 1
|
||||
|
@ -7,6 +7,8 @@ LD_FILES = boards/PYBD_SF6/f767.ld
|
||||
TEXT0_ADDR = 0x08008000
|
||||
|
||||
# MicroPython settings
|
||||
MICROPY_PY_BLUETOOTH = 1
|
||||
MICROPY_BLUETOOTH_NIMBLE = 1
|
||||
MICROPY_PY_LWIP = 1
|
||||
MICROPY_PY_NETWORK_CYW43 = 1
|
||||
MICROPY_PY_USSL = 1
|
||||
|
Loading…
Reference in New Issue
Block a user