stm32/boards: Enable support for bluetooth on WB55 boards.
This commit is contained in:
parent
6a64b280d0
commit
32eae53fbc
@ -61,3 +61,7 @@
|
|||||||
#define MICROPY_HW_USB_FS (1)
|
#define MICROPY_HW_USB_FS (1)
|
||||||
#define USBD_CDC_RX_DATA_SIZE (512)
|
#define USBD_CDC_RX_DATA_SIZE (512)
|
||||||
#define USBD_CDC_TX_DATA_SIZE (512)
|
#define USBD_CDC_TX_DATA_SIZE (512)
|
||||||
|
|
||||||
|
// Bluetooth config
|
||||||
|
#define MICROPY_HW_BLE_UART_ID (0)
|
||||||
|
#define MICROPY_HW_BLE_UART_BAUDRATE (115200)
|
||||||
|
@ -3,3 +3,7 @@ CMSIS_MCU = STM32WB55xx
|
|||||||
AF_FILE = boards/stm32wb55_af.csv
|
AF_FILE = boards/stm32wb55_af.csv
|
||||||
LD_FILES = boards/stm32wb55xg.ld boards/common_basic.ld
|
LD_FILES = boards/stm32wb55xg.ld boards/common_basic.ld
|
||||||
STARTUP_FILE = lib/stm32lib/CMSIS/STM32WBxx/Source/Templates/gcc/startup_stm32wb55xx_cm4.o
|
STARTUP_FILE = lib/stm32lib/CMSIS/STM32WBxx/Source/Templates/gcc/startup_stm32wb55xx_cm4.o
|
||||||
|
|
||||||
|
# MicroPython settings
|
||||||
|
MICROPY_PY_BLUETOOTH = 1
|
||||||
|
MICROPY_BLUETOOTH_NIMBLE = 1
|
||||||
|
@ -40,3 +40,7 @@
|
|||||||
#define MICROPY_HW_USB_FS (1)
|
#define MICROPY_HW_USB_FS (1)
|
||||||
#define USBD_CDC_RX_DATA_SIZE (512)
|
#define USBD_CDC_RX_DATA_SIZE (512)
|
||||||
#define USBD_CDC_TX_DATA_SIZE (512)
|
#define USBD_CDC_TX_DATA_SIZE (512)
|
||||||
|
|
||||||
|
// Bluetooth config
|
||||||
|
#define MICROPY_HW_BLE_UART_ID (0)
|
||||||
|
#define MICROPY_HW_BLE_UART_BAUDRATE (115200)
|
||||||
|
@ -3,3 +3,7 @@ CMSIS_MCU = STM32WB55xx
|
|||||||
AF_FILE = boards/stm32wb55_af.csv
|
AF_FILE = boards/stm32wb55_af.csv
|
||||||
LD_FILES = boards/stm32wb55xg.ld boards/common_basic.ld
|
LD_FILES = boards/stm32wb55xg.ld boards/common_basic.ld
|
||||||
STARTUP_FILE = lib/stm32lib/CMSIS/STM32WBxx/Source/Templates/gcc/startup_stm32wb55xx_cm4.o
|
STARTUP_FILE = lib/stm32lib/CMSIS/STM32WBxx/Source/Templates/gcc/startup_stm32wb55xx_cm4.o
|
||||||
|
|
||||||
|
# MicroPython settings
|
||||||
|
MICROPY_PY_BLUETOOTH = 1
|
||||||
|
MICROPY_BLUETOOTH_NIMBLE = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user