Re: [PATCH v5 2/4] bsps: New GPIO API & peripherals API framework

2022-08-02 Thread Duc Doan
Hello Christian, On Mon, 2022-08-01 at 20:29 +0200, o...@c-mauderer.de wrote: > Hello Duc, > > Am 01.08.22 um 05:50 schrieb Duc Doan: > > Hello Christian, > > > > On Sat, 2022-07-30 at 17:50 +0200, o...@c-mauderer.de wrote: > > > Hello Duc, > > > > > > Am 24.07.22 um 14:01 schrieb Duc Doan: > >

[PATCH] libmisc/shell: Add an 'rtems' command to report a running build

2022-08-02 Thread chrisj
From: Chris Johns - Report version, cpu, bsp, tools and options. --- cpukit/include/rtems/shellconfig.h | 6 ++ cpukit/libmisc/shell/main_rtems.c | 156 + spec/build/cpukit/objshell.yml | 1 + 3 files changed, 163 insertions(+) create mode 100644 cpukit/libm

Re: [PATCH v5 1/4] bsps/stm32f4 Include STM32F4 HAL

2022-08-02 Thread Duc Doan
Hello Christian, On Tue, 2022-08-02 at 07:26 +0200, Christian MAUDERER wrote: > That page most likely ignores line endings. Try it with `file` or > `dos2unix -i`: > > > sh> git co master > [...] > sh> file bsps/arm/include/cmsis_gcc.h > bsps/arm/include/cmsis_gcc.h: C source, ASCII text, wi

Re: [PATCH v5 1/4] bsps/stm32f4 Include STM32F4 HAL

2022-08-02 Thread Christian MAUDERER
Hello Duc, Am 02.08.22 um 05:00 schrieb Duc Doan: Hello Christian, On Mon, 2022-08-01 at 20:32 +0200, o...@c-mauderer.de wrote: Hello Duc, Am 01.08.22 um 04:13 schrieb Duc Doan: Hello Christian, On Sun, 2022-07-31 at 20:01 +0200, o...@c-mauderer.de wrote: Hello Duc, Am 31.07.22 um 17:07 s

Re: [PATCH v5 1/4] bsps/stm32f4 Include STM32F4 HAL

2022-08-02 Thread Duc Doan
Hello Christian, On Sat, 2022-07-30 at 22:19 +0200, o...@c-mauderer.de wrote: > > > > Am 30.07.22 um 21:41 schrieb Karel Gardas: > > On 7/30/22 16:32, o...@c-mauderer.de wrote: > > > >   bsps/arm/include/cmsis_compiler.h |   266 + > > > >   bsps/arm/include/cmsis_gcc.h  

Re: [PATCH] cpukit/dev/can: Added CAN support

2022-08-02 Thread oss
Hello Duc, general note: You add an API to cpukit. Most APIs there should have a test case in the testsuite. In this case the test case would have to create some dummy CAN driver and check whether everything works like expected. As an example take a look at the SPI test: https://git.rtems.

Re: [PATCH v5 2/4] bsps: New GPIO API & peripherals API framework

2022-08-02 Thread oss
Hello Duc, Am 02.08.22 um 09:17 schrieb Duc Doan: [...] diff --git a/bsps/include/bsp/periph_api.h b/bsps/include/bsp/periph_api.h new file mode 100644 index 00..fb02b701dc --- /dev/null +++ b/bsps/include/bsp/periph_api.h Isn't it an API just because you add it here. Is it really nece

Re: [PATCH v5 1/4] bsps/stm32f4 Include STM32F4 HAL

2022-08-02 Thread oss
Hello Duc, Am 02.08.22 um 12:37 schrieb Duc Doan: Hello Christian, On Sat, 2022-07-30 at 22:19 +0200, o...@c-mauderer.de wrote: Am 30.07.22 um 21:41 schrieb Karel Gardas: On 7/30/22 16:32, o...@c-mauderer.de wrote:   bsps/arm/include/cmsis_compiler.h |   266 +   bsps/arm/inc

[DOCS] Add versioning support

2022-08-02 Thread chrisj
Hi, These patches add versioning support that can be used in code blocks. It will allow us to move to RTEMS 7 without needing wide ranging version number changes. The documentation does have some things like the version of a compiler or list of files that do change but we should look to refine wh

[PATCH 1/5] building: Add support for an RTEMS version number

2022-08-02 Thread chrisj
From: Chris Johns - Support using a version number for RTEMS documentation Updates #4695 --- README.txt| 31 + common/conf.py| 12 +++- common/rtemsdomain.py | 64 +++ common/version.py | 5 +++- 4 files ch

[PATCH 3/5] versions: Update arm

2022-08-02 Thread chrisj
From: Chris Johns Updates #4695 --- user/bsps/arm/altera-cyclone-v.rst | 2 +- user/bsps/arm/beagle.rst | 11 +++ user/bsps/arm/imx.rst | 6 ++-- user/bsps/arm/imxrt.rst| 33 +++-- user/bsps/arm/raspberrypi.rst | 24

[PATCH 2/5] versions: Update aarch64

2022-08-02 Thread chrisj
From: Chris Johns Updates #4695 --- user/bsps/aarch64/xilinx-zynqmp.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user/bsps/aarch64/xilinx-zynqmp.rst b/user/bsps/aarch64/xilinx-zynqmp.rst index 239ebe4..2b28132 100644 --- a/user/bsps/aarch64/xilinx-zynqmp.rst +++ b

[PATCH 4/5] versions: Update microblaze, powerpc, riscv and x86_64

2022-08-02 Thread chrisj
From: Chris Johns Updates #4695 --- user/bsps/bsps-microblaze.rst | 10 +- user/bsps/bsps-powerpc.rst| 8 user/bsps/bsps-riscv.rst | 3 ++- user/bsps/bsps-x86_64.rst | 2 +- 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/user/bsps/bsps-microblaz

[PATCH 5/5] versions: Update user manual

2022-08-02 Thread chrisj
From: Chris Johns Updates #4695 --- user/exe/initialization.rst | 10 +- user/exe/loader.rst | 12 +- user/hosts/os.rst| 2 +- user/installation/developer.rst | 287 --- user/installation/project-sandboxin

[PATCH] commands: Add 'rtems' command

2022-08-02 Thread chrisj
From: Chris Johns --- shell/rtems_specific_commands.rst | 95 +++ 1 file changed, 95 insertions(+) diff --git a/shell/rtems_specific_commands.rst b/shell/rtems_specific_commands.rst index c67f635..a8fcb9b 100644 --- a/shell/rtems_specific_commands.rst +++ b/shell/rt

[PATCH] libdl: Fix warnings on 64bit architectures

2022-08-02 Thread chrisj
From: Chris Johns Updates #4662 --- cpukit/libdl/rtl-elf.c| 2 +- cpukit/libdl/rtl-obj-comp.c | 6 +++--- cpukit/libdl/rtl-shell.c | 4 ++-- cpukit/libdl/rtl-unresolved.c | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cpukit/libdl/rtl-elf.c b/cpukit/libdl/r