subsys: bt_rpc: Always enable dynamic callbacks for BT_RPC#14
Open
doki-nordic wants to merge 52 commits into
Open
subsys: bt_rpc: Always enable dynamic callbacks for BT_RPC#14doki-nordic wants to merge 52 commits into
doki-nordic wants to merge 52 commits into
Conversation
Regular upmerge. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
Use HAS_BT_CTLR instead of the deprecated BT_CTLR. Relates to zephyrproject-rtos/zephyr#94287 Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
In Zephyr the current USB driver used in CLI and coprocessor samples has been deprecated, and we need to switch to the new usbd one. Signed-off-by: Arkadiusz Balys <arkadiusz.balys@nordicsemi.no>
The state_execution() function signature changed. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
We need to provide some alignments to the Coprocessor sample after switching to the new USB stack. Signed-off-by: Arkadiusz Balys <arkadiusz.balys@nordicsemi.no>
CONFIG_DEBUG_INFO has been renamed to CONFIG_X86_DEBUG_INFO. It is an X86 specific option and should never have been used. Signed-off-by: Tommi Kangas <tommi.kangas@nordicsemi.no>
nrf52840dongle uses CDC ACM serial backend by default. Disable logging as is not used in the sample. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
Use CDC ACM serial backend from the new USB device support. There seems to be an issue with the sample that it does not always work and crashes somewhere between UART configuration and Bluetooth initialization. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
Use CDC ACM serial backend from the new USB device support. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
The clear_attrs() function signature changed. Signed-off-by: Juha Ylinen <juha.ylinen@nordicsemi.no>
In the hci_internal_msg_get() there is a call to sdc_hci_get() that second parameter is uint8_t pointer. The provided msg_type_out argument is an enum sdc_hci_msg_type_t pointer that must fit into the uint8_t. Durign build compiler generates an error about incompatible pointer types. The commit adds a cast to uint8_t to fix the compilation error. Note: the enum sdc_hci_msg_type_t is defined in SoftDevice Controller headers. It is SoftDevice responsibility to make sure the enum doesn't contain values that don't fit into uint8_t. Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
SMF run functions now returns SMF_EVENT_HANDLED or SMF_EVENT_PROPAGATE. Fix this for all occurances in memfault_lte_coredump.c Signed-off-by: Simen S. Røstad <simen.rostad@nordicsemi.no>
Removed use of deprecated NFCT_PINS_AS_GPIOS Kconfig option and added the NFCT pin configuration into devicetree instead. Signed-off-by: Tommi Kangas <tommi.kangas@nordicsemi.no>
Removed a few Kconfig options which were in comments, because those no longer exist and caused an error. Signed-off-by: Tommi Kangas <tommi.kangas@nordicsemi.no>
Removed commented out TinyCrypt related Kconfig options from conf files. The Kconfig options no longer exist and even if the options are in comments, those still cause an error. Signed-off-by: Tommi Kangas <tommi.kangas@nordicsemi.no>
There was a change in sdk-zephyr Bluetooth host implementation that combined main and sub CS mode steps. Not all combinations of main mode and sub mode are valid, so to make it harder to select incorrect parameters, the main mode and sub mode enums are combined into one. With that change names of some CS related enums were changed. The commit aligns sdk-nrf to use the new names. Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
The CONFIG_NFCT_PINS_AS_GPIOS Kconfig option no longer exists and the configuration is done through devicetree. The feature is enabled by default by the board, so there's no need to enable it. Signed-off-by: Tommi Kangas <tommi.kangas@nordicsemi.no>
Correct the return type for `.run` functions of SMF. Enable SETTINGS which is required for wifi_credentials support. Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
Manual handling of global power domains using gpd has been made redundant by power domain and pinctrl refactoring, and gpd has thus been removed. Remove gpd handling from mspi driver, as this is automatically done by pinctrl_apply_state() now. Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
The board overlay in bootloader/mcuboot for the nrf54h20dk/nrf54h20/cpuapp platform is required, but ignored as FILE_SUFFIX="merged_slot" matches the mcuboot_merged_slot.overlay in this sample instead. Copy the missing contents of the board overlay from bootloader/mcuboot to mcuboot_merged_slot.overlay Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
Adjust nrf54h20dk/nrf54h20/cpuapp overlay and conf to include required props from the overlay in bootloader/mcuboot. Specifically disabling power domains. Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
The global power domains require PM_DEVICE to be power managed. Enable PM_DEVICE, and unselect the default, optional, not required PM_DEVICE_RUNTIME_ASYNC feature. Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
Switched to the new USB stack. Signed-off-by: Arkadiusz Balys <arkadiusz.balys@nordicsemi.no>
Test configurations will added to quarantine due to RAM overflow. Signed-off-by: Katarzyna Giądła <katarzyna.giadla@nordicsemi.no>
Fixed a compilation warning from configure_power_pin_interrupt(). Signed-off-by: Tommi Kangas <tommi.kangas@nordicsemi.no>
Use CDC ACM serial backend from the new USB device support. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
Use CDC ACM serial backend from the new USB device support. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
Add CONFIG_DEPRECATION_TEST=y to sample configuration. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
Add Kconfig with sourcing main Kconfig file. Signed-off-by: Karol Lasończyk <karol.lasonczyk@nordicsemi.no>
The BT_LE_ADV_OPT_USE_NAME option was deprecated. There is no automatic add of a name to advertising params. It must be done manually by call to bt_le_ext_adv_set_data() in case of extended advertising. The commit changes the ISO test code that was still using the deprecated option. Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
By applying shields only to the main image Signed-off-by: Sergei Ovchinnikov <sergei.ovchinnikov@nordicsemi.no>
The nRF Desktop still uses USB legacy stack in some configurations. Disable deprecation warnings to workaround build failures in CI. Jira: NCSDK-35440 Signed-off-by: Marek Pieta <Marek.Pieta@nordicsemi.no>
The MCUboot serial recovery over USB CDC ACM still uses USB legacy stack. Disable deprecation warnings to workaround build failures in CI. Jira: NCSDK-35440 Signed-off-by: Marek Pieta <Marek.Pieta@nordicsemi.no>
As using the deprecated USB stack, must turn off deprecation warnings with CONFIG_DEPRECATION_TEST=y. Change to the endpoint structure. Signed-off-by: Graham Wacey <graham.wacey@nordicsemi.no>
Change suppresses build warnings related to deprecated APIs of USB legacy stack if USB next stack is chosen. Jira: NCSDK-35440 Signed-off-by: Marek Pieta <Marek.Pieta@nordicsemi.no>
Add CONFIG_DEPRECATION_TEST=y to sample configuration. Application uses deprecated code and needs to be ported to the new USB device stack. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
Add CONFIG_DEPRECATION_TEST=y to test configuration. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
sets MODE_SWAP_USING_MOVE as an default for NORDIC chips Signed-off-by: Mateusz Michalek <mateusz.michalek@nordicsemi.no>
TinyCrypt library is no longer supported by Zephyr. Jira: NCSDK-35445 Signed-off-by: Marek Pieta <Marek.Pieta@nordicsemi.no>
TinyCrypt library is no longer supported by Zephyr. Jira: NCSDK-35445 Signed-off-by: Marek Pieta <Marek.Pieta@nordicsemi.no>
Remove override for (now promptless) Kconfig. Remove the override to ROM_START_OFFSET, which is already changed if the partition manager is enabled. Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
The sample in Kconfig sets default ZMS to 'y', but ZMS also must select CRC. It is done in different place, but because how Kconfig works it must be also set here. Jira: NCSDK-35447 Jira: NCSDK-35446 Signed-off-by: Dominik Kilian <dominik.kilian@nordicsemi.no>
Add this missing dependency which is used in the Zephyr doc build. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
L2 variant is not needed in coprocessor sample. We can use there only the raw nrf-radio version. Signed-off-by: Arkadiusz Balys <arkadiusz.balys@nordicsemi.no>
On LLVM toolchain, the lack of cast produces an error of incompatible pointer types. Ref. NCSDK-35444 Signed-off-by: Michał Grochala <michal.grochala@nordicsemi.no>
PERIPHCONF generation based on devicetree is being added in a script in upstream zephyr. The new script script replaces nrf-regtool and the temporary "periphconf migration" solution. Ref: NCSDK-35206 Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
Temporarily remove Thingy53 support as it doesn't build after the USB stack change in Zephyr. TODO: migrate to the new USB stack. Signed-off-by: Michał Grochala <michal.grochala@nordicsemi.no>
The BT_RPC uses dynamic callbacks for serialization and it always requres it. This commit contains Kconfig changes that enables BT_CONN_DYNAMIC_CALLBACKS always when BT_RPC is enabled. Jira: NCSDK-35443 Signed-off-by: Dominik Kilian <dominik.kilian@nordicsemi.no>
Some test configurations report FLASH overflow. This change adds these for qurantine. Signed-off-by: Katarzyna Giądła <katarzyna.giadla@nordicsemi.no>
The separate main_mode_type and sub_mode_type fields in the CS configuration have been replaced by a single mode field. Updates the logging in the config_create_cb callback to reflect this change. This aligns the sample with the updated API. Signed-off-by: Aleksandr Mirlenko <aleksandr.mirlenko@nordicsemi.no>
Required by upstream Zephyr. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
The BT_RPC uses dynamic callbacks for serialization and it always requres it. This commit contains Kconfig changes that enables BT_CONN_DYNAMIC_CALLBACKS always when BT_RPC is enabled. Jira: NCSDK-35443 Signed-off-by: Dominik Kilian <dominik.kilian@nordicsemi.no>
184a98c to
e15928b
Compare
47d86a0 to
f9eb432
Compare
1473d01 to
ba02135
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The BT_RPC uses dynamic callbacks for serialization and it always requres it. This commit contains Kconfig changes that enables BT_CONN_DYNAMIC_CALLBACKS
always when BT_RPC is enabled.
Jira: NCSDK-35443