Sebastian Huber
9c20b987cd
rtems: Add <rtems/rtems/clockimpl.h>
2020-12-02 07:45:53 +01:00
Sebastian Huber
fe58f6ce4b
bsp/stm32h7: Add and use BSP Doxygen group
...
Update #3910 .
2020-11-26 08:21:46 +01:00
Sebastian Huber
99c73303de
rtems: Improve rtems_interrupt_server_create()
...
Also start interrupt server tasks on processors which do not have a
scheduler. Applications may dynamically manage processors using
rtems_scheduler_remove_processor() and rtems_scheduler_add_processor().
2020-11-24 07:40:24 +01:00
Kinsey Moore
1cbe5773ab
spec/aarch64: Only apply SUBALIGN(4) to ILP32
...
The SUBALIGN(4) required on rtemsroset and rtemsrwset for ILP32 builds
was previously present on LP64 builds and causes no issues within RTEMS,
but causes relocation/alignment issues when building libbsd. This
restricts those alignment changes to ILP32 builds.
2020-11-23 09:57:45 -06:00
Sebastian Huber
6c078901b2
doxygen: Use common syntax for groups
2020-11-23 10:36:46 +01:00
Christian Mauderer
7141afbb0e
bsp/imxrt: Add new BSP
...
Update #4180
2020-11-20 08:53:19 +01:00
Christian Mauderer
57b5b29ce4
bsp/imxrt: Adapt imported files
...
Update #4180
2020-11-20 08:53:19 +01:00
Christian Mauderer
8abf858cf5
bsp/imxrt: Fix warnings for imported files
...
Update #4180
2020-11-20 08:53:18 +01:00
Christian Mauderer
48f6a6c302
bsp/imxrt: Import files from MCUXpresso SDK V2.8.5
...
The following files have been imported:
cp ${SDK}/boards/evkbimxrt1050/project_template/clock_config.c nxp/boards/evkbimxrt1050
cp ${SDK}/boards/evkbimxrt1050/project_template/clock_config.h include/fsl_clock_config.h
cp ${SDK}/boards/evkbimxrt1050/project_template/dcd.c start/flash-dcd.c
cp ${SDK}/boards/evkbimxrt1050/project_template/pin_mux.c nxp/boards/evkbimxrt1050
cp ${SDK}/boards/evkbimxrt1050/project_template/pin_mux.h include/fsl_pin_mux.h
cp ${SDK}/boards/evkbimxrt1050/xip/evkbimxrt1050_flexspi_nor_config.h include/fsl_flexspi_nor_config.h
cp ${SDK}/devices/MIMXRT1052/MIMXRT1052.h include
cp ${SDK}/devices/MIMXRT1052/MIMXRT1052_features.h include
cp ${SDK}/devices/MIMXRT1052/drivers/fsl_*.c nxp/devices/MIMXRT1052/drivers
cp ${SDK}/devices/MIMXRT1052/drivers/fsl_*.h include
cp ${SDK}/devices/MIMXRT1052/fsl_device_registers.h include
cp ${SDK}/devices/MIMXRT1052/system_MIMXRT1052.h include/
cp ${SDK}/devices/MIMXRT1052/xip/fsl_flexspi_nor_boot.c nxp/devices/MIMXRT1052/xip/fsl_flexspi_nor_boot.c
cp ${SDK}/devices/MIMXRT1052/xip/fsl_flexspi_nor_boot.h include
Update #4180
2020-11-20 08:53:18 +01:00
Christian Mauderer
b169095c7d
cpu/armv7m: Add table based init for ARMV7M_MPU
...
Modify the MPU functions of the stm32h7 BSP to be table based and
available for all ARMV7M BSPs.
Update #4180
2020-11-20 08:53:18 +01:00
Christian Mauderer
6cece58544
bsps/imx: Move imx-gpio to arm/shared
...
Update #4180
2020-11-20 08:53:18 +01:00
Christian Mauderer
e00f443428
imx: Move imx_iomux to arm/shared
...
Update #4180
2020-11-20 08:53:18 +01:00
Christian Mauderer
cab11b5b80
bsp/atsam: Fix XDMAD status
...
In "bsp/atsam: Simplify XDMAD_Handler()" (5f813694f6 ) 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
2020-11-12 08:30:20 +01:00
Jiri Gaisler
b4c29b54e7
Add networking support for griscv bsp
...
* Only GRETH device supported for now
* Fix endian problem in GRETH driver
* Remove SPARC assembly from greth.c
* Builds with both autoconf and waf
2020-11-09 09:35:11 +01:00
Sebastian Huber
350bba7a04
sparc: Add SPARC_INTERRUPT_SOURCE_TO_TRAP()
...
Update #4171 .
2020-11-06 14:05:53 +01:00
Sebastian Huber
828114778d
sparc: Add SPARC_INTERRUPT_TRAP_TO_SOURCE()
...
Update #4171 .
2020-11-06 14:05:53 +01:00
Sebastian Huber
b7271f8c1e
sparc: Add SPARC_IS_INTERRUPT_TRAP()
...
Update #4171 .
2020-11-06 14:05:53 +01:00
Sebastian Huber
99494370d6
bsp/stm32h7: New BSP
...
Update #3910 .
2020-10-27 06:11:45 +01:00
Sebastian Huber
c44e404888
bsp/stm32h7: Fix warnings
...
Update #3910 .
2020-10-27 06:11:45 +01:00
Sebastian Huber
e4ba06f8b4
bsp/stm32h7: Disable unused functions
...
Update #3910 .
2020-10-27 06:11:45 +01:00
Sebastian Huber
abb78587b6
bsp/stm32h7: Enable LL drivers
...
Update #3910 .
2020-10-27 06:11:45 +01:00
Sebastian Huber
2f157e2007
bsp/stm32h7: Move <math.h> include
...
This is necessary for libbsd compatibility.
Update #3910 .
2020-10-27 06:11:45 +01:00
Sebastian Huber
2cfcd005e9
bsp/stm32h7: Constify some functions
...
Update #3910 .
2020-10-27 06:11:45 +01:00
Sebastian Huber
2131228f79
bsp/stm32h7: Import from STM32CubeMX-5.6.0
...
Update #3910 .
2020-10-27 06:11:44 +01:00
Sebastian Huber
db94626bc3
bsp/leon3: Updat due to API changes
2020-10-26 15:10:05 +01:00
Sebastian Huber
273613f1a8
bsps/arm: Sort fast text/data sections
2020-10-21 07:58:38 +02:00
Sebastian Huber
3fccdc956c
bsps/arm: Add support for MPU region alignment
...
Update #3910 .
2020-10-21 07:58:34 +02:00
Sebastian Huber
bb4e534014
bsps: Fix rtems_interrupt_server_delete()
...
The ISR lock must be destroyed to prevent memory corruption if RTEMS_PROFILING
and RTEMS_SMP is enabled.
Close #4158 .
2020-10-19 17:44:49 +02: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
cf1682130c
bsps/arm: Add workaround for Errata 794072
...
Add a workaround for Cortex-A9 Errata 845369: A short loop including a DMB
instruction might cause a denial of service on another which executes a CP15
broadcast operation.
Close #4115 .
2020-10-16 06:36:53 +02:00
Sebastian Huber
e7b878e42f
bsps/arm: Workaround for Errata 845369
...
Add a workaround for Cortex-A9 Errata 845369: Under Very Rare Timing
Circumstances Transition into Streaming Mode Might Create Data Corruption.
Update #4115 .
2020-10-16 06:36:06 +02:00
Joel Sherrill
7db9c14434
lpc32xx_mzx_stage_1-testsuite.tcfg: Add ttest01
2020-10-12 10:14:38 -05:00
Joel Sherrill
2695e7d01f
lpc2362-testsuite.tcfg: Add monitor and psxmsgq01
2020-10-12 10:14:38 -05:00
Joel Sherrill
562c2a718c
lm3s3749-testsuite.tcfg: Add spcxx01
2020-10-12 10:14:38 -05:00
Frank Kühndel
f28a6defd1
disp_hcms29xx: Fix string truncation warning
...
The strlcpy() function ensures there is always a NUL character
at the end of the string. Hence it is safer as strncpy() and it avoids the
compiler warning
2020-10-10 15:04:15 +02:00
Sebastian Huber
d7a48e1b25
rtems: Improve RTEMS_NO_RETURN attribute
...
Provide RTEMS_NO_RETURN also in case RTEMS_DEBUG is defined to prevent errors
like this:
error: no return statement in function returning non-void [-Werror=return-type]
Use C11 and C++11 standard means to declare a no-return function.
Close #4122 .
2020-10-10 14:00:37 +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
Joel Sherrill
560c08cc3d
bsps/include/bsp/fatal.h: Add GRLIB specific fatal error
...
updates #4028 .
2020-10-08 08:30:00 -05:00
Joel Sherrill
0c74ff92b5
Misc: Correct spelling of occurred
2020-10-07 08:38:28 -05:00
Kinsey Moore
ed9c88cea8
bsps: Add Cortex-A53 ILP32 BSP variant
...
This adds an AArch64 ILP32 BSP variant based on Qemu's Cortex-A53
emulation with interrupt support using GICv3 and clock support using
the ARM GPT.
2020-10-05 16:11:40 -05:00
Kinsey Moore
db68ea1b9b
bsps: Add Cortex-A53 LP64 basic BSP
...
This adds an AArch64 basic BSP based on Qemu's Cortex-A53 emulation with
interrupt support using GICv3 and clock support using the ARM GPT.
2020-10-05 16:11:40 -05:00
Kinsey Moore
cb2afd2eaa
bsps/shared: Add PSCI-based bspreset implementation
...
This adds a bsp_reset implementation based on the ARM PSCI
specification often present in ARMv8 systems.
2020-10-05 16:11:39 -05:00
Kinsey Moore
f8ad5bb2a4
bsps: Break out AArch32 GICv3 support
...
This breaks out AArch32-specific code so that the shared GICv3 code can
be reused by other architectures.
2020-10-05 16:11:39 -05:00
Kinsey Moore
1480c3f5e8
bsps: Break out AArch32 portions of GPT driver
...
This breaks AArch32-specific portions of the ARM GPT driver into their
own file so that the generic code can be moved for reuse by other
architectures.
2020-10-05 16:11:39 -05:00
Kinsey Moore
1c03649312
Move ARM PL011 UART driver
...
This UART driver is now needed for BSPs other than ARM.
2020-10-05 16:11:39 -05:00
Sebastian Huber
a9995f101d
bsp/lpc176x: Fix memory map
...
Due to the static allocation of operating system resources the .bss section
needs more space than the .work section.
Close #4117 .
2020-10-05 19:34:10 +02:00
Jan Sommer
1f77518fca
bsps/pc386: Add missing license header
...
Closes #4093 .
2020-09-23 08:25:30 -05:00
Sebastian Huber
e8450a6c36
bsps/riscv: Add bsp_fdt_map_intr()
...
This function is required by libbsd.
2020-09-23 07:35:05 +02:00