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

CI purposes only. Not for review. Upmerge 01 03 2024 plus tfm fix #14414

Conversation

SebastianBoe
Copy link
Contributor

No description provided.

rlubos and others added 30 commits March 6, 2024 13:40
Pull upmerged sdk-zephyr and sdk-mcuboot repositories.
Pull sdk-nrfxlib fixes.

Signed-off-by: Robert Lubos <[email protected]>
And use CMake's math expression instead.

Signed-off-by: Robert Lubos <[email protected]>
Add forward declaration of strnstr function.

Signed-off-by: Robert Lubos <[email protected]>
Align with bt_iso_chan_send() API change, which now does not take
timestamp parameter.

Signed-off-by: Robert Lubos <[email protected]>
"posix_subsys" library no longer exists in Zephyr. Manual linking
however does not seem to be needed after all (those ext libraries build
just fine w/o it), so remove the reference to posix_subsys.

Signed-off-by: Robert Lubos <[email protected]>
NRF_STORE_REBOOT_TYPE_GPREGRET option has been removed from Zephyr after
two-release deprecation period. This was too short however for Zigbee to
get rid of the option use.

This commit removes the option usage by Zigbee. The retention register
is now set unconditionally for all platfroms by Zigbee, not only for
nRF5340.

This needs verification from the ZB team. And eventually should likely
be replaced by the Boot Mode API use, as the migration guide suggests.

Signed-off-by: Robert Lubos <[email protected]>
Building the sample gives the following warning:

  warning: 'strncat' specified bound 1 equals source length

As the actual source length is equal to the provided maximum length,
using strncat() is redundant, could just use strcat().

Signed-off-by: Robert Lubos <[email protected]>
ztest_run_all() API has changed, align the NCS codebase.

Signed-off-by: Robert Lubos <[email protected]>
zperf result->client_time_in_us is not 64-bit, hence update the format
when printing.

BT_UUID_DECLARE_128() return value is now const.

Signed-off-by: Robert Lubos <[email protected]>
By using Zephyr's POSIX signal implementation.

Signed-off-by: Robert Lubos <[email protected]>
BT_ATT_ENFORCE_FLOW Kconfig option was removed from Zephyr.

Signed-off-by: Robert Lubos <[email protected]>
Align with the API changes in upstream audio subsystem.

Signed-off-by: Robert Lubos <[email protected]>
CMSIS_DSP now has finer-grade Kconfig granulation, therefore need to
select CMSIS_DSP_FASTMATH as well.

Signed-off-by: Robert Lubos <[email protected]>
CMSIS_DSP now has finer-grade Kconfig granulation, therefore need to
select CMSIS_DSP_FILTERING as well.

Signed-off-by: Robert Lubos <[email protected]>
Do not use BSD socket API names in the samples as they depend
on various Posix config options that we do not really need here.

Signed-off-by: Jukka Rissanen <[email protected]>
Do not use BSD socket API names in the samples as they depend
on various Posix config options that we do not really need here.

Signed-off-by: Jukka Rissanen <[email protected]>
Do not use BSD socket API names in the samples as they depend
on various Posix config options that we do not really need here.

Signed-off-by: Jukka Rissanen <[email protected]>
If user enables CONFIG_NRF700X_PROMISC_DATA_RX, then the
Zephyr CONFIG_NET_PROMISCUOUS_MODE needs to be enabled too
in order to avoid linking failure.

Signed-off-by: Jukka Rissanen <[email protected]>
The nrf7002ek and nrf7002ek_nrf7001 shields had memory overflow
of 532 bytes so adjust net RX and TX stack sizes so that the
station sample is able to run.

Signed-off-by: Jukka Rissanen <[email protected]>
Do not use BSD socket API names in the samples as they depend
on various Posix config options that we do not really need here.

Signed-off-by: Jukka Rissanen <[email protected]>
Using memcpy to copy strings which are shorter than the requested copy
length gives compiler warnings about exceeding array bounds, for
instance:

  error: 'memcpy' forming offset 19 is out of the bounds [0, 19]

Therefore, use strncpy() instead.

Signed-off-by: Robert Lubos <[email protected]>
ANT redefines _CONCAT_2 macro, hence quarantine all samples until
fixed.

Signed-off-by: Robert Lubos <[email protected]>
New sample/test build variants for already known issues were added to
Zephyr, therefore extend the quarantine with those.

Signed-off-by: Robert Lubos <[email protected]>
Add initialization stub for LwM2M_***_INIT() macros to
work.

Remove CONFIG_LWM2M_FIRMWARE_UPDATE_OBJ_SUPPORT=y as it
is already directly included in CMakeListst.txt

Signed-off-by: Seppo Takalo <[email protected]>
Implicit promotion from float to double type now results in a
compilation warning, treated by CI as an error, hence use
explicit type cast wherever applicable.

Signed-off-by: Robert Lubos <[email protected]>
Without CONFIG_FILE_SYSTEM=y, there is this linking error

fopen.c:(.text.fopen+0x1e): undefined reference to `open'

Signed-off-by: Jukka Rissanen <[email protected]>
Use the system default (picolibc) instead of forcing newlibc.

Signed-off-by: Jukka Rissanen <[email protected]>
Do not set newlib as a default but use the system default which
is picolibc atm.

Signed-off-by: Jukka Rissanen <[email protected]>
Upstream sets some additional pages for google search which we do not
want.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
For some strange configurations it has been observed that the sources
in TF-M's platform_crypto_keys library use TF-M headers instead of
Oberon headers as they should.

It's also observed that they are missing the include path to
tfm_sp_log.h.

Link this library with the two CMake libraries that provide the
correct include directories.

Signed-off-by: Sebastian Bøe <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ble mesh Label for ble mesh PRbot. Add this if PR is related to ble mesh and you need to get review. changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. DNM doc-required PR must not be merged without tech writer approval. manifest manifest-hostap manifest-mcuboot manifest-nrfxlib manifest-zephyr
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants