Bluetooth: Enable BLE support for Arduino Portenta H7

enable support by replicating giga config

Signed-off-by: Daniel D <drimyy@gmail.com>
This commit is contained in:
Daniel D 2024-09-04 12:05:15 +03:00 committed by Benjamin Cabé
parent 6737f6b283
commit b1212a9353
3 changed files with 52 additions and 0 deletions

View file

@ -17,3 +17,15 @@ source "boards/common/usb/Kconfig.cdc_acm_serial.defconfig"
endif # BOARD_ARDUINO_PORTENTA_H7_STM32H747XX_M7
endif # BOARD_ARDUINO_PORTENTA_H7
if BT
choice AIROC_PART
default CYW4343W
endchoice
choice CYW4343W_MODULE
default CYW4343W_MURATA_1DX
endchoice
endif # BT

View file

@ -19,6 +19,7 @@
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_partition;
zephyr,bt-hci = &bt_hci_uart;
};
oscen: oscen {
@ -131,3 +132,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>;
};
};
};

View file

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