stm32/boards/PYBD: Enable BLE for Pyboard D.

pull/1/head
Jim Mussared 2019-08-27 15:57:24 +10:00
parent 6f35f214d3
commit fafa9d35dd
4 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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