Skip to content

Commit

Permalink
samples: update ble and ipc configuration
Browse files Browse the repository at this point in the history
Symbsld changed in nrf upmerge
nrfconnect/sdk-nrf#19720

Signed-off-by: Krzysztof Taborowski <[email protected]>
  • Loading branch information
ktaborowski committed Jan 20, 2025
1 parent 9409bef commit 94ceea9
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

#include <zephyr/dt-bindings/ipc_service/static_vrings.h>

&ipc0 {
zephyr,priority = <0 PRIO_COOP>;
};

sid_semtech: &spi4 {
compatible = "nordic,nrf-spim";
status = "okay";
Expand Down
6 changes: 0 additions & 6 deletions samples/sid_end_device/boards/thingy53_nrf5340_cpuapp.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

#include <zephyr/dt-bindings/ipc_service/static_vrings.h>

&ipc0 {
zephyr,priority = <0 PRIO_COOP>;
};

&i2c1 {
status = "okay";

Expand Down
2 changes: 1 addition & 1 deletion subsys/sal/sid_pal/src/sid_ble_advert.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ LOG_MODULE_REGISTER(sid_ble_advert, CONFIG_SIDEWALK_BLE_ADAPTER_LOG_LEVEL);

#define MS_TO_INTERVAL_VAL(ms) (uint16_t)((ms) / 0.625f)

#define AMA_ADV_OPTIONS (BT_LE_ADV_OPT_CONNECTABLE | BT_LE_ADV_OPT_ONE_TIME)
#define AMA_ADV_OPTIONS (BT_LE_ADV_OPT_CONN)

#if 10240 < (CONFIG_SIDEWALK_BLE_ADV_INT_FAST + CONFIG_SIDEWALK_BLE_ADV_INT_PRECISION)
#error "Invalid value for CONFIG_SIDEWALK_BLE_ADV_INT_FAST or CONFIG_SIDEWALK_BLE_ADV_INT_PRECISION, sum of those values have to be smaller than 10240"
Expand Down
2 changes: 1 addition & 1 deletion utils/sidewalk_dfu/nordic_dfu.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ static struct k_work exit_dfu = Z_WORK_INITIALIZER(deinit_nordic_dfu);
static struct bt_le_adv_param adv_params = { .id = BT_ID_DEFAULT,
.sid = 0,
.secondary_max_skip = 0,
.options = BT_LE_ADV_OPT_CONNECTABLE,
.options = BT_LE_ADV_OPT_CONN,
.interval_min = BT_GAP_ADV_SLOW_INT_MIN,
.interval_max = BT_GAP_ADV_SLOW_INT_MAX,
.peer = NULL };
Expand Down

0 comments on commit 94ceea9

Please sign in to comment.