Add board porting for the Infineon CY8CPROTO-041TP evaluation kit:
- Board devicetree and pinctrl configuration
- Kconfig and YAML definitions
- Documentation
- Support for west build, west flash, and west debug (OpenOCD)
Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
Signed-off-by: Deepika aerlync <deepika@aerlync.com>
Add Kconfig configuration support for PSoC4 family in hal_infineon module.
Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
Signed-off-by: Deepika aerlync <deepika@aerlync.com>
Update hal_infineon revision to add PSOC4 family support
Signed-off-by: Dharun krithik k <dharunkrithik@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
Signed-off-by: Deepika aerlync <deepika@aerlync.com>
The qsort() function takes a callback argument that is having the
same semantics as strcmp(). Fix uvc_compare_frmival_desc() sorting
to make qsort() list frame intervals in increasing values.
Fix a bug where Windows would not enumerate devices when the video device
have multiple frame interval supported.
Signed-off-by: Josuah Demangeon <me@josuah.net>
Change the Code of Conduct title from the one used in the template to
reflect that this is the Code of Conduct for the Zephyr Project, not the
Contributor Covenant project.
The attribution for the Contributor Covenant template is present at the
very last paragraph.
Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This device indicates 4KiB sector size and has an impossible
partition layout that starts part the way through a sector,
this fixes the issue by having proper partition alignment
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
BT_LE_PER_ADV_SYNC_OPT_FILTER_DUPLICATE option is only available when
BT_FEAT_LE_PER_ADV_ADI_SUPP is enabled in chipset.
Signed-off-by: Gang He <ganghe@sifli.com>
In option of HCI_LE_Periodic_Advertising_Create_Sync, bit 2
depend on Periodic Advertising ADI Support feature.
Signed-off-by: Gang He <ganghe@sifli.com>
In addition to the DT_HAS_<compat>_ENABLED options, the autogenerated
Kconfig.dts file also provides the DT_COMPAT_<compat> *macros* which avoid
manually declaring them when working around the no comma limitation. Unlike
options which can be referenced before their declaration, macros MUST
be defined before their usage (otherwise, they expand to nothing ("")).
Because the defconfig files were sourced before "dts/Kconfig", it was not
possible to use the DT_COMPAT macros from shields/boards/SoC defconfig;
this is not only confusing but also suboptimal because the macros must be
defined manually.
Include "dts/Kconfig" earlier to allow usage of the DT_COMPAT macros from
shields, boards and SoC defconfig. This should have no adverse effect
since there is no reason to override the options provided by the
autogenerated Kconfig.dts anyways.
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
The DT_COMPAT_<...> macro variables are generated for every compatible
found in bindings: document them as existing and recommend using them
in various Kconfig documentation pages.
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
Modify dts/arm/nuvoton/m* to better align with Numaker platform
naming conventions. Also add one more collaborator.
Signed-off-by: cyliang tw <cyliang@nuvoton.com>
Update the Renesas RA MIPI DSI driver and bindings to align
with RA8P1 SoC support:
- Add SoC-specific PHY PLL multiplier ranges
- RA8D1: 20–180
- RA8P1: 40–375
- Correct t_init limit from 15 bits to 19 bits as specified in HUM
- Update devicetree bindings:
- Clarify `pll-div` as input frequency divisor
- Add `pll-out-div` property as output frequency divisor
Signed-off-by: Khanh Nguyen <khanh.nguyen.wz@bp.renesas.com>
Make sure that certificate-based DTLS config is built by twister and
also mention it in the README file.
Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Add missing PSA configs required for successful DTLS handshake with PSK.
Cert-based config also needed to enable some RSA support, as otherwise
mbed TLS throws errors about some undefined RSA error mapping.
Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Use a sample point of 75% for the data phase timing to match the bitrate of
1Mbit/s.
Fixes: #100615
Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
Relax the CAN sample point location accuracy requirements in the CAN API
test suites by taking CONFIG_CAN_SAMPLE_POINT_MARGIN into account.
Fixes: #100615
Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
Uses the modern nrfutil command for checking ironside versions
through the boot report, rather than hardcoded addressing.
Signed-off-by: Stephen Stauts <stephen.stauts@nordicsemi.no>
Configure the fractional divider (FRACN) for PLL2 and PLL3
on STM32H5 series when specified in the device tree.
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
Improve I2C error logs by adding port number to all timeout and host
error messages, making it easier to identify which controller reports
failures.
Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
Set dma tcd queue size to 4 defaultly to fix build issues,
- error: static assertion failed: NUM_DMA_BLOCKS_RX_PREP must be
< CONFIG_DMA_TCD_QUEUE_SIZE
#define BUILD_ASSERT(EXPR, MSG...) _Static_assert((EXPR),...
drivers/i2s/i2s_mcux_sai.c:45: note: in expansion of
macro BUILD_ASSERT
BUILD_ASSERT(MAX_TX_DMA_BLOCKS > NUM_DMA_BLOCKS_RX_PREP,
Signed-off-by: Biwen Li <biwen.li@nxp.com>
The RAK11160 WisDuo module is a low-power, long-range LoRaWAN
module based on the STM32WLE5 and Espressif ESP8684H2 MCUs.
Signed-off-by: Sercan Erat <sercanerat@gmail.com>
This change moves the dma stream from _config to _data,
allowing direct reference the DMA stream rather than
duplicating it on the stack. Additionally, it aligns the
declaration to the other STM32 drivers.
Signed-off-by: Mario Paja <mariopaja@hotmail.com>
This change removes the on-stack copying and instead
uses a pointer to the configuration to avoid unnecessary
stack usage
Signed-off-by: Mario Paja <mariopaja@hotmail.com>
Fix SonarQube warnings, move variable declarations to the
top of the block according to Zephyr code style
Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
Protected Storage is another type of secure (encrypted and
authenticated) storage available using PSA interfaces.
When targeting TF-M builds, allow making use of PS for storing settings
Fixes#94681
Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
Prepare for extending this backend to also allow storing settings in the
PS (Protected Storage).
Mostly file and kconfig renames, as well as updates
to comments and log messages.
Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
Adds a new meta-IRQ test just for SMP. This test verifies that
a cooperative thread preempted by a meta-IRQ thread resumes on
the same CPU after the meta-IRQ thread finishes.
Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
Adds a note to the meta-IRQ thread documentation indicating that
that when a cooperative thread resumes after being preempted by
a meta-IRQ thread it will resume on the same CPU from which it was
preempted.
On a UP system such behavior is a given. However, this behavior becomes
relevant on an SMP system to ensure that both schedule-locked and
cooperative threads are not accidentally shuffled to another CPU while
querying the properties associated with their current CPU.
Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
If the thread being aborted or suspended was preempted by a metaIRQ
thread then clear the metairq_preempted record. In the case of
aborting a thread, this prevents a re-used thread from being
mistaken for a preempted thread. Furthermore, it removes the need
to test the recorded thread for readiness in next_up().
Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
When a cooperative thread (temporary or otherwise) is preempted by a
metaIRQ thread on SMP, it is no longer re-inserted into the readyQ.
This prevents it from being scheduled by another CPU while the
preempting metaIRQ thread runs.
Fixes#95081
Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
Adjust the bounds for tracking metairq preemption to include the
case where the number of metairq threads matches the number of
cooperative threads. This is needed as a thread that is schedule
locked through k_sched_lock() is documented to be treated as a
cooperative thread. This implies that if such a thread is preempted
by a metairq thread that execution control must return to that
thread after the metairq thread finishes its work.
Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>