summaryrefslogtreecommitdiffstats
path: root/bsps/arm/atsam (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsp/atsam: Fix BSP_INTERRUPT_VECTOR_COUNTSebastian Huber2021-06-241-1/+1
| | | | | | Fix an off by one error. Update #3269.
* bsps/irq: Remove BSP_INTERRUPT_VECTOR_MAXSebastian Huber2021-06-241-1/+0
| | | | | | This define is no longer used. Update #3269.
* bsps/irq: Use BSP_INTERRUPT_VECTOR_COUNTSebastian Huber2021-06-241-1/+1
| | | | | | Use BSP_INTERRUPT_VECTOR_COUNT instead of BSP_INTERRUPT_VECTOR_MAX. Update #3269.
* bsps/irq: Add BSP_INTERRUPT_VECTOR_COUNTSebastian Huber2021-06-241-0/+1
| | | | | | | | | | | | | Assert BSP_INTERRUPT_VECTOR_MAX + 1 == BSP_INTERRUPT_VECTOR_COUNT. After building all BSPs with this patch, BSP_INTERRUPT_VECTOR_MAX can be removed and replaced by BSP_INTERRUPT_VECTOR_COUNT. The BSP_INTERRUPT_VECTOR_COUNT allows a default implementation which supports no interrupt vector at all. Using COUNT instead of MAX may avoid some interpretation issues, for example is the maximum value a valid vector number or not. Update #3269.
* bsps/irq: Remove BSP_INTERRUPT_VECTOR_MINSebastian Huber2021-06-241-2/+0
| | | | | | | | | | Remove BSP_INTERRUPT_VECTOR_MIN and unconditionally let interrupt vector numbers start with zero. The BSP_INTERRUPT_VECTOR_MIN == 0 invariant was tested by the previous commit and building all BSPs. Update #3269.
* bsps: Remove networking driversVijay Kumar Banerjee2021-04-071-1255/+0
| | | | Update #3850
* bsps: Replace bsp_specs with an empty fileSebastian Huber2021-01-281-9/+0
| | | | | | | This fixes an issue with the latest tool chain which adds the default linker script in the endfile specification. Update #3250.
* bsps: Replace non-ASCII trademark symbolChristian Mauderer2020-12-141-1/+1
|
* bsp/atsam: Fix XDMAD statusChristian Mauderer2020-11-122-1/+63
| | | | | | | | | | | | In "bsp/atsam: Simplify XDMAD_Handler()" (5f813694f68cee) the interrupt callback has been made unconditional. That allowed to avoid some special deadlock situations in error cases. But it removed part of the XDMAD status handling. This patch adds the ability to update the XDMAD status from the callback if that is necessary for the driver. Fixes #4173
* arm/atsam: Make interrupt server configurableSebastian Huber2020-08-052-39/+75
| | | | | | | | | | | | | The external UART over SPI device SC16IS752 uses the interrupt server for interrupt processing. The interrupt server is also heavily used by libbsd. The interrupt processing for the SC16IS752 is time critical and doesn't work if network traffic is processed at the same priority. With #4033 custom interrupt servers are available. Change atsam_sc16is752_spi_create() to support user-defined interrupt servers. Introduced atsam_sc16is752_spi_config to cut down the argument count of this function. Close #4039.
* tests: Exclude record02 for some BSPsSebastian Huber2020-04-061-0/+1
| | | | Update #3938.
* Use RTEMS_SYSINIT_ORDER_LAST_BUT_5Sebastian Huber2020-02-044-4/+4
| | | | | | | | Use RTEMS_SYSINIT_ORDER_LAST_BUT_5 instead of RTEMS_SYSINIT_ORDER_LAST to allow applications and support functions to place system initialization handlers behind the standard handlers. Update #3838.
* bsp/atsamv: Fix warningSebastian Huber2019-11-181-1/+0
|
* bsp/atsam: Use PIO for SC16IS752.Christian Mauderer2019-10-232-21/+26
| | | | This allows to mix SC16IS752 chips with other interrupts.
* bsp/atsam: Add additional PIO helper.Christian Mauderer2019-10-232-0/+59
|
* bsps/atsam: Improve case for level triggered IRQs.Christian Mauderer2019-10-231-11/+15
| | | | | | | | For level triggered interrupts currently the handler would have been called two times (assuming no one cleared the mask in a handler which would have been bad because the handler couldn't process all other that got cleared by accident). This patch allows the handler only to return if nothing is left to do.
* bsp/atsam: Enable configuration of SDRAMC_LPRSebastian Huber2019-06-213-7/+13
|
* atsam: Add ATSAM_POWER_WAIT_MODESebastian Huber2019-06-182-3/+210
|
* atsam: Enable fast startup via RTC alarmSebastian Huber2019-06-181-0/+6
|
* bsp/atsam: Use proper APISebastian Huber2019-06-181-4/+1
|
* bsp/atsam: Do not disable the WDTSebastian Huber2019-06-132-4/+0
| | | | | The watchdog timer (WDT) can be configure only once. Do not touch it in the BSP since the application may want to use it.
* bsp/atsam: Improve RTC power driverSebastian Huber2019-06-132-10/+25
| | | | Accept a time interval up to 24h.
* bsp/atsam: Fix RTC_SetTimeAlarm()Sebastian Huber2019-06-121-7/+13
| | | | Set the alarm time according to the note in the datasheet.
* Removed entry from Related PagesAndreas Dachsberger2019-05-131-0/+2
| | | | | SAM V71 Xplained Ultra - Board explanation now in Modules->BSPs->ARM Update #3706.
* bsp/atsam: Fix SPI driver DMA supportSebastian Huber2019-03-191-144/+154
|
* bsp/atsam: Simplify XDMAD_Handler()Sebastian Huber2019-03-192-56/+7
| | | | | Remove the channel status evaluation from XDMAD_Handler() and simply hand over the status to the callbacks.
* bsp/atsam: Fix use after freeSebastian Huber2019-03-111-2/+1
|
* bsp/atsam: Add Doxygen groupsSebastian Huber2019-03-081-0/+1111
| | | | | | | Add Doxygen groups for contributed code which would otherwise end up at the top level (about 178 groups). Update #3706.
* bsps: Adjust bsp.h Doxygen groupsSebastian Huber2019-03-081-2/+18
| | | | Update #3706.
* bsp/atsam: Accept only 8/16 bits per wordSebastian Huber2019-03-061-5/+3
| | | | | | For proper 16 bits per word support we need probably some DMA adjustments. For 9 to 15 bits per word we need support for the variable peripheral select, see SR_MR[PS] register bit.
* bsp/atsam: Optimize XDMAD_Handler()Sebastian Huber2019-03-061-8/+14
| | | | Load the channel interrupt mask only once.
* bsp/atsam: Fix SPI CS change supportSebastian Huber2019-03-061-40/+12
| | | | | The previous approach contained a severe bug which disabled the SPI module in some cases leading to a blocked SPI bus.
* bsp/atsam: Change CS delay after transferSebastian Huber2019-03-061-17/+35
|
* bsp/atsam: Make SPI CS delays configurableSebastian Huber2019-03-062-5/+20
|
* bsp/atsam: Simplify SPI configurationSebastian Huber2019-03-061-37/+42
| | | | | Do not use SPID_Configure() since this will enable the peripheral each time and performs a software reset.
* bsp/atsam: Add const qualifier to AES_SetInput()Sebastian Huber2018-10-182-2/+2
|
* bsp/atsam: Use internal SRAM for stack areaSebastian Huber2018-10-041-1/+1
|
* bsp/atsam: Use binary semaphore for I2CSebastian Huber2018-10-012-23/+21
| | | | | | | Remove superfluous sleep before each I2C transfer. Reset I2C module after transfer timeouts. Update #3534.
* bsp/atsam: Use binary semaphore for SPISebastian Huber2018-10-011-10/+7
| | | | Update #3534.
* network: Use kernel/user space header filesSebastian Huber2018-09-101-2/+1
| | | | | | | | | | Add and use <machine/rtems-bsd-kernel-space.h> and <machine/rtems-bsd-user-space.h> similar to the libbsd to avoid command line defines and defines scattered throught the code base. Simplify cpukit/libnetworking/Makefile.am. Update #3375.
* bsp/atsam: Fix handling of slow SPI speeds.Christian Mauderer2018-08-091-1/+20
| | | | | This patch fixes an overflow in the frequency calculation of the SPI driver for slow SPI speeds.
* bsp/atsam: Remove side effect from gmac functions.Christian Mauderer2018-05-301-0/+38
| | | | | | | | | Quite a number of GMAC_... functions had a side effect of enabling the transmit and receive. During the initialization of the ethernet driver, that lead to the situation that the receive has been already enabled while the DMA isn't set up correctly. Therefore the DMA interpreted the values at address 0 as an DMA descriptor. When a packet is received during that time, the behaviour is quite undefined.
* bsp/atsam: Reserve one region for applications.Christian Mauderer2018-05-251-0/+4
| | | | | | This allows a user to overwrite some MPU settings. That can for example be usefull for devices with special requirements that are connected to the external bus interface.
* bsps: Move documentation, etc. files to bspsSebastian Huber2018-04-261-0/+92
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move RTC drivers to bspsSebastian Huber2018-04-231-0/+104
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move legacy network drivers to bspsSebastian Huber2018-04-231-0/+1259
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move SPI drivers to bspsSebastian Huber2018-04-233-0/+809
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move I2C drivers to bspsSebastian Huber2018-04-232-0/+462
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsp/atsam: Move libraries to bspsSebastian Huber2018-04-2378-0/+21848
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move make/custom/* files to bspsSebastian Huber2018-04-232-0/+35
| | | | | | | | | Adjust various build files. Remove automatic generation of the c/src/lib/libbsp/*/acinclude.m4 files from bootstrap script. This patch is a part of the BSP source reorganization. Update #3285.