Commit Graph

36609 Commits

Author SHA1 Message Date
Ning Yang
447f767abc aarch64/raspberrypi: Add Watchdog Timer driver 2024-08-11 02:08:51 +00:00
Joel Sherrill
a51b7d4b57 objectinitializeinformation.c: Add Assert for API index too high
Coverity Scan spotted the possibility that the
_Objects_Information_table could be over-indexed if the API
value provided was too high. This function is only used during
initialization and the input should be trusted. Adding a debug
_Assert() emphasizes this trust.

Coverity CID 1512508

Closes #5084.
2024-08-11 01:31:01 +00:00
zak liang
4337300649 lashdisk.c: Invalid printf format string 2024-08-10 17:16:39 -04:00
Karel Gardas
e8172c8651 bsps/stm32h7: Fix typo causing crash on USB 2 initialization
There is certainly no USB 20 TG while there is a known USB 2 OTG tech. The
crash caused by this is well observed from media01.exe from libbsd compiled
for H7 and run on the board.
2024-08-09 14:28:40 +00:00
Amar Takhar
5eaf65953c bsps: Convert README and other file to MarkDown
These were missed in the last pass.
2024-08-08 23:31:51 +00:00
Sebastian Huber
89002394dd bsp/gen5200: Add section for GDB pretty-printing 2024-08-08 05:37:16 +02:00
zhengxiaojun
3211cba9f9 bbsps/shared/arm-gicv3: Calculate cpu_count correctly
cpu_count should be increased before exit condition.
2024-08-08 01:55:25 +00:00
Chris Johns
cc34558448 libdebugger/powerpc: Add PowerPC support
Closes #5098
2024-08-07 05:09:38 +00:00
Chris Johns
53a62631ac libdebugger/target: Add support for backend code writters
The call lets backends support special methods of writing code.

Updates #5098
2024-08-07 05:09:38 +00:00
Chris Johns
6a367f4689 libdebugger/target: Move global stepping variables in to the target data
Updates #5098
2024-08-07 05:09:38 +00:00
Joel Sherrill
f29986391d aio_fsync.c: Address Coverity dead code issue
Coverity CID 1616018

O_SYNC and O_DSYNC have the same value which led Coverity to note that
checking for both values in if's or switches leads to dead code. The
solution is to add a cpp check that they are equal and enough commentary
so if they ever are not the same, there is a hint as to why the cpp
check got tripped.

Closes #5100.
2024-08-07 03:05:50 +00:00
Kinsey Moore
8611d3d91f bsps/aarch64: Homogenize ZynqMP ECC info structs
This fixes the ECC info struct naming such that they all use the _Info
suffix. This also adds comments describing which structures are paired
with which event types.
2024-08-07 02:50:22 +00:00
Joel Sherrill
5580f70bbd disp_hmsc29xx.c: Address Coverity flagged negative shift
Coverity CID 1512508

Closes #5084.
2024-08-07 02:46:57 +00:00
Matheus Pecoraro
02a8935698 ACPICA: Add file for chosen ACPICA license 2024-08-06 21:28:15 +00:00
Matheus Pecoraro
bb950bd770 x86_64/amd64: ACPI support for the AMD64 BSP
- Implements necessary ACPICA OS Services Layer interfaces;
- Retrieve the RSDP from the FreeBSD Bootloader for amd64 or from multiboot2 for amd64efi;
- Add ACPI initialization routine;
- Use ACPI in bsp_reset.
2024-08-06 21:28:15 +00:00
Matheus Pecoraro
bd12e6f0af bsps/acpi: Shared ACPICA OSL methods and spec file
Add an implementation for port independent ACPICA OS Services Layer
methods and objacpi.yml spec file.
2024-08-06 21:28:15 +00:00
Matheus Pecoraro
c4bae407fc ACPICA: Add acrtems.h include in acenv.h
Add an include to acrtems.h in acenv.h so BSPs may provide their own
ACPICA defines and configurations
2024-08-06 21:28:15 +00:00
Matheus Pecoraro
5d6094c42c ACPICA: Initial ACPICA code import
ACPICA commit a8b050df914875839b717a51e1b32d6c6b86ae96
2024-08-06 21:28:15 +00:00
Mohamed Hassan
6ab27bb54e libtests/stackchk04: Add a new testsuite for the detailed reporter
Now as the default reporter is set to be a quiet reporter, we have stackchk test case for the default quiet reporter, stackchk03 for a custom user-defined reporter and stackchk04 for the detailed reporter function
2024-08-06 22:40:12 +03:00
Ning Yang
8f0c0bc379 aarch64/raspberrypi: Add SPI support
- Standard SPI master mode.
- Polling mode.
- Interrupt mode.

Close #5056
2024-08-05 22:45:42 +00:00
Karel Gardas
cb78150d86 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:

fec141ce999da655a48e1a15db83a72d564a1312

which represents Release v1.11.3 exactly.

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

The project files are available under 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:

faccfec37f82f7a1319c21638111b0f7335de7fe

which represents Release v1.10.4 exactly.
2024-08-05 22:42:52 +00:00
Joel Sherrill
7109dfdea1 bsps/m68k/uC5282/README.md: Delete timing results
Closes #5096.
2024-08-05 22:00:58 +00:00
Amar Takhar
83b380efc5 Add @docs group as approvers for docs under @arch
GitLab requires explicit exclusions and unfortunately it's one per line while it
does look gross it is clearer to read what's going on.

Also clean up some spacing.
2024-08-05 17:59:50 -04:00
Amar Takhar
81e81d1650 Convert LICENSE to LICENSE.md
This also fixes one spelling mistake:

  jffs2/src/LICENCE -> jffs2/src/LICENSE.md
2024-08-05 21:43:36 +00:00
Aaron Nyholm
1fd373a286 spec/arm/zynq: Set default UART on Microzed to UART1 2024-08-05 21:42:01 +00:00
Amar Takhar
a5370d1870 bsps: Fold various files into README.md 2024-08-05 21:41:15 +00:00
Amar Takhar
020681779d cpukit/libcsupport: merge TODO and CASES into README 2024-08-05 21:40:57 +00:00
Amar Takhar
fd49184934 bsps/sh/gensh2: Fold README.EVB7045F into README.md 2024-08-05 21:40:40 +00:00
Amar Takhar
28180a1fa9 bsps: Convert README to MarkDown 2024-08-05 21:37:42 +00:00
Amar Takhar
3139d38137 cpukit: Convert cpukit/*/README to MarkDown
There are a lot of README files this is just a cursory glance to convert but
will render fine online.  If they don't we can make changes.
2024-08-05 21:37:12 +00:00
the-m3chanic
e13236123c cpukit/sapi/src: fixed grammar mistake in comment in exinit.c 2024-08-05 21:29:58 +00:00
the-m3chanic
362deb38dc cpukit/sapi/src: removed macro, made asm() global at file scope and changed python script being loaded 2024-08-05 21:29:58 +00:00
the-m3chanic
c76f41afd3 linker scripts: some more formatting changes (tab --> space) 2024-08-05 21:29:58 +00:00
the-m3chanic
0c6b1f1184 linker scripts: fixed formatting - replaced tab with 2 spaces 2024-08-05 21:29:58 +00:00
the-m3chanic
79d5f22b5a lm32: modified linker scripts for gdb-inlined script support 2024-08-05 21:29:58 +00:00
the-m3chanic
39a2ad6232 bfin: modified linker scripts for all BSPs for gdb-inlined script support 2024-08-05 21:29:58 +00:00
the-m3chanic
56158c1cb4 m68k: modified BSP specific linker scripts 2024-08-05 21:29:58 +00:00
the-m3chanic
53c2dc6b7a or1k: modified linkcmds.base to add gdb-inlined script support 2024-08-05 21:29:58 +00:00
the-m3chanic
aea2f38500 mips: modified linker script files for gdb-inlined script support 2024-08-05 21:29:58 +00:00
the-m3chanic
fad8219a4e cpukit/sapi/src: added DEFINE_GDB_PY macro to exinit.c to embed gdb-inline section 2024-08-05 21:29:58 +00:00
the-m3chanic
5fa414f37a moxie: modified linkcmds for gdb-inlined script support 2024-08-05 21:29:58 +00:00
the-m3chanic
57ed8e5f31 x86_64: modified linkcmds for gdb-inlined script support 2024-08-05 21:29:58 +00:00
the-m3chanic
8276f817cf sh: modified linkcmds for all BSPs for gdb-inlined script support 2024-08-05 21:29:58 +00:00
the-m3chanic
a148c94c73 riscv: modified linkcmdsbase.yml to add new section for gdb-inlined script 2024-08-05 21:29:58 +00:00
the-m3chanic
51241988ac sparc64: modified linkcmds to add new section for GDB pretty-printing 2024-08-05 21:29:58 +00:00
the-m3chanic
065155b421 sparc: modified linkcmds.base to add new section for GDB pretty-printing 2024-08-05 21:29:58 +00:00
the-m3chanic
a9b39c800c powerpc: modified linkcmds.base to add new section for GDB pretty-printing 2024-08-05 21:29:58 +00:00
the-m3chanic
2ba6a3bbda m68k: modified linkcmds.base to add new section for GDB pretty-printing 2024-08-05 21:29:58 +00:00
the-m3chanic
9f559735c1 arm: modified linkcmds.base to add new section for GDB pretty-printing 2024-08-05 21:29:58 +00:00
the-m3chanic
489ef84549 aarch64: modified linkcmds.base to add new section for GDB pretty-printing 2024-08-05 21:29:58 +00:00