Re: [PATCH v2 2/3] bsps/riscv: add riscv/kendrytek210 BSP variant source changes

2023-03-15 Thread Gedare Bloom
This looks ok, There's a minor problem that this patch might break existing BSPs due to the change in the option name (RISCV_ENABLE_FRDME310ARTY_SUPPORT to RISCV_ENABLE_SIFIVE_UART_SUPPORT) until the spec patch is applied, so it would be better then to combine the patches together, so that it

[PATCH 2/2] libmisc/shell: Add flashdev command

2023-03-15 Thread aaron . nyholm
From: Aaron Nyholm Closes #4869 --- cpukit/include/rtems/shellconfig.h | 7 + cpukit/libmisc/shell/main_flashdev.c | 352 +++ spec/build/cpukit/objshell.yml | 1 + 3 files changed, 360 insertions(+) create mode 100644 cpukit/libmisc/shell/main_flashdev.c

[PATCH 1/2] dev/flash: Add API for Flash devices

2023-03-15 Thread aaron . nyholm
From: Aaron Nyholm Updates #4896 --- cpukit/dev/flash/flashdev.c | 353 cpukit/include/dev/flash/flashdev.h | 95 spec/build/cpukit/librtemscpu.yml | 4 + 3 files changed, 452 insertions(+) create mode 100644 cpukit/dev/flash/flashdev.c

Flash Device API

2023-03-15 Thread aaron . nyholm
This generic flash device API creates a device wrapper for flash drivers. It allows for the flash device to opened as a file descriptor with region limiting. IOCTL calls are present to allow for device idenification. Designed with the goal of creating a generic flash driver that allows

[PATCH v2 3/3] spec: add riscv kendrytek210 variant build options

2023-03-15 Thread Alan Cudmore
This patch includes the spec/build options for the riscv kendrytek210 BSP variant. It includes options to allow the frdme310arty console UART to be used on multiple BSPS, device tree options, memory options, and other required options for the variant. Updates #4876 --- spec/build/bsps/optdtb.yml

[PATCH v2 1/3] bsps/riscv: add device tree source and device tree blob header for k210 bsp variant

2023-03-15 Thread Alan Cudmore
This patch adds the k210 device tree source and the corresponding device tree blob encoded in the header which is used for the embedded device tree blob for the Kendryte K210 BSP variant. Updates #4876 --- bsps/riscv/riscv/dts/kendryte-k210.dts| 216

[PATCH v2 2/3] bsps/riscv: add riscv/kendrytek210 BSP variant source changes

2023-03-15 Thread Alan Cudmore
This patch adds support for the Kendryte K210 RISC-V BSP variant. The SoC uses the existing Interrupt Controller, Timer, and console UART. It only needs SoC specific initialization and an embedded device tree binary similar to the polarfire SoC BSP. Updates #4876 ---

[PATCH v2 0/3] bsps/riscv: Add kendrytek210 riscv BSP variant

2023-03-15 Thread Alan Cudmore
Version 2 patch updates: Separated the device tree source and encoded device tree blob into a separate patch, added the license text to k210.h, eliminated whitespace warnings, and eliminated dead code in the conditional compilation structure for the core_get_frequency function in

[PATCH] bsps/stm32h7: add comments explaining MPU setup

2023-03-15 Thread Karel Gardas
--- bsps/arm/stm32h7/start/mpu-config.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/bsps/arm/stm32h7/start/mpu-config.c b/bsps/arm/stm32h7/start/mpu-config.c index ce3c92ccb0..a3ebc065ec 100644 --- a/bsps/arm/stm32h7/start/mpu-config.c +++

[PATCH] bsps/zynqmp: Use correct include path

2023-03-15 Thread Kinsey Moore
The existing include path only works from inside the RTEMS build. This fixes the include path to work both in the RTEMS build and with builds of external apps since this file gets installed with the BSP. --- bsps/aarch64/xilinx-zynqmp/include/bsp/jffs2_xqspipsu.h | 2 +- 1 file changed, 1

[PATCH] score/arm: improve printed exception information for Cortex-Mx CPUs

2023-03-15 Thread Karel Gardas
Sponsored-By: Precidata --- .../score/cpu/arm/arm-exception-frame-print.c | 101 ++ .../cpu/arm/include/rtems/score/armv7m.h | 11 ++ 2 files changed, 112 insertions(+) diff --git a/cpukit/score/cpu/arm/arm-exception-frame-print.c

Re: rtems gtest

2023-03-15 Thread Sebastian Huber
On 15.03.23 14:58, Sam Price wrote: I was looking at rtems-gtest from 4 years ago. https://git.rtems.org/sebh/rtems-gtest.git/ Is this currently in use anywhere for the testing side? I used the latest version recently. I was easy to port to RTEMS. If not I plan on forking the main line

rtems gtest

2023-03-15 Thread Sam Price
I was looking at rtems-gtest from 4 years ago. https://git.rtems.org/sebh/rtems-gtest.git/ Is this currently in use anywhere for the testing side? If not I plan on forking the main line google test and writing a toolchain file. The rtems gtest doesn't seem to share the same history as the official

Re: [PATCH 0/1] Fix a typo in the stm32h7 BSP Documentation

2023-03-15 Thread Ruturaj nanoti
Thank you On Wed, Mar 15, 2023, 5:21 AM Karel Gardas wrote: > > Thanks! Applied with a slightly modified commit message. > > Karel > > On 3/15/23 05:38, Ruturaj Nanoti wrote: > > Hi, > > > > I found a small typo while going through the BSP documentation for > > stm32h7 and fixed it in this

Re: [PATCH 2/2] bsps/riscv: add riscv/kendrytek210 BSP variant

2023-03-15 Thread Alan Cudmore
On Tue, Mar 14, 2023 at 11:35 PM Gedare Bloom wrote: > >> >> > diff --git a/bsps/riscv/riscv/start/bspstart.c > b/bsps/riscv/riscv/start/bspstart.c > >> >> > index 30d479ce88..a0b6e683f6 100644 > >> >> > --- a/bsps/riscv/riscv/start/bspstart.c > >> >> > +++ b/bsps/riscv/riscv/start/bspstart.c >

[PATCH] doxygen: Document hash algorithm files

2023-03-15 Thread Sebastian Huber
--- cpukit/doxygen/hash-algorithms.h | 149 +++ 1 file changed, 149 insertions(+) create mode 100644 cpukit/doxygen/hash-algorithms.h diff --git a/cpukit/doxygen/hash-algorithms.h b/cpukit/doxygen/hash-algorithms.h new file mode 100644 index 00..c920d7685e

Re: [PATCH 0/1] Fix a typo in the stm32h7 BSP Documentation

2023-03-15 Thread Karel Gardas
Thanks! Applied with a slightly modified commit message. Karel On 3/15/23 05:38, Ruturaj Nanoti wrote: Hi, I found a small typo while going through the BSP documentation for stm32h7 and fixed it in this commit. Thank You Ruturaj Nanoti (1): Fixed a typo in the

[PATCH] cpuuse: Add implementation Doxygen group

2023-03-15 Thread Sebastian Huber
--- cpukit/libmisc/cpuuse/cpuusagedata.c | 2 +- cpukit/libmisc/cpuuse/cpuusagereport.c | 2 +- cpukit/libmisc/cpuuse/cpuusagereset.c | 2 +- cpukit/libmisc/cpuuse/cpuusagetop.c| 2 +- cpukit/libmisc/cpuuse/cpuuseimpl.h | 26 ++ 5 files changed, 30