Re: Adding third-party source with Apache-2.0 license

2022-08-07 Thread Christian MAUDERER
Am 08.08.22 um 06:09 schrieb Chris Johns: On 7/8/2022 10:20 pm, o...@c-mauderer.de wrote: Am 07.08.22 um 13:06 schrieb Duc Doan: Dear all, I am working on a project that needs to include ST's STM32F4 HAL into RTEMS, specifically release v1.27.1 at: https://github.com/STMicroelectronics/STM32Cu

Re: Adding third-party source with Apache-2.0 license

2022-08-07 Thread Chris Johns
On 7/8/2022 10:20 pm, o...@c-mauderer.de wrote: > Am 07.08.22 um 13:06 schrieb Duc Doan: >> Dear all, >> >> I am working on a project that needs to include ST's STM32F4 HAL into >> RTEMS, specifically release v1.27.1 at: >> https://github.com/STMicroelectronics/STM32CubeF4. However, the CMSIS >> fi

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

2022-08-07 Thread Chris Johns
Hi Could you please configure your email client to not send HTML emails to the list? I am reluctant to enable filtering in mailman and have managed to avoid it so far. Thanks Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman

Re: [tools] tester: Sort test reports for JSON/YAML

2022-08-07 Thread Chris Johns
OK I was also looking at sorting the tests in summary but for some reason I could not get it to work as I expected. I am still looking into it. Chris On 6/8/2022 12:42 am, Sebastian Huber wrote: > This makes the reports more git friendly. > > Update 4671. > --- > tester/rt/test.py | 2 +- > 1

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

2022-08-07 Thread Prashanth S
Hi Christian, 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://gi

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

2022-08-07 Thread Prashanth S
--- cpukit/dev/can/can.c | 515 +++ cpukit/include/dev/can/can-msg.h | 105 + cpukit/include/dev/can/can-queue.h | 219 ++ cpukit/include/dev/can/can.h | 258 spec/build/cpukit/librtemscpu.yml| 6 +

Re: Adding third-party source with Apache-2.0 license

2022-08-07 Thread oss
Hello Duc, Am 07.08.22 um 13:06 schrieb Duc Doan: Dear all, I am working on a project that needs to include ST's STM32F4 HAL into RTEMS, specifically release v1.27.1 at: https://github.com/STMicroelectronics/STM32CubeF4. However, the CMSIS files in this repository have Apache-2.0 license. What

Adding third-party source with Apache-2.0 license

2022-08-07 Thread Duc Doan
Dear all, I am working on a project that needs to include ST's STM32F4 HAL into RTEMS, specifically release v1.27.1 at: https://github.com/STMicroelectronics/STM32CubeF4. However, the CMSIS files in this repository have Apache-2.0 license. What do you think about this? Should I add them to RTEMS,

[PATCH v6 10/10] bsps/arm/stm32f4: ADC API implementation

2022-08-07 Thread Duc Doan
--- bsps/arm/stm32f4/adc/adc.c| 495 ++ bsps/arm/stm32f4/include/bsp/stm32f4_adc.h| 198 +++ spec/build/bsps/arm/stm32f4/grp.yml | 2 + spec/build/bsps/arm/stm32f4/obj.yml | 3 + spec/build/bsps/arm/stm32f4/optnumadcctrl.yml | 16

[PATCH v6 09/10] bsps: Add ADC API

2022-08-07 Thread Duc Doan
--- bsps/include/bsp/adc.h | 407 +++ bsps/shared/dev/adc/adc.c| 249 +++ spec/build/bsps/bspopts.yml | 2 + spec/build/bsps/obj.yml | 1 + spec/build/bsps/optmaxnumadc.yml | 16 ++ 5 files changed, 675 insertions(+)

[PATCH v6 08/10] bsps/arm/stm32f4: GPIO Implementation

2022-08-07 Thread Duc Doan
--- bsps/arm/stm32f4/gpio/gpio.c | 557 ++ bsps/arm/stm32f4/include/bsp/stm32f4_gpio.h | 281 + spec/build/bsps/arm/stm32f4/grp.yml | 6 +- spec/build/bsps/arm/stm32f4/obj.yml | 4 + .../build/bsps/arm/stm32f4/optnumgpioctrl.yml |

[PATCH v6 07/10] bsps: Add GPIO API

2022-08-07 Thread Duc Doan
--- bsps/include/bsp/gpio2.h | 524 ++ bsps/shared/dev/gpio/gpio2.c | 207 spec/build/bsps/bspopts.yml | 2 + spec/build/bsps/obj.yml | 2 +- spec/build/bsps/optmaxnumgpio.yml | 16 + 5 files changed, 750 insertions(+), 1

[PATCH v6 06/10] bsps/arm/stm32f4: Make bspstart use HAL

2022-08-07 Thread Duc Doan
This patch changes bspstart to use HAL for clock and sysyem initialization. --- bsps/arm/stm32f4/start/bspstart.c | 199 -- 1 file changed, 186 insertions(+), 13 deletions(-) diff --git a/bsps/arm/stm32f4/start/bspstart.c b/bsps/arm/stm32f4/start/bspstart.c index 0ec5

[PATCH v6 05/10] bsps/arm/stm32f4: Add HAL to build

2022-08-07 Thread Duc Doan
This patch modifies some HAL headers to connect with RTEMS and add HAL code to build. It also adds some options to enable HAL, specify clock source and chip variant. --- bsps/arm/stm32f4/include/bsp/io.h | 4 + bsps/arm/stm32f4/include/stm32f4xx.h | 4 + bsps/arm/stm32f4/i

[PATCH v6 04/10] bsps/arm/stm32f4: Include STM32F4 HAL

2022-08-07 Thread Duc Doan
This patch adds STM32F4 HAL files taken from ST's repository at: https://github.com/STMicroelectronics/STM32CubeF4, Release v1.27.1, commit 52757b5e33259a088509a777a9e3a5b971194c7d. The device headers are copied from Drivers/CMSIS/Device/ST/STM32F4xx/Include. The HAL and LL files are copied from Dr

[PATCH v6 03/10] build/bsps/arm: Add new CMSIS files v5 to build

2022-08-07 Thread Duc Doan
--- spec/build/bsps/arm/grp.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/build/bsps/arm/grp.yml b/spec/build/bsps/arm/grp.yml index 37229fddc2..52c2a9f4f3 100644 --- a/spec/build/bsps/arm/grp.yml +++ b/spec/build/bsps/arm/grp.yml @@ -13,6 +13,9 @@ install: - bsps/arm/include/

[PATCH v6 00/10] New GPIO, ADC API and STM32F4 BSP implementation

2022-08-07 Thread Duc Doan
Dear all, These patches are to address the issues in my previous versions. These include GPIO API, ADC API and STM32F4 BSP implementation for them. My repository is at: https://github.com/dtbpkmte/GSoC-2022-RTEMS (master branch). The sample application code for these APIs can be found at: https: