RT1160 and RT1170 have different sizes for OCRAM1 and OCRAM2 this PR moves
the static ocram1 and ocram2 labels to the soc specific dtsi and defines
their sizes according to the RM. For RT1160, it combines the OCRAM1,
OCRAM2, and OCRAM M7 (FlexRAM ECC) into 1 node for a better user
experience. 256KB total as opposed to 64KB.
Signed-off-by: Jacob Wienecke <jacob.wienecke@nxp.com>
This fixes CI issues ("error: statement with no effect") in the
project's weekly CI run, e.g.:
west twister -p xmc47_relax_kit/xmc4700 -s drivers.spi.loopback.internal
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Added support for sys_poweroff on ADL and ATOM socs based on
acpi_poweroff.
Signed-off-by: Anisetti Avinash Krishna <anisetti.avinash.krishna@intel.com>
Updates the k_ipi_work documentation to make the k_ipi_work
structure visible but its contents opaque.k
Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
In addition to #94710 fixes, SPI RTIO currently fails existing spi
loopback testcase: test_spi_null_tx_rx_buf_set.
This plus the referenced PR enable RTIO-enabled drivers to pass the
testsuite.
Signed-off-by: Luis Ubieda <luisf@croxel.com>
Enable the pin configuration as single-ended pull-up output, allowing for
a currentless, signal-only output.
Signed-off-by: Paulo Santos <pauloroberto.santos@edge.ufal.br>
- Since PocketBeagle 2 RevA1 has 4 cores, we need to adjust the variable
CONFIG_MAX_THREAD_BYTES to allow this test to build.
- Does not affect Rev A0 (2 cores).
Signed-off-by: Ayush Singh <ayush@beagleboard.org>
- Since PocketBeagle 2 RevA1 has 4 cores, we need to adjust the variable
CONFIG_MAX_THREAD_BYTES to allow this test to build.
- Does not affect Rev A0 (2 cores).
Signed-off-by: Ayush Singh <ayush@beagleboard.org>
- Since PocketBeagle 2 RevA1 has 4 cores, we need to adjust the variable
CONFIG_MAX_THREAD_BYTES to allow this test to build.
- Does not affect Rev A0 (2 cores).
Signed-off-by: Ayush Singh <ayush@beagleboard.org>
- Since reva1 support was merged so close to psci PR, it's only enabled
in reva0 right now. So enable it here.
- Tested with smp/pi sample
Signed-off-by: Ayush Singh <ayush@beagleboard.org>
Add the flags parameter to the z_thread_stack_alloc_pool function.
Determine the maximum possible stack size based on the size of the reserved
memory for stack and the thread type (flags).
The stack size that can be used by a thread depend on its type
(kerner/user). For the same stack size, the macros K_KERNEL_STACK_DECLARE
and K_THREAD_STACK_DEFINE may reserve different amount of memory.
Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
- Configure and attach DMA for each USART node.
- Enable hardware flow control capability.
- Add RTS/CTS pin name signals.
Note: Some platform series are missing due to conflicts with other pins
used by different test drivers
(RTS pin should be connected to the CTS pin.)
Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
Configure and attach DMA for each platform's USART to enable
asynchronous UART communication.
Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
Enable support for FDCAN1 on nucleo_h7s3l8 board. PD0 (RX) and PD1 (TX)
are used for interfacing an external CAN transceiver according to the
breakout connector description in the board's schematic.
Signed-off-by: Thomas Decker <decker@jb-lighting.de>
Provide the soc configuration for fdcan1 and fdcan2 controllers.
This includes registers address, clocks and interrupt lines
details.
Signed-off-by: Thomas Decker <decker@jb-lighting.de>
Some x86_64 platforms have only one CPU node defined in their
respective devicetree files, while setting `CONFIG_MP_MAX_NUM_CPUS`
to two.
This commit adds missing CPU nodes in said devicetree files.
Signed-off-by: Adrian Ściepura <asciepura@internships.antmicro.com>
Print the actual number instead of a single-element tuple.
For example: "2 messages dropped" instead of "(2,) messages dropped"
Signed-off-by: Tamás Kiss <tmik@demant.com>
Move assigned number for mesh from mesh.h to assigned_numbers.h where
all assigned numbers are located.
Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
Move assigned number for audio from audio.h to assigned_numbers.h where
all assigned numbers are located.
Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
Move Bluetooth Assigned Numbers to own header file to separate them from
core GAP functionality.
Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
Remove codecov upload from doc build workflow and instead ensure both
test and doxygen coverage is uploaded in the same codecov.yml workflow,
this way codecov report will accurately show the consolidated coverage
for each "push" commit.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This makes it easier for anyone to get a coverage report for the doxygen
documentation through a simple "make doxygen-coverage".
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
clang complains about implicit conversion from enumeration type
'enum sensor_channel_ina2xx' to different enumeration type
'enum sensor_channel' causing failures in CI.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
The parameter for LPIT_DisableInterrupts should be
lpit_interrupt_enable_t, not channel id.
Besides, improve the code to use BIT macro for shift
operation.
Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
Enable test for all channels.
This test covers following test cases:
- test_set_top_value_without_alarm
- test_set_top_value_with_alarm
- test_valid_function_without_alarm
Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
Add test for Texas Instruments INA228 current sensor via I2C.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
Signed-off-by: Wilkins White <ww@novadynamics.com>
Add the Texas Instruments INA228 Power/Energy/Charge
monitor. This chip is similar to the INA237, but has
a more precise ADC and added energy/charge channels.
Signed-off-by: Wilkins White <ww@novadynamics.com>
This commit renames the ina23x folder and common files to ina2xx.
The more generic name will support, e.g., the INA237 and INA228
series chips.
Signed-off-by: Wilkins White <ww@novadynamics.com>
Move power configuration from the device init function into the
`DISK_IOCTL_CTRL_INIT` and `DISK_IOCTL_CTRL_DEINIT` handlers. If
`pwr-gpios` is defined, this ensures that the card is not powered up
until requested, and enables power down the card when not in use.
This behaviour matches the implementation for `sdhc_spi`.
Signed-off-by: Jordan Yates <jordan@embeint.com>
Provide a pointer to the first element of the clock list explicitly (as
done by `stm32_sdmmc_clock_enable`), instead of a pointer to the list.
Signed-off-by: Jordan Yates <jordan@embeint.com>
The board mismatch error message in `scripts/west_commands/build.py` was
partially missing f-string formatting. This caused `{self.args.board}`
to be printed literally instead of being replaced with the actual board
value.
Fix the f-string.
Signed-off-by: Miguel Gazquez <miguel.gazquez@bootlin.com>
Added board shared sram noecc overlay.
The overlay configure shall select non ecc memory to avoid being clear
during system startup.
Change window max to 1000 for nxp wdog32 to avoid 16bit overflow when
clock freq is 32768hz and divider is 1.
Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>