summaryrefslogtreecommitdiffstats
path: root/bsps/shared/grlib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* grlib/genirq: Taking into account that it could be more than one ISR ↵Moyano, Gabriel2021-04-161-2/+2
| | | | | | enabled/disabled Closes #4385
* leon, l2cache: prevent unused diagnostic accessMartin Aberg2021-03-071-2/+2
| | | | Update #4315.
* leon, ahbstat: register definitions for AHBSTAT version 1Martin Aberg2021-03-071-0/+8
| | | | Update #4314.
* leon, grspw_router: added router_port_link_div()Martin Aberg2021-03-071-0/+5
| | | | | | Allows user to set SpaceWire run clock divisor for an individual port. Update #4313.
* leon,ckinit: avoid assuming 1MHz timer pre-scaler clockDaniel Hellstrom2021-03-071-4/+3
| | | | Update #4310.
* leon,greth: added support for variable sized descriptor table sizesDaniel Hellstrom2021-03-071-7/+15
| | | | | | | | | | | | 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. Update #4308.
* leon,grcan: split out GRCAN non-FD specific support in separate fileDaniel Hellstrom2021-03-072-405/+435
| | | | Update #4307.
* leon,grcanfd: split out GRCANFD specific support in separate fileDaniel Hellstrom2021-03-073-627/+686
| | | | Update #4307.
* leon,grcan: added support for GRCANFDDaniel Hellstrom2021-03-071-16/+568
| | | | | | | | | | | | | 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 #4307.
* leon,occan: use common CAN baud-rate calculation routineDaniel Hellstrom2021-03-071-110/+41
| | | | Update #4306.
* leon,grcan: use common CAN baud-rate calculation routineDaniel Hellstrom2021-03-071-114/+20
| | | | Update #4306.
* leon,can: introduce common CAN baud-rate calculation functionDaniel Hellstrom2021-03-071-0/+144
| | | | | | | Reimplemented the baud-rate algorithm from scratch to cope with GRCAN, GRCANFD and OC_CAN devices. Update #4306.
* grlib,ambapp: added new IP core IDsDaniel Hellstrom2021-03-071-1/+20
| | | | Update #4305.
* leon,grspw: fix for SET_PACKET_SIZEDaniel Hellstrom2021-03-071-0/+7
| | | | | | | | | | | | When the DMA table has been allocated dynamically, the IOCTL_SET_PACKETSIZE will trigger an issue where pDev->rx and pDev->tx are not updated with the new DMA tables base address. Instead the old pointers are used. There is no point in reallocting the DMA tables because there is no configuration option to it. Therefore the DMA tables allocation is moved to a separate function never called from SET_PACKETSIZE. Update #4304.
* leon,gr1553b: Only align allocated memory. Verify alignment of memory.Arvid Bjorkengren2021-03-073-83/+147
| | | | Update #4303.
* leon,gr1553b: set codec versionArvid Bjorkengren2021-03-071-0/+4
| | | | | | | This is enables the updated codec for GR740 and is backwards compatible with all other versions of the IP. Updates #4275.
* leon,gr1553rt: Fixed spinlock unlockArvid Bjorkengren2021-03-071-1/+1
| | | | Update #4274.
* leon,gr1553rt: Fixed memory leakArvid Bjorkengren2021-03-071-5/+11
| | | | Update #4274.
* drvmgr: Fix determination of prefix in grlib uart driverDennis Pfau2020-02-201-1/+1
| | | | | drvmgr_get_dev_prefix returns 0 if a prefix was found. Therefore the if condition needs to check for 0, i.e. DRVMGR_OK.
* clock: Simplify driver initializationSebastian Huber2019-12-111-11/+2
| | | | | | Use a system initialization handler instead of a legacy IO driver. Update #3834.
* bsps: Fix warnings in grethSebastian Huber2019-05-271-3/+3
|
* grlib: make memory coherency cpu-independentJiri Gaisler2019-01-221-1/+1
| | | | Update #3678.
* grlib: use cpu-independent routines for uncached accessJiri Gaisler2019-01-226-71/+10
| | | | Update #3678.
* grlib: use rtems_interrupt_handler_install()Jiri Gaisler2019-01-224-8/+15
| | | | Update #3678.
* grlib: make apbuart driver independent of bspJiri Gaisler2019-01-221-16/+16
| | | | Update #3678.
* grlib: Move source filesSebastian Huber2019-01-2266-0/+49217
Update #3678.