System might become unstable when the last 32 bytes of a XSPI attached
are accessed in memory-mapped mode with cache enabled.
In order to prevent this, remove the last 32-bytes of the PSRAM on the
stm32n6570_dk as well as NOR on the nucleo n657x0_q.
Partitions should also be defined in a way to avoid accessing to the
last 32-bytes of the device.
Issue is described in the STM32N6xxxx errata sheet ES0620 Rev 1:
2.4.5 Deadlock or data corruption when DQS is enabled and the wrap
request includes the last address of the memory
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Enable TPM2 counter support on FRDM_IMX91 board.
Compile commands:
west build -p always -b frdm_imx91/mimx9131 \
tests/drivers/counter/counter_basic_api/
Signed-off-by: Hongbo Wang <hongbo.wang@nxp.com>
Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
Enable the MCK output to a pin to allow for DAC and ADC clocking.
Provides a MCK source to peripherals that can utilize an external
clocking source for internal DSP processes, especially at higher
MCK/LRCK ratios.
Signed-off-by: Sean O'Connor <sean@standalone.tech>
nRF53 series SoCs have a dedicated configurable audio PLL and the ability
to enable MCK bypass via a register value CONFIG.CLKCONFIG. This can
enable higher MCK/LRCK ratios that some I2S peripherals require the host
to generate. Allow an application developer to choose if they want to
initially look for a bypass ratio and, if found, enable bypass in the
NRFX driver. If not, the standard MCK calculation is conducted as normal.
Signed-off-by: Sean O'Connor <sean@standalone.tech>
Add overlay for da14695 and da14699 soc and rtc alias
for da1469x_dk_pro and da14695_dk_usb boards
Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
When logging through shell is enabled, it is inconvenient to use
the shell when there are logs coming in. Having a mechanism for
easy disabling/re-enabling the shell logs is a nice quality of life
feature.
To toggle the logs, `CTRL+T` combination can be used. This is
available only when meta key feature is enabled.
Signed-off-by: Heghedus Razvan <heghedus.razvan@protonmail.com>
fixed fallback to default build directory (build) in case that no other
build directory could be determined.
Signed-off-by: Thorsten Klein <Thorsten.Klein@bshg.com>
It is easier to debug things when both the relative and absolute
TCP seq and ack numbers are printed in debug prints.
Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
Use the socket eof flag to determine whether the receive
callback should be installed. If the receive cb is not installed,
then the socket cannot receive any data.
Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
If there is received data in the TCP or UDP socket, discard it in order to
avoid leaking net_bufs because we are only sending data out and should
not receive anything.
Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
The logging net backend will send syslog messages to syslog server and
it is not meant to receive anything. If we bind to a local socket, it will
create UDP server socket that can receive data. Unfortunately there is no
one reading the data so we will eventually run out of memory in this case.
Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
The product photo is from https://learn.adafruit.com/assets/115230
Tested with the commmand mentioned in the index.rst file.
Compilation testing in CI of the overlay file is done via the
light_polling sample.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
When none of the configs is enabled, it will reports the following build
warning:
CMake Warning at zephyr/CMakeLists.txt:1096 (message):
No SOURCES given to Zephyr library: drivers__firmware__scmi__nxp
Excluding target from build.
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
Properly export a working `&arduino_i2c` node on the APARD32690 board, for
use with various Uno shields.t
Signed-off-by: Pete Johanson <pete.johanson@analog.com>
This adds some kconfigs to allow customizing the SMP IPI
broadcast test.
* Can running for more iterations.
* The wait period can be changed.
* Retry waiting for the other processors to complete
processing the IPI.
* This is mainly to avoid having a single long wait.
The whole wait period is broken down so that we can
bail out early if that iteration is deemed a success.
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This overlay was mistakenly submitted using a Nordic-specific license.
Switch to the standard Apache 2.0.
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
- Deactivate cache to avoid the TX buffer being placed in a
non-cacheable memory region for NUCLEO_F746ZG.
- Add missing configuration in the overlay for STM32F3-DISCO.
- Change USART1 to USART2 to avoid conflicts on NUCLEO_F103RB.
Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
changes test configuration for nucleo_h753zi and nucleo_g071rb
- nucleo_g071rb
Delete undefined USB node to resolve CI failure.
Update CTS and RTS pin signals to avoid another conflict.
- nucleo_h753zi
Add CTS and RTS pins.
- stm32u083c_dk
Finally, remove stm32u083c_dk due to pin conflicts
(see UM3292 table 14).
- update sample.yaml to exclude nucleo_h743zi, which will no
longer be available for testing. Also remove stm32u083c_dk
from CI testing.
Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
Remove samples/boards/st/power_mgmt/standby_shutdown.
Sample standby_shutdown in boards/st/power_mgmt includes 2 examples.
One demonstrates wakeup from shutdown using a wakeup pin which is already
implemented in samples/boards/st/power_mgmt/wkup_pins. The other
demonstrates wakeup from SoC STANDBY mode using a wakeup pin. However
it enters SoC STANDBY mode through pm_state_force() whereas
STANDBY mode is not a PM standby or idle state, it is rather a shutdown
with possibly only a unique small SRAM retention, not allowing retention
of the system as expected from Zephyr standby or idle state flavors.
Therefore this second scenario is not applicable and can be removed.
Update doc redirection to link removed sample documentation to ST board
power management related samples documentation.
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Add the mapping for the GRTC_CLKOUT_FAST pinctrl mapping to the
periphconf generation. This allows clocking out the 16MHz clock with a
user selectable divider.
Signed-off-by: Karsten Koenig <karsten.koenig@nordicsemi.no>
- Keep RISC-V interrupt state if placed in IRAM when
cache enable/disable is called.
- Update hal_espressif to include TX notify callback for
the following SoCS: ESP32-C2, ESP32-C6 and ESP32-H2.
- Removed Wi-Fi/BLE binary blobs that are not required.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Use k_timepoint_t instead of k_timeout_t for absolute time to avoid
ambiguity and ensure the code works even when CONFIG_TIMEOUT_64BIT=n.
Signed-off-by: Cla Mattia Galliard <clamattia@gmail.com>
This PR includes OpenThread's NAT64 header file when
NAT64_TRANSLATOR is enabled. This is done to avoid compile
warnings when OT NAT64 API is used.
Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
Fix issue that cause color inversion with monochrome display by replace
PIXEL_FORMAT_MONO10 by PIXEL_FORMAT01 to have the expected behavior.
Signed-off-by: Quentin LACOMBE <quentlace2g@gmail.com>
- mimxrt1189cvm8c part have been designed on public EVK board
switch to use mimxrt1189cvm8c part
- Update some doc web information in index.rst
Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
Add test for lock/unlock constraint lists using the new arbitrary DT
phandles macros and pm_policy_state_constraints_get/put APIs.
Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
Update board to use default power domain for the "peripheral"
domain, which when resumed prevents SoC from entering suspend and
standby states as these power down peripherals.
Note by co-author: Cherry-picked this commit and edited it to work
without the generic domain refactoring on the branch it came from.
Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
Co-authored-by: Declan Snyder <declan.snyder@nxp.com>
Refactor low power state handling to not tie to zephyr,disabling-states
and define it's own separate "low power states" property in DT instead.
Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
Some pieces of the system may have custom types of constraints that they
define based on different effects and reasons than just the standard
"zephyr,disabling-states". To avoid every single one of these component
reinventing the wheel, make some common APIs to handle these type of
custom constraint lists.
Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
I am surprised this notifier didn't already report the substate id, it
seems important since different substate obviously are defined for a
reason, they can be having a different effect on the system.
Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
- add NXP_BOARD_SPECIFIC_MPU_SETTINGS kconfig to provide a switch
for developer if they want to use private mpu settings
CONFIG_NXP_BOARD_SPECIFIC_MPU_SETTINGS==1 | NXP default setting
CONFIG_NXP_BOARD_SPECIFIC_MPU_SETTINGS==0 | User specific
- Use DT function to get memory base address and region size for cm7
- CM33 use dts to set mpu settings
- Add REGION_CUSTOMED_MEMORY_SIZE macro provide a common mapping ways
to map actual memory_size_kb to "region_size"
- The settings of the unified memory on cm33/cm7 cores:
ocram1/flexspi2 -> REGION_RAM_NOCACHE_ATTR
ocram2/dtcm -> REGION_RAM_NOCACHE_ATTR
flexspi/itcm -> REGION_FLASH_ATTR
Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
The ATE structure section is now divided into subsections describing
multiple ATE formats, including the one added for CONFIG_ZMS_ID_64BIT.
The sections about features and recommendations are updated as well.
Mentions of 32-bit key/ID are revised to account for 64-bit ID support.
Mentions of <= 8 bytes data size also had to be reworked, because this
property is tied to the chosen ATE format.
Some unrelated, minor changes are also sprinkled throughout.
Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
* Update the "corrupt ATE" tests to work with the new ATE format.
* Add a basic test to verify support to 64 bit ZMS IDs.
* Add a `testcase.yaml` entry to cover the above points and also run
lookup cache tests to evaluate the 64 bit hash function.
Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>