Commit Graph

35877 Commits

Author SHA1 Message Date
Sebastian Huber
bc31fb65d2 arm/xilinx-zynq: Do not provide legacy API
The header file <rtems/irq.h> provides a legacy API.  Do not provide it
by default through <bsp/irq.h>.
2023-05-26 06:56:11 +02:00
Sebastian Huber
da2b49e7b7 bsps/arm: Use interrupt entry for IPI
Avoid a dynamic memory allocation for the inter-processor interrupt.
2023-05-26 06:56:11 +02:00
Sebastian Huber
eff408b64f bsps/arm: Use interrupt entry for clock driver
Avoid a dynamic memory allocation for the clock driver interrupt.
2023-05-26 06:56:11 +02:00
Sebastian Huber
363fafb780 bsps/arm: Use interrupt entry for <tm27.h>
Avoid a dynamic memory allocation for the <tm27.h> interrupts.  Replace
assert() with _Assert().
2023-05-26 06:56:11 +02:00
Sebastian Huber
49720a90d8 arm/xilinx-zynq: Improve Doxygen file comments 2023-05-26 06:56:11 +02:00
Sebastian Huber
ebe4224dce bsps/arm: Improve Doxygen groups 2023-05-26 06:56:11 +02:00
Sebastian Huber
f69326d0c2 bsps: Improve Doxygen file comments 2023-05-26 06:56:11 +02:00
Sebastian Huber
991919da3b arm: Improve Doxygen file comments 2023-05-26 06:56:11 +02:00
Sebastian Huber
eb299786c6 rtems: Document scheduler configuration API 2023-05-24 14:58:59 +02:00
Sebastian Huber
3c1e264db6 smptests: Print proper end of test message
Make sure that the end of test message is not mixed up with other test
output.
2023-05-23 14:19:13 +02:00
Kinsey Moore
6bc3ad3ed4 libdl: Add support for LDST128_ABS_LO12_NC 2023-05-22 08:55:47 -05:00
Christian Mauderer
6f034c18e8 imx_iomux: Don't set reserved bits in PAD_CTL
On most i.MX* the upper bits in SW_PAD_CTL are reserved. On some chips,
like the i.MXRT1166, they are a domain write protection. Setting them to
1 can have unexpected side effects.

The device tree uses these bits for some flags. Make sure that they are
not accidentally written to some value.
2023-05-22 09:45:42 +02:00
Christian Mauderer
2fdd1d0246 bsps/imxrt: Make the OCRAM address configurable
Depending on the chip variant, the OCRAM can have different addresses.
Make it configurable.
2023-05-22 09:45:42 +02:00
Christian Mauderer
97819b8a31 bsps/imxrt: Move board specific files
Move the files that are board specific and not specific to the chip
family into a separate folder.
2023-05-22 09:45:42 +02:00
Christian Mauderer
c1a949745f bsps/imxrt: Make chip start code chip specific
Some parts of the startup code don't apply for all chips. Make that part
chip specific.
2023-05-22 09:45:42 +02:00
Christian Mauderer
dd68ed6075 bsps/imxrt: Support more chip variants in header
The different variants of the i.MXRT have some minimal differences in
the fsl_flexspi_nor_config.h. Make sure that the header supports the
different chips.
2023-05-22 09:45:42 +02:00
Christian Mauderer
d941dd0dad bsps/imxrt: Remove unmaintained defines
The defines for the different clock frequencies in the
fsl_clock_config.h do not represent the clock frequencies that have been
set up in the registers. Remove them to avoid someone trusting in
correct values.
2023-05-22 09:45:42 +02:00
Christian Mauderer
bb2e2d0c30 bsps/shared: Fix header for fsl-edma
If a different chip variant is used in the i.mxrt BSP, a different
header would have to be included. Make sure that the fsl-edma driver
uses a header that doesn't have to be adapted.
2023-05-22 09:45:42 +02:00
Christian Mauderer
5e78c76c79 bsps/imxrt: Get clock for IMXRT11xx in drivers
The mcux_sdk has a different interface for getting the clock for
IMXRT11xx than for getting it in IMXRT10xx. Adapt simple drivers to
support that interface.
2023-05-22 09:45:42 +02:00
Christian Mauderer
f3df09352c bsps/imxrt1052: PLL config based on speed grade 2023-05-22 09:45:42 +02:00
Christian Mauderer
f467635161 bsps/imxrt: Adapt to new mcux-sdk version
Remove the old NXP MCUXpresso SDK and adapt the BSP so that it uses the
new mcux-sdk.
2023-05-22 09:45:36 +02:00
Christian Mauderer
4cb2b07402 bsps/imxrt: (Re-)Apply RTEMS patches to new lib
Reapply patches used in the old version of the NXP library and apply
patches necessary for the new version of the library.
2023-05-22 09:43:48 +02:00
Christian Mauderer
38ad41ecce bsp/imxrt: Update support library from mcux-sdk
This imports new files from the mcux-sdk support library. NXP now offers
the library as a git repository instead of a zip package. The git
repository supports multiple CPUs from the i.MXRT family:

  https://github.com/nxp-mcuxpresso/mcux-sdk.git

The imported files are from revision

  2b9354539e6e4f722749e87b0bdc22966dc080d9

This revision is the same as MCUXpresso 2.13.0 with small bug fixes.

For importing the files, a script has been used, that parses the
mcux-sdk cmake files and creates the yaml files for RTEMS:

https://raw.githubusercontent.com/c-mauderer/nxp-mcux-sdk/d21c3e61eb8602b2cf8f45fed0afa50c6aee932f/export_to_RTEMS.py
2023-05-22 09:43:48 +02:00
Sebastian Huber
bcef89f236 Update company name
The embedded brains GmbH & Co. KG is the legal successor of embedded
brains GmbH.
2023-05-20 11:05:26 +02:00
Alex White
9b7a1da804 bsps/microblaze: Add device tree support to GPIO 2023-05-19 12:32:18 -05:00
Alex White
59f9ed28d8 bsps/microblaze: Remove GPIO build system options
The number of GPIO devices along with each of their particular
configurations is application-specific. Encoding this information as
build options also introduced a lot of clutter.
2023-05-19 12:32:18 -05:00
Sebastian Huber
c588daecb9 rtems: Reference types in construct directives 2023-05-19 08:09:37 +02:00
Sebastian Huber
60c291a128 rtems: Add constraint to types 2023-05-19 08:09:37 +02:00
Sebastian Huber
976f208ff2 validation: Add checks to static assert tests
This ensures that the test cases have at least one test step.

Update #3716.
2023-05-19 08:09:26 +02:00
Sebastian Huber
9db208019b validation: RTEMS_STATIC_ANALYSIS
Improve the validation of this define which is not defined for normal
builds.

Update #3716.
2023-05-19 08:08:45 +02:00
Sebastian Huber
1a2d797a97 validation: Fix formatting
Update #3716.
2023-05-19 08:08:45 +02:00
Sebastian Huber
28fabc299f validation: rtems_scheduler_get_maximum_priority()
Validate this directive for the EDF SMP scheduler.

Update #3716.
2023-05-19 08:08:45 +02:00
Sebastian Huber
367427d07b validation: Improve formatting
This enables automatic Doxygen links.

Update #3716.
2023-05-19 08:08:45 +02:00
Sebastian Huber
ee74893267 validation: Add group for runtime measurements
Update #3716.
2023-05-19 08:08:45 +02:00
Sebastian Huber
649dc37c8f validation: Use spec:* references
Update #3716.
2023-05-19 08:08:45 +02:00
Sebastian Huber
64fdb08900 validation: Fix formatting
Update #3716.
2023-05-19 08:08:45 +02:00
Sebastian Huber
72465f86d5 validation: Fix typo
Update #3716.
2023-05-19 08:08:45 +02:00
Sebastian Huber
8bc15aba56 validation: Validate RTEMS_NO_TIMEOUT
Update #3716.
2023-05-19 08:08:43 +02:00
Sebastian Huber
c821b925f7 validation: Test the global construction
Update #3716.
2023-05-19 07:47:37 +02:00
Sebastian Huber
94df7a0125 basedefs.h: Improve formatting 2023-05-19 07:47:37 +02:00
Sebastian Huber
69635b3b1c basedefs.h: Add proper brief description 2023-05-19 07:47:37 +02:00
Sebastian Huber
35106bd8e0 rtems: Conditionally include MPCI header 2023-05-19 07:47:37 +02:00
Aaron Nyholm
c2913ec414 libmisc/shell: Fix file pointer leak and improved input data sanitation.
Coverity #1530126
Coverity #1530125
2023-05-17 13:41:44 -05:00
Tian Ye
e06152b82d bsps/aarch64: Fix 128bit q register print bug 2023-05-16 08:41:29 -05:00
Joel Sherrill
3f4454b686 _TOD_Adjust method is unused. Remove it.
Use of this method was likely eliminated during the rework to use
FreeBSD bintime/sbintime.

Close #4905.
2023-05-16 08:40:51 -05:00
Aaron Nyholm
94a7d17b09 aarch64/versal: Fix uart interrupt issues 2023-05-16 12:48:53 +10:00
Aaron Nyholm
8e3ab34051 testsuites/libtests: Add test for flashdev 2023-05-16 12:48:23 +10:00
Aaron Nyholm
984693a4b3 libmisc/shell: Add flashdev command 2023-05-16 12:48:18 +10:00
Aaron Nyholm
15d4428e96 cpukit/flash: Add API for Flash devices 2023-05-16 12:48:13 +10:00
Sebastian Huber
1f00afcb5a zlib: Update from 1.2.5 to 1.2.13
The updated files were extracted from:

https://www.zlib.net/zlib-1.2.13.tar.xz

The archive had an SHA-256 hash value of:

d14c38e313afc35a9a8760dadf26042f51ea0f5d154b0630a31da0540107fb98

Close #4902.
2023-05-09 15:07:09 +02:00