Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions boards/arm/nucleo_wb55rg/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,13 @@ config LPUART_1

endif # BT_DEBUG_MONITOR

if BT

choice BT_HCI_BUS_TYPE
default BT_STM32_IPM

endchoice

endif # BT

endif # BOARD_NUCLEO_WB55RG
38 changes: 38 additions & 0 deletions boards/arm/nucleo_wb55rg/nucleo_wb55rg.dts
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,41 @@ arduino_serial: &lpuart1 {
current-speed = <115200>;
status = "ok";
};

&flash0 {
/*
* For more information, see:
* http://docs.zephyrproject.org/latest/devices/dts/flash_partitions.html
*/
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

/* Set all partitions with first 812K of flash */
/* last 212K are reseved for M0 usage */
/* Configure partitions to make use of the whole 812K */

boot_partition: partition@0 {
label = "mcuboot";
reg = <0x00000000 0xc000>;
};
slot0_partition: partition@c000 {
label = "image-0";
reg = <0x0000C000 0x5b800>;
};
slot1_partition: partition@67800 {
label = "image-1";
reg = <0x00067800 0x5b800>;
};
scratch_partition: partition@c3000 {
label = "image-scratch";
reg = <0x000c3000 0x4000>;
};
storage_partition: partition@c7000 {
label = "storage";
reg = <0x000c7000 0x4000>;
};

};
};
1 change: 1 addition & 0 deletions drivers/bluetooth/hci/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
zephyr_sources_ifdef(CONFIG_BT_H4 h4.c)
zephyr_sources_ifdef(CONFIG_BT_H5 h5.c)
zephyr_sources_ifdef(CONFIG_BT_SPI spi.c)
zephyr_sources_ifdef(CONFIG_BT_STM32_IPM ipm_stm32wb.c)
zephyr_sources_ifdef(CONFIG_BT_USERCHAN userchan.c)
7 changes: 7 additions & 0 deletions drivers/bluetooth/hci/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ config BT_SPI
additional platform specific knowledge may need to be added as
devices are.

config BT_STM32_IPM
bool "IPM HCI"
select USE_STM32_HAL_CORTEX
select HAS_STLIB
help
TODO

config BT_USERCHAN
bool "HCI User Channel based driver"
depends on BOARD_NATIVE_POSIX
Expand Down
Loading