Skip to content

[nrf fromtree] modules: hal_nordic: Added explicit enum values #2529

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

Open
wants to merge 2,337 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2337 commits
Select commit Hold shift + click to select a range
c222336
[nrf noup] tests: drivers: build_all: regulator: use old schema
gmarull Jun 1, 2023
ace3379
[nrf noup] Revert "twister: Use natural sort when generating hardware…
rlubos Jun 19, 2023
d9af209
[nrf noup] doc: remove Kconfig search
gmarull Mar 3, 2022
1d83955
[nrf noup] modules: tf-m: use of PSA_HAS_XXXX_SUPPORT
frkv Jan 13, 2022
703e828
[nrf noup] modules: mbedtls: Allow MBEDTLS_BUILTIN to be deselected
SebastianBoe Jan 29, 2022
f98ad62
[nrf noup] modules: mbedtls: Add include folders
Vge0rge Feb 12, 2024
f1f6bc0
[nrf noup] Bluetooth: update experimental for qualification
joerchan Nov 20, 2020
5afdd32
[nrf noup] drivers/flashdisk: Add support for Partition Manager
de-nordic Jul 13, 2023
c095144
[nrf noup] mcumgr: img_mgmt: Fix check for chosen code partition
MarekPieta May 5, 2023
42168a2
[nrf noup] mgmt/mcumgr: Bootutil hooks to handle image-1
de-nordic Jun 23, 2022
d7c8b1a
[nrf noup] mgmt/MCUmgr/grp/img: Move out label to make compiler happy
de-nordic Sep 28, 2023
e3b083e
[nrf noup] samples: bluetooth: hci_pow_ctrl: Migrate child image config
nordicjm Oct 16, 2023
5fffb08
[nrf noup] samples: mgmt: mcumgr smp_svr: Migrate child image config
nordicjm Oct 16, 2023
7c789f5
[nrf noup] samples&tests: Restore a few CONFIG_NEWLIB_LIBC_NANO=n
anangl Dec 1, 2022
3191308
[nrf noup] samples/tests: Disable PM for some sysbuild builds
nordicjm Dec 15, 2023
0935cf2
[nrf noup] modules: tfm: Add Kconfig for CRYPTO_PAKE_MODULE_ENABLED
mswarowsky Feb 29, 2024
584c022
[nrf noup] Bluetooth: Mesh: zero randomization for friend's adv
alxelax Feb 7, 2023
f1cb6df
[nrf noup] Bluetooth: Mesh: Fix adv randomness bug
Andrewpini Mar 8, 2023
deb2aa8
[nrf noup] dfu/boot/mcuboot: fix confirmation in case of USE_PARTITIO…
nvlsianpu Mar 28, 2024
7349c61
[nrf noup] modules: mbedtls: Use help for DISABLE_MBEDTLS_BUILTIN info
hellesvik-nordic Mar 26, 2024
5336bb3
[nrf noup] sample/**/smp_svr: nrf54l15pdk external memory dts overlay
nvlsianpu Apr 10, 2024
6692263
[nrf noup] ci: NCS-specific CI tweaks
carlescufi Nov 30, 2018
a4bd5a4
[nrf noup] test: schedule_api: Use Minimal C library
de-nordic Sep 27, 2023
360d107
[nrf noup] net: mqtt: Provide option to enable TLS session caching
jtguggedal May 18, 2020
02eb16b
[nrf noup] net: mqtt: add native TLS support
MirkoCovizzi Mar 10, 2022
4c864a3
[nrf noup] soc: arm: nRF53: Add SPU Flash/RAM alignment
mswarowsky Dec 4, 2023
17b5fab
[nrf noup] soc: arm: nRF91: Add SPU Flash/RAM alignment
mswarowsky Dec 4, 2023
d3f5407
[nrf noup] boards: thingy53_nrf5340: Add common partition map
MarekPieta Nov 14, 2022
71ba9b7
[nrf noup] boards: arm: thingy53: Disable USB CDC added by MCUBoot
mkapala-nordic Feb 2, 2023
6a76af1
[nrf noup] boards: thingy53_nrf5340: Enable MCUboot by default
MarekPieta Nov 28, 2022
bbb5ec0
[nrf noup] boards: arm: nrf9131ek: enable tfm
maxd-nordic Nov 15, 2023
7716480
[nrf noup] samples: smp_svr: configuration for nrf54l15
michalek-no Mar 20, 2024
cb87e13
[nrf noup] samples/**/smp_svr: testcase of nrf54l15pdk with ext-flash
nvlsianpu Apr 12, 2024
0aec2f2
[nrf noup] samples: psa_crypto: Remove support for Nordic boards
mswarowsky Apr 19, 2024
332dd9e
[nrf noup] samples/smp_svr: nrf54l15pdk ext-flash partition
nvlsianpu Apr 15, 2024
b309d29
[nrf noup] samples/**/smp_svr: testcase of nrf54l15pdk with ext-flash DT
nvlsianpu Apr 29, 2024
cdc76c1
[nrf noup] boards: nordic: thingy53: Add sysbuild Kconfig file
nordicjm May 9, 2024
95f5086
[nrf noup] scripts: west: build: Use sysbuild by default if in NCS dir
nordicjm May 14, 2024
142532e
[nrf noup] board: nordic: thingy53: Enable default images for sysbuild
nordicjm May 17, 2024
dd9226b
[nrf noup] samples/**/smp_svr: fix SB_CONFIG_PARTITION_MANAGER injection
nvlsianpu May 21, 2024
bdfeb85
[nrf noup] include: net: add NCS extensions
rlubos Oct 1, 2018
a276b18
[nrf noup] tree-wide: support NCS Partition Manager (PM) definitions
sigvartmh May 3, 2019
04625c4
[nrf noup] kernel: Disable boot banner if NCS_BOOT_BANNER is enabled
rlubos May 17, 2024
8e48387
[nrf noup] Bluetooth: Mesh: remove legacy adv support
HaavardRei May 31, 2024
ea97683
[nrf noup] board: nordic: thingy53: Default to update only MCUboot type
nordicjm Jun 5, 2024
7394753
[nrf noup] samples/../smp_svr: fix nrf54l15pdk ext flash dts overlay
nvlsianpu Jun 5, 2024
305c824
[nrf noup] samples: sysbuild: hello_world: support PM on nRF53
gmarull Jun 12, 2024
d2c110b
[nrf noup] settings: nvs: use dedicated lookup cache hash function
Damian-Nordic Sep 25, 2023
ac886cc
[nrf noup] entropy: Add fake entropy nRF PRNG driver
KAGA164 Apr 9, 2024
e0e29a2
[nrf noup] soc: nordic: nrf54l: Skip clock configuration from ns
SebastianBoe May 24, 2024
4eb8d62
[nrf noup] ci: Enable action-manifest-pr
rugeGerritsen Jul 8, 2024
417d970
[nrf noup] drivers: flash: kconfig: nrf_rram region resolution
michalek-no Jun 17, 2024
2f5004a
[nrf noup] dts: Add Bluetooth Controller to nRF54H20
rugeGerritsen Jul 16, 2024
fa30d05
[nrf noup] bluetooth: att: Allow ATT sent callback after data TX is done
MarekPieta Jun 14, 2024
f67a41a
[nrf noup] board: nordic_ thingy53: Enable QSPI by default
hellesvik-nordic Aug 23, 2024
d881337
[nrf noup] mgmt: mcumgr: grp: img_mgmt: Add handling for QSPI XIP
nordicjm Sep 9, 2024
7c8fdc2
[nrf noup] boards/nordic/nrf54l15dk: Set ROM offset by PM
nvlsianpu Sep 16, 2024
80086fe
[nrf noup] samples: basic: blinky: add eGPIO tests configuration
jaz1-nordic Sep 26, 2024
fe0996c
[nrf noup] modules: mbedtls: Disable configurations in Kconfig.tls-ge…
frkv Sep 11, 2024
34b1821
[nrf noup] mbedtls: Enable PSA_WANT_GENERATE_RANDOM for PSA RNG
frkv Sep 9, 2024
df649bb
[nrf noup] mbedtls: Remove unsupported algorithms in PSA crypto
frkv Aug 21, 2024
843a837
[nrf noup] mbedtls: Add dependency logic for PSA crypto configurations
frkv Aug 21, 2024
fc809ce
[nrf noup] mbedtls: Adding helptext warnings for weak crypto
frkv Aug 21, 2024
a720708
[nrf noup] mbedtls: Adding missing configuration for RSA key type derive
frkv Aug 21, 2024
d368caa
[nrf noup] mbedtls: Don't select PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC
frkv Sep 5, 2024
084ca19
[nrf noup] kernel: banner: Make function weak
nordicjm May 7, 2024
f01b6fa
[nrf noup] lib: os: zvfs: Remove EXPERIMENTAL from ZVFS
bjarki-andreasen Sep 20, 2024
4fbfe16
[nrf noup] samples: lwm2m_client: Add support for nRF91x
juhaylinen Jan 19, 2024
c2f1a49
[nrf noup] samples: net: Enable Wi-Fi driver in sysbuild builds
rlubos Oct 7, 2024
ac836a6
[nrf noup] mbedtls: Don't enable auto-generation of Mbed TLS files
frkv Sep 25, 2024
494fae6
[nrf noup] net: tests: Add legacy crypto API support for big_http_dow…
frkv Sep 25, 2024
c34c299
[nrf noup] net: tests: crypto: Adding legacy Crypto support ipv6 tests
frkv Sep 25, 2024
38d709d
[nrf noup] samples: net: wifi: Changes for EAP-TLS support
rado17 Oct 8, 2024
78f1815
[nrf noup] samples: net: wifi: Update certificates
krish2718 Oct 22, 2024
14d166f
[nrf noup] settings: zms: use dedicated lookup cache hash function
rghaddab Oct 11, 2024
6cb845e
[nrf noup] bluetooth: conn: Allow for an extra ref in bt_l2cap_send_pdu
MarekPieta Jun 14, 2024
96143b5
[nrf noup] bluetooth: conn: Skip buffer ref count check in send_buf
MarekPieta Aug 7, 2024
b381f56
[nrf noup] moduled: hal_nordic: require nrf-regtool
gmarull Oct 30, 2024
2ada43b
[nrf noup] sample/smp_svr: nrf54l15dk test cases
nvlsianpu Oct 23, 2024
7699be6
[nrf noup] mcuboot: Add CONFIG_MCUBOOT_BOOTLOADER_USES_SHA512
de-nordic Nov 12, 2024
a704a3e
[nrf noup] mgmt/mcumgr: Add support for SHA512 in images
de-nordic Nov 12, 2024
b381230
[nrf noup] samples/smp_svr: Increase stack size required
de-nordic Nov 12, 2024
3823e92
[nrf noup] ci: fix suit-dfu-test entries in test-spec
kszromek-nordic Nov 12, 2024
dc526a6
[nrf noup] modules: hal_nordic: adjust nrfx reservations to NCS
e-rk Oct 22, 2024
0fa77a1
[nrf noup] tests: bluetooth: tester: sysbuild configurable 53/54H
AyturkDuzen Nov 20, 2024
f6f66c8
[nrf noup] Bluetooth: Mesh: Disable processing of ext ADV packets
Balaklaka May 21, 2024
c9b6b6a
[nrf noup] boards: Add non-secure target for nrf54L15dk
tomi-font Sep 27, 2024
1540104
[nrf noup] dts: choose a crypto accelerator for entropy
joerchan Jan 16, 2023
1fb03f1
[nrf noup] dts: Select SoftDevice Controller DTS binding as default
rugeGerritsen Sep 5, 2024
4c3af28
[nrf fromlist] nrfwifi: Display EAP_TLS_SHA256 security in scan results
rado17 Nov 20, 2024
68e3285
[nrf noup] drivers: flash: Allow reading secure mem by nrf_rram.
ArekBalysNordic Sep 19, 2024
2742170
[nrf fromlist] drivers: pinctrl: nrf: Add support for clock outputs
adamkondraciuk Dec 10, 2024
17dbed7
[nrf fromlist] dts: nordic: Add support for clock outputs
adamkondraciuk Dec 10, 2024
987a7ad
[nrf fromlist] drivers: timer: nrf_grtc: Add support for clock outputs
adamkondraciuk Dec 10, 2024
f1de584
[nrf fromtree] tests: arch: arm: arm_irq_vector_table: Fix for nRF54H20
adamkondraciuk Nov 28, 2024
7806677
[nrf fromlist] soc: nordic: nrf54h20: disallow using LR in s2ram mark…
adamkondraciuk Nov 22, 2024
b978fbb
[nrf noup] drivers: hwinfo: Support for reset reasons in nRF54H20
kl-cruz Nov 22, 2024
7170348
[nrf noup] soc: nrf54l: Add custom section for KMU
Vge0rge Jun 21, 2024
840fc45
[nrf noup] soc: nordic: nrf54l: Port Soc.c to be compatible with TFM
SebastianBoe May 24, 2024
482ff99
[nrf noup] soc: nordic: nrf54l Fix for wait lasting half expected time
degjorva Dec 12, 2024
4052050
[nrf noup] samples: bluetooth: update autoconf.h header path
frkv Sep 5, 2024
9140a90
[nrf fromlist] drivers: mspi: Add driver for DesignWare SSI based con…
anangl Oct 17, 2024
d869c39
[nrf fromlist] drivers: flash: Add generic NOR flash driver for MSPI …
anangl Oct 17, 2024
bb3a457
[nrf noup] drivers: pinctrl_nrf: Add support for EXMIF pins
anangl Oct 17, 2024
bd74349
[nrf fromlist] boards: nrf54h20dk: Add XIP region definition to memor…
anangl Dec 3, 2024
664042f
[nrf fromlist] samples: code_relocation_nocopy: Add configuration for…
anangl Dec 3, 2024
13b4fd9
[nrf noup] cmake: use -DUSE_PARTITION_MANAGER=1 for lld linker script…
tejlmand Dec 10, 2024
3b45cae
[nrf fromlist] dts: nordic: Change compatible property for EXMIF node
anangl Oct 17, 2024
87a4e34
[nrf fromlist] samples|tests: drivers: flash: Add support for "jedec,…
anangl Oct 18, 2024
48b0ca5
[nrf noup] drivers: spi_dw: Bring back custom EXMIF peripheral handling
anangl Dec 17, 2024
c5e2400
[nrf fromtree] boards: native: nrf_bsim: nrf54l15: Bring back clocks
nordic-krch Dec 12, 2024
02bf655
[nrf fromtree] Revert "dts: common: nordic: nrf54l20: set timer frequ…
anangl Dec 30, 2024
a8ec7ba
[nrf fromtree] tests: drivers: mspi: make MSPI API test more generic
jaz1-nordic Nov 27, 2024
1697074
[nrf noup] drivers: pinctrl: Add SDP MSPI pin configuration
jaz1-nordic Nov 25, 2024
9735cb5
[nrf noup] tests: drivers: mspi: api: Add nRF54L15 overlay file
jaz1-nordic Nov 25, 2024
dd94be7
[nrf fromtree] include: drivers: nrf_clock_control: make nrf_clock in…
nika-nordic Dec 17, 2024
4b42522
[nrf fromtree] drivers: pwm: nrfx: add global hsfll request for fast PWM
mstasiaknordic Dec 12, 2024
7389791
[nrf fromtree] tests: kernel: Fix for nRF54H20
adamkondraciuk Dec 17, 2024
8c049a4
[nrf fromtree] net: openthread: radio: Fix platform radio state machine
maciejbaczmanski Jan 7, 2025
9050bb8
[nrf fromtree] net: openthread: radio: Add setting channel in diag mode
maciejbaczmanski Jan 7, 2025
2f06c46
[nrf fromtree] net: openthread: cleanup diag commands
maciejbaczmanski Jan 10, 2025
5a8df7b
[nrf fromtree] samples: boards: nordic: coresight_stm: Fix nrfutil tr…
nordic-segl Jan 13, 2025
25e0488
[nrf fromtree] drivers: watchdog: nrfx: add synchronization after stop
mstasiaknordic Jan 10, 2025
e946812
[nrf fromtree] arch: riscv: option to init custom hw stacked esf memb…
lstnl Jan 16, 2025
5894109
[nrf fromtree] tests: boards: nrf: hwinfo: Add test for reset cause o…
nordic-segl Dec 18, 2024
7d852b5
[nrf fromtree] boards: nordic: nrf5340dk/nrf9160dk: Use sysbuild for …
nordicjm Dec 12, 2024
228b6bb
[nrf noup] samples/tests: Add TF-M sysbuild config files
nordicjm Dec 12, 2024
ef59c30
[nrf noup] cmake: linker: ld: target: Remove child/parent image flag
nordicjm Dec 12, 2024
9a9a950
[nrf fromtree] drv: nordic_vpr_launcher: manage data cache
hubertmis Jan 16, 2025
fa1f1bb
[nrf fromtree] dts: common: nordic: nrf54h20: Fix flpr bus-width
karstenkoenig Jan 14, 2025
d3f8dcd
[nrf fromtree] manifest: Update nRF hw models to latest
aescolar Jan 14, 2025
c9a1028
[nrf fromtree] manifest: Update nRF hw models to enable cracen HAL
aescolar Jan 14, 2025
0f8c4b8
[nrf fromtree] manifest: Update nRF hw models to latest enabling crac…
aescolar Jan 22, 2025
1338b0b
[nrf fromtree] modules: hal_nordic: use CLOCK_CONTROL_NRF2 for HFCLK …
piotrkoziar Nov 26, 2024
03bcd08
[nrf fromtree] modules: hal_nordic: enable CLOCK_CONTROL if nrf-80215…
piotrkoziar Jan 21, 2025
1f578fb
[nrf fromtree] net: Added configuring child timeouts on openthread start
kkasperczyk-no Jan 22, 2025
d7eaf7a
[nrf fromtree] openthread: fix logging configuration
maciejbaczmanski Jan 24, 2025
e693f31
[nrf fromtree] net: openthread: fix `otPlatBleEnable`
maciejbaczmanski Jan 27, 2025
04fa486
[nrf fromtree] ipc: ipc_service: Null terminate RPMsg endpoint names
weeTike Jan 19, 2025
d1c67fb
[nrf fromtree] drivers: udc_dwc2: Set bit 17 if needed on Hibernation…
tmon-nordic Nov 15, 2024
b2c6f9a
[nrf fromtree] drivers: udc_dwc2: Workaround hibernation exit glitch
tmon-nordic Nov 15, 2024
2dab399
[nrf fromtree] tests: susbys: Implement performance test for the NRFS
nordic-bami Feb 4, 2025
d194120
[nrf fromtree] drivers: udc_dwc2: Fix large control write transfers
tmon-nordic Jan 13, 2025
aef6b7b
[nrf fromtree] drivers: udc_dwc2: Recover after STALLed OUT Data Stage
tmon-nordic Jan 14, 2025
6bef4f3
[nrf fromtree] drivers: udc_dwc2: Fix multipart DMA OUT transfers
tmon-nordic Jan 15, 2025
1d98f4a
[nrf fromtree] drivers: udc_dwc2: Add helpers to check operating mode
tmon-nordic Feb 4, 2025
e1fe97d
[nrf fromtree] drivers: udc_dwc2: Allocate multiple of bMaxPacketSize0
tmon-nordic Feb 4, 2025
3431c52
[nrf fromtree] drivers: udc_dwc2: Stop OUT transfers on ZLP
tmon-nordic Feb 4, 2025
98c604d
[nrf fromtree] drivers: udc_dwc2: Rework control endpoint feeding
tmon-nordic Jan 21, 2025
f26d920
[nrf fromtree] modules: hal_norfic: rise 802.15.4 NET core init priority
ppryga-nordic Feb 10, 2025
ab94079
[nrf fromtree] tests: boards: nordic: add nrf comp tests.
nordic-babu Dec 18, 2024
c51eec1
[nrf fromtree] tests: subsys: logging: Test with CONFIG_LOG disabled
nordic-segl Feb 7, 2025
fbdb4be
[nrf fromtree] dts: common: nordic: Add clock source to timers
nordic-krch Dec 12, 2024
32c44f2
[nrf fromtree] manifest: update hal_nordic
gmarull Jan 8, 2025
f901bd4
[nrf fromtree] tests: drivers: uart: mix_fifo_poll: Fix for nrf54h20d…
nordic-krch Jan 15, 2025
fe18e3c
[nrf fromtree] Bluetooth: make MBEDTLS_AES_ROM_TABLES implied not sel…
valeriosetti Jan 13, 2025
01bf89f
[nrf fromtree] Bluetooth: crypto: add select PSA_WANT_ALG_ECB_NO_PADDING
valeriosetti Jan 14, 2025
d04e975
[nrf fromtree] Bluetooth: Host: imply MBEDTLS_PSA_P256M_DRIVER_ENABLE…
valeriosetti Jan 14, 2025
77d8fa5
[nrf fromtree] tests: kernel: Increase MAX_THREAD_BYTES to 6
Vge0rge Jan 14, 2025
3112522
[nrf fromtree] mgmt: mcumgr: grp: os_mgmt: Fix compilation warning
anangl Jan 16, 2025
cf375a2
[nrf fromtree] Revert "arch: deprecate `_current`"
Jan 7, 2025
d461596
[nrf fromtree] kernel: move current thread pointer management to core…
Jan 7, 2025
c33c111
[nrf fromtree] kernel: mark z_smp_current_get() with the const attribute
Jan 8, 2025
94ab74e
[nrf fromtree] tests: twister: add supported toolchains for unit tests
nashif Jan 10, 2025
1555e8e
[nrf fromtree] tests: drivers: uart: uart_mix_fifo_poll: Move counter…
nordic-krch Jan 20, 2025
732ad00
[nrf fromtree] tests: drivers: uart: uart_mix_fifo_poll: Enable devic…
nordic-krch Jan 20, 2025
5fcec13
[nrf fromtree] modules: hostap: Fix AP and no MBO build
krish2718 Jan 13, 2025
02b4d6a
[nrf fromtree] modules: hostap: Fix advanced features disable
krish2718 Jan 13, 2025
67fd3ed
[nrf fromtree] tests: wifi: configs: Add a test for disable of advanc…
krish2718 Jan 13, 2025
657cfd8
[nrf fromtree] modules: hostap: Remove redundant default
krish2718 Jan 13, 2025
e4749b6
[nrf fromtree] manifest: hostap: Pull fix for WMM AC disabled build
krish2718 Jan 13, 2025
7110602
[nrf fromtree] Bluetooth: Host: Remove HCI ECC emulation
jhedberg Dec 9, 2024
09ec251
[nrf fromtree] Bluetooth: Host: Remove prompt from BT_ECC
jhedberg Jan 21, 2025
f7d21e2
[nrf fromtree] doc: release: Add notes for Bluetooth ECDH changes
jhedberg Jan 21, 2025
ad276b1
[nrf fromtree] modules: openthread: ble: Update after BT_LE_ADV_CONN …
anangl Jan 20, 2025
ff477db
[nrf fromtree] audio: liblc3: Fix global include path issue
frkv Jan 23, 2025
22a3a64
[nrf fromtree] mesh: Fix common.h issue in onoff_level_lighting_vnd_app
frkv Jan 23, 2025
888e270
[nrf fromtree] secure storage: Add missing include for mbedtls_platfo…
frkv Jan 23, 2025
920fdc6
[nrf fromtree] test: Bluetooth: crypto: increase stack size for all t…
valeriosetti Jan 23, 2025
8037865
[nrf fromtree] Bluetooth: Host: add PSA_WANT_xxx_IMPORT/EXPORT to BT_ECC
valeriosetti Jan 23, 2025
7cee5ad
[nrf fromtree] samples: net: prometheus: Add netif dependency
rlubos Jan 29, 2025
1d8da90
[nrf fromtree] modules: hal_nordic: suppress 'unused variable' warnings
piotrkoziar Jan 27, 2025
5b42055
[nrf fromtree] bluetooth: host: Add select PSA_WANT_ALG_ECB_NO_PADDING
anangl Jan 14, 2025
27b31f2
[nrf fromtree] dts: nordic: nrf9280: define hsfll120
gmarull Jan 7, 2025
3173843
[nrf fromtree] boards: lilygo: ttgo_t7v1_5: Fix twister identifier
57300 Jan 31, 2025
830887c
[nrf fromtree] tests: kernel: workq_stop uninitialized variable
RobinKastberg Jan 10, 2025
348deff
[nrf fromtree] modules: hostap: Disable advanced feature for nRF boards
krish2718 Jan 30, 2025
e743ea3
[nrf fromlist] Bluetooth: BAP: Remove GATT_CACHING req for unicast se…
Thalley Jan 20, 2025
cf0873a
[nrf fromlist] manifest: wifi: CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG…
frkv Jan 24, 2025
6233a3b
[nrf fromlist] wifi: Resolve PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128 dep…
frkv Jan 28, 2025
76bea55
[nrf fromlist] wifi: hostap: Fixing naming collisions for some TLS co…
frkv Jan 28, 2025
b2af352
[nrf fromlist] twister: Account for board & SoC extensions
57300 Jan 31, 2025
baaad1a
[nrf fromlist] dts: nordic: nrf5340: Revert nRF5340 IPC backend to rpmsg
sean-madigan Feb 11, 2025
fdf2815
[nrf noup] boards: nordic: nrf7002dk: Bring back NS variants
anangl Jan 8, 2025
6c8ef87
[nrf noup] Revert "mbedtls: auto-select MBEDTLS_CIPHER_AES_ENABLED wh…
anangl Jan 8, 2025
1298f35
[nrf noup] tests: arm_irq_vector_table: Disable starting of SSF client
anangl Jan 24, 2025
31205da
[nrf noup] bluetooth: Temporary Kconfig fix for BT RPC configuration
grochu Jan 31, 2025
015d5cc
[nrf noup] tests: secure_storage: fix test w/ ZMS backend on 54L15
tomi-font Jan 31, 2025
c37224c
[nrf noup] ble: Adding missing AES config for BT_CRYPTO
frkv Feb 4, 2025
fcb4238
[nrf noup] tests: secure_storage: Fix issues
juhaylinen Jan 29, 2025
8a64a2e
[nrf noup] samples: psa: Fix issues
juhaylinen Jan 30, 2025
5156ca3
Revert "[nrf noup] moduled: hal_nordic: require nrf-regtool"
karstenkoenig Feb 5, 2025
ca2e76c
[nrf fromtree] modules: hal_nordic: bump regtool to 8.1.2
karstenkoenig Feb 3, 2025
c8aea90
[nrf noup] moduled: hal_nordic: require nrf-regtool
gmarull Oct 30, 2024
6c9b2f2
[nrf noup] lib: net_buf: buf: Revert alloc DBG to WRN change
sean-madigan Feb 13, 2025
1e22329
[nrf fromtree] cmake: code relocation setting.
tejlmand Feb 12, 2025
d5aefbe
[nrf fromtree] scripts: code_relocate: support section filter
schouleu Jun 17, 2024
bf64a31
[nrf fromtree] bluetooth: host: Allow for ECDH operations through sys…
MarekPieta Feb 10, 2025
c951798
[nrf fromtree] tests: nrf: enable twister tests for nrf54l09pdk
nordic-segl Feb 14, 2025
776b31e
[nrf fromtree] tests: drivers: watchodg: Enable wdt_error_cases on nR…
nordic-segl Feb 11, 2025
5605c8c
[nrf fromtree] bluetooth: dis: add Kconfig for disabling optional cha…
kapi-no Feb 11, 2025
4e41871
[nrf fromtree] tests: kernel: gen_isr_table: Fix test for nRF VPR tar…
nordic-krch Jan 13, 2025
2099f12
[nrf fromtree] tests: kernel: gen_isr_table: Fix kernel test for nRF …
adamkondraciuk Feb 6, 2025
4084fe8
[nrf fromtree] samples: basic: add support for nRF54H20 cpuppr PWM
mstasiaknordic Dec 18, 2024
992516c
[nrf fromtree] tests: drivers: pwm: add support for nRF54H20 cpuppr PWM
mstasiaknordic Dec 18, 2024
f9c8350
[nrf fromtree] drivers: clock_control: nrf: start HFXO when using LFS…
mstasiaknordic Jan 15, 2025
03e2995
[nrf fromtree] boards: nordic: nrf54l20pdk: Add PWM to the list of su…
nordic-segl Feb 13, 2025
a08bb01
[nrf fromtree] boards: nordic: nrf54l20pdk: Define PWM LED
nordic-segl Feb 13, 2025
4d63c4e
[nrf fromtree] tests: drivers: pwm: Remove overlay for nRF54L20pdk
nordic-segl Feb 13, 2025
ba83fb0
[nrf fromtree] tests: drivers: sensor: temp: Add support for nRF54L20…
mstasiaknordic Jan 28, 2025
bc9a9ac
[nrf fromtree] tests: drivers: watchdog: Add further support for nRF5…
mstasiaknordic Jan 22, 2025
8a686a5
[nrf fromtree] tests: drivers: spi: Add support for nRF54L20 PDK
mstasiaknordic Jan 22, 2025
cb4ee54
[nrf fromlist] tests: drivers: spi: Add further support for nRF54L20 PDK
mstasiaknordic Jan 28, 2025
4789325
[nrf fromtree] tests: drivers: spi: Add support for nRF54L09 PDK
mstasiaknordic Jan 22, 2025
ef6161b
[nrf fromtree] drivers: adc: Add support for gain 2/7 in nRF devices
nordic-segl Feb 14, 2025
db40586
[nrf fromtree] tests: drivers: adc: add nRF54L20 configuration
nordic-segl Feb 14, 2025
314f3dd
[nrf fromtree] drivers: adc: Fix Vref selection for nRF54L20pdk
nordic-segl Feb 14, 2025
f22df30
[nrf noup] samples: mgmt: mcumgr: smp_svr: Add nrf5340dk-optimised sa…
nordicjm Nov 13, 2024
b323a20
[nrf fromtree] cmake: reports: Add support for JSON prefix
nordicjm Jan 30, 2025
a653cb7
[nrf fromtree] tests: pwm: pwm_gpio_loopback: add nrf platforms
nordic-pikr Jan 7, 2025
87b366d
[nrf fromtree] tests: pwm: pwm_gpio_loopback: nrf test stability
nordic-pikr Jan 22, 2025
b83eabe
[nrf fromtree] tests: drivers: pwm: pwm_gpio_loopback: adjust configu…
nordic-piks Feb 7, 2025
eb1ae9f
[nrf fromtree] bluetooth: controller: Only BT_CTLR_ECDH default y if …
sean-madigan Jan 31, 2025
a195e73
[nrf fromtree] bluetooth: host: Add PSA returns to debug prints
sean-madigan Jan 22, 2025
895b509
[nrf fromtree] dts: bindings: serial: nordic,nrf-uart-common: Extend …
nordic-krch Jan 23, 2025
04ece2c
[nrf fromtree] drivers: serial: nrfx_uarte: Rename FAST to FAST_PD
nordic-krch Jan 24, 2025
581f3c1
[nrf fromtree] drivers: serial: nrfx_uarte: Add support for higher ba…
nordic-krch Jan 24, 2025
c70e602
[nrf fromtree] drivers: serial: nrfx_uarte: Fix spurious RXTO event
nordic-krch Jan 24, 2025
fb03222
[nrf fromtree] tests: drivers: uart: uart_async_api: Tweak test_read_…
nordic-krch Jan 24, 2025
80cc531
[nrf fromtree] tests: drivers: uart: uart_async_api: Use 4Mbaud for n…
nordic-krch Jan 24, 2025
eee8e75
[nrf fromtree] cmake: modules: Prefer imgtool being in MCUboot directory
nordicjm Jan 9, 2025
f2f1caa
[nrf fromtree] cmake: mcuboot: Use zephyr-discovered imgtool
nordicjm Jan 20, 2025
1955241
[nrf fromtree] Bluetooth: Host: Add support for Advertising Coding Se…
Thomas-Deppe Feb 6, 2025
ed93f6e
[nrf fromtree] Bluetooth: Host: Add host support for Advertising Codi…
Thomas-Deppe Feb 11, 2025
a68f065
[nrf noup] entropy: Add fake entropy nRF PRNG driver
e-rk Feb 18, 2025
ff0fbbb
[nrf fromtree] tests/bsim UART: Let's connect the nrf54L UART00 in lo…
aescolar Feb 13, 2025
9bc8f72
[nrf fromtree] tests: drivers: uart: add 54l15 fast uart
nordic-pikr Feb 11, 2025
3c7c521
[nrf fromtree] boards nrf54l15bsim: Do not work around peripheral clo…
aescolar Feb 13, 2025
a2b3371
[nrf fromtree] boards: nrf_bsim: disable insted of deletion spi node
nordic-pikr Feb 13, 2025
c5b4777
[nrf fromtree] modules: hal_nordic: Added explicit enum values
Rafal-Nordic Feb 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
407 changes: 407 additions & 0 deletions .github/test-spec.yml

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions .github/workflows/commit-tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Commit tags

on:
pull_request:
types: [synchronize, opened, reopened, edited, labeled, unlabeled,
milestoned, demilestoned, assigned, unassigned, ready_for_review,
review_requested]

jobs:
commit_tags:
runs-on: ubuntu-22.04
name: Run commit tags checks on patch series (PR)
steps:
- name: Update PATH for west
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH

- name: Checkout the code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

- name: Run the commit tags
uses: nrfconnect/action-commit-tags@main
with:
target: .
upstream: zephyrproject-rtos/zephyr/main
6 changes: 3 additions & 3 deletions .github/workflows/compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
git config --global user.name "Your Name"
git remote -v
# Ensure there's no merge commits in the PR
[[ "$(git rev-list --merges --count origin/${BASE_REF}..)" == "0" ]] || \
(echo "::error ::Merge commits not allowed, rebase instead";false)
#[[ "$(git rev-list --merges --count origin/${BASE_REF}..)" == "0" ]] || \
#(echo "::error ::Merge commits not allowed, rebase instead";false)
rm -fr ".git/rebase-apply"
rm -fr ".git/rebase-merge"
git rebase origin/${BASE_REF}
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
# Increase rename limit to allow for large PRs
git config diff.renameLimit 10000
./scripts/ci/check_compliance.py --annotate -e KconfigBasic -e ClangFormat \
-c origin/${BASE_REF}..
-e Kconfig -e KconfigBasicNoModules -e ModulesMaintainers -c origin/${BASE_REF}..

- name: upload-results
uses: actions/upload-artifact@v4
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/manifest-PR.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: handle manifest PR
on:
pull_request_target:
types: [opened, synchronize, closed]
branches:
- main


jobs:
call-manifest-pr-action:
runs-on: ubuntu-latest
steps:
- name: handle manifest PR
uses: nrfconnect/action-manifest-pr@main
with:
token: ${{ secrets.NCS_GITHUB_TOKEN }}
manifest-pr-title-details: ${{ github.event.pull_request.title }}
5 changes: 5 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@Library("CI_LIB") _

def pipeline = new ncs.sdk_zephyr.Main()

pipeline.run(JOB_NAME)
1 change: 0 additions & 1 deletion MAINTAINERS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,6 @@ Documentation:
- doc/images/Zephyr-Kite-in-tree.png
- doc/index-tex.rst
- doc/index.rst
- doc/kconfig.rst
- doc/templates/sample.tmpl
- doc/templates/board.tmpl
- boards/index.rst
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ config ARC_CURRENT_THREAD_USE_NO_TLS
RGF_NUM_BANKS the parameter is disabled by-default because banks syncronization
requires significant time, and it slows down performance.
ARCMWDT works with tls pointer in different way then GCC. Optimized access to
TLS pointer via arch_current_thread() does not provide significant advantages
TLS pointer via the _current symbol does not provide significant advantages
in case of MetaWare.

config GEN_ISR_TABLES
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/core/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static bool z_check_thread_stack_fail(const uint32_t fault_addr, uint32_t sp)
{
#if defined(CONFIG_MULTITHREADING)
uint32_t guard_end, guard_start;
const struct k_thread *thread = arch_current_thread();
const struct k_thread *thread = _current;

if (!thread) {
/* TODO: Under what circumstances could we get here ? */
Expand Down
4 changes: 2 additions & 2 deletions arch/arc/core/irq_offload.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ void arch_irq_offload(irq_offload_routine_t routine, const void *parameter)

__asm__ volatile("sync");

/* If arch_current_thread() was aborted in the offload routine, we shouldn't be here */
__ASSERT_NO_MSG((arch_current_thread()->base.thread_state & _THREAD_DEAD) == 0);
/* If _current was aborted in the offload routine, we shouldn't be here */
__ASSERT_NO_MSG((_current->base.thread_state & _THREAD_DEAD) == 0);
}

/* need to be executed on every core in the system */
Expand Down
16 changes: 8 additions & 8 deletions arch/arc/core/thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ void arch_new_thread(struct k_thread *thread, k_thread_stack_t *stack,
#ifdef CONFIG_MULTITHREADING
void *z_arch_get_next_switch_handle(struct k_thread **old_thread)
{
*old_thread = arch_current_thread();
*old_thread = _current;

return z_get_next_switch_handle(NULL);
}
Expand All @@ -227,16 +227,16 @@ void *z_arch_get_next_switch_handle(struct k_thread **old_thread)
FUNC_NORETURN void arch_user_mode_enter(k_thread_entry_t user_entry,
void *p1, void *p2, void *p3)
{
setup_stack_vars(arch_current_thread());
setup_stack_vars(_current);

/* possible optimizaiton: no need to load mem domain anymore */
/* need to lock cpu here ? */
configure_mpu_thread(arch_current_thread());
configure_mpu_thread(_current);

z_arc_userspace_enter(user_entry, p1, p2, p3,
(uint32_t)arch_current_thread()->stack_info.start,
(arch_current_thread()->stack_info.size -
arch_current_thread()->stack_info.delta), arch_current_thread());
(uint32_t)_current->stack_info.start,
(_current->stack_info.size -
_current->stack_info.delta), _current);
CODE_UNREACHABLE;
}
#endif
Expand Down Expand Up @@ -336,7 +336,7 @@ int arc_vpx_lock(k_timeout_t timeout)

id = _current_cpu->id;
#if (CONFIG_MP_MAX_NUM_CPUS > 1) && defined(CONFIG_SCHED_CPU_MASK)
__ASSERT(!arch_is_in_isr() && (arch_current_thread()->base.cpu_mask == BIT(id)), "");
__ASSERT(!arch_is_in_isr() && (_current->base.cpu_mask == BIT(id)), "");
#endif
k_spin_unlock(&lock, key);

Expand All @@ -355,7 +355,7 @@ void arc_vpx_unlock(void)

key = k_spin_lock(&lock);
#if (CONFIG_MP_MAX_NUM_CPUS > 1) && defined(CONFIG_SCHED_CPU_MASK)
__ASSERT(!arch_is_in_isr() && (arch_current_thread()->base.cpu_mask == BIT(id)), "");
__ASSERT(!arch_is_in_isr() && (_current->base.cpu_mask == BIT(id)), "");
#endif
id = _current_cpu->id;
k_spin_unlock(&lock, key);
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/core/tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ size_t arch_tls_stack_setup(struct k_thread *new_thread, char *stack_ptr)

void *_Preserve_flags _mwget_tls(void)
{
return (void *)(arch_current_thread()->tls);
return (void *)(_current->tls);
}

#else
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/core/cortex_a_r/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ bool z_arm_fault_undef_instruction_fp(void)
* context because it is about to be overwritten.
*/
if (((_current_cpu->nested == 2)
&& (arch_current_thread()->base.user_options & K_FP_REGS))
&& (_current->base.user_options & K_FP_REGS))
|| ((_current_cpu->nested > 2)
&& (spill_esf->undefined & FPEXC_EN))) {
/*
Expand All @@ -196,7 +196,7 @@ bool z_arm_fault_undef_instruction_fp(void)
* means that a thread that uses the VFP does not have to,
* but should, set K_FP_REGS on thread creation.
*/
arch_current_thread()->base.user_options |= K_FP_REGS;
_current->base.user_options |= K_FP_REGS;
}

return false;
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/core/cortex_a_r/swap_helper.S
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ SECTION_FUNC(TEXT, z_arm_do_swap)

#if defined(CONFIG_FPU_SHARING)
ldrb r0, [r2, #_thread_offset_to_user_options]
tst r0, #K_FP_REGS /* arch_current_thread()->base.user_options & K_FP_REGS */
tst r0, #K_FP_REGS /* _current->base.user_options & K_FP_REGS */
beq out_fp_inactive

mov ip, #FPEXC_EN
Expand Down Expand Up @@ -152,7 +152,7 @@ out_fp_inactive:

#if defined(CONFIG_FPU_SHARING)
ldrb r0, [r2, #_thread_offset_to_user_options]
tst r0, #K_FP_REGS /* arch_current_thread()->base.user_options & K_FP_REGS */
tst r0, #K_FP_REGS /* _current->base.user_options & K_FP_REGS */
beq in_fp_inactive

mov r3, #FPEXC_EN
Expand Down
36 changes: 18 additions & 18 deletions arch/arm/core/cortex_a_r/thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ FUNC_NORETURN void arch_user_mode_enter(k_thread_entry_t user_entry,
{

/* Set up privileged stack before entering user mode */
arch_current_thread()->arch.priv_stack_start =
(uint32_t)z_priv_stack_find(arch_current_thread()->stack_obj);
_current->arch.priv_stack_start =
(uint32_t)z_priv_stack_find(_current->stack_obj);
#if defined(CONFIG_MPU_STACK_GUARD)
#if defined(CONFIG_THREAD_STACK_INFO)
/* We're dropping to user mode which means the guard area is no
Expand All @@ -208,37 +208,37 @@ FUNC_NORETURN void arch_user_mode_enter(k_thread_entry_t user_entry,
* which accounted for memory borrowed from the thread stack.
*/
#if FP_GUARD_EXTRA_SIZE > 0
if ((arch_current_thread()->arch.mode & Z_ARM_MODE_MPU_GUARD_FLOAT_Msk) != 0) {
arch_current_thread()->stack_info.start -= FP_GUARD_EXTRA_SIZE;
arch_current_thread()->stack_info.size += FP_GUARD_EXTRA_SIZE;
if ((_current->arch.mode & Z_ARM_MODE_MPU_GUARD_FLOAT_Msk) != 0) {
_current->stack_info.start -= FP_GUARD_EXTRA_SIZE;
_current->stack_info.size += FP_GUARD_EXTRA_SIZE;
}
#endif /* FP_GUARD_EXTRA_SIZE */
arch_current_thread()->stack_info.start -= MPU_GUARD_ALIGN_AND_SIZE;
arch_current_thread()->stack_info.size += MPU_GUARD_ALIGN_AND_SIZE;
_current->stack_info.start -= MPU_GUARD_ALIGN_AND_SIZE;
_current->stack_info.size += MPU_GUARD_ALIGN_AND_SIZE;
#endif /* CONFIG_THREAD_STACK_INFO */

/* Stack guard area reserved at the bottom of the thread's
* privileged stack. Adjust the available (writable) stack
* buffer area accordingly.
*/
#if defined(CONFIG_FPU) && defined(CONFIG_FPU_SHARING)
arch_current_thread()->arch.priv_stack_start +=
((arch_current_thread()->arch.mode & Z_ARM_MODE_MPU_GUARD_FLOAT_Msk) != 0) ?
_current->arch.priv_stack_start +=
((_current->arch.mode & Z_ARM_MODE_MPU_GUARD_FLOAT_Msk) != 0) ?
MPU_GUARD_ALIGN_AND_SIZE_FLOAT : MPU_GUARD_ALIGN_AND_SIZE;
#else
arch_current_thread()->arch.priv_stack_start += MPU_GUARD_ALIGN_AND_SIZE;
_current->arch.priv_stack_start += MPU_GUARD_ALIGN_AND_SIZE;
#endif /* CONFIG_FPU && CONFIG_FPU_SHARING */
#endif /* CONFIG_MPU_STACK_GUARD */

#if defined(CONFIG_CPU_AARCH32_CORTEX_R)
arch_current_thread()->arch.priv_stack_end =
arch_current_thread()->arch.priv_stack_start + CONFIG_PRIVILEGED_STACK_SIZE;
_current->arch.priv_stack_end =
_current->arch.priv_stack_start + CONFIG_PRIVILEGED_STACK_SIZE;
#endif

z_arm_userspace_enter(user_entry, p1, p2, p3,
(uint32_t)arch_current_thread()->stack_info.start,
arch_current_thread()->stack_info.size -
arch_current_thread()->stack_info.delta);
(uint32_t)_current->stack_info.start,
_current->stack_info.size -
_current->stack_info.delta);
CODE_UNREACHABLE;
}

Expand Down Expand Up @@ -304,7 +304,7 @@ EXPORT_SYMBOL(z_arm_thread_is_in_user_mode);
uint32_t z_check_thread_stack_fail(const uint32_t fault_addr, const uint32_t psp)
{
#if defined(CONFIG_MULTITHREADING)
const struct k_thread *thread = arch_current_thread();
const struct k_thread *thread = _current;

if (thread == NULL) {
return 0;
Expand All @@ -314,7 +314,7 @@ uint32_t z_check_thread_stack_fail(const uint32_t fault_addr, const uint32_t psp
#if (defined(CONFIG_FPU) && defined(CONFIG_FPU_SHARING)) && \
defined(CONFIG_MPU_STACK_GUARD)
uint32_t guard_len =
((arch_current_thread()->arch.mode & Z_ARM_MODE_MPU_GUARD_FLOAT_Msk) != 0) ?
((_current->arch.mode & Z_ARM_MODE_MPU_GUARD_FLOAT_Msk) != 0) ?
MPU_GUARD_ALIGN_AND_SIZE_FLOAT : MPU_GUARD_ALIGN_AND_SIZE;
#else
/* If MPU_STACK_GUARD is not enabled, the guard length is
Expand Down Expand Up @@ -377,7 +377,7 @@ uint32_t z_check_thread_stack_fail(const uint32_t fault_addr, const uint32_t psp
#if defined(CONFIG_FPU) && defined(CONFIG_FPU_SHARING)
int arch_float_disable(struct k_thread *thread)
{
if (thread != arch_current_thread()) {
if (thread != _current) {
return -EINVAL;
}

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/cortex_m/swap_helper.S
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ in_fp_endif:
#if defined(CONFIG_MPU_STACK_GUARD) || defined(CONFIG_USERSPACE)
/* Re-program dynamic memory map */
push {r2,lr}
mov r0, r2 /* arch_current_thread() thread */
mov r0, r2 /* _current thread */
bl z_arm_configure_dynamic_mpu_regions
pop {r2,lr}
#endif
Expand Down
34 changes: 17 additions & 17 deletions arch/arm/core/cortex_m/thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ FUNC_NORETURN void arch_user_mode_enter(k_thread_entry_t user_entry,
{

/* Set up privileged stack before entering user mode */
arch_current_thread()->arch.priv_stack_start =
(uint32_t)z_priv_stack_find(arch_current_thread()->stack_obj);
_current->arch.priv_stack_start =
(uint32_t)z_priv_stack_find(_current->stack_obj);
#if defined(CONFIG_MPU_STACK_GUARD)
#if defined(CONFIG_THREAD_STACK_INFO)
/* We're dropping to user mode which means the guard area is no
Expand All @@ -241,32 +241,32 @@ FUNC_NORETURN void arch_user_mode_enter(k_thread_entry_t user_entry,
* which accounted for memory borrowed from the thread stack.
*/
#if FP_GUARD_EXTRA_SIZE > 0
if ((arch_current_thread()->arch.mode & Z_ARM_MODE_MPU_GUARD_FLOAT_Msk) != 0) {
arch_current_thread()->stack_info.start -= FP_GUARD_EXTRA_SIZE;
arch_current_thread()->stack_info.size += FP_GUARD_EXTRA_SIZE;
if ((_current->arch.mode & Z_ARM_MODE_MPU_GUARD_FLOAT_Msk) != 0) {
_current->stack_info.start -= FP_GUARD_EXTRA_SIZE;
_current->stack_info.size += FP_GUARD_EXTRA_SIZE;
}
#endif /* FP_GUARD_EXTRA_SIZE */
arch_current_thread()->stack_info.start -= MPU_GUARD_ALIGN_AND_SIZE;
arch_current_thread()->stack_info.size += MPU_GUARD_ALIGN_AND_SIZE;
_current->stack_info.start -= MPU_GUARD_ALIGN_AND_SIZE;
_current->stack_info.size += MPU_GUARD_ALIGN_AND_SIZE;
#endif /* CONFIG_THREAD_STACK_INFO */

/* Stack guard area reserved at the bottom of the thread's
* privileged stack. Adjust the available (writable) stack
* buffer area accordingly.
*/
#if defined(CONFIG_FPU) && defined(CONFIG_FPU_SHARING)
arch_current_thread()->arch.priv_stack_start +=
((arch_current_thread()->arch.mode & Z_ARM_MODE_MPU_GUARD_FLOAT_Msk) != 0) ?
_current->arch.priv_stack_start +=
((_current->arch.mode & Z_ARM_MODE_MPU_GUARD_FLOAT_Msk) != 0) ?
MPU_GUARD_ALIGN_AND_SIZE_FLOAT : MPU_GUARD_ALIGN_AND_SIZE;
#else
arch_current_thread()->arch.priv_stack_start += MPU_GUARD_ALIGN_AND_SIZE;
_current->arch.priv_stack_start += MPU_GUARD_ALIGN_AND_SIZE;
#endif /* CONFIG_FPU && CONFIG_FPU_SHARING */
#endif /* CONFIG_MPU_STACK_GUARD */

z_arm_userspace_enter(user_entry, p1, p2, p3,
(uint32_t)arch_current_thread()->stack_info.start,
arch_current_thread()->stack_info.size -
arch_current_thread()->stack_info.delta);
(uint32_t)_current->stack_info.start,
_current->stack_info.size -
_current->stack_info.delta);
CODE_UNREACHABLE;
}

Expand Down Expand Up @@ -379,7 +379,7 @@ void configure_builtin_stack_guard(struct k_thread *thread)
uint32_t z_check_thread_stack_fail(const uint32_t fault_addr, const uint32_t psp)
{
#if defined(CONFIG_MULTITHREADING)
const struct k_thread *thread = arch_current_thread();
const struct k_thread *thread = _current;

if (thread == NULL) {
return 0;
Expand All @@ -389,7 +389,7 @@ uint32_t z_check_thread_stack_fail(const uint32_t fault_addr, const uint32_t psp
#if (defined(CONFIG_FPU) && defined(CONFIG_FPU_SHARING)) && \
defined(CONFIG_MPU_STACK_GUARD)
uint32_t guard_len =
((arch_current_thread()->arch.mode & Z_ARM_MODE_MPU_GUARD_FLOAT_Msk) != 0) ?
((_current->arch.mode & Z_ARM_MODE_MPU_GUARD_FLOAT_Msk) != 0) ?
MPU_GUARD_ALIGN_AND_SIZE_FLOAT : MPU_GUARD_ALIGN_AND_SIZE;
#else
/* If MPU_STACK_GUARD is not enabled, the guard length is
Expand Down Expand Up @@ -452,7 +452,7 @@ uint32_t z_check_thread_stack_fail(const uint32_t fault_addr, const uint32_t psp
#if defined(CONFIG_FPU) && defined(CONFIG_FPU_SHARING)
int arch_float_disable(struct k_thread *thread)
{
if (thread != arch_current_thread()) {
if (thread != _current) {
return -EINVAL;
}

Expand Down Expand Up @@ -522,7 +522,7 @@ void arch_switch_to_main_thread(struct k_thread *main_thread, char *stack_ptr,
{
z_arm_prepare_switch_to_main();

arch_current_thread_set(main_thread);
z_current_thread_set(main_thread);

#if defined(CONFIG_THREAD_LOCAL_STORAGE)
/* On Cortex-M, TLS uses a global variable as pointer to
Expand Down
Loading
Loading