Do not generate a compliance error when referring to generated Kconfig
symbols from Devicetree.
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Commit fixes the issue when lpn device relays
broad- and group cast messages received over
friendship queue. This is specification violation,
see Table 3.13: Network layer Network PDU retransmission
requirements. Also, it does not have sense since
sending messages have already happened and lpn
just consumes extra power to retransmit useless data.
In general, lpn device will be more power efficient after
this fix.
Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
Only modify the definitions that need to be changed in the pinmux register;
SR/IS will retain their default values after reset.
Signed-off-by: Haoran Jiang <halfsweet@halfsweet.cn>
- Add sifli and analog definitions
- Modify the drive-strength definition to use the original register
definition instead of the physical current value, as different I/O
pins may have different definitions
Signed-off-by: Haoran Jiang <halfsweet@halfsweet.cn>
This commit fixes build issue when multi level interrupts is enabled,
define TEST_IRQ_NUM as (CONFIG_2ND_LVL_ISR_TBL_OFFSET - 1)
- CMSIS/Core/Include/core_cm33.h:2438:15: error: array subscript 24
is above array bounds of volatile uint32_t[16]
Signed-off-by: Biwen Li <biwen.li@nxp.com>
LPTMR is a commonly used wake-up source for many NXP MCUs and
may be used as the companion low-power timer for the Cortex-M
systick. This commit enabled LPTMR set and cancel ALARM functions.
Enabling single-shot alarm support requires reprogramming
the hardware compare register (COMPARE/CMR), which is the same
resource used for the periodic TOP callback. Because of this
hardware limitation, we added Kconfig 'CONFIG_COUNTER_MCUX_LPTMR_ALARM'
to select whether alarm support is enabled. When alarm support is
enabled the driver will not allow support set TOP operation at runtime
(attempts to set TOP will return -ENOTSUP); When alarm support is
disabled the driver will not allow set and cancel ALARM operation
at runtime (attempts to set and cancel ALARM will return -ENOTSUP).
Choose the configuration that matches your application's requirements.
Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
PTS may send absolute volume values with bit 7 set, which exceed the
valid range. Instead of rejecting these values, mask the invalid bit
to ensure compatibility.
Signed-off-by: Make Shi <make.shi@nxp.com>
Added a check in the vendor dependent handler to ensure the PDU ID
matches supported command handlers. If the PDU ID or command type
is invalid, respond with BT_AVRCP_STATUS_INVALID_COMMAND.
Signed-off-by: Make Shi <make.shi@nxp.com>
Add the functions below to the minimal libc ctype.h since they are
missing, and are required as of C89 (C99 for `isblank()`)
* `isblank()`
* `islower()`
* `ispunct()`
Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
A review comment in the PR below requested that unnecessary casts were
removed from ctype.h in the PR below.
https://github.com/zephyrproject-rtos/zephyr/pull/99451
Tested with manual compilation in C and C++ mode with the arguments
```shell
gcc -Wconversion -Werror -Wall -Wextra -Wint-conversion
clang -Wconversion -Werror -Wall -Wextra -Wint-conversion
gcc -Wconversion -Werror -Wall -Wimplicit--Wextra
clang++ -Wconversion -Werror -Wall -Wextra
```
and also with `-- -DCONFIG_COMPILER_WARNINGS_AS_ERRORS=y`
Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
Based on review feedback, it was suggested to express ctype
character checks in a more direct fashion, rather than using
arithmetic, and allow the compiler to optimize as it sees fit.
https://github.com/zephyrproject-rtos/zephyr/pull/99451#\
discussion_r2530339430
Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
The "check warns" workflow in CI warned over the use of `unsigned` as a
shorthand for `unsigned int` in several locations in
`lib/libc/minimal/include/ctype.h`.
```
UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
File:lib/libc/minimal/include/ctype.h
```
Adjust `unsigned` to `unsigned int` to avoid linter warnings.
Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
Select CPU_HAS_ICACHE and HAS_MCUX_LMEM_CACHE.
Default CACHE_MANAGEMENT=y and select EXTERNAL_CACHE.
Prepares MCXE24x to use the LMEM cache driver.
Signed-off-by: Holt Sun <holt.sun@nxp.com>
Add LMEM cache driver implementing instruction cache ops.
Wire driver into cache Kconfig menu and CMake build.
Enables I-cache control on SoCs with NXP LMEM controller.
Signed-off-by: Holt Sun <holt.sun@nxp.com>
Select cache_lmem component for MCXE24X devices.
This exposes the LMEM cache API needed by the Zephyr driver
Signed-off-by: Holt Sun <holt.sun@nxp.com>
Add myself as a collaborator for the firmware drivers subsystem.
I have been actively contributing to SCMI protocol implementations
and will continue developing new features, reviewing patches,
and testing firmware functionality
Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
When originally introduced in [1], `title` was described as optional, but
this information was lost when the documentation was reworked in [2], even
though the underlying behavior in edtlib is unchanged.
Update the documentation to indicate that that `title` is optional. While
at it, fix a little typo in modified paragraph.
[1]: ee17657ad3
[2]: 3a2f839d45
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
Adds a missing f in the second line of a multiline f-string.
Previously, having the wrong top-level keys in a DTS binding YAML file
could cause a partially unformatted error message to be printed.
Signed-off-by: Anton Puppe <anton-noel-flynn.puppe@zeiss.com>
on-behalf-of: @ZEISS anton-noel-flynn.puppe@zeiss.com
When creating a "choice" block, it is possible to associate a name to the
choice, resulting in a so-called "named choice" being created. This allows
modification of the choice after its initial declaration - for example, its
default value can be overridden from another Kconfig file.
This feature originates from Linux and is supported by Kconfiglib; however,
since [1] (first found in release v6.9), Linux no longer supports this
feature. Critically, this means that the feature is no longer covered by
the Linux Kconfig Language documentation [2], even though it is supported
and used in Zephyr.
Add "named choices" to the Kconfig language extensions documentation page
since it has de facto become an extension after its support was dropped
from Linux.
[1] c83f020973bc72d9eec65474d8c47495191aef20 (on Linux source tree)
[2] https://www.kernel.org/doc/html/latest/kbuild/kconfig-language.html
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
Fixes an issue where input events which have the sync flag set but are
neither X/Y coordiante updates nor press/release updates triggers a false
reporting of input to LVGL.
Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
We added support for the MEC1653B daughter card on the
mec_assy6941 EVB base board. We removed variant specific
kconfig files since none of the boards require board
specific settings.
Signed-off-by: Scott Worley <scott.worley@microchip.com>
We add MEC165xB chip device tree files. We are sharing the
same base mec5.dtsi which required modifications due to
peripherals not present in MEC165xB.
Signed-off-by: Scott Worley <scott.worley@microchip.com>
add tests for DT_STRING_TOKEN_BY_IDX_OR macro
add tests for DT_INST_STRING_TOKEN_BY_IDX_OR macro
Signed-off-by: Alexander Kozhinov <ak.alexander.kozhinov@gmail.com>
This commit introduces the DT_INST_STRING_TOKEN_BY_IDX_OR()
and DT_STRING_TOKEN_BY_IDX_OR() macros, which allow
specifying a default value if the indexed string token is not
defined.
Signed-off-by: Alexander Kozhinov <ak.alexander.kozhinov@gmail.com>
When not using the async API, the rx_woken flag can be set but cannot be
cleared, leading to an indefinitely locked pm state. This commit
prevents the flag from being set when not using the async API.
Signed-off-by: Adrien Lessard <adrien.lessard.42@gmail.com>
Update write_name function to check the offset value against 0 as long
writes are not used here.
Simplify write_appearance function also to remove long writes support.
The appearance property is always 16 bit and is should not even support
long writes.
Signed-off-by: Radosław Koppel <r.koppel@k-el.com>
Add ITCM and DTCM memory region definitions to the common STM32H7
devicetree.
ITCM: 64 KB @ 0x00000000
DTCM: 128 KB @ 0x20000000
Signed-off-by: Ibrahim Abdalkader <i.abdalkader@gmail.com>
Enable the lpcxpresso55s69_cpu0_ns board for the Internal Trusted
Storage (ITS) settings test case. This platform supports the required
settings subsystem functionality needed for ITS testing.
Signed-off-by: Holt Sun <holt.sun@nxp.com>
Match number of supported periodic advertising instances with
configure extended advertising instances and increase number
of advertising buffers to match qualification tests requirements.
Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>