Skip to content

Commit 8f7a86e

Browse files
authored
Merge branch 'zephyrproject-rtos:main' into main
2 parents 15a3eec + e438b57 commit 8f7a86e

File tree

170 files changed

+1105
-681
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+1105
-681
lines changed

.github/workflows/compliance.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,10 @@ jobs:
6666
node-version: "lts/*"
6767
cache: npm
6868
check-latest: true
69+
cache-dependency-path: ./scripts/ci/package-lock.json
6970

7071
- name: Install Node dependencies
71-
run: npm ci
72+
run: npm --prefix ./scripts/ci ci
7273

7374
- name: Run Compliance Tests
7475
continue-on-error: true

.ruff-excludes.toml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,17 +1088,6 @@
10881088
"I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
10891089
"UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
10901090
]
1091-
"./tests/drivers/can/host/pytest/can_shell.py" = [
1092-
"I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1093-
"SIM401", # https://docs.astral.sh/ruff/rules/if-else-block-instead-of-dict-get
1094-
"UP006", # https://docs.astral.sh/ruff/rules/non-pep585-annotation
1095-
"UP035", # https://docs.astral.sh/ruff/rules/deprecated-import
1096-
"UP045", # https://docs.astral.sh/ruff/rules/non-pep604-annotation-optional
1097-
]
1098-
"./tests/drivers/can/host/pytest/test_can.py" = [
1099-
"I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1100-
"UP039", # https://docs.astral.sh/ruff/rules/unnecessary-class-parentheses
1101-
]
11021091
"./tests/kernel/timer/timer_behavior/pytest/saleae_logic2.py" = [
11031092
"B905", # https://docs.astral.sh/ruff/rules/zip-without-explicit-strict
11041093
"I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
@@ -1481,9 +1470,6 @@ exclude = [
14811470
"./tests/boot/with_mcumgr/pytest/test_downgrade_prevention.py",
14821471
"./tests/boot/with_mcumgr/pytest/test_upgrade.py",
14831472
"./tests/boot/with_mcumgr/pytest/west_sign_wrapper.py",
1484-
"./tests/drivers/can/host/pytest/can_shell.py",
1485-
"./tests/drivers/can/host/pytest/conftest.py",
1486-
"./tests/drivers/can/host/pytest/test_can.py",
14871473
"./tests/kernel/timer/timer_behavior/pytest/saleae_logic2.py",
14881474
"./tests/kernel/timer/timer_behavior/pytest/test_timer.py",
14891475
"./tests/lib/devicetree/memory_region_flags/pytest/test_memory_region_flags.py",

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,10 @@ zephyr_get(KERNEL_VERSION_CUSTOMIZATION SYSBUILD LOCAL)
737737
set_property(TARGET version_h PROPERTY KERNEL_VERSION_CUSTOMIZATION ${KERNEL_VERSION_CUSTOMIZATION})
738738

739739
if(EXISTS ${APPLICATION_SOURCE_DIR}/VERSION)
740+
# A generator expression is used to allow applications to add their own dependencies for the
741+
# file version, this might typically be the git index file if the application is in a git
742+
# repository. To add a dependency to the application version file, this can be used:
743+
# set_property(TARGET app_version_h PROPERTY APP_VERSION_DEPENDS <FILE>)
740744
add_custom_command(
741745
OUTPUT ${PROJECT_BINARY_DIR}/include/generated/zephyr/app_version.h
742746
COMMAND ${CMAKE_COMMAND} -DZEPHYR_BASE=${ZEPHYR_BASE}
@@ -747,6 +751,7 @@ if(EXISTS ${APPLICATION_SOURCE_DIR}/VERSION)
747751
${build_version_argument}
748752
-P ${ZEPHYR_BASE}/cmake/gen_version_h.cmake
749753
DEPENDS ${APPLICATION_SOURCE_DIR}/VERSION ${git_dependency}
754+
$<TARGET_PROPERTY:app_version_h,APP_VERSION_DEPENDS>
750755
COMMAND_EXPAND_LISTS
751756
)
752757
add_custom_target(

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ VERSION_MAJOR = 4
22
VERSION_MINOR = 3
33
PATCHLEVEL = 0
44
VERSION_TWEAK = 0
5-
EXTRAVERSION = rc1
5+
EXTRAVERSION = rc2

arch/arm64/core/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ config CPU_CORTEX_A
99
select HAS_FLASH_LOAD_OFFSET
1010
select SCHED_IPI_SUPPORTED if SMP
1111
select CPU_HAS_FPU
12-
select ARCH_HAS_SINGLE_THREAD_SUPPORT
12+
select ARCH_HAS_SINGLE_THREAD_SUPPORT if !SMP
1313
select CPU_HAS_DCACHE
1414
select CPU_HAS_ICACHE
1515
imply FPU

arch/xtensa/core/irq_manage.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ int xtensa_irq_is_enabled(unsigned int irq)
122122
break;
123123
#endif
124124
default:
125+
ie = 0;
125126
break;
126127
}
127128
#else

boards/ambiq/apollo2_evb/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Hardware
77

88
The Ambiq Apollo2 SoC provides the following hardware features:
99

10-
- ARM® Cortex® M4F core with a Floating Point Unit
10+
- ARM® Cortex®-M4F core with a Floating Point Unit
1111
- Up to 48 MHz operating frequency
1212
- 16 kB 2-way Associative Cache
1313
- Up to 1 MB of flash memory for code/data

boards/ambiq/apollo3_evb/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Hardware
66
********
77

88
- Apollo3 Blue SoC with up to 96 MHz operating frequency
9-
- ARM® Cortex® M4F core
9+
- ARM® Cortex®-M4F core
1010
- 16 kB 2-way Associative/Direct-Mapped Cache per core
1111
- Up to 1 MB of flash memory for code/data
1212
- Up to 384 KB of low leakage / low power RAM for code/data

boards/ambiq/apollo3p_evb/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Hardware
66
********
77

88
- Apollo3 Blue Plus SoC with up to 96 MHz operating frequency
9-
- ARM® Cortex® M4F core
9+
- ARM® Cortex®-M4F core
1010
- 16 kB 2-way Associative/Direct-Mapped Cache per core
1111
- Up to 2 MB of flash memory for code/data
1212
- Up to 768 KB of low leakage / low power RAM for code/data

boards/ambiq/apollo4p_blue_kxr_evb/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Hardware
66
********
77

88
- Apollo4 Blue Plus SoC with upto 192 MHz operating frequency
9-
- ARM® Cortex® M4F core
9+
- ARM® Cortex®-M4F core
1010
- 64 kB 2-way Associative/Direct-Mapped Cache per core
1111
- Up to 2 MB of non-volatile memory (NVM) for code/data
1212
- Up to 2.75 MB of low leakage / low power RAM for code/data

0 commit comments

Comments
 (0)