Skip to content

Commit 50767ae

Browse files
hubertmiscarlescufi
authored andcommitted
west: hal_nordic: Use RPMsg Service for 802.15.4 serialization
This patch updates hal_nordic module revision to start using RPMsg Service for serialization of 802.15.4. The serialization module is implemented in the hal_nordic module. Signed-off-by: Hubert Miś <[email protected]>
1 parent 6f273fd commit 50767ae

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

modules/hal_nordic/Kconfig

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2016 Nordic Semiconductor ASA
1+
# Copyright (c) 2016-2021 Nordic Semiconductor ASA
22
# SPDX-License-Identifier: Apache-2.0
33

44
config ZEPHYR_HAL_NORDIC_MODULE
@@ -107,13 +107,7 @@ config NRF_802154_SER_HOST
107107
bool "nRF IEEE 802.15.4 Driver serialization host"
108108
depends on !NRF_802154_RADIO_DRIVER
109109
depends on !HAS_HW_NRF_RADIO_IEEE802154
110-
select IPM
111-
select IPM_NRFX
112-
select IPM_MSG_CH_0_ENABLE
113-
select IPM_MSG_CH_1_ENABLE
114-
select IPM_MSG_CH_0_TX
115-
select IPM_MSG_CH_1_RX
116-
select OPENAMP
110+
select RPMSG_SERVICE
117111
select IEEE802154_NRF5_EXT_IRQ_MGMT if IEEE802154_NRF5
118112
help
119113
Enable serialization of nRF IEEE 802.15.4 Driver. This option is to be
@@ -124,13 +118,7 @@ menuconfig NRF_802154_SER_RADIO
124118
bool "nRF IEEE 802.15.4 Driver serialization radio"
125119
depends on HAS_HW_NRF_RADIO_IEEE802154
126120
depends on !IEEE802154_NRF5
127-
select IPM
128-
select IPM_NRFX
129-
select IPM_MSG_CH_0_ENABLE
130-
select IPM_MSG_CH_1_ENABLE
131-
select IPM_MSG_CH_0_RX
132-
select IPM_MSG_CH_1_TX
133-
select OPENAMP
121+
select RPMSG_SERVICE
134122
select NRF_802154_RADIO_DRIVER
135123
help
136124
Enable serialization of nRF IEEE 802.15.4 Driver. This option is to be
@@ -146,6 +134,10 @@ config NRF_802154_SER_RADIO_INIT_PRIO
146134
Set the initialization priority number. Do not mess with it unless
147135
you know what you are doing.
148136

137+
choice RPMSG_SERVICE_MODE
138+
default RPMSG_SERVICE_MODE_REMOTE
139+
endchoice
140+
149141
endif
150142

151143
menu "nRF 802.15.4 serialization"
@@ -181,6 +173,10 @@ config NRF_802154_RX_BUFFERS
181173
Number of buffers in nRF 802.15.4 driver serialization host's receive queue.
182174
If this value is modified, its remote counterpart must be set to the exact same value.
183175

176+
choice RPMSG_SERVICE_MODE
177+
default RPMSG_SERVICE_MODE_MASTER
178+
endchoice
179+
184180
endif
185181

186182
endmenu # NRF_802154_SER_HOST || NRF_802154_SER_RADIO

west.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ manifest:
5757
revision: f1fa8241f8786198ba41155413243de36ed878a5
5858
path: modules/hal/infineon
5959
- name: hal_nordic
60-
revision: f163c53b88c33070cb28150ba20200e4aa5fdc49
60+
revision: 74e4ab0185a9a53d03bf382d4bfe5ec81e05b5e4
6161
path: modules/hal/nordic
6262
- name: hal_openisa
6363
revision: 40d049f69c50b58ea20473bee14cf93f518bf262

0 commit comments

Comments
 (0)