Fix the MAX32690 flash1 node's address and erase size properties to match
the datasheet. Add a test for that platform as well to verify the
functionality of the FLC1 peripheral instance.
Signed-off-by: Pete Johanson <pete.johanson@analog.com>
0-init some non-static global variables to avoid
issues with uninitialized values. Also modify
the printing of the broadcast sources found slightly.
Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
Introduce documentation for using mender-mcu as an external module in
Zephyr.
Signed-off-by: Daniel Skinstad Drabitzius <daniel.drabitzius@northern.tech>
Add Kconfig support for the following OpenThread features:
- OPENTHREAD_MAC_BEACON_PAYLOAD_PARSING
- OPENTHREAD_PLATFORM_USEC_TIMER
- OPENTHREAD_MULTIPLE_INSTANCE_NUM
Modify core configuration to set the number of
short and extended source address table entries to the
maximum number of children, in line with upstream
OpenThread configuration.
Signed-off-by: David Boullie <David.Boullie@silabs.com>
Make use of rtio_read_regs_async() and rtio_flush_completion_queue()
helpers in lis2dux12 and lsm6dsv16x sensor drivers.
Signed-off-by: Armando Visconti <armando.visconti@st.com>
Fixes an issue caused by using a chosen node string as a node
rather than looking the node up first so it could be used
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
The update will fail if the address is outside of this range.
This failure might trigger a bad state where the device is
non-trivial to recover.
Signed-off-by: Håkon Amundsen <haakon.amundsen@nordicsemi.no>
Uses the full hwmv2 board target for the hardware platform output,
seemingly this was missed in the hwmv2 migration and it was using
the board name only. Adds a deprecated Kconfig to restore to the
previous behaviour
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
read_multi_var was always sending 5 as count of handles.
This was causing failure in GATT/CL/GAR/BI-36-C, GATT/CL/GAR/BI-40-C
and other tests expecting IUT to send
GATT_ReadMultipleVariableLengthRequest
Fixed this was using the cp->handles_count coming by autoPTS.
Signed-off-by: Ravinder Singh <ravinder.singh2@infineon.com>
Updated description on conditions and assumptions in which
the soc_reset_hook is executed.
Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
Introduce hook for customize reset.S code even before stack is
initialized or RAM is accessed. Hook can be enabled using
CONFIG_SOC_EARLY_RESET_HOOK=y.
Hook implementation is by soc_early_reset_hook() function which should
be provided by custom code.
Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
This rather anchient test suite calls printk from within ISRs.
printk() is not declared isr safe, and printk should be avoided from
ISRs due to their stack and cpu time requirements. The test suite
does not use the printk() output in any case, so the printk() output
is simply removed. The README.txt has been updated with the actual
output produced by todays test suite, sans the printk() output.
Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
Make ticks tolerance configurable for chips which need a more
relaxed value for testcase which assesses count precision.
Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
Disable RTC interrupts when cancelling alarm, and clear callback
data, to make sure no ISR/callback is serviced after alarm is
cancelled. Also, check programmed ticks in ISR to make sure
alarm triggered is not an outdated/cancelled event.
Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
Fix alarm setting when timer has overflown beyond 32-bit boundary.
Timer is 48-bit, so it requires high word to be programmed along
the 32-bit word managed by the driver.
Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
Fix compatible name on device tree, to allow RTC timer based
counter driver to be enabled. Disable rtc_timer node for all
devices to keep standard.
Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
Add a test case that disables asserts to ensure that the
BT shell with audio can be built without compiler
warnings/errors when asserts are disabled.
Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
MCUX defined RX fifo combine names and the
references need to be adjusted in the i2s driver.
Signed-off-by: Davi Herculano <davi.herculano@adam-audio.de>
Add a migration note entry for the CoAP client response callback signature
change and add an entry to the release notes for the new struct type.
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Pass a pointer to the CoAP packet in the response data. This allows
callback function to inspect for CoAP options.
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Make it easier to modify the response callback data by passing it as a
struct pointer rather than a long list of arguments.
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
NACK message now log with LOG_ERR_RATELIMIT
instead of LOG_ERR to reduce log noise.
When scanning I2C device,
receiving a NACK is expected behavior and not necessarily an error.
Logging it at LOG_ERR causes unnecessary clutter in the logs.
Therefore, the log level is change to LOG_ERR_RATELIMIT for NACK cases.
Signed-off-by: Elmo Lan <elmo_lan@realtek.com>
When `CONFIG_NRF_SYS_EVENT` is enabled, route constant latency requests
through the reference counted API.
Signed-off-by: Jordan Yates <jordan@embeint.com>
Move the option to force constant latency mode outside of nRF54l, since
it is an option applicable to most Nordic SoCs.
Signed-off-by: Jordan Yates <jordan@embeint.com>
Override any defaults for `UART_USE_RUNTIME_CONFIGURE` when using
`CONFIG_MODEM_CELLULAR`, as the baudrate update feature depends on it.
Signed-off-by: Jordan Yates <jordan@embeint.com>
The code was writing to the dst without a verification check on
size which is not appropriate. The guard on the arguements should
be enforced and so just ensure the size is larger then the
definition of the strings from POSIX and return an error in those
cases.
Signed-off-by: Charles Hardin <ckhardin@gmail.com>
From the manpage for inet_ntop
This function converts the network address structure src in the af
address family into a character string. The resulting string is
copied to the buffer pointed to by dst, which must be a non-null
pointer. The caller specifies the number of bytes available in
this buffer in the argument size.
In an unintended misconfiguration the resolve max string ended up
being 20 and tracking thru some wierd code issues determined some
stack corruption which came back to the shell command. So, just
fix the size argument to be the sizeof which then leads to the next
problem that the size is being ignored by inet_ntop.
Signed-off-by: Charles Hardin <ckhardin@gmail.com>
This case was originally made sort of naively due to the fact that the
test was prioritizing testing spi nor first, but we wanted to test SOC
flash drivers, not the spi flash driver, so we just disabled
CONFIG_SPI_NOR. But this caused issues for platform which don't have a
storage partition or platform where the storage partition was actually
on a spi nor (because then there is no spi device leading to a linking
error with no reference to device object)
So fix by introducing a config to change the test logic to prioritize
the storage partition, which is really what we wanted to do in the first
place more directly I think.
Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
Fix ESP32 and ESP32-S3 support:
* Add Espressif overlays for default and remote target.
* Add remote targets for Espressif boards.
* Fix remote runtime by increasing the stack size in case of ESP32.
* Make the test cycle config option.
* Make the test stacks config options.
Signed-off-by: Marek Matej <marek.matej@espressif.com>