Re: Discussion: How to handle HALs, SDKs and libraries

2023-07-16 Thread oss
Hello Karel, Am 16.07.23 um 12:37 schrieb Karel Gardas: On 7/16/23 10:03, o...@c-mauderer.de wrote: Of course the revision from two months back has to be available in the repo. It doesn't really matter whether it's on master because the code just worked or whether it's a RTEMS specific branch

Re: Discussion: How to handle HALs, SDKs and libraries

2023-07-16 Thread Karel Gardas
On 7/16/23 10:03, o...@c-mauderer.de wrote: Of course the revision from two months back has to be available in the repo. It doesn't really matter whether it's on master because the code just worked or whether it's a RTEMS specific branch because adaptions have been necessary. You "it doesn't

Re: Westernization of RTEMS/stm32H7 [was: Re: Discussion: How to handle HALs, SDKs and libraries]

2023-07-16 Thread oss
Hello Karel, Am 16.07.23 um 00:07 schrieb Karel Gardas:   Hello, Christian mentioned Zephyr west tool as one of good/possible candidates for RTEMS tree modularization especially with regarding to HALs and other 3rd party libraries. I mentioned it as one of three tools that I know that

Re: Discussion: How to handle HALs, SDKs and libraries

2023-07-16 Thread oss
Hello Karel, Am 15.07.23 um 19:22 schrieb Karel Gardas: On 7/15/23 16:00, o...@c-mauderer.de wrote: We should avoid rebasing and overwriting the old branch because we have to preserve a version that can be used with older RTEMS versions. So for rebasing, we would have to use multiple

Westernization of RTEMS/stm32H7 [was: Re: Discussion: How to handle HALs, SDKs and libraries]

2023-07-15 Thread Karel Gardas
Hello, Christian mentioned Zephyr west tool as one of good/possible candidates for RTEMS tree modularization especially with regarding to HALs and other 3rd party libraries. For comparison with my previous git submodulization of RTEMS/stm32H7 I've also westernized the same in a similar

Re: Discussion: How to handle HALs, SDKs and libraries

2023-07-15 Thread Karel Gardas
On 7/15/23 16:00, o...@c-mauderer.de wrote: We should avoid rebasing and overwriting the old branch because we have to preserve a version that can be used with older RTEMS versions. So for rebasing, we would have to use multiple branches. Instead of rtems-6-branch, it could be a rtems- or

Re: Discussion: How to handle HALs, SDKs and libraries

2023-07-15 Thread oss
Hello Karel, Am 15.07.23 um 15:03 schrieb Karel Gardas: On 7/15/23 14:33, o...@c-mauderer.de wrote: I like submodules because they are well-supported by the usual tools. Honestly. I like submodules idea, but hate its implementation. Some reasons: - submodules were added as a light weight

Re: Discussion: How to handle HALs, SDKs and libraries

2023-07-15 Thread Karel Gardas
On 7/15/23 14:33, o...@c-mauderer.de wrote: I like submodules because they are well-supported by the usual tools. Honestly. I like submodules idea, but hate its implementation. Some reasons: - submodules were added as a light weight feature and during the development of git/submodule

Re: Discussion: How to handle HALs, SDKs and libraries

2023-07-15 Thread oss
Hello Karel, Am 15.07.23 um 12:17 schrieb Karel Gardas: On 7/15/23 09:47, o...@c-mauderer.de wrote: Am 15.07.23 um 01:48 schrieb Karel Gardas:   Hello, I've created setup where I've put updated STM32H7 HAL consisting of two submodules: - stm32h7xx_hal_driver - cmsis_device_h7 and ARM's

Re: Discussion: How to handle HALs, SDKs and libraries

2023-07-15 Thread Karel Gardas
On 7/15/23 09:47, o...@c-mauderer.de wrote: Am 15.07.23 um 01:48 schrieb Karel Gardas:   Hello, I've created setup where I've put updated STM32H7 HAL consisting of two submodules: - stm32h7xx_hal_driver - cmsis_device_h7 and ARM's - CMSIS_5 into hals/arm/stm32h7 to follow related BSP

Re: Discussion: How to handle HALs, SDKs and libraries

2023-07-15 Thread oss
Hello Karel, thanks for trying that. I wouldn't object to add it to 6 but I wouldn't expect it either because it means a lot of adaptions to the release scripts. Chris most likely can tell you more about whether it's even thinkable at that point in the release cycle or not. Am 15.07.23 um

Re: Discussion: How to handle HALs, SDKs and libraries

2023-07-14 Thread Karel Gardas
Hello, I've created setup where I've put updated STM32H7 HAL consisting of two submodules: - stm32h7xx_hal_driver - cmsis_device_h7 and ARM's - CMSIS_5 into hals/arm/stm32h7 to follow related BSP code location. I've also completely removed HAL code from the BSP directory and also CMSIS

Re: Discussion: How to handle HALs, SDKs and libraries

2023-07-14 Thread Karel Gardas
Hello, are we really that close to RTEMS 6 release that none of this is acceptable to do now? Asking since I'd also like to update stm32h7 HAL. I may do that manually or I may do that submodule way which may perhaps save some of the manual work involved as some of the patches may not be

Re: Discussion: How to handle HALs, SDKs and libraries

2023-05-25 Thread Christian MAUDERER
On 2023-05-25 01:57, Chris Johns wrote: On 24/5/2023 5:07 pm, Christian MAUDERER wrote: Hello Chris, On 2023-05-24 03:44, Chris Johns wrote: Hi Christian, Thanks for raising this topic. It is a tough one. On 24/5/2023 12:11 am, Kinsey Moore wrote: On Tue, May 23, 2023 at 2:26 AM Christian

Re: Discussion: How to handle HALs, SDKs and libraries

2023-05-24 Thread Chris Johns
On 24/5/2023 5:07 pm, Christian MAUDERER wrote: > Hello Chris, > > On 2023-05-24 03:44, Chris Johns wrote: >> Hi Christian, >> >> Thanks for raising this topic. It is a tough one. >> >> On 24/5/2023 12:11 am, Kinsey Moore wrote: >>> On Tue, May 23, 2023 at 2:26 AM Christian MAUDERER >>> >>

Re: Discussion: How to handle HALs, SDKs and libraries

2023-05-24 Thread Christian MAUDERER
Hello Chris, On 2023-05-24 03:44, Chris Johns wrote: Hi Christian, Thanks for raising this topic. It is a tough one. On 24/5/2023 12:11 am, Kinsey Moore wrote: On Tue, May 23, 2023 at 2:26 AM Christian MAUDERER mailto:christian.maude...@embedded-brains.de>> wrote: Hello, I

Re: Discussion: How to handle HALs, SDKs and libraries

2023-05-23 Thread Chris Johns
Hi Christian, Thanks for raising this topic. It is a tough one. On 24/5/2023 12:11 am, Kinsey Moore wrote: > On Tue, May 23, 2023 at 2:26 AM Christian MAUDERER > > wrote: > > Hello, > > I recently updated the HAL in the i.MXRT BSP. I used

Re: Discussion: How to handle HALs, SDKs and libraries

2023-05-23 Thread Christian MAUDERER
On 2023-05-23 16:11, Kinsey Moore wrote: On Tue, May 23, 2023 at 2:26 AM Christian MAUDERER > wrote: Hello, I recently updated the HAL in the i.MXRT BSP. I used the same approach that we use for a lot of similar cases: Import the

Re: Discussion: How to handle HALs, SDKs and libraries

2023-05-23 Thread Kinsey Moore
On Tue, May 23, 2023 at 2:26 AM Christian MAUDERER < christian.maude...@embedded-brains.de> wrote: > Hello, > > I recently updated the HAL in the i.MXRT BSP. I used the same approach > that we use for a lot of similar cases: Import the sources into RTEMS > and adapt them slightly so that they

Discussion: How to handle HALs, SDKs and libraries

2023-05-23 Thread Christian MAUDERER
Hello, I recently updated the HAL in the i.MXRT BSP. I used the same approach that we use for a lot of similar cases: Import the sources into RTEMS and adapt them slightly so that they work for us. So basically a Clone-and-Own approach. During the discussion of the patches, some concerns