Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sample: set STATIC_INIT_GNU for the sidewalk sample #616

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions samples/sid_end_device/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
CONFIG_STATIC_INIT_GNU=y

# Sidewalk
CONFIG_SIDEWALK=y
Expand Down
1 change: 1 addition & 0 deletions samples/sid_end_device/prj_release.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
CONFIG_STATIC_INIT_GNU=y

# Sidewalk
CONFIG_SIDEWALK=y
Expand Down
2 changes: 0 additions & 2 deletions tests/unit_tests/pal_crypto/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ FAKE_VALUE_FUNC(psa_status_t, psa_mac_sign_setup, psa_mac_operation_t *, mbedtls
FAKE_VALUE_FUNC(psa_status_t, psa_mac_update, psa_mac_operation_t *, const uint8_t *, size_t);
FAKE_VALUE_FUNC(psa_status_t, psa_mac_sign_finish, psa_mac_operation_t *, uint8_t *, size_t,
size_t *);
FAKE_VALUE_FUNC(psa_status_t, psa_set_key_domain_parameters, psa_key_attributes_t *, psa_key_type_t,
const uint8_t *, size_t);
FAKE_VALUE_FUNC(psa_status_t, psa_mac_compute, mbedtls_svc_key_id_t, psa_algorithm_t,
const uint8_t *, size_t, uint8_t *, size_t, size_t *);
FAKE_VALUE_FUNC(psa_status_t, psa_cipher_encrypt_setup, psa_cipher_operation_t *,
Expand Down
4 changes: 3 additions & 1 deletion tests/unit_tests/sid_dut_shell/mock/shell_mock.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@

DEFINE_FFF_GLOBALS;

FAKE_VOID_FUNC_VARARG(shell_fprintf_impl, const struct shell *, enum shell_vt100_color,
FAKE_VOID_FUNC_VARARG(shell_fprintf_info, const struct shell *,
const char *, ...);
FAKE_VOID_FUNC_VARARG(shell_fprintf_error, const struct shell *,
const char *, ...);
1 change: 0 additions & 1 deletion tests/unit_tests/state_notifier/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

#include <ztest_assert.h>
#include <string.h>
#include <stdbool.h>
#include <stdint.h>
Expand Down
1 change: 0 additions & 1 deletion utils/include/state_notifier/state_notifier.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <stdint.h>
#include <stdbool.h>
#include <state_notifier/application_states.h>
#include <autoconf.h> /* for kconfig options */

#define APPLICATION_STATE_ENUM(name) APPLICATION_STATE_##name

Expand Down
Loading