summaryrefslogtreecommitdiffstats
path: root/bsps/arm/atsam (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* bsps: Move startup files to bspsSebastian Huber2018-04-2016-0/+902
| | | | | | | | Adjust build support files to new directory layout. This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move console drivers to bspsSebastian Huber2018-04-202-0/+578
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move clock drivers to bspsSebastian Huber2018-04-201-0/+31
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsp/atsam: Fix GMAC Rx Descriptor fields.Christian Mauderer2018-03-211-6/+11
|
* bsp/atsam: Allow setting the drive strength.Christian Mauderer2018-03-131-0/+2
| | | | This adds a simple function for setting the PIO drive strength.
* bsp/atsam: Fix cache / DMA handling in SPI.Christian Mauderer2018-02-122-0/+38
| | | | | This patch fixes the cache handling for the atsam SPI driver. Note that this solution might doesn't have the best performance for small packets.
* bsp/atsam: Allow to use a decoder for SPI CS.Christian Mauderer2018-02-121-4/+9
| | | | | The SPI controller supports a decoder connected to the chip select lines. This patch allows to use this mode.
* Remove make preinstallChris Johns2018-01-25230-0/+77807
A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.