- 1-1-8 and 1-8-8 page program commands for 3-byte addressing
- 1-1-8 and 1-8-8 page program commands for 4-byte addressing
Signed-off-by: Albort Xue <yao.xue@nxp.com>
Copyright sign, trademark sign, registered trademark sign, ... and other
non-ASCII characters are OK to use in the documentation source files.
Replace them with the corresponding Unicode characters.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Our doc guidelines still recommend using substitutions for non-ASCII
characters but there is no strong reason to keep doing so in 2026.
Substitutions oftem times actually make the documentation sources harder
to read (e.g. `|plusminus| 2 |deg| C`), they can cause typographical
errors if folks don't use them properly, etc.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
when --file-type is provided without --file, automatically select
the corresponding build artifact (zephyr.hex, zephyr.bin, or
zephyr.elf) instead of requiring the user to specify both flags.
the validation that --file-type requires --file is preserved in
core.py, but run_common.py now auto-populates --file before the
validation runs.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
There's now the KConfig option `CONFIG_MCUMGR_TRANSPORT_LORAWAN`,
but no corresponding entry in the tools table exists yet.
Signed-off-by: Martin Stumpf <finomnis@gmail.com>
Zephyr was crashing in hpet when the base address
wasn't set yet when using MMU and when
`cyc_per_tick` was not defined yet.
Signed-off-by: Juliusz Sosinowicz <juliusz@wolfssl.com>
add extensive test suite for nucleo_g474re OPAMP driver covering most
features and configurations.
Signed-off-by: Alexander Kozhinov <ak.alexander.kozhinov@gmail.com>
Only enable STM32 RNG peripheral when building for non-TF-M targets and
disable it for TF-M builds to avoid conflicts with the secure side.
For TF-M builds, enable the PSA Crypto RNG driver instead.
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
Sleeptimer must be initialized before sl_power_manager since
SiSDK 2025.12, as it's no longer done internally in the power
manager.
Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
`CONFIG_POSIX_API` should have been deprecated prior to v4.3.0 but the
deprecation was not accepted in PR #97855.
One of the reasons that it should be deprecated, is that it became a
dumping grounds of extra kconfig options, since it was not fixed in scope.
Enable only the minimum required for this test by substituting
```
CONFIG_POSIX_AEP_CHOICE_BASE=y
CONFIG_XSI_SINGLE_PROCESS=y
```
for
```
CONFIG_POSIX_API=y
CONFIG_XSI_SINGLE_PROCESS=y
```
This allows small platforms with < 16 kiB of ram to run the test, and
indeed, less than 256 bytes of heap space is required for the test, so
remove the unnecessary `min_ram` directive in `testcase.yaml` accordingly.
Signed-off-by: Chris Friedt <chris@fr4.co>
The `ucontext_t` structure includes a `stack_t` structure, so move the
definition of the `stack_t` structure ahead of `ucontext_t` to avoid
the error below.
```
In file included from lib/libc/minimal/include/signal.h:41,
from lib/posix/options/aio.c:8:
../zephyr/posix/posix_signal.h:204:9: error: unknown type name 'stack_t'
204 | stack_t uc_stack;
| ^~~~~~~
```
This would have also been fixed by #97855 but that PR still has not been
merged in spite of having had sufficient approvals.
Signed-off-by: Chris Friedt <chris@fr4.co>
Some C libraries do not declare `putenv()` in `stdlib.h`. This would have
been remedied had #97855 been merged. However, it was blocked from being
merged prior to v4.3.0.
Declare `putenv()` locally in the test until #97855 makes it into `main`.
Signed-off-by: Chris Friedt <chris@fr4.co>
There are slightly different definitions of pthread_attr_t in-tree.
This would have also been fixed by #97855 but that PR still has not been
merged in spite of having had sufficient approvals.
For now, fix it in a separate PR to avoid the error below.
```
include/zephyr/posix/posix_types.h:98:29: error: conflicting types for \
'pthread_attr_t'; have 'struct pthread_attr'
98 | typedef struct pthread_attr pthread_attr_t;
| ^~~~~~~~~~~~~~
In file included from lib/libc/minimal/include/signal.h:41,
from lib/posix/options/posix_internal.h:12:
include/zephyr/posix/posix_signal.h:92:3: note: previous declaration of \
'pthread_attr_t' with type 'pthread_attr_t'
92 | } pthread_attr_t;
| ^~~~~~~~~~~~~~
```
Signed-off-by: Chris Friedt <chris@fr4.co>
Exclulde `tests/posix/` when running coccinelle checks for reserved names
since POSIX implements much of the reserved names.
This avoids the following failure in CI
```shell
Error: tests/posix/xsi_single_process/src/putenv.c:12: WARNING: \
Violation to rule 21.2 (Should not used a reserved identifier) - putenv
```
Signed-off-by: Chris Friedt <chris@fr4.co>
POSIX API documentation should be warning-only for now, since there will
still be many changes and ideally we would like to minimize
documentation churn, leveraging the spec as much as possible.
Signed-off-by: Chris Friedt <chris@fr4.co>
Adds sys_mem_blocks as an alternative implementation
for the heap. Users have reported that k_heap allocating
additional bytes for bookkeeping data when allocating e.g.
a LLEXT_PAGE for an extension region causes them to skip
an entire page for the next allocation. This also causes
problems RE: MPU slot usage. sys_mem_blocks stores bookkeeping
data outside of the memory it allocates from and does not
have this issue.
Note that sys_mem_blocks is only used to allocate extension
regions. Metadata is still stored in a k_heap.
Note also that tracking data for sys_mem_blocks must be stored
per extension, as unlike k_heap it can't deallocate with just
a pointer to the memory.
Further limitations:
* sys_mem_blocks is statically allocated, so this option
cannot be used with CONFIG_LLEXT_HEAP_DYNAMIC
* A minimum of 1 block must be allocated per region
regardless of size.
* If using the MPU / MMU where small allocations are
rounded up to LLEXT_PAGE regardless, this penalty
is not quite as noticeable.
* sys_mem_blocks does not support aligned allocations. However,
by selecting a sufficiently large power of 2 for the
block size and aligning the backing buffer to the block size,
any allocation will be automatically aligned for the block size
and smaller powers of 2. For LLEXT, this means users must select
a block size equal to or a multiple of the largest
requested region alignment of regions going on the heap
* If your MPU selects CONFIG_MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT,
large regions may cause unreasonably large maximum requested
region alignments
* Block size must also be equal to or a multiple of
LLEXT_PAGE_SIZE so each allocation is LLEXT page aligned
Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
Adds a Kconfig option to select LLEXT heap implementation.
Another choice, sys_mem_blocks, will be introduced in the
following commit.
Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
Now that the LTDC driver is taking care of flushing the cache
on display_write call, there is no need to have the framebuffer
memory cache disabled.
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
When dealing with full frame write, ensure that the buffer content
is well flushed into memory so that the LTDC is able to access to the
correct data.
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Rework the way stm32_ltdc_write function is written, splitting
into several functions in order to gain in readibility.
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Add test support for I2C driver of RZ/A2M-EVK
Signed-off-by: Hoang Nguyen <hoang.nguyen.jx@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
Add I2C support for board RZ/A2M-EVK
Signed-off-by: Hoang Nguyen <hoang.nguyen.jx@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
Add I2C driver support for Renesas RZ/A2M
Signed-off-by: Hoang Nguyen <hoang.nguyen.jx@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
Add NRF_TRUSTZONE_X_REGION_SIZE for mpc region size alignment.
fix missing include of soc header file.
Signed-off-by: Travis Lam <travis.lam@nordicsemi.no>
1. enable watchdog support
2. verified tests/drivers/watchdog/wdt_basic_api
Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
1. enable dma support
2. verified tests/drivers/dma/loop_transfer/
Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
edma have different versions. mcxa577 edma belong to v3,
so need update mcxa577 dma version to 3 in dtsi file.
Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>