summaryrefslogtreecommitdiffstats
path: root/bsps/arm (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-2424-26/+0
| | | | | | This define is no longer used. Update #3269.
* bsps/irq: Use BSP_INTERRUPT_VECTOR_COUNTSebastian Huber2021-06-248-9/+9
| | | | | | Use BSP_INTERRUPT_VECTOR_COUNT instead of BSP_INTERRUPT_VECTOR_MAX. Update #3269.
* bsps/irq: Add BSP_INTERRUPT_VECTOR_COUNTSebastian Huber2021-06-2424-0/+28
| | | | | | | | | | | | | 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-2427-38/+3
| | | | | | | | | | 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.
* arm/fvp: Fix integer from pointer without a castSebastian Huber2021-06-071-1/+1
| | | | Update #4202.
* Change filesystem utime_h handler to utimens_hRyan Long2021-05-281-1/+1
| | | | | | | Also updated licenses. Closes #4400 Updates #3899
* bsps/imxrt: Enable DMA clockChristian Mauderer2021-05-171-0/+3
| | | | | | The EDMA is intialized so make sure the the clock is initialized too. Update #4180
* bsps/imxrt: Fix OCRAM, ITCM and DTCM sizesChristian Mauderer2021-05-173-0/+33
| | | | | | | | | | | | The sizes are configurable via fuses or per software via some registers. At the moment the registers are not changed. Changing the registers destroys data stored in the RAM areas (like application code or data). So either the fuses or some bootloader should be used to set them before the application starts. This also adds an OCRAM only linker command file. Update #4180
* bsps/imxrt: Add addresses and interrupts to dtsChristian Mauderer2021-05-172-521/+1651
| | | | | | | | Add addresses and interrupts for most internal peripherals to the dts. The additional aliases make it possible for an application to easily access these informations. Update #4180
* bsps/imxrt: Reduce devicetree sizeChristian Mauderer2021-05-172-765/+472
| | | | | | | Remove symbols that would be necessary for overlays and decrease padding that would be necessary for adding stuff during run-time. Update #4180
* bsps/imxrt: Fix documentation errorChristian Mauderer2021-05-171-1/+1
| | | | Update #4180
* arm/altera-cyclone-v: Fix compile errorSebastian Huber2021-05-171-2/+2
| | | | Update #4406.
* rtems: Constify rtems_task_wake_when()Sebastian Huber2021-05-121-1/+1
| | | | | | | | | | | | | | | | Add a parameter to _TOD_Validate() to disable the validation of the ticks member. There are two reasons for this change. Firstly, in rtems_task_wake_when() was a double check for time_buffer == NULL (one in rtems_task_wake_when() and one in _TOD_Validate()). Secondly, the ticks member is ignored by rtems_task_wake_when(). This was done with a write of zero to the ticks member and thus a modification of the user-provided structure. Now the structure is no longer modified. Using a mask parameter is quite efficient. You just have to load an immediate value and there are no additional branches in _TOD_Validate(). Close #4406.
* _TOD_Validate(): Fix incorrect return codeFrank Kühndel2021-05-121-6/+4
| | | | | | | | | | | | | | | This patch fixes bug #4403. Directives * rtems_timer_fire_when() * rtems_timer_server_fire_when() * rtems_task_wake_when() are documented to return RTEMS_INVALID_ADDRESS when their time-of-day argument is NULL. But actually they return RTEMS_INVALID_CLOCK. To fix the issue this patch changes _TOD_Validate() to return a status code instead of just true/false. Close #4403
* bsps: Support RTEMS_NOINIT in linkcmdsSebastian Huber2021-05-023-1/+16
| | | | Update #3866.
* bsps/arm: ARMV7_CP15_START_WORKSPACE_ENTRY_INDEXSebastian Huber2021-04-291-1/+1
| | | | | | | Change the ARMV7_CP15_START_WORKSPACE_ENTRY_INDEX value to be in line with the workspace entry in ARMV7_CP15_START_DEFAULT_SECTIONS. Close #4395.
* Implementation for STM32 HAL_GetTick using RTEMSRobin Mueller2021-04-261-2/+2
| | | | Uses configured millisecond per ticks
* bsps/beagle: Refactored i2c driverG S Niteesh Babu2021-04-224-95/+114
| | | | | | Refactored the i2c driver to parse register values from the device tree rather than hardcoding them. But still the clocks have to initialized manually.
* bsps/arm: Set MSP in ARMv7-M start codeSebastian Huber2021-04-211-0/+8
| | | | | | Set the Main Stack Pointer (MSP) to the ISR stack area end just in case we run using the Process Stack Pointer (PSP). This helps if applications are started by a boot loader.
* Updated tick implementation for HAL_GetTickRobin Mueller2021-04-201-1/+3
| | | | | This now uses rtems_clock_get_uptime_nanoseconds to calculate the uptime ticks in milliseconds.
* bsps: Remove networking driversVijay Kumar Banerjee2021-04-0710-6908/+0
| | | | Update #3850
* arm/stm32h7: Add STM32H7_USART3_GPIO_*Sebastian Huber2021-04-061-2/+4
|
* arm/stm32h7: Add STM32H7_HSE_FREQUENCYSebastian Huber2021-04-061-0/+5
|
* stm32h7: Add init for sdmmc pinsChristian Mauderer2021-04-012-0/+90
| | | | Update #4372
* stm32h7: Add SDMMC modules to clockChristian Mauderer2021-04-012-3/+15
| | | | Update #4372
* bsp/beagle: Ported Beagle pinmux driver to RTEMSG S Niteesh Babu2021-03-211-0/+31
| | | | | | | | | | The following files have been ported 1) ti_pinmux.c 2) ti_pinmux.h 3) am335x_scm_padconf.c 4) am335x_scm_padconf.h Update #3784
* bsps/beagle: Added SOC detection using FDTG S Niteesh Babu2021-03-213-6/+110
| | | | | Detects the SOC type using FDT and also replaces the ti_cpuid.h header in FreeBSD with custom one.
* bsps/arm/imxrt: Add FDT and FDT helper for QTMRChristian Mauderer2021-03-214-139/+293
| | | | | Makes it simpler to access the QTMR in an application via a FDT name or link in an application specific FDT entry.
* bsps/beagle: Updating licences to latest BSD 2 clauseJames Fitzsimons2021-03-026-29/+146
|
* bsps/beagle: Adding QEP driver support to BeagleBoneBlack BSPJames Fitzsimons2021-03-027-69/+949
|
* bsps: Fix legacy buildSebastian Huber2021-02-261-4/+0
|
* bsps: Change license to BSD-2-Clause of some filesSebastian Huber2021-02-241-4/+32
| | | | | | | Change license to BSD-2-Clause according to file histories and re-licensing agreement. Update #3899.
* bsps: Replace bsp_specs with an empty fileSebastian Huber2021-01-2822-198/+0
| | | | | | | This fixes an issue with the latest tool chain which adds the default linker script in the endfile specification. Update #3250.
* bsps: Add missing DWARF 5 sectionsSebastian Huber2021-01-261-3/+5
| | | | Sort alphabetically.
* bsps: Support DWARF 5 sectionsSebastian Huber2021-01-251-8/+13
| | | | GCC 11 uses DWARF 5 by default.
* bsp/imx: Fix system counter init for imx6Christian Mauderer2021-01-211-1/+60
| | | | | | | | | For i.MX7 U-Boot initializes the system counter. On i.MX6 Barebox is often used which doesn't initialize the counter. With this patch, we try to auto-detect whether the counter is initialized or not and do the initialization ourself if necessary. Closes #3869
* bsps/imxrt: Add ioctl to LPSPI to get registersChristian Mauderer2021-01-212-0/+74
| | | | | | | | This allows an application to get the registers of the LPSPI. That is usefull for applications that want to use DMA for a very specialized and highly optimized communication. Update #4180
* bsps/imxrt: Add DMA numbers to dtsiChristian Mauderer2021-01-212-478/+604
| | | | | | | Also currently no driver uses these numbers, it is usefull for applications that want to use the DMA. Update #4180
* bsps/shared: Adapt fsl-edma driver for imxrtChristian Mauderer2021-01-211-0/+3
| | | | | | | | | | Note: The changes have been done with portability in mind. The driver should (in theory) be able to replace the original one in the MPC BSPs too. For full compatibility an adaption layer and especially a test would be necessary. Because both are missing, don't integrate it into the MPC BSP now. Update #4180
* bsps/imxrt: Use standard names to avoid warningsChristian Mauderer2021-01-212-106/+103
| | | | | | | If spi or i2c slaves are "connected" to the spi or i2c bus, the device tree compiler complains if the busses are not named spi or i2c. Update #4180
* bsp/stm32h7: Split console configurationSebastian Huber2021-01-0421-150/+498
| | | | | | | This allows applications to individually provide configuration structures. Update #4209.
* bsp/stm32h7: Split start configurationSebastian Huber2021-01-045-38/+166
| | | | | | | This allows applications to individually provide configuration structures. Update #4209.
* Update header.amSebastian Huber2020-12-233-8/+15
|
* arm/fvp: New BSPSebastian Huber2020-12-2311-0/+694
| | | | | | | | This BSP supports the Arm Fixed Virtual Platform. Only the Cortex-R52 processor configuration is supported by the BSP. It should be easy to add support for other variants if needed. Update #4202.
* bsps/arm: Rely on initialized vector tableSebastian Huber2020-12-231-5/+4
| | | | | | | The arm_cp15_set_exception_handler() is a complicated function which should be avoided if possible. Update #4202.
* bsps: Use header file for GIC architecture supportSebastian Huber2020-12-231-3/+15
| | | | | | This avoids a function call overhead in the interrupt dispatching. Update #4202.
* bsps/arm: Invalidate TLB in start.SSebastian Huber2020-12-235-15/+10
| | | | Update #4202.
* bsps/arm: Clear SCTLR[M, I, A, C] in start.SSebastian Huber2020-12-235-119/+43
| | | | | | | Initialize the data and unified cache levels. Invalidate the instruction cache levels. Update #4202.
* bsps/arm: Add arm-data-cache-loop-set-way.hSebastian Huber2020-12-232-62/+105
| | | | | | This makes it possible to reuse this loop. Update #4202.