Skip to content

Commit

Permalink
Bluetooth: Enable BLE support for Arduino Portenta H7
Browse files Browse the repository at this point in the history
enable support by replicating giga config

Signed-off-by: Daniel D <[email protected]>
  • Loading branch information
dd1337 committed Dec 23, 2024
1 parent 689d1ed commit 839fe0b
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
12 changes: 12 additions & 0 deletions boards/arduino/portenta_h7/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,15 @@ endif # LOG
endif # USB_DEVICE_STACK

endif # BOARD_ARDUINO_PORTENTA_H7

if BT

choice AIROC_PART
default CYW4343W
endchoice

choice CYW4343W_MODULE
default CYW4343W_MURATA_1DX
endchoice

endif # BT
22 changes: 22 additions & 0 deletions boards/arduino/portenta_h7/arduino_portenta_h7_stm32h747xx_m7.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_partition;
zephyr,bt-hci = &bt_hci_uart;
};

oscen: oscen {
Expand Down Expand Up @@ -137,3 +138,24 @@
};
};
};

&uart7 {
pinctrl-0 = <&uart7_tx_pa15 &uart7_rx_pf6
&uart7_cts_pf9 &uart7_rts_pf8>;
pinctrl-names = "default";
current-speed = <115200>;
hw-flow-control;
status = "okay";

bt_hci_uart: bt_hci_uart {
compatible = "zephyr,bt-hci-uart";
status = "okay";

murata-1dx {
compatible = "infineon,cyw43xxx-bt-hci";
bt-reg-on-gpios = <&gpioj 12 GPIO_ACTIVE_HIGH>;
bt-host-wake-gpios = <&gpioj 13 GPIO_ACTIVE_HIGH>;
bt-dev-wake-gpios = <&gpioj 14 GPIO_ACTIVE_HIGH>;
};
};
};
18 changes: 18 additions & 0 deletions boards/arduino/portenta_h7/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ The current Zephyr arduino_portenta_h7 board configuration supports the followin
+-----------+------------+-------------------------------------+
| ETHERNET | on-board | eth |
+-----------+------------+-------------------------------------+
| RADIO | Murata 1DX | WiFi and Bluetooth module |
+-----------+------------+-------------------------------------+

Other hardware features are not yet supported on Zephyr porting.

Expand All @@ -74,6 +76,22 @@ is used; to enable the use of the external oscillator, manually specify the
hardware revision at build time (see :ref:`application_board_version` for
information on how to build for specific revisions of the board).

Applications that intend to use BLE must specify hardware revision at build time.

Currently only BLE is supported on this board, WiFi is not supported.

Fetch Binary Blobs
******************

The board Bluetooth/WiFi module requires fetching some binary blob files, to do
that run the command:

.. code-block:: console
west blobs fetch hal_infineon
.. note:: Only Bluetooth functionality is currently supported.

Resources sharing
=================

Expand Down

0 comments on commit 839fe0b

Please sign in to comment.