Skip to content

Emul backend API #4

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,042 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2042 commits
Select commit Hold shift + click to select a range
62dbe72
drivers: pm_cpu_ops: Add support for multiple PSCI versions
gdengi Jul 6, 2023
ba40e9f
samples: subsys: shell: Custom configs for intel_socfpga_agilex* boards
gdengi Jul 17, 2023
8df81ea
CODEOWNERS: Add code owners for Intel Agilex5 platform drivers
gdengi Jul 6, 2023
4ca1d42
MAINTAINERS: Add self as maintainer for Intel Agilex platform
gdengi Jul 21, 2023
5b432ec
MAINTAINERS: fix path for xtensa/riscv esp32 soc
bbilas Jul 25, 2023
68f514f
scripts: compliance: always run the MaintainersFormat check
fabiobaltieri Jul 25, 2023
b489a75
MAINTAINERS: fix a bunch of directory paths
fabiobaltieri Jul 25, 2023
74f73cd
arch/common: add 64bit register access functions for 64bit arch
ycsin Jul 25, 2023
6758777
drivers: crypto: Add NXP MCUX DCP driver
pdgendt Jun 14, 2023
80f4a12
dts: arm: nxp: Enable DCP for i.MX RT10XX SoC
pdgendt Jun 14, 2023
16f34e9
samples: drivers: crypto: Simplify configuration
pdgendt Jun 14, 2023
e1e1973
samples: drivers: crypto: Aligned AES key
pdgendt Jun 14, 2023
8cbb6c8
samples: drivers: crypto: Add testcase for NXP MCUX DCP
pdgendt Jun 14, 2023
f4a1d40
drivers: counter: Add Infineon CAT1 counter driver
pavloinfineon Jul 24, 2023
9ce202e
lib: json: add helper macro for named array of array
bbilas Jul 25, 2023
905a8ae
drivers: i2c: i2c_nrfx_twim: remove redundant buffer size from config
Jul 20, 2023
368acbe
drivers: i2c: i2c_nrfx_twim: Utilize memory-region prop from devicetree
Jul 14, 2023
84b86d9
soc: riscv: Add ability to use custom sys_io functions
ycsin Jul 25, 2023
5dad944
drivers: memc: add NXP S32 QSPI controller
manuargue Jul 7, 2023
6d0a876
drivers: flash: add NXP S32 QSPI flash NOR driver
manuargue Jul 7, 2023
3cc1c41
boards: mr_canhubk3: enable flash controller for QSPI
manuargue Jul 7, 2023
87e40d8
samples: enable flash samples for mr_canhubk3 board
manuargue Jul 7, 2023
23259ae
tests: enable flash tests for mr_canhubk3 board
manuargue Jul 7, 2023
927dda0
drivers: spi_nrfx_spis: Fix obtaining dev pointer in event handler
anangl Jul 25, 2023
8605055
gpio: stellaris: implement `gpio_pin_get_config`
Jul 15, 2023
5be8664
pm: device: add driver init helper
Apr 11, 2022
1ddadaf
power_domain: gpio: compile without `PM_DEVICE_POWER_DOMAIN`
Jul 15, 2023
0147602
power_domain: gpio: init with `pm_device_driver_init`
Jul 16, 2023
40d6933
tests: pm: update power domain behaviour
Jul 16, 2023
b979ee9
tests: pm: test `pm_device_driver_init`
Jul 15, 2023
41e9547
drivers: usb: fix common misspellings in USB drivers
jfischer-no Jul 25, 2023
e6bfc7f
usb: fix common misspellings in USB support
jfischer-no Jul 25, 2023
3744fe2
drivers: mbox: Add Andestech mailbox driver
Jun 29, 2023
7bfe096
samples: drivers: mbox: Support the new board adp_xc7k_ae350
Jun 29, 2023
fbc6a91
drivers: sensor: a01nyub: added driver
OKStead May 20, 2023
b7e252c
shared_multi_heap: Use proper enum instead of int
carlocaione Jul 26, 2023
5d6d93c
shared_multi_heap: Rename heap counter
carlocaione Jul 26, 2023
561a80d
shared_multi_heap: Use a data struct
carlocaione Jul 26, 2023
ca7e8c6
west.yaml: MCUboot synchronization from upstream
nordicjm Jul 24, 2023
7ca7f5a
mgmt: mcumgr: Use MCUboot bootutil file instead of outdated copy
nordicjm Jul 24, 2023
0c16fea
doc: dts: bindings: pinctrl: minor readability improvement
fg-cfh Jul 25, 2023
31fb5f5
drivers: cc13xx_cc26xx: pinctrl: fix header conflict
fg-cfh Jul 25, 2023
0dcbb22
drivers: cc13xx_cc26xx: pinctrl: support drive strength
fg-cfh Jul 25, 2023
d347091
drivers: cc13xx_cc26xx: pinctrl: support edge detection
fg-cfh Jul 25, 2023
40fa965
drivers: pinctrl: Add pinctrl driver for Gecko Series 1
wsipak Jul 21, 2023
03370ab
bluetooth: tester: gap: Add support for extended advertising
mkasenberg Jul 18, 2023
1295283
soc: xtensa: nxp: add resource_table section in linker script
iuliana-prodan Jun 23, 2023
b4293ec
dts: xtensa: nxp: add nodes for IPC
iuliana-prodan Jun 23, 2023
393a7e1
samples: add support for nxp_adsp_imx8m in openamp_rsc_table
iuliana-prodan Jun 21, 2023
f4f261b
samples: openamp_rsc_table: increase stack size
iuliana-prodan Jul 17, 2023
3945988
west: update open-amp repo
iuliana-prodan Jul 18, 2023
7bfec37
usb: device: clarify the impact of Kconfig option USB_COMPOSITE_DEVICE
jfischer-no Jul 6, 2023
430818e
sample/tests: remove CONFIG_USB_COMPOSITE_DEVICE usage
jfischer-no Jul 6, 2023
740f269
include: usb: revise BOS support header
jfischer-no Jul 6, 2023
0595fd0
doc: usb: add reference to BOS support API
jfischer-no Jul 6, 2023
c435dea
soc: xtensa: esp32s3: add support for SPIRAM
LucasTambor May 29, 2023
4f1fd56
tests: boards: espressif: add esp32s3 to cache coex test
LucasTambor May 31, 2023
47515f4
soc: xtensa: esp32s3: Add external ram noinit section
LucasTambor Jun 1, 2023
7ef8911
samples: basic: hash_map: fix libc heap size setting
gmarull Jul 26, 2023
b51dd4a
lib: hash: use new c++ Kconfig symbols
gmarull Jul 26, 2023
bff69f5
drivers: pinctrl: add driver for EOS S3
wsipak Jul 6, 2023
d1c5652
boards: quick_feather: use pinctrl driver
wsipak Jul 6, 2023
36b5769
boards: qomu: use pinctrl driver
wsipak Jul 6, 2023
69d0f03
soc: quicklogic_eos_s3: remove unneeded code
wsipak Jul 6, 2023
2cfd831
boards: arm: xmc45_relax_kit: Update supported drivers
talih0 Jun 9, 2023
23b6e4f
drivers: pwm: Add driver for xmc4xxx using ccu4 module
talih0 Jun 5, 2023
d8f955e
drivers: pwm: Add driver for xmc4xxx using ccu8 module
talih0 Jun 12, 2023
5fc1777
drivers: sensor: add mutex to cmd_get_sensor()
marco85mars20 Jun 24, 2023
68452bd
pm: device_runtime: allow calling pm_device_runtime_get from ISRs
gmarull Jul 25, 2023
e6b925a
dts: arm: st: move cpu-power-states to SoC dts files
gmarull Jul 25, 2023
068cffd
dts: arm: nxp: ke1xf: move cpu-power-states to SoC dts files
gmarull Jul 25, 2023
a05371d
pm: state: allow disabling certain power states
gmarull Jul 25, 2023
1c0ec37
dts: arm: silabs: move cpu-power-states to SoC dts files
gmarull Jul 25, 2023
00f0054
dts: arm: silabs: remove redundant pstate_em4 state
gmarull Jul 25, 2023
d7c00ee
boards: arm: stm32f412g_disco: Fix LED4 pin
supcik Jul 26, 2023
4360109
emul: sbs_gauge: Return err or unsupported feature
aaronemassey Jul 26, 2023
41f16c3
driver: wifi: esp32: increase default stack values
sylvioalves Jul 26, 2023
43b385a
tests: sbs_gauge: Factor fixture out of test
aaronemassey Jul 25, 2023
bdeb62d
shell: fix possible negative indexing
jakub-uC Jul 26, 2023
e0370f5
Bluetooth: Controller: Stop following aux ptr if DATA_LEN_MAX is hit
Tronil Jul 13, 2023
c0649ef
Bluetooth: Controller: Fix truncation of adv. data
Tronil Jul 13, 2023
88f1617
Bluetooth: Controller: Kconfig: Move BT_LL_SW_SPLIT specific configs
rugeGerritsen Jul 10, 2023
b140963
soc: nordic_nrf: Add nRF52840 QFAA variant
carlescufi Jul 26, 2023
acb8f6b
soc: nordic_nrf: Add nRF52833 QDAA variant
carlescufi Jul 26, 2023
8ecedf2
mgmt: mcumgr: grp: img_mgmt: Fix renamed define
nordicjm Jul 27, 2023
9f56995
tests: mgmt: mcumgr: all_options: Add additional checks
nordicjm Jul 27, 2023
b89ff1b
manifest: Update nRF HW models to latest
aescolar Jul 27, 2023
f53041c
manifest: hal_nordic: Pull PWM driver fix for nrfx_pwm_stopped_check()
Jul 26, 2023
dd8a1f1
soc: nordic_nrf: nrf52840-qfaa has no USB
carlescufi Jul 27, 2023
641b438
soc: nordic: Make all compatibles lower case
carlescufi Jul 27, 2023
e473dd5
pinctrl: gecko: fix compilation and UART handling
wsipak Jul 27, 2023
0cf2661
drivers: eth_smsc91x: Fix the missing of selecting bank 3
SgrrZhf Jun 21, 2023
5797e42
mgmt: smp: SMP Client enabler
Mar 29, 2023
d77a657
mgmt: smp: MCUmgr Client support
May 30, 2023
9a06ce1
tests: mcumgr: MCUmgr and smp client unit test
May 22, 2023
17fb2a1
sensor: bme280: return ENOTSUP on invalid channel
joseppc Jul 27, 2023
677d377
sensor: bme280: BMP280 has no humidity sensor
joseppc Jul 21, 2023
16d9d4d
Kconfig: Provide name to orphan configuration choice symbol
erwango Mar 22, 2023
c044b2e
posix arch: Fix very rare segfault on program termination
aescolar Jul 27, 2023
a3fb2dc
drivers: can: add kconfig CAN_MAX_MB
congnguyenhuu Jun 14, 2023
36d63e1
boards: arm: mr_canhubk3: enable support for FlexCAN
congnguyenhuu Jun 14, 2023
ae72fa7
samples: net: zperf: add Ethernet twister test
Desvauxm-st Jun 28, 2023
3d1285b
drivers: i2c_mcux: update to compatible with S32K344
congnguyenhuu Jul 10, 2023
b77d40d
tests: drivers: enable tests eeprom and i2c for mr_canhubk3
congnguyenhuu Jul 10, 2023
724a5cd
board: add cy8ckit 062 pioneer
DaWei8823 Jul 15, 2023
7da7742
west debugserver: openocd: configure rtos
bdmendes Jul 27, 2023
7485901
lib: cpp: name the choice group for selecting C++ standard
Damian-Nordic Jul 27, 2023
aecb1ca
usb: device: move the content of usb_msc.h to implementation file
jfischer-no Jul 27, 2023
8505986
native_simulator: Align with upstream latest
aescolar Jul 27, 2023
16e1526
tests: thrift: check for channel closure before throwing
cfriedt Jul 27, 2023
5818031
boards: arm: stm32f746g_disco: Use specified USB serial
gromero Jul 26, 2023
cbb83d6
dts: bindings: rename st-morpho-header pin identifiers
mniestroj Jul 27, 2023
e47175b
dts: bindings: extend st-morpho-header to support Nucleo-144
mniestroj Jul 27, 2023
96768ea
boards: nucleo_h563zi: add ST Morpho connector nexus node
mniestroj Jul 27, 2023
1994865
drivers: flash: stm32l5: use write-block-size when validating
vaussard Jul 25, 2023
4c9e429
drivers: flash: stm32l5: use write-block-size when writing
vaussard Jul 25, 2023
8bac51b
drivers: flash: stm32: add a weak flash_stm32_valid_range()
vaussard Jul 25, 2023
d620511
drivers: mipi_dsi: dsi_mcux: add support for MIPI generic long write CMD
danieldegrasse Jul 7, 2023
918c797
drivers: mipi_dsi: dsi_mcux_2l: add support for MIPI generic long wri…
danieldegrasse Jul 7, 2023
a3b8f06
drivers: display: add driver for HX8394 TFT LCD controller
danieldegrasse Jul 7, 2023
638e3d5
boards: shields: add rk055hdmipi4ma0 shield
danieldegrasse Jul 7, 2023
bd34c94
net: introduce scalar nanosecond time representation
fg-cfh Jul 14, 2023
7378b91
doc: net: ptp: PTP structs
fg-cfh Jul 11, 2023
69212bb
doc: drivers: ieee802154: radio API
fg-cfh Jul 11, 2023
29988b5
drivers: ieee802154: nRF5: fix return type
fg-cfh Jul 12, 2023
8737550
tests: subsys: openthread: simplify configure mocks
fg-cfh Jul 12, 2023
7232dd2
tests: subsys: openthread: support TXTIME
fg-cfh Jul 12, 2023
2668a7d
tests: subsys: openthread: support CSL
fg-cfh Jul 12, 2023
a4cd5ce
drivers: ieee802154: consistent high res timestamps
fg-cfh Jul 11, 2023
3a0615d
doc: release-notes: document net subsys time consolidation
fg-cfh Jul 27, 2023
f9daa03
drivers: sdhc: enable pwr-gpios property within SPI SDHC driver
danieldegrasse Jul 20, 2023
42dcc4e
canbus: isotp: Fix ISO-TP padding config usage
gramsay0 Jul 21, 2023
e98fa4e
canbus: isotp: Enable TX padding by default if RX padding is required
gramsay0 Jul 21, 2023
e326b72
tests: canbus: isotp: conformance: Update test to check padding corre…
gramsay0 Jul 21, 2023
b7f88b4
tests: canbus: isotp: conformance: Add helper function to prepare FC …
gramsay0 Jul 27, 2023
0b49b86
soc: arm: st_stm32: remove redundant PM_STATE_ACTIVE case
gmarull Jul 27, 2023
bc522af
samples: subsys: pm: latency: remove redundant PM_STATE_ACTIVE case
gmarull Jul 27, 2023
8081fb3
tests: subsys: pm: pwer_mgmt_multicore: remove PM_STATE_ACTIVE
gmarull Jul 27, 2023
bba6a1d
lib: os: hex: add explicit unsigned suffices
feraralashkar Jun 17, 2023
dddc034
lib: os: hex: correct explicit cast type
feraralashkar Jun 17, 2023
595bcda
lib: os: dec: add misra-c2012 compliance changes
feraralashkar Jun 10, 2023
5920159
boards: mr_canhubk3: enable GPIO when CAN is enabled
congnguyenhuu Jul 28, 2023
3d37cc3
doc: bin blobs: State that blobs will not be fetched in CI
carlescufi Jul 27, 2023
3e398cb
twister: bugfix: Make BuildError exception cause test to report error
PerMac Jul 27, 2023
2a66f94
boards: up_squared: override CPU devicetree node to have 2 CPUs
dcpleung Jul 25, 2023
56a8123
toolchain: xcc/xt-clang: include llvm.h for xt-clang...
dcpleung Jul 25, 2023
250748b
intel_adsp: Add option about switch off hpsram
Jul 27, 2023
3191d08
twister: improve handling of ELF file parsing
nashif Jul 27, 2023
f809614
drivers: adc: add NXP S32 ADC SAR driver
congnguyenhuu Jun 20, 2023
a0db65e
boards: mr_canhubk3: add support adc
congnguyenhuu Jun 20, 2023
5ea0701
tests: drivers: adc: adc_api: enbale test for mr_canhubk3
congnguyenhuu Jun 20, 2023
19f33b8
samples: drivers: adc: enbale test for mr_canhubk3
congnguyenhuu Jun 20, 2023
1b3e2d9
drivers: stm32: SPI: Check that SPI buffers are in a nocache region
dgastonochoa Jul 25, 2023
ff54350
Bluetooth: Host: Remove 'Experimental' flag of EAD
theob-pro Jul 10, 2023
4f8c90e
sensor: akm09918c: Fix conversion constant
tristan-google Jul 13, 2023
171c1fc
emul: Introduce emulator backend API and generic sensor test
tristan-google Jul 13, 2023
445f9d2
boards: x86: Add boards and SoCs for Intel ISH
kwd-doodling Mar 31, 2023
fb03964
manifest: west.yml: add Intel HAL as a new HAL module
kwd-doodling Jul 17, 2023
4e3ec62
ish: add module Kconfig for Intel HAL
kwd-doodling Jun 1, 2023
9f6d6a0
drivers: serial: Add Intel SEDI driver
kumarnac Apr 3, 2023
1f39e9e
rtio: Update documentation
yperess Jul 20, 2023
488fd89
boards: adafruit_feather_m0_basic_proto: add zephyr_udc0 nodelabel
jfischer-no Jul 28, 2023
6009182
MAINTAINERS: move to my ampere account
mbolivar-ampere Jul 28, 2023
1f278d9
thrift: add temporary Mutex implementation
cfriedt Jul 28, 2023
9dc531b
tests: thrift: replace unused variable with NULL in pthread_join
cfriedt Jul 28, 2023
5b4d275
tests: drivers: build_all: sensor: do not run build-only testsuite
cfriedt Jul 30, 2023
52f0088
posix: pthread: report appropriate return value instead of 0
cfriedt Jul 30, 2023
033d772
tests: posix: common: pthread_join should fail on detached
cfriedt Jul 30, 2023
73bf557
posix: pthread: thread return value not set by pthread_join()
cfriedt Jul 30, 2023
e7c23b3
tests: posix: common: check return value in pthread_join()
cfriedt Jul 30, 2023
f3f1ed6
boards: stm32: Fix vendor name when required
erwango Jun 23, 2023
d8bc8c0
drivers: w1: doc: Doxygen doc for 1-Wire commands
kartben Jul 18, 2023
0ae1e37
tests: logging: fix double-promotion warnings
XenuIsWatching Jul 19, 2023
38352ae
test: Relocate posix mqueue receive buffer
peter-mitsis Jul 25, 2023
67268f5
drivers: interrupt_controller: plic: support edge triggered interrupts
jgl-meta Jul 26, 2023
e14935e
net: tcp: Avoid partial ACK canceling retransmission timer
ssharks Jul 27, 2023
c2f4200
bindings: ethernet: replace phy-dev with phy-handle
fabiobaltieri Jul 27, 2023
258fc16
bindings: ethernet: rename ethernet to ethernet-controller
fabiobaltieri Jul 29, 2023
07d2b62
tests: subsys: canbus changing the test thread priority
FRASTM Jul 28, 2023
248cd36
samples: subsys: nvs on nucleo_g474re requires 6kB for storage partition
FRASTM Jul 28, 2023
71a7afa
drivers: can: mcan: add CAN_MCAN_DT_MRBA() and CAN_MCAN_DT_INST_MRBA()
henrikbrixandersen Jul 28, 2023
b809d5c
drivers: can: stm32h7: fix message RAM address calculations
henrikbrixandersen Jul 28, 2023
b42212e
tests: thrift: re-order shared_ptr reset to prevent fd leak
cfriedt Jul 29, 2023
dfeb2d9
ethernet: eth_stm32_hal: fix unused variable build warning
fabiobaltieri Jul 30, 2023
097c568
mgmt: mcumgr: grp: fs_mgmt: Fix wrong error checking
nordicjm Jul 31, 2023
8a2e768
doc: services: device_mgmt: smp_groups: Clarify img_mgmt upload
nordicjm Jul 28, 2023
9422fc6
mgmt: mcumgr: grp: img_mgmt: Fix not checking image upload size
nordicjm Jul 28, 2023
588f6ac
mgmt: mcumgr: grp: img_mgmt: Fix not checking write bounds
nordicjm Jul 28, 2023
63aca8d
Bluetooth: ISO: Add advanced unicast ISO parameters
Thalley Jan 19, 2023
5a66daa
Bluetooth: ISO: Add broadcast RTN check in valid_chan_io_qos
Thalley Jan 27, 2023
2187f6b
samples: Bluetooth: ISO connected benchmark advanced ISO
Thalley Jan 19, 2023
0081ecd
Bluetooth: ISO: Add advanced broadcast ISO parameters
Thalley Jan 20, 2023
ef7c775
samples: Bluetooth: ISO broadcash benchmark advanced ISO
Thalley Jan 20, 2023
076df4e
tests: Bluetooth: Refactor ISO broadcast ISO BSIM test
Thalley Jan 23, 2023
5555ac3
tests: Bluetooth: Add advanced BIG create BSIM test
Thalley Jan 23, 2023
dbea999
soc/arm/silabs: Kconfig: add SOC_GECKO_USE_RAIL kconfig option
antoinebout0 Jun 23, 2023
a0a9539
mgmt: mcumgr: grp: Fix error translation function indent
nordicjm Jul 31, 2023
1f3cb08
net: tcp: Remove trigger of send_data_timer when window full
ssharks Jul 31, 2023
c8ac307
net: sockets: socketpair: Allow statically allocated socketpairs
SeppoTakalo Jul 28, 2023
fce0640
boards: nucleo_l552ze_q: Fix green led port/pin definition
LeHack Jul 30, 2023
ee5c998
drivers: sensor: fetch all channels on WSEN_ITDS sensor
mah-eiSmart Jun 28, 2023
edc21bd
ipc: fix icmsg-me maybe-uninitialized compile warning
e-rk Jul 31, 2023
c896e1e
drivers: serial: sedi: add new dts attri peripheral-id
kwd-doodling Jul 29, 2023
6fd3cf6
drivers: serial: sedi: cleanup init code
kwd-doodling Jul 29, 2023
de656c1
drivers: can: sam: do not select cache management
henrikbrixandersen Jul 17, 2023
8f3e0fd
Bluetooth: att: fix `bt_eatt_count()`
jori-nordic Jul 27, 2023
a7cf7eb
Bluetooth: l2cap: change `connected` cb call condition for ECRED
jori-nordic Jul 27, 2023
96bc04f
shell: Fix faulty error check in bt shell
larsgk Jul 31, 2023
cd78028
drivers: spi: mcux_lpspi: allow to configure data pins
manuargue Jul 6, 2023
c7200ca
soc: nxp_s32: add LPSPI to S32K344
manuargue Jul 6, 2023
565e582
boards: arm: mr_canhubk3: enable support for LPSPI
manuargue Jul 6, 2023
3d36af1
drivers: watchdog: support NXP FS26 watchdog
manuargue Jul 6, 2023
f2ff27b
boards: arm: mr_canhubk3: enable NXP FS26 wdt support
manuargue Jul 6, 2023
cb54a31
samples: watchdog: add support for NXP FS26 watchdog
manuargue Jul 6, 2023
42e8678
samples: task_wdt: add scenario without hw fallback
manuargue Jul 6, 2023
eb3a56d
sensor: dht: return error if channel not supported
joseppc Jul 28, 2023
2143502
include: util: Add Z_DETECT_POINTER_OVERFLOW()
peter-mitsis Jul 31, 2023
bd5839e
kernel: Fix wrap-around check in kernel/mmu.h
peter-mitsis Jul 31, 2023
fb8f214
scripts: gen_defines.py: Update doc reference
yashi Jun 18, 2023
e4eadfa
boards: arm: add initial support for efr32bg22_brd4184b
pepe2k Jun 19, 2023
e36b0a4
boards: arm: doc: update EFR32BG BRD4184 documentation
pepe2k Jun 19, 2023
f16f1ae
net: openthread: Initialize PSA crypto when random is initializing
ArekBalysNordic Jul 31, 2023
e4de669
Revert "cmake: linker: arm: put RAM sections in RAM region"
57300 Jun 8, 2023
f132f55
drivers: spi_nrfx_spis: Refactor prepare_for_transfer()
anangl Jul 27, 2023
7974ff2
drivers: spi_nrfx_*: Add support for optional WAKE line
anangl Jul 31, 2023
77dde5d
llvm: Add ARMv6-M, ARMv7-M, ARMv8-M Mainline and Baseline targets
duda-patryk Jul 17, 2023
cf55f83
core: aarch32: Fix standard for _Float16 in CONFIG_FP16 help message
duda-patryk Jul 17, 2023
f16c432
clang: Don't specify FP16 format
duda-patryk Jul 17, 2023
624fcba
clang: Use rtlib provided by compiler instead of hardcoding libgcc
duda-patryk Jun 29, 2023
3a97fe2
clang: Provide --target option when determining path to runtime library
duda-patryk Jul 14, 2023
49fefcf
Bluetooth: audio: tbs: Fix List_Item_Length value in CCL
MariuszSkamra Jul 21, 2023
d511ef4
Bluetooth: audio: tbs: Refactor service definition macro
MariuszSkamra Jul 18, 2023
598fd31
drivers: sensor: Fix return value for unsupported channels
MaureenHelm Jul 31, 2023
73944c6
kernel/sched: fix thread selection when ABORTING + PENDING
vdsh-sc Jul 24, 2023
1dfa711
net: lwm2m: Create socketpair that can wake up zsock_poll()
SeppoTakalo Jul 27, 2023
2da8844
net: lwm2m: Add support for non-periodic services
SeppoTakalo Jul 27, 2023
518bbc1
net: lwm2m: Refactor RD client to be tickless
SeppoTakalo Jul 27, 2023
4f61303
maintainers: add NXP orphaned files to its area
manuargue Jul 31, 2023
5037e3a
ethernet: sam-gmac: make phy a phandle of the ethernet device
fabiobaltieri Jul 25, 2023
838ab80
net: coap: Use 64bit timestamps
SeppoTakalo Aug 1, 2023
a451a03
doc: release-notes: Add release notes about LwM2M and CoAP changes
SeppoTakalo Aug 1, 2023
68ee177
linker: devicetree_regions: Infer VMA when defining section
talih0 Jun 17, 2023
623fb0e
build: relocation: Fix long command-line invocations
carlescufi Jul 31, 2023
ee73cad
tests: remove tests. prefix from identifier
nashif Aug 1, 2023
bc72b13
tests: cmake: fix identifier
nashif Aug 1, 2023
27c67f2
tests: coredump: unify identifiers of tests
nashif Aug 1, 2023
63adf9e
tests: openthread: fix identifiers
nashif Aug 1, 2023
79e2f22
tests: misc: fix identifiers
nashif Aug 1, 2023
66969fc
tests: mgmt: fix test identifiers
nashif Aug 1, 2023
af7b336
emul: icm42688: Implement backend sensor emul API
tristan-google Aug 1, 2023
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .github/workflows/bsim-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
|| steps.check-networking-files.outputs.any_changed == 'true'
|| steps.check-common-files.outputs.any_changed == 'true'
run: |
export BSIM_VERSION=$( west list bsim -f {sha} )
export BSIM_VERSION=$( west list bsim -f {revision} )
echo "Manifest points to bsim sha $BSIM_VERSION"
cd /opt/bsim_west/bsim
git fetch -n origin ${BSIM_VERSION}
Expand Down
27 changes: 16 additions & 11 deletions .github/workflows/doc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
- 'west.yml'
- '.github/workflows/doc-build.yml'
- 'scripts/dts/**'
- 'scripts/requirements-doc.txt'
- 'doc/requirements.txt'

env:
# NOTE: west docstrings will be extracted from the version listed here
Expand All @@ -35,7 +35,7 @@ env:
jobs:
doc-build-html:
name: "Documentation Build (HTML)"
runs-on: ubuntu-22.04
runs-on: zephyr-runner-linux-x64-4xlarge
timeout-minutes: 45
concurrency:
group: doc-build-html-${{ github.ref }}
Expand All @@ -57,21 +57,21 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: pip-${{ hashFiles('scripts/requirements-doc.txt') }}
key: pip-${{ hashFiles('doc/requirements.txt') }}

- name: install-pip
run: |
sudo pip3 install -U setuptools wheel pip
pip3 install -r scripts/requirements-doc.txt
pip3 install -r doc/requirements.txt
pip3 install west==${WEST_VERSION}
pip3 install cmake==${CMAKE_VERSION}

- name: west setup
run: |
west init -l .
west update bsim

- name: build-docs
shell: bash
run: |
if [[ "$GITHUB_REF" =~ "refs/tags/v" ]]; then
DOC_TAG="release"
Expand All @@ -85,7 +85,7 @@ jobs:
DOC_TARGET="html"
fi

DOC_TAG=${DOC_TAG} SPHINXOPTS="-q -W -t publish" make -C doc ${DOC_TARGET}
DOC_TAG=${DOC_TAG} SPHINXOPTS_EXTRA="-q -t publish" make -C doc ${DOC_TARGET}

- name: compress-docs
run: |
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
doc-build-pdf:
name: "Documentation Build (PDF)"
if: github.event_name != 'pull_request'
runs-on: ubuntu-22.04
runs-on: zephyr-runner-linux-x64-4xlarge
container: texlive/texlive:latest
timeout-minutes: 60
concurrency:
Expand All @@ -137,7 +137,7 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: pip-${{ hashFiles('scripts/requirements-doc.txt') }}
key: pip-${{ hashFiles('doc/requirements.txt') }}

- name: setup-venv
run: |
Expand All @@ -148,16 +148,17 @@ jobs:
- name: install-pip
run: |
pip3 install -U setuptools wheel pip
pip3 install -r scripts/requirements-doc.txt
pip3 install -r doc/requirements.txt
pip3 install west==${WEST_VERSION}
pip3 install cmake==${CMAKE_VERSION}

- name: west setup
run: |
west init -l .
west update bsim

- name: build-docs
shell: bash
continue-on-error: true
run: |
if [[ "$GITHUB_REF" =~ "refs/tags/v" ]]; then
DOC_TAG="release"
Expand All @@ -168,7 +169,11 @@ jobs:
DOC_TAG=${DOC_TAG} SPHINXOPTS="-q -j auto" LATEXMKOPTS="-quiet -halt-on-error" make -C doc pdf

- name: upload-build
if: always()
uses: actions/upload-artifact@v3
with:
name: pdf-output
path: doc/_build/latex/zephyr.pdf
if-no-files-found: ignore
path: |
doc/_build/latex/zephyr.pdf
doc/_build/latex/zephyr.log
2 changes: 1 addition & 1 deletion .github/workflows/west_cmds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
- name: install pytest
run: |
pip3 install wheel
pip3 install pytest west pyelftools canopen progress mypy intelhex psutil ply pyserial
pip3 install pytest west pyelftools canopen natsort progress mypy intelhex psutil ply pyserial
- name: run pytest-win
if: runner.os == 'Windows'
run: |
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ Identity.txt
ImageSize.txt
Kconfig.txt
KconfigBasic.txt
KconfigBasicNoModules.txt
MaintainersFormat.txt
Nits.txt
Pylint.txt
Expand Down
114 changes: 81 additions & 33 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ set(CMAKE_EXECUTABLE_SUFFIX .elf)
# into the `zephyr_final` target.
#
# Multiple linking stages are required in the following cases:
# - device handles structs must be generated (CONFIG_HAS_DTS=y)
# - device dependencies structs must be generated (CONFIG_DEVICE_DEPS=y)
# - ISR tables must be generated (CONFIG_GEN_ISR_TABLES=y)
# - Kernel objects hash tables (CONFIG_USERSPACE=y)
# - Application memory partitions (CONFIG_USERSPACE=y)
Expand All @@ -75,7 +75,7 @@ set(ZEPHYR_LINK_STAGE_EXECUTABLE zephyr_pre${ZEPHYR_CURRENT_LINKER_PASS})
# existing variable to allow slowly cleanup of linking stage handling.
# Three stage linking active: pre0 -> pre1 -> final, this will correspond to `pre1`
# Two stage linking active: pre0 -> final, this will correspond to `pre0`
if(CONFIG_USERSPACE OR CONFIG_HAS_DTS)
if(CONFIG_USERSPACE OR CONFIG_DEVICE_DEPS)
set(ZEPHYR_PREBUILT_EXECUTABLE zephyr_pre1)
else()
set(ZEPHYR_PREBUILT_EXECUTABLE zephyr_pre0)
Expand All @@ -92,6 +92,11 @@ set(PARSE_SYSCALLS_TARGET parse_syscalls_target)
define_property(GLOBAL PROPERTY PROPERTY_OUTPUT_FORMAT BRIEF_DOCS " " FULL_DOCS " ")
set_property( GLOBAL PROPERTY PROPERTY_OUTPUT_FORMAT elf32-little${ARCH}) # BFD format

# Contains the list of files with syscall function prototypes.
add_library(syscalls_interface INTERFACE)
set(syscalls_file_list_output
${CMAKE_CURRENT_BINARY_DIR}/misc/generated/syscalls_file_list.txt)

# "zephyr_interface" is a source-less library that encapsulates all the global
# compiler options needed by all source files. All zephyr libraries,
# including the library named "zephyr" link with this library to
Expand Down Expand Up @@ -341,12 +346,12 @@ toolchain_ld_force_undefined_symbols(
_ConfigAbsSyms
)

if(NOT CONFIG_NATIVE_APPLICATION)
if(NOT CONFIG_NATIVE_BUILD)
# @Intent: Set linker specific flags for bare metal target
toolchain_ld_baremetal()
endif()

if(CONFIG_CPP AND NOT CONFIG_MINIMAL_LIBCPP)
if(CONFIG_CPP AND NOT CONFIG_MINIMAL_LIBCPP AND NOT CONFIG_NATIVE_LIBRARY)
# @Intent: Set linker specific flags for C++
toolchain_ld_cpp()
endif()
Expand Down Expand Up @@ -389,7 +394,12 @@ zephyr_compile_options($<$<COMPILE_LANGUAGE:CXX>:$<TARGET_PROPERTY:compiler-cpp,
# @Intent: Do not make position independent code / executable
zephyr_compile_options($<$<COMPILE_LANGUAGE:C>:$<TARGET_PROPERTY:compiler,no_position_independent>>)
zephyr_compile_options($<$<COMPILE_LANGUAGE:CXX>:$<TARGET_PROPERTY:compiler,no_position_independent>>)
zephyr_link_libraries($<TARGET_PROPERTY:linker,no_position_independent>)

# In case of CONFIG_NATIVE_LIBRARY we also don't want position independent code,
# but we cannot tell that to the linker yet as we are first only doing a
# relocatable link into a static library
zephyr_link_libraries_ifndef(CONFIG_NATIVE_LIBRARY
$<TARGET_PROPERTY:linker,no_position_independent>)

# Allow the user to inject options when calling cmake, e.g.
# 'cmake -DEXTRA_CFLAGS="-Werror -Wno-deprecated-declarations" ..'
Expand Down Expand Up @@ -475,8 +485,9 @@ if(CONFIG_USERSPACE)
endif()

get_property(TOPT GLOBAL PROPERTY TOPT)
set_ifndef( TOPT -Wl,-T) # clang doesn't pick -T for some reason and complains,
# while -Wl,-T works for both, gcc and clang
get_property(COMPILER_TOPT TARGET compiler PROPERTY linker_script)
set_ifndef( TOPT "${COMPILER_TOPT}")
set_ifndef( TOPT -Wl,-T) # Use this if the compiler driver doesn't set a value

if(CONFIG_HAVE_CUSTOM_LINKER_SCRIPT)
set(LINKER_SCRIPT ${APPLICATION_SOURCE_DIR}/${CONFIG_CUSTOM_LINKER_SCRIPT})
Expand Down Expand Up @@ -728,13 +739,16 @@ add_custom_command(
COMMAND
${PYTHON_EXECUTABLE}
${ZEPHYR_BASE}/scripts/build/parse_syscalls.py
--include ${ZEPHYR_BASE}/include # Read files from this dir
--include ${ZEPHYR_BASE}/drivers # For net sockets
--include ${ZEPHYR_BASE}/subsys/net # More net sockets
--scan ${ZEPHYR_BASE}/include # Read files from this dir
--scan ${ZEPHYR_BASE}/drivers # For net sockets
--scan ${ZEPHYR_BASE}/subsys/net # More net sockets
${parse_syscalls_include_args} # Read files from these dirs also
--json-file ${syscalls_json} # Write this file
--tag-struct-file ${struct_tags_json} # Write subsystem list to this file
--file-list ${syscalls_file_list_output}
$<$<BOOL:${CONFIG_EMIT_ALL_SYSCALLS}>:--emit-all-syscalls>
DEPENDS ${syscalls_subdirs_trigger} ${PARSE_SYSCALLS_HEADER_DEPENDS}
${syscalls_file_list_output} ${syscalls_interface}
)

# Make sure Picolibc is built before the rest of the system; there's no explicit
Expand Down Expand Up @@ -850,6 +864,14 @@ zephyr_get_include_directories_for_lang(C ZEPHYR_INCLUDES)

add_subdirectory(kernel)

get_property(
syscalls_file_list
TARGET syscalls_interface
PROPERTY INTERFACE_INCLUDE_DIRECTORIES
)
file(CONFIGURE OUTPUT ${syscalls_file_list_output}
CONTENT "@syscalls_file_list@" @ONLY)

# Read list content
get_property(ZEPHYR_LIBS_PROPERTY GLOBAL PROPERTY ZEPHYR_LIBS)

Expand Down Expand Up @@ -896,33 +918,38 @@ zephyr_get_include_directories_for_lang(C
STRIP_PREFIX # Don't use a -I prefix
)

if(CONFIG_PM_DEVICE_POWER_DOMAIN_DYNAMIC)
set(number_of_dynamic_devices ${CONFIG_PM_DEVICE_POWER_DOMAIN_DYNAMIC_NUM})
else()
set(number_of_dynamic_devices 0)
endif()
if(CONFIG_DEVICE_DEPS)
if(CONFIG_DEVICE_DEPS_DYNAMIC)
set(dynamic_deps --dynamic-deps)
endif()

if(CONFIG_HAS_DTS)
# dev_handles.c is generated from ${ZEPHYR_LINK_STAGE_EXECUTABLE} by
# gen_handles.py
if(CONFIG_PM_DEVICE_POWER_DOMAIN_DYNAMIC)
set(number_of_dynamic_devices ${CONFIG_PM_DEVICE_POWER_DOMAIN_DYNAMIC_NUM})
else()
set(number_of_dynamic_devices 0)
endif()

# device_deps.c is generated from ${ZEPHYR_LINK_STAGE_EXECUTABLE} by
# gen_device_deps.py
add_custom_command(
OUTPUT dev_handles.c
OUTPUT device_deps.c
COMMAND
${PYTHON_EXECUTABLE}
${ZEPHYR_BASE}/scripts/build/gen_handles.py
--output-source dev_handles.c
${ZEPHYR_BASE}/scripts/build/gen_device_deps.py
--output-source device_deps.c
--output-graphviz dev_graph.dot
${dynamic_deps}
--num-dynamic-devices ${number_of_dynamic_devices}
--kernel $<TARGET_FILE:${ZEPHYR_LINK_STAGE_EXECUTABLE}>
--zephyr-base ${ZEPHYR_BASE}
--start-symbol "$<TARGET_PROPERTY:linker,devices_start_symbol>"
VERBATIM
DEPENDS ${ZEPHYR_LINK_STAGE_EXECUTABLE}
)
set_property(GLOBAL APPEND PROPERTY GENERATED_APP_SOURCE_FILES dev_handles.c)
set_property(GLOBAL APPEND PROPERTY GENERATED_APP_SOURCE_FILES device_deps.c)

# gen_handles runs on `__device_handles_pass1` so pass this info to the linker script generator
list(APPEND LINKER_PASS_${ZEPHYR_CURRENT_LINKER_PASS}_DEFINE "LINKER_DEVICE_HANDLES_PASS1")
# gen_device_deps runs on `__device_deps_pass1` so pass this info to the linker script generator
list(APPEND LINKER_PASS_${ZEPHYR_CURRENT_LINKER_PASS}_DEFINE "LINKER_DEVICE_DEPS_PASS1")
endif()

if(CONFIG_CODE_DATA_RELOCATION)
Expand Down Expand Up @@ -1156,7 +1183,7 @@ if(CONFIG_USERSPACE)
)
endif()

if(CONFIG_USERSPACE OR CONFIG_HAS_DTS)
if(CONFIG_USERSPACE OR CONFIG_DEVICE_DEPS)
configure_linker_script(
${ZEPHYR_CURRENT_LINKER_CMD}
"${LINKER_PASS_${ZEPHYR_CURRENT_LINKER_PASS}_DEFINE}"
Expand Down Expand Up @@ -1188,6 +1215,8 @@ if(CONFIG_USERSPACE OR CONFIG_HAS_DTS)
LIBRARIES_POST_SCRIPT ""
DEPENDENCIES ${CODE_RELOCATION_DEP}
)
target_link_libraries_ifdef(CONFIG_NATIVE_LIBRARY ${ZEPHYR_LINK_STAGE_EXECUTABLE}
$<TARGET_PROPERTY:linker,no_position_independent>)
target_byproducts(TARGET ${ZEPHYR_LINK_STAGE_EXECUTABLE}
BYPRODUCTS ${PROJECT_BINARY_DIR}/${ZEPHYR_LINK_STAGE_EXECUTABLE}.map
)
Expand Down Expand Up @@ -1405,6 +1434,8 @@ toolchain_ld_link_elf(
LINKER_SCRIPT ${PROJECT_BINARY_DIR}/${ZEPHYR_CURRENT_LINKER_CMD}
DEPENDENCIES ${CODE_RELOCATION_DEP}
)
target_link_libraries_ifdef(CONFIG_NATIVE_LIBRARY ${ZEPHYR_LINK_STAGE_EXECUTABLE}
$<TARGET_PROPERTY:linker,partial_linking>)
target_byproducts(TARGET ${ZEPHYR_LINK_STAGE_EXECUTABLE}
BYPRODUCTS ${PROJECT_BINARY_DIR}/${ZEPHYR_LINK_STAGE_EXECUTABLE}.map
)
Expand Down Expand Up @@ -1734,15 +1765,32 @@ if(CONFIG_BUILD_OUTPUT_STRIPPED)
endif()

if(CONFIG_BUILD_OUTPUT_EXE)
list(APPEND
post_build_commands
COMMAND
${CMAKE_COMMAND} -E copy ${KERNEL_ELF_NAME} ${KERNEL_EXE_NAME}
)
list(APPEND
post_build_byproducts
${KERNEL_EXE_NAME}
if (NOT CONFIG_NATIVE_LIBRARY)
list(APPEND
post_build_commands
COMMAND
${CMAKE_COMMAND} -E copy ${KERNEL_ELF_NAME} ${KERNEL_EXE_NAME}
)
list(APPEND
post_build_byproducts
${KERNEL_EXE_NAME}
)
else()
if(CMAKE_GENERATOR STREQUAL "Unix Makefiles")
set(MAKE "${CMAKE_MAKE_PROGRAM}" CACHE FILEPATH "cmake defined make")
endif()
find_program(MAKE make REQUIRED)
add_custom_target(native_runner_executable
ALL
COMMENT "Building native simulator runner, and linking final executable"
COMMAND
${MAKE} -f ${ZEPHYR_BASE}/scripts/native_simulator/Makefile all --warn-undefined-variables
-r NSI_CONFIG_FILE=${CMAKE_BINARY_DIR}/zephyr/NSI/nsi_config
# nsi_config is created by the board cmake file
DEPENDS ${logical_target_for_zephyr_elf}
BYPRODUCTS ${KERNEL_EXE_NAME}
)
endif()
endif()

if(CONFIG_BUILD_OUTPUT_INFO_HEADER)
Expand Down
Loading