Commit Graph

36996 Commits

Author SHA1 Message Date
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
Joel Sherrill
ec8fa5fc6d _Timecounter_Time_uptime: Change from int32_t to time_t
Using int32_t results in an overflow in Y2038. This was
detected by Covered as  CIDs 1512549 and 1512552.

Closes #5204
2025-02-07 01:16:08 +00:00
Michal Lenc
91237f06f9 can/ctucanfd: use STM mode if CAN_CTRLMODE_PRESUME_ACK is set
Self Test mode in CTU CAN FD has generally better much for
CAN_CTRLMODE_PRESUME_ACK mode compared to self-acknowledge mode (SAM)
It considers transmitted frame valid even if dominant acknowledge bit
was not receive, therefore it presumes acknowledge.

Moreover, this mode is available even in older CTU CAN FD versions.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2025-02-07 01:06:01 +00:00
Matteo Concas
72c0f5ccc1 grlib/grcanfd: Mask frame data length value to prevent overflow 2025-02-07 01:03:33 +00:00
Matteo Concas
0bafb10a69 grlib/grcanfd: Use signed integer to account for errors 2025-02-07 01:03:33 +00:00
Gedare Bloom
c72816751a griscv: add license based on git history 2025-02-07 00:48:23 +00:00
Gedare Bloom
820b061d93 cpukit/doxygen: remove stray pre-qualification comment 2025-02-07 00:42:04 +00:00
Gedare Bloom
e03dae1d11 i386/pc386: remove dead URL from copyright block 2025-02-07 00:35:58 +00:00
Gedare Bloom
c424ce25a7 i386/pc386: remove URLs from copyright blocks
Updates #4636.
2025-02-07 00:35:58 +00:00
Kinsey Moore
ea9ae3445d cpukit/shell: Improve medit documentation
The error message produced by attempting to use a large value as the
data to be written can be nonsensical for some inputs. This updates the
error message and the usage text to make expectations more clear.

Closes #2147
2025-02-07 00:31:40 +00:00
Gedare Bloom
db425a09b1 dev/can: remove URLs from copyrights 2025-02-07 00:30:36 +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
Joel Sherrill
bffc250688 General: Update Eric Valette's email address
Changing Eric's email from valette@crf.canon.frto eric.valette@free.fr
2025-02-04 12:41:08 -06:00
Gedare Bloom
203b08fa23 powerpc: remove unused file debugmod.h 2025-02-03 17:18:35 -07:00
Jan Sommer
6d21324687 cpukit/termios: Fix ordering of baud rate table
rtems_termios_set_best_baud expects a sorted baud rate table.

Fixes #5162
2025-02-03 19:01:53 +00:00
Sebastian Huber
c0207fc032 score: Fix RTEMS_DEBUG build
This fixes a compilation failure introduced by
1c12047098.
2025-02-03 18:56:49 +00:00
Gedare Bloom
fb60451505 LICENSE.md: Fix some typesetting problems. 2025-01-30 22:19:37 +00:00
Gedare Bloom
b360d60618 LICENSE.md: Improve descriptions and organization.
Remove unused licenses, add the SLAC license template, and rearrange the
order of the licenses to emphasize the 2-BSD and other preferred
licenses earlier.

Fixes #5200.
2025-01-30 15:16:14 -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
zak liang
cc4123136b sptimespec01 : Add test case to sptimespec01 which uses a > 32-bit time
the commit adds a test case to test rtems-timespec_add_to  which uses a > 32-bit time.
closes #5146
2025-01-24 01:08:29 +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
Ranulfo Raphael
49a8ead4e2 cpukit/libdl/arm: Fix trampoline alignment
This commit aligns trampolines for THUMB and ARM instructions
(CALL/JUMP24 and THM_JUMP24/THM_PC22).

According to the ARM technical reference in section "Register-relative
and PC-relative expressions":
    In Thumb code:
    - For B, BL, CBNZ, and CBZ instructions, the value of the PC is the
      address of the current instruction plus 4 bytes.
    - For all other instructions that use labels, the value of the PC is
      the address of the current instruction plus 4 bytes, with bit[1]
      of the result cleared to 0 to make it word-aligned.
2025-01-23 18:46:06 -03:00
Reinking, Janosch
1a4e26e3ea bsps/shared: NS16550 driver updates the line control register during operation
Fixes: #5179
2025-01-23 13:51:07 +00:00
Zhaoyue Wang
3d96772258 cpukit/libmisc: fix flag in capture.c
The RTEMS_CAPTURE_OVERFLOW is an overflow flag for each CPU, and its
value is the same as RTEMS_CAPTURE_INIT. Executing rtems_capture_flush
will set the RTEMS_CAPTURE_INIT flag to 0 in the global flags.
2025-01-21 21:58:49 +00:00
Sebastian Huber
00684adac9 score: Support scheduler change inhibitors
For example, the POSIX sporadic server adds a second priority to a
thread.  We cannot account for this priority in a scheduler change.

Close #5168.
2025-01-20 23:37:35 +00:00
Sebastian Huber
a85a2de5c7 score: Fix _Thread_Priority_change()
The POSIX sporadic server may temporarily remove the real priority of a
thread.  Check that the priority node is active before the change is
propagated.

Update #5168.
2025-01-20 23:37:35 +00:00
Sebastian Huber
5d1041d897 posix: Use real priority for sporadic server state
This allows to other areas to use the real priority node state.

Update #5168.
2025-01-20 23:37:35 +00:00
Sebastian Huber
b2a0819175 psxtests/psx09: Change prio while at low prio
Update #5168.
2025-01-20 23:37:35 +00:00
Sebastian Huber
d69cbcbef8 psxtests/psx09: Improve sporadic server tests
Drop thread parameter from get_current_prio().

Lock/unlock ceiling mutex while executing at low and high priority.

Update #5168.
2025-01-20 23:37:35 +00:00
Sebastian Huber
f64f9e298d psxtests/psx09: Use local variables
Update #5168.
2025-01-20 23:37:35 +00:00
Amar Takhar
6ced84b5ce readme: Format using mdformat.
All the files will be formatted using this eventually.
2025-01-16 14:52:22 +00:00
Joel Sherrill
f7b57e13de rtems-bsps: Bump version to 7
Updates #5182
2025-01-10 17:06:30 -06:00
Amar Takhar
d73e38be27 ci: Switch to real config.
Move from setup to real config now that pages is configured.
2025-01-07 18:41:59 -05:00
Amar Takhar
c6a51e7ce0 ci: Add initial configuration.
This uses the setup config so pages can be deployed correctly.
2025-01-07 14:44:34 -05: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
Kinsey Moore
04d25322ac wscript: Set the major version to 7
The 6 branch has been created and main should now officially be RTEMS 7.

Closes #5177
2024-12-15 22:16:49 -06:00
tangkun
fc0c3b304b testsuites/psxtests/psx06: Fix printing format error 2024-12-05 09:29:53 +00:00