Commit Graph

825 Commits

Author SHA1 Message Date
Joel Sherrill
807584adfd m68k/shared/fpsp: Remove obsolete m68040 FP Support Code
The Motorola MC68040 did not completely implement IEEE754 in hardware.
The FPSP code was required to complete the support. With no more
MC68040 BSPs in RTEMS, this code can be removed.

Updates #5031
2025-02-12 12:51:58 -06:00
Chris Johns
8d78a68ece Revert "build: Provide LDFLAGS for pkg-config"
This reverts commit 237570e605
2025-02-11 05:49:15 +00:00
Joel Sherrill
5a9484e6cb m68k/mvme147: Remove obsolete BSP family
Updates #5031
2025-02-10 08:49:24 -06:00
Sebastian Huber
237570e605 build: Provide LDFLAGS for pkg-config
Some pkg-config variants perform transformations on the --libs options.
This may lead to completely broken linker options.  Provide the LDFLAGS
as a variable.  Remove "Ldflags:" since this is an unsupported field.

Update #5169.
2025-02-07 12:13:18 -06:00
Joel Sherrill
b30d88cb87 m68k/mcf5225x: Remove obsolete BSP family
Updates #5031
2025-02-07 14:19:00 +00:00
Joel Sherrill
46e90be362 m68k/mrm332: Remove obsolete BSP family
Confirmed with Robominds

Updates #5031
2025-02-07 14:15:27 +00:00
Joel Sherrill
2188c428fb m68k/mvme167: Remove obsolete BSP family
Updates #5031
2025-02-07 14:13:06 +00:00
Joel Sherrill
17ae630e9a m68k/mvme162: Remove obsolete BSP family
Updates #5031
2025-02-07 14:10:41 +00:00
Vincenzo Calabretta
d2d9bd4aee bsp/stm32h7: Add nucleo-h753zi BSP variant
Support the NUCLEO-H753ZI development board from STMicroelectronics.
2025-02-07 01:24:03 +00:00
Joel Sherrill
6cdc09c48a m68k/mcf52235: Remove obsolete BSP family
Updates #5031
2025-02-07 01:21:36 +00:00
Joel Sherrill
23a4dc74cd m68k/mcf5206elite: Remove obsolete BSP family
Updates #5031
2025-02-07 01:21:00 +00:00
Joel Sherrill
7f86974bf3 m68k/gen68360: Remove obsolete BSP family
Updates #5031
2025-02-07 01:20:24 +00:00
Joel Sherrill
552e481699 m68k/gen68340: Remove obsolete BSP
Updates #5031
2025-02-07 01:19:44 +00:00
Joel Sherrill
0316b3c322 m68k/csb360: Remove obsolete BSP
Updates #5031
2025-02-07 01:18:30 +00:00
Kinsey Moore
b9c58102bb bsps/stm32h7/spi: Add DMA support 2025-02-07 00:07:42 +00:00
Kinsey Moore
4de9ddf4a7 bsps/stm32h7: Add DMA support
This patch adds a DMA allocator that can be used by any driver wrapping
a STM32 HAL driver that supports DMA.
2025-02-07 00:07:42 +00:00
alessandronardin
9876b5949f posix/aio: Implemented aio_suspend()
Implemented aio_suspend().
Added test to verify functionality.
2025-02-04 23:34:31 +00:00
Gedare Bloom
203b08fa23 powerpc: remove unused file debugmod.h 2025-02-03 17:18:35 -07:00
Joel Sherrill
802d640038 v850: Remove obsolete architecture
Updates rtems/rtos/rtems#5023
2025-01-29 18:23:45 +00:00
Joel Sherrill
ecaa0f8e93 SPARC64: Remove obsolete architecture
Updates rtems/rtos/rtems#5021
2025-01-29 18:23:45 +00:00
Joel Sherrill
00b074b124 SuperH (sh): Remove obsolete architecture
Updates rtems/rtos/rtems#5022
2025-01-29 18:23:45 +00:00
Joel Sherrill
740f736f9e lm32: Remove obsolete architecture
Updates rtems/rtos/rtems#5025
2025-01-29 18:23:45 +00:00
Joel Sherrill
82624328da bin: Remove obsolete architecture
Updates rtems/rtos/rtems#5024
2025-01-29 18:23:45 +00:00
Michal Lenc
e6f6eccaef can: add support for CTU CAN FD controller
This commit adds support for CTU CAN FD controller. The controller
can be initialized from BSP by ctucanfd_initialize() function call.
It also implements the dynamic redistribution of hardware transmission
buffers to CAN stack priority classes in order to avoid possible
priority inversion.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
Co-authored-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
2025-01-28 08:25:28 +01:00
Michal Lenc
0cbb9eb9f9 can: add support for a simple virtual CAN controller
This commit adds a support for a simple virtual CAN controller. This
controller can be used to test CAN stack functions and serves as an
inspiration for further controller implementations.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
Co-authored-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
2025-01-28 08:25:28 +01:00
Michal Lenc
c3f4e215b1 cpukit: add support for common CAN/CAN FD stack
This adds support for common full-featured CAN/CAN FD stack to RTEMS.
The API is provided in form the form of the POSIX character driver with
each CAN controller (chip) registered as node into “/dev”
namespace.

The stack utilizes FIFO queues (also called edges) organized
into oriented edges between controller side and application side.
Edges, responsible for message transfers from application to controller
and vice versa, can have different priorities and function as priority
classes.

The stack provides run time configuration options to create new
queues with desired priority, direction and filter, making it
suitable for various applications requirements. There is also a
possibility to configure controller’s characteristics (bit rate,
mode, chip specific ioctl calls). Both blocking and nonblocking mode
is supported.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
Co-authored-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
2025-01-28 01:57:28 +00:00
Kinsey Moore
c7912a997b spec/pkgconfig: Account for separate compilation and linking
When compilation and linking are performed separately, some platforms
(i.e. RISC-V) may require that ABI flags are provided during the linking
step as well as the compilation step.
2025-01-24 00:18:56 +00:00
Ning Yang
c2a1db3cde bsp/aarch64/raspberrypi: Add genet support
- Add genet FDT support. Main reference:
https://www.kernel.org/doc/Documentation/devicetree/bindings/net/brcm%2Cbcmgenet.yaml
- Add genet mmu
- Add raspberrypi4 nocache area
2024-12-16 19:14:59 +00:00
Sebastian Huber
d0d2cf2733 build: Improve Makefile.inc
Support relocated BSP installations by letting the user provide
RTEMS_ROOT.

Close #5170.
2024-12-05 04:07:58 +01:00
Chris Johns
e14a740a99 spec/cpukit: Add libdl RISCV support
Closes #5144
2024-11-22 00:13:36 +00:00
Kinsey Moore
9e42e61e6e bsps/aarch64/zynqmp: Factor out the CFC-400X management console
This moves the management console implementation into its own file so
that BSPs which do not need it do not carry the code around with them.

Closes #5120
2024-11-22 00:06:16 +00:00
Kinsey Moore
7d1a934884 bsps/shared/flash: Add a JFFS2 flashdev driver
This adds generic JFFS2 interworking code that allows JFFS2 to be used
on top of any flashdev backend. It currently only supports NOR flashdev
backends.
2024-11-21 23:44:37 +00:00
Sebastian Huber
f45ccfa167 build: Remove Windows quirk
The current version of gccdeps.py works on Windows.
2024-11-21 04:22:31 +01:00
Sebastian Huber
7d5c08db80 validation: Check bootloader L2C settings
Update #4925.
2024-11-20 15:08:04 +00:00
Sebastian Huber
7ff3438cba validation: Test thread priority change detail
Test the proper serialization of explicit thread priority changes (for
example rtems_task_set_priority()) and thread priority changes carried
out by thread queues (locking protocols such as priority inheritance).

With RTEMS_DEBUG enabled, the new test case fails with an assertion.  It
is fixed in a follow up commit.

Update #5159.
2024-11-20 02:32:38 +01:00
Kinsey Moore
b3be636863 bsps/stm32h7/spi: Add IRQ support 2024-11-15 00:47:58 +00:00
Sebastian Huber
d386baedb5 rtems: Remove <rtems/rtemsdialer.h>
This header file belongs to the network stacks.
2024-11-13 23:30:21 +00:00
Sebastian Huber
f57652dcda powerpc/qoriq: Enable RTEMS_SMP for BSP family 2024-11-13 02:03:13 +01:00
Sebastian Huber
049b9b5c82 record: Add rtems_record_fetch()
This function will replace rtems_record_drain() which turned out to be
unreliable in SMP configurations.
2024-11-12 22:43:35 +00:00
Chris Johns
32b46899a3 spec/bsps/xilinx-microzed: Fix the default setting for the Avnet Microzed PCLK
Closes #5149
2024-11-12 16:16:19 +11:00
Aaron Nyholm
177a8c57ea bsps/xilinx-zynq: Add QSPI flash driver 2024-11-08 03:34:48 +00:00
Kinsey Moore
84fe3d830c spec: Update smallmem test list 2024-11-08 00:13:46 +00:00
Kinsey Moore
c59b6c3825 spec: Update no-rfs test list 2024-11-08 00:09:10 +00:00
Gedare Bloom
a1eb04be66 riscv/beaglevfire: disable BSP_START_COPY_FDT_FROM_U_BOOT by default 2024-10-31 22:59:15 +00:00
Chris Johns
bc8ffae115 bsp/xilinx-zynq: Add devcfg and slcr drivers
The devfg driver loads the PL with a bitfile image. The driver can also
support scrubbing.

These drivers are from Patrick Gauvin <pggauvin at gmail.com> and a thread
on the devel list: https://lists.rtems.org/pipermail/devel/2017-May/017705.html
2024-10-30 23:04:42 +00:00
Kinsey Moore
95d904b036 spec: Apply CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSOR where expected
The general optclkbootcpu option is targeted at all ARM QEMU BSPs, but
is not actually linked in to the build tree. This links it in as
expected and removes a redundant and stale copy in the realview PBX BSP.
2024-10-30 18:56:36 +00:00
Kinsey Moore
1bba349478 bsps: Remove imported Xilinx headers
This removes the headers imported from the embeddedsw repository in
favor of a much thinner shim. This also removes the complicated build
system configuration necessary to support use of these headers. The
primary reason for removal is that certain external Xilinx libraries
also require use of these headers and this causes version mismatches and
header conflicts that can be avoided.
2024-10-28 19:23:49 +00:00
Utkarsh Verma
d17116d310 aarch64/raspberrypi: improve UART
- Add support for four new ports, UART2-UART5.
- Add build options to allow console device configuration.
- Segregate device-specific definitions from the device family files. X macros
  are used to maintain a single source of truth and have the configuration
  done at compile-time
- Add raspberrypi_uart_init() to make it convenient for users to install uart
  devices

Close #5130

Co-authored-by: Ning Yang <yangn0@qq.com>
2024-10-28 15:12:21 +00:00
Kinsey Moore
ee34dd12f4 spec/aarch64: Rename Versal BPSs to be in line with ZynqMP 2024-10-28 08:21:36 +00:00
Purva Yeshi
eaaeebedda riscv/beaglevfire: Rename 'bvf' to 'beaglevfire' 2024-10-25 21:23:23 +00:00