Sebastian Huber
a5f95cbb57
bsp/leon3: Untangle interrupt controller support
...
Separate the probing of the interrupt controller from the
initialization.
2023-07-14 12:21:33 +02:00
Sebastian Huber
8fdecf6c55
bsps: Use new APBUART register block API
2023-07-14 12:21:33 +02:00
Sebastian Huber
49ad450d70
bsps/grlib: Use GRLIB definition of GRSPWROUTER
...
Rename parts to match with GRLIB naming.
Close #4842 .
2023-07-14 12:21:29 +02:00
Sebastian Huber
06f631546f
bsps/grlib: Remove obsolete header file
...
This header file was an incomplete duplicate of <grlib/grspw2-regs.h>.
Update #4842 .
2023-07-14 09:11:19 +02:00
Sebastian Huber
181d989530
bsps/grlib: Use GRLIB definition of GRSPW2
...
Update #4842 .
2023-07-14 09:11:19 +02:00
Sebastian Huber
cba956b5d0
bsps/grlib: Move GR740-specific registers
...
Update #4842 .
2023-07-14 09:11:19 +02:00
Sebastian Huber
584be21c3d
bsps/grlib: Expand GRCLKGATE register bit fields
...
Use the maximum width supported by the GRLIB even if this exceeds the
configuration limits of a particular IP instance.
Update #4842 .
2023-07-14 09:11:19 +02:00
Sebastian Huber
e6427f1ea9
bsps/grlib: Add GRCAN - CanTxIRQ
...
Update #4842 .
2023-07-14 09:11:19 +02:00
Sebastian Huber
845422b859
bsps/grlib: Fix SPWTDP register name
...
Update #4842 .
2023-07-14 09:11:19 +02:00
Sebastian Huber
fe23259633
bsps/grlib: Expand SpaceWire port bit fields
...
Use the maximum width supported by the SpaceWire standard even if this
exceeds the configuration limits of a particular IP instance.
Update #4842 .
2023-07-14 09:11:19 +02:00
Sebastian Huber
7575890200
bsps/grlib: Fix SpaceWire RMAP - Product ID
...
Update #4842 .
2023-07-14 09:11:19 +02:00
Sebastian Huber
b7eb7d1f59
bsps/grlib: Fix GRGPIO - IRQMAP bit fields
...
Update #4842 .
2023-07-14 09:11:19 +02:00
Sebastian Huber
e56cecf501
bsps/grlib: Fix FTMCTRL - MCFG1 bit fields
...
There was an off by one error in all bit fields. Add the R flag.
Update #4842 .
2023-07-14 09:11:19 +02:00
Sebastian Huber
2d71cba033
bsps/grlib: Add generated headers
...
Close #4828 .
2023-07-14 09:11:19 +02:00
Kinsey Moore
f46c15fd76
spec: Add QEMU test annotations
...
QEMU is known to fail certain tests intermittently due to clock tick
delivery issues. This defines those tests as intermittent for BSPs
intended to run on QEMU alone.
Updates #4922
Updates #4072
2023-07-10 09:11:13 -05:00
Joel Sherrill
6264b14804
Revert accidentally committed "Remove unused _IO_Relax"
...
Sebastian has agreed to move this out of score. I should have
removed this patch from my tree but accidentally committed it
with another patch.
2023-07-03 10:32:53 -05:00
Kinsey Moore
3d8fa0ef00
aarch64/zynqmp: Use IRQs for management console
...
Swap the zynqmp management console to interrupt-driven operation to
avoid losing data in under-polled situations.
2023-07-03 10:13:44 -05:00
Joel Sherrill
e49e8daf3d
Remove unused _IO_Relax
...
The only use was in a test.
2023-07-03 10:11:58 -05:00
Karel Gardas
56d21a7acc
bsps/stm32h7: disable MPU alignment for M4-based BSP variants
...
There is no point in wasting precious memory space on enforced section
alignment for the purpose of MPU which is not implemented on M4 core
anyway.
2023-06-29 22:46:13 +02:00
Sebastian Huber
ca0a11e443
build: Remove superfluous attributes
2023-06-28 10:28:04 +02:00
Aaron Nyholm
4b209a322e
cpukit/flash: Correct erase ioctl address
...
Previously, the erase ioctl call would ignore flash regions and erase at
the absolute address passed in. This adds a check for if the region is
set and adds the region offset accordingly.
2023-06-27 07:50:40 +10:00
Kinsey Moore
333fd02631
bsps/xqspipsu: Handle SMP systems properly
...
The NOR driver was not written with SMP systems and caching in mind.
This makes the IsBusy flag volatile for updates across cores and
introduces cache flushing and invalidation where necessary for data
manipulated by the DMA engine in the QSPI peripheral.
2023-06-22 10:46:33 -05:00
Sebastian Huber
65b0ba4d8a
bsps/sparc: Deprecate BSP-specific interrupt API
...
Update #3269 .
2023-06-16 07:30:50 +02:00
Sebastian Huber
4e3e9df1b4
bsps: Remove uses of BSP-specific interrupt API
...
Update #3269 .
2023-06-16 07:30:50 +02:00
Sebastian Huber
83305f5050
pci: Do not use BSP-specific interrupt API
...
Update #3269 .
2023-06-16 06:35:22 +02:00
Sebastian Huber
bbc9f7ef13
build: Remove unused file
2023-06-16 06:35:22 +02:00
Sebastian Huber
97a4b306f4
bsp/leon2: Include missing header file
...
Update #4458 .
2023-06-15 20:04:22 +02:00
Sebastian Huber
32c14694db
build: Format with yapf
2023-06-14 14:19:39 +02:00
Sebastian Huber
c9665ff1a1
build: Do not install removed files
2023-06-12 21:01:06 +02:00
Sebastian Huber
8383b56e48
Update company name
...
The embedded brains GmbH & Co. KG is the legal successor of embedded
brains GmbH.
2023-06-12 07:46:23 +02:00
Sebastian Huber
a799809213
score: Remove CPU port atomic operations API
...
Use the C/C++ standard API directly.
2023-06-12 07:46:23 +02:00
Sebastian Huber
0613593148
score: Remove CPU port specific cpuatomic.h
...
All CPU ports used the same <rtems/score/cpustdatomic.h> header file to
provide the atomic operations. Remove the header file indirection.
2023-06-12 07:46:23 +02:00
Sebastian Huber
e58f25a924
xilinx-zynqmp: Include <rtems/termiostypes.h>
...
Include <rtems/termiostypes.h> for the Termios device driver support.
2023-06-12 07:45:12 +02:00
Kinsey Moore
ea27adaa0d
testsuites/flashdev01: Use correct page_size type
...
The page size ioctl requires an int pointer to retrieve the page size.
The test currently uses a size_t which mostly works fine for systems
where size_t and int are the same size, but can leave junk data in the
upper bits when they differ in size causing an assert in the test to
fail in some cases. This updates the variable to the correct type.
2023-06-10 11:02:29 -05:00
Kinsey Moore
09fd5dd353
bsps/xqspipsu: Use device information from the FCT
...
Instead of statically defining the device parameters, use the device
information available via the NOR device layer's Flash Configuration
Table.
2023-06-08 09:48:44 -05:00
Kinsey Moore
7a14c3df8b
bsps/xqspipsu: Calculate erase sectors correctly
...
When given the exact bounds of a sector, the current algorithm
calculates that 3 sectors need to be erased. This corrects the
calculation such that only 1 sector needs to be erased for erasures that
exactly match sector boundaries.
2023-06-08 09:48:44 -05:00
Kinsey Moore
4ca4311036
bsps/xqspipsu: Correct s25fl512s flash definition
...
The definition for the s25fl512s flash chip is incorrect. This updates
the sector size and page size values to match the datasheet.
2023-06-08 09:48:44 -05:00
Kinsey Moore
a67aab6cd4
bsps/xqspipsu: Ensure NOR writes align
...
This change causes NOR writes to be broken according to page boundaries.
Writes across page boundaries cause the writes beyond the boundary to
fail silently. This also introduces a new function that will explicitly
write pages.
2023-06-08 09:48:44 -05:00
Joel Sherrill
b2967081e5
xilinx-zynqmp: Include <rtems/libio.h> for rtems_termios_initialize()
2023-06-06 17:34:43 -05:00
Joel Sherrill
bb5dbff74a
Move various compression libraries into single subdirectory
...
This improves the organization of the cpukit.
Closes #4912 .
2023-06-06 09:09:44 -05:00
Chris Johns
a83dc4a469
termios: Install <rtems/termiosdevice.h>
2023-06-05 11:49:30 +10:00
Sebastian Huber
0c3d6f58f1
termios: Add <rtems/termiosdevice.h>
...
Add <rtems/termiosdevice.h> which does not depend on <rtems/libio.h> to
provide rtems_termios_device_context and rtems_termios_device_handler.
For polled serial device drivers, this removes a header file dependency
to the full file system support.
2023-05-31 10:07:17 +02:00
Joel Sherrill
63415655e3
score/src/pheap*: Remove unreferenced methods
...
* _Protected_heap_Get_block_size
* _Protected_heap_Iterate
* _Protected_heap_Resize_block
Closes #4909 .
2023-05-26 10:12:51 -05:00
Sebastian Huber
bdb4bc436f
arm: Use RTEMS_XCONCAT()
...
Prefer macros with a proper namespace.
2023-05-26 06:56:11 +02:00
Sebastian Huber
5da3ff47df
arm/xilinx-zynq: Initialize debug console once
2023-05-26 06:56:11 +02:00
Sebastian Huber
bc31fb65d2
arm/xilinx-zynq: Do not provide legacy API
...
The header file <rtems/irq.h> provides a legacy API. Do not provide it
by default through <bsp/irq.h>.
2023-05-26 06:56:11 +02:00
Sebastian Huber
da2b49e7b7
bsps/arm: Use interrupt entry for IPI
...
Avoid a dynamic memory allocation for the inter-processor interrupt.
2023-05-26 06:56:11 +02:00
Sebastian Huber
eff408b64f
bsps/arm: Use interrupt entry for clock driver
...
Avoid a dynamic memory allocation for the clock driver interrupt.
2023-05-26 06:56:11 +02:00
Sebastian Huber
363fafb780
bsps/arm: Use interrupt entry for <tm27.h>
...
Avoid a dynamic memory allocation for the <tm27.h> interrupts. Replace
assert() with _Assert().
2023-05-26 06:56:11 +02:00
Sebastian Huber
49720a90d8
arm/xilinx-zynq: Improve Doxygen file comments
2023-05-26 06:56:11 +02:00