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
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
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
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
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
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
Sebastian Huber
4b767bd343
bsps/arm: Use RTEMS_SECTION()
2020-09-17 08:36:45 +02:00
Sebastian Huber
20d82377a6
arm: Fix arm_cp15_set_translation_table_entries()
...
In a multi-processor system we must broadcast the TLB maintenance operation to
the Inner Shareable domain to ensure that the other processors update their TLB
caches accordingly.
Close #4068 .
2020-09-17 08:20:35 +02:00
Sebastian Huber
f3f0370f10
build: Alternative build system based on waf
...
Update #3818 .
2020-09-14 07:11:32 +02:00
Jan Sommer
b87efa7599
bsp/xilinx-zynq: Flush TX-Buffer before initializing uart
...
Closes #4055
Closes #4056
2020-08-22 17:29:25 +10:00
Sebastian Huber
95d37b6307
bsps/arm: Use _Assert()
2020-08-20 14:54:18 +02:00
Sebastian Huber
1b42158588
arm/atsam: Make interrupt server configurable
...
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 .
2020-08-05 07:00:36 +02:00
Christian Mauderer
6014fadb5a
bsps/beagle: Remove some debug output from I2C.
2020-08-03 09:11:13 +02:00
Christian Mauderer
29a73d876c
bsp/imx: Use GPIOs for SPI CS
...
The chip select lines of the iMX SPI module doesn't work well for a
generic API like the one RTEMS uses. The existing solution only worked
in some special cases and had odd bugs when trying transfers of
different sizes (like deselecting between each byte for lengths that are
not dividable by 4).
With this patch the same approach like on FreeBSD or Linux is used:
Treat the CS lines as GPIOs.
Update 3869
2020-07-31 08:26:14 +02:00
Christian Mauderer
0f4b911c01
bsp/imx: Add a GPIO driver
...
Update 3869
2020-07-31 08:26:14 +02:00
James Fitzsimons
a3b86d6caf
Fix for Beaglebone BSP PWM bug
2020-07-13 17:53:26 +02:00
Chris Johns
084ea83a9b
testsuite: Add expected-fail to beagleboneblack
...
Updates #2962
2020-05-06 18:40:42 +10:00
Chris Johns
7e3af67349
testsuite: Add expected-fail to xilinx's zedboard, a9_qemu, zc702 and zc706
...
Updates #2962
2020-05-06 18:40:27 +10:00
Christian Mauderer
222d687969
bsps/arm: Fix uninitialized value in generic timer
...
_CPU_Counter_frequency() can be called by the rtems_counter
initialization before arm_gt_clock_initialize() initializes the value
used in _CPU_Counter_frequency().
Closes #3961 .
2020-04-20 09:07:35 +02:00
Christian Mauderer
0121954128
bsp/imx: Add an extra ecspi clock.
...
Some imx chips or boards don't use the same frequency for ECSPI and IPG.
Update #3869
2020-04-15 16:13:07 +02:00
G S Niteesh Babu
19efa9a0b9
bsp/raspberrypi: Fix build warnings.
...
1) _Memory_Initialize makes pointer from integer
without a cast.
2) printf format error, expects %u but %lu provided.
2020-04-10 08:27:18 -05:00
Joel Sherrill
f4935345de
lpc23xx_tli800-testsuite.tcfg: Add psxaoi03 and psxsignal07
...
Updates #3938 .
2020-04-07 17:13:18 -05:00
Joel Sherrill
a7ea726fbd
lpc1768_mbed-testsuite.tcfg: Add psxaoi03 and psxsignal07
...
Updates #3938 .
2020-04-07 17:11:32 -05:00
Joel Sherrill
dcb097a5cb
lpc2362-testsuite.tcfg: Add psxaoi03 and psxsignal07
...
Updates #3938 .
2020-04-07 17:11:26 -05:00
Joel Sherrill
fe5d50ed43
lpc1768_mbed_ahb_ram_eth-testsuite.tcfg: Add psxsignal07
...
Updates #3938 .
2020-04-07 17:10:57 -05:00
Joel Sherrill
f74d70e682
lm4f120-testsuite.tcfg: Add psxsignal07
...
Updates #3938 .
2020-04-07 17:10:52 -05:00
Sebastian Huber
92a3a19c75
tests: Exclude record02 for some BSPs
...
Update #3938 .
2020-04-06 21:22:14 +02:00
Christian Mauderer
bb8ae78d36
bsp/raspberry: Add a bsp_fdt_map_intr().
...
Fixes #3903
2020-04-04 18:38:44 +02:00