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
Joel Sherrill
29a3ad1ba9
grlib: Fix snprintf() overflow warnings from gcc 12
...
Updates #4662 .
2023-01-30 10:44:20 -06:00
Daniel Cederman
33f6e34b2d
bsps/include/grlib: Change license to BSD-2 for files with Gaisler copyright
...
This patch changes the license to BSD-2 for all source files where the
copyright is held by Aeroflex Gaisler, Cobham Gaisler, or Gaisler Research.
Some files also includes copyright right statements from OAR and/or
embedded Brains in addition to Gaisler.
Updates #3053 .
2022-11-14 10:58:31 +01:00
Sebastian Huber
a660e9dc47
Do not use RTEMS_INLINE_ROUTINE
...
Directly use "static inline" which is available in C99 and later. This brings
the RTEMS implementation closer to standard C.
Close #3935 .
2022-09-19 09:09:22 +02:00
Vijay Kumar Banerjee
8416e7c322
bsps/powerpc, bsps/shared: Move remaining legacy networking header files
2021-06-23 13:20:38 -06:00
Sebastian Huber
3af1e5e735
grlib: Fix apbuart_outbyte_polled() prototype
...
Callers usually want to output a character.
2021-06-17 12:58:33 +02:00
Sebastian Huber
af69a8693b
grlib: Add apbuart_outbyte_wait()
2021-06-17 12:58:33 +02:00
Sebastian Huber
85febe7b10
grlib: Remove NL -> CR in apbuart_outbyte_polled()
...
This is already done in rtems_putc().
2021-06-17 12:58:33 +02:00
Sebastian Huber
2c07f24af2
grlib: Add ambapp_plb()
...
Replace the global variable ambapp_plb with a function to allow an automatic on
demand initialization.
2021-06-17 12:58:33 +02:00
Sebastian Huber
c4c8d3fd50
grlib: Customizable allocation in ambapp_scan()
...
Make the memory allocations in ambapp_scan() customizable via the new struct
ambapp_context parameter which generalizes the memory copy handler.
2021-06-17 12:58:33 +02:00
Daniel Hellstrom
6caff4d61d
grlib,grspw_pkt: correct link state enum numbering
...
Not used by the driver itself, but shuold be correct if used by
application.
2021-03-11 17:35:28 +01:00
Martin Aberg
51564f6383
leon, ahbstat: register definitions for AHBSTAT version 1
2021-03-11 17:35:27 +01:00
Martin Aberg
8660602ae2
leon, grspw_router: added router_port_link_div()
...
Allows user to set SpaceWire run clock divisor for an individual port.
2021-03-11 17:35:27 +01:00
Daniel Hellstrom
053b17ce8e
leon,greth: added support for variable sized descriptor table sizes
...
The descriptor table size is equal to its alignment and set when
configuring the HW IP through VHDL generics. This SW patch simply
probes the HW how large the RX/TX descriptor tables are and adjusts
accordingly.
The number of descriptors actual used are controlled by other
settings (rxDescs and txDescs) controlled by the user.
2021-03-11 17:34:57 +01:00
Daniel Hellstrom
43c903a1dc
leon,grcan: added support for GRCANFD
...
The new GRCAN_FD IP supports CAN FD standard and is mostly backwards
compatible with GRCAN SW interface. The GRCAN driver have been extended
to support the GRCANFD IP using the same driver.
Additional functions have been added that uses a new CAN FD frame
format and read/write/baud-rate functions that supports both GRCANFD
and GRCAN. To keep the SW API fully backwards compatible with GRCAN,
the old functions remain.
Update #4324 .
2021-03-11 17:31:21 +01:00
Daniel Hellstrom
b98d6b67f6
grlib: added 64-bit read no-cache function
...
Update #4324 .
2021-03-11 17:31:21 +01:00
Daniel Hellstrom
cff99cf1fa
leon,can: introduce common CAN baud-rate calculation function
...
Reimplemented the baud-rate algorithm from scratch to cope with
GRCAN, GRCANFD and OC_CAN devices.
Update #4323 .
2021-03-11 17:31:21 +01:00
Daniel Hellstrom
68c882ef45
grlib,ambapp: added new IP core IDs
2021-03-11 17:31:21 +01:00
Sebastian Huber
f9c8e14dcb
grlib: Add ambapp_common_info to derived types
...
This avoids a cast in DEV_TO_COMMON().
2020-10-16 07:07:19 +02:00
Sebastian Huber
c15c520b96
grlib: Remove unused conversion macros
2020-10-16 07:07:19 +02:00
Sebastian Huber
3154203bba
grlib: Remove superfluous forward decls
2020-10-16 07:07:19 +02:00
Sebastian Huber
e1a0e0c308
grlib: Add and use irqmp_has_timestamp()
...
Replace leon3_irqmp_has_timestamp() with irqmp_has_timestamp() and move
it to grlib.h.
Close #4128 .
2020-10-10 14:00:37 +02:00
Sebastian Huber
828276b081
bsps: Adjust shared Doxygen groups
...
Update #3706 .
2019-03-08 07:42:54 +01:00
Jiri Gaisler
c1dcd6af56
grlib: make memory coherency cpu-independent
...
Update #3678 .
2019-01-22 12:50:09 +01:00
Jiri Gaisler
9b2b389e8d
grlib: use cpu-independent routines for uncached access
...
Update #3678 .
2019-01-22 12:50:08 +01:00
Jiri Gaisler
411c29735d
grlib: make apbuart driver independent of bsp
...
Update #3678 .
2019-01-22 12:48:19 +01:00
Sebastian Huber
3172092576
grlib: Move header files
...
Update #3678 .
2019-01-22 12:46:28 +01:00