Commit Graph

35997 Commits

Author SHA1 Message Date
Karel Gardas
c2bae70c5d bsps/stm32h7: recreate stm32h7xx_hal_conf.h
Re-apply based on:

    commit 6bb6b69bb6
    Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
    Date:   Tue Apr 6 09:43:23 2021 +0200

        arm/stm32h7: Add STM32H7_HSE_FREQUENCY
2023-07-31 15:15:09 +02:00
Karel Gardas
1e99148578 bsps/stm32h7: Add init for sdmmc pins
Re-apply based on:

    commit 8fd29cfbc5
    Author: Christian Mauderer <christian.mauderer@embedded-brains.de>
    Date:   Tue Mar 2 16:14:41 2021 +0100

        stm32h7: Add init for sdmmc pins

        Update #4372
2023-07-31 15:15:09 +02:00
Karel Gardas
ed358507a3 bsp/stm32h7: Enable LL drivers
Re-apply based on:

    commit abb78587b6
    Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
    Date:   Wed Apr 1 11:11:59 2020 +0200

        bsp/stm32h7: Enable LL drivers

        Update #3910.
2023-07-31 15:15:09 +02:00
Karel Gardas
4b3d7993d2 bsp/stm32h7: Disable unused functions
Re-apply based on:

    commit e4ba06f8b4
    Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
    Date:   Thu Apr 2 08:28:56 2020 +0200

        bsp/stm32h7: Disable unused functions

        Update #3910.
2023-07-31 15:15:09 +02:00
Karel Gardas
f728eb4dc4 bsps/stm32h7: update STM32 H7 HAL
This patch updates STM32 H7 HAL source files. The files are taken from two
STM projects from their github.com repositories:

(i)
https://github.com/STMicroelectronics/stm32h7xx_hal_driver.git

The project files are still available under BSD-3 license
and the version/commit used is:

d5fc8d05fc16fa2a2a2f948cf6c6ab39e78358e1

which represents post Release v1.11.1 development tree.

(ii)
https://github.com/STMicroelectronics/cmsis_device_h7.git

The project files were re-licensed from previous BSD-3 to Apache 2.0
license. Fortunately the project does not contain NOTICE file so no need
to do anything special when used in RTEMS.

The project version/commit imported is:

6d5ef249bec5177e0e2a0880ed62df2132874d99

which is code-wise Release v1.10.3 exactly.
2023-07-31 15:15:09 +02:00
Karel Gardas
49c296b324 bsps/arm: fix nested extern decl. warnings brought by CMSIS files update 2023-07-28 22:15:10 +02:00
Sebastian Huber
a41611ab4a bsps/irq: Remove unused parameter
Update #4862.
2023-07-28 17:18:07 +02:00
Sebastian Huber
6293fc4fd5 score: Assert scheduler index validity
Update #4844.
2023-07-28 17:13:14 +02:00
Sebastian Huber
64d9fc6e01 doxygen: Fix group memberships in libtest 2023-07-28 12:25:01 +02:00
Sebastian Huber
3ba43da922 score: Move <rtems/score/gcov.h>
Move <rtems/score/gcov.h> to <rtems/test-gcov.h>.  These functions do
not belong to an super core service.
2023-07-28 11:58:32 +02:00
Sebastian Huber
527af2b7f2 score: Move formatted I/O functions
These functions do not belong to an super core service.
2023-07-28 11:58:32 +02:00
Sebastian Huber
4516a5b797 build: Export BSP base and family via pkg-config
This allows application and library build systems to derive option
values from the BSP base and family names.
2023-07-28 07:50:15 +02:00
Sebastian Huber
c173f0581a bsp/leon3: Make declarations conditional
The LEON3_IrqCtrl_Adev object is only defined if LEON3_IRQAMP_BASE is
not defined.

The LEON3_Timer_Adev object is only defined if LEON3_GPTIMER_BASE is not
defined.

Close #4850.
2023-07-28 07:50:15 +02:00
Gedare Bloom
c1cad595af Revert "cpukit/dev/can: Added CAN support"
This reverts commit cd91b37dce.

Closes #4803.
2023-07-27 12:41:28 -06:00
Gedare Bloom
08a6b8c1ba Revert "build: Fix copyright statement format"
This reverts commit 5b124432e2.
2023-07-27 12:24:04 -06:00
Gedare Bloom
9e72a793ca Revert "cpukit/dev/can: Resolve warnings in 64bit builds"
This reverts commit 4c0a2d47e1.
2023-07-27 12:23:55 -06:00
Sebastian Huber
1bc5d3e481 sys: Add files to Doxygen group
Canonicalize brief descriptions.

Update #3707.
2023-07-26 07:18:29 +02:00
Sebastian Huber
ec1e500f4f timecounter: Add files to Doxygen group
Update #3707.
2023-07-26 07:18:29 +02:00
Sebastian Huber
d3fe128d67 posix: Add files to Doxygen group
Canonicalize brief descriptions.

Update #3707.
2023-07-26 07:18:29 +02:00
Sebastian Huber
5ba465c03b libcsupport: Add file to Doxygen group
Update #3707.
2023-07-26 07:18:29 +02:00
Sebastian Huber
233c21a232 score: Add files to Doxygen groups
Update #3707.
2023-07-26 07:18:29 +02:00
Frank Kühndel
3e1521eea1 bsps/sparc: Add files to Doxygen groups
Update #3707.
2023-07-26 07:18:29 +02:00
Sebastian Huber
58840ffbb0 rtems: Add files to Doxygen groups
Provide basic Doxygen comments.

Update #3706.
Update #3707.
2023-07-26 07:18:29 +02:00
Sebastian Huber
f99f5cec85 libtest: Place files into a Doxygen group
Canonicalize the file headers.

Update #3707.
2023-07-26 07:18:29 +02:00
Karel Gardas
c48c7d6f88 import Apache License 2.0 text file 2023-07-25 18:17:12 +02:00
Sebastian Huber
f8d4f16da6 score: Add workaround for GCC bug
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108658

This GCC bug leads to an incomplete code coverage status.

Update #4932.
2023-07-25 08:04:08 +02:00
Sebastian Huber
23c8a039b3 validation: Task entry return for idle threads
Update #3716.
2023-07-25 07:27:42 +02:00
Sebastian Huber
11d571787d rtems: Link config options and global construction 2023-07-25 07:27:40 +02:00
Sebastian Huber
0e70e989e6 rtems: Improve task entry wording 2023-07-25 07:26:01 +02:00
Chris Johns
c1d9dcbbb2 bsps/arm: Fix CMSIS v5 install files list 2023-07-25 11:03:07 +10:00
Kinsey Moore
46a4c5ea79 bsps/stm32h7: Make UART7 pins configurable
This change allows for the pins assigned to UART7 to be reconfigured via
config.ini.
2023-07-24 16:32:08 -05:00
Sebastian Huber
c8cae1d82d score: Move _IO_Relax() to new <rtems/dev/io.h>
This function is not a super core service.
2023-07-24 17:51:48 +02:00
Christian Mauderer
4a3ace7c7a bsps/imxrt: Add imxrt1166_cm7_saltshaker BSP
The BSP is for a custom i.MXRT1166 based board. At the moment, only the
cortex M7 is supported.
2023-07-24 14:41:06 +02:00
Christian Mauderer
780149bc38 bsps/imsrt: Make flash config more flexible
The flash configuration is something very board specific. So move the
file to a board specific location. Beneath that, not all controllers and
configurations need the flash config right at the address 0 of the
flash. For example on the i.MXRT11xx, the config has an offset for some
flash types.
2023-07-24 14:40:59 +02:00
Christian Mauderer
5bfcad2641 bsps/imx*: Support more GPIO controllers
The imx-gpio driver used in i.MX and i.MXRT BSPs generates a name based
on a fixed string. The original code only used one digit for the
controller. With the 13 GPIO controllers of the i.MXRT1166, that isn't
enough any more. This patch extends the name to two digits which should
be enough for the next controller generations.
2023-07-24 14:40:49 +02:00
Christian Mauderer
376db78f92 imxrt/mcux-sdk: Add HREQ-related bits
According to the reference manual the bits exist and they can be used.
Also confirmed by NXP support in the community forum:

https://community.nxp.com/t5/i-MX-RT/i-MXRT1160-LPSPI-HREQ-supported/m-p/1668647#M25512
2023-07-24 14:40:40 +02:00
Christian Mauderer
b831014b12 bsps/imxrt: Fix getting qtmr clock for i.MXRT11xx
The function returned a multiplexer value instead of the frequency.
2023-07-24 14:40:25 +02:00
Christian Mauderer
ffd8004cae bsps/imxrt1050: Install device tree sources
Useful for creating an application specific device tree that is based on
the evaluation board.
2023-07-24 14:40:12 +02:00
Karel Gardas
6b2318acef bsps/arm: replace CMSIS v4 with CMSIS v5 files
CAVEAT: license change from BSD to Apache2 license!

Explanation:
The imported files come from CMSIS v5 project available on:

https://github.com/ARM-software/CMSIS_5/tree/develop

The files imported are located inside the CMSIS/Core/Include
project sub-directory.

The project does not provide any NOTICE file in its root directory nor
in the directory of the imported files.
The NOTICE file and its usage in the Apache 2 license was/is
so far the only issue mentioned in discussion of RTEMS developers/users
when considering inclusion of the code under Apache 2 license
into the RTEMS project.
Since the CMSIS v5 project is free from this legal hinder, we may freely
use it and update files to the latest version.

Technical: the patch replaces code from 2015 with the latest version
which brings quite a lot of bug fixes and most importantly opens
possibilities to support MCUs based on new ARM cores.
2023-07-21 17:30:14 +02:00
Sebastian Huber
3a754a3de2 validation: Fix formatting 2023-07-21 09:32:33 +02:00
Sebastian Huber
610b54d83a testsuites: Remove stray ';' 2023-07-21 09:32:33 +02:00
Sebastian Huber
723c634d61 validation: Improve sparc/leon3 shutdown test
Test the shutdown halt separately from the SMP-specific shutdown
request.

Update #3716.
2023-07-21 08:20:11 +02:00
Sebastian Huber
5fb9ebfc9b doxgen: Document build system provided files
Update #3707.
2023-07-21 07:55:31 +02:00
Frank Kühndel
0afbd00958 unit: Test unlimited objects configuration
This unit test covers code paths which are only reached if unlimited
objects are used.

Update #3716.
2023-07-21 07:43:34 +02:00
Frank Kühndel
2fc7e04280 unit: Test POSIX-specific message queue impl
This unit test covers code paths of the Message Handler which are only
reached by through POSIX message queue API.

Update #3716.
2023-07-21 07:43:34 +02:00
Kinsey Moore
c2083e81f2 arm/stm32h7: Add support for STM32H750B-DK
This adds support for the STM32H750B-DK discovery kit. This kit includes
a built-in STLINKv3 debugger which provides a USB serial bridge for
USART3. USART1 is routed to the Arduino header and USART2 is routed to
the STMOD connector. This BSP reuses what would otherwise be duplicated
files from the stm32h747i-disco BSP. Note that system_stm32h7xx.c has
been imported from the STM repository with two minor changes wrapped
with #if __rtems__. This hardware has been tested with hello and ticker.
2023-07-20 09:14:36 -05:00
Sebastian Huber
49356594d3 rtems: Fix typo
Update #4772.
2023-07-20 15:05:33 +02:00
Kinsey Moore
21429f681d rtems: Update references to rtems_task_wake_after
rtems_task_wake_after takes a parameter in terms of a count of clock
ticks and not a measure in a subunit of seconds. This updates
documentation to reflect that. This also makes obvious the caveat about
the first tick wait not being a whole tick and points the user at a
replacement for better accuracy.

Updates #4772
2023-07-20 11:31:25 +02:00
Vijay Kumar Banerjee
7bca38340b powerpc/beatnik: Remove RTEMS_NETWORKING check from bsp.h 2023-07-19 19:10:33 -05:00
Sebastian Huber
fb0eb31a55 bsps/grlib: Fix use of uninitialized variable
Fixes Coverity CID 1538314.
2023-07-17 08:00:46 +02:00