At this moment the STM32 ports are a mess. We have 5 different directories to support STM32 architectures with a lot of duplicated code.
I want to go back to work on the STM32H7 port, but it discourages me that I'll have to duplicate more and more code from stm32/stm32f7 directories.
So maybe it's a good time to fix it?
Gregory once mentioned about ChibiOS and their way of ports organization (https://github.com/ChibiOS/ChibiOS/tree/master/os/hal/ports/STM32)
It looks pretty nice for me. What do you think about reorganise STM32 directories in a similar way?
There is quite a lot of work to do and ST manuals doesn't help with this approach, so it can take some time to finish.
But after changes it'll be much easier to maintain code and add new functionality to STM32 family.
If you think this is a good idea, I can start working on it.
Or if you have a better solution than suggested please let me know.
--
You received this message because you are subscribed to the Google Groups "NuttX" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nuttx+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to nuttx+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "NuttX" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nuttx+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to nuttx+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "NuttX" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nuttx+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "NuttX" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nuttx+un...@googlegroups.com.
Hello
littlefs is very cool and desirable in NuttX, but it should really be implemented directly in NuttX instead of bringing some mbed code.
I would also have a negative opinion on this raw inclusion.
I would be very happy to test a version of littlefs that is correctly integrated in NuttX without wrappers and external code.
Sebastien
I will not accept any code the NuttX repositories that does not follow the NuttX coding style 100% under any and condition. That is absolute and inflexible.
Nor do I accept forks for active projects into NuttX ever.
If you want to include this file system, the you must take a frozen snapshot and adapt to the NuttX coding style. Otherwise I will decline the change and that is not at all negotiable.
The are NuttX values that I never compromise:
I am flexible on most everything else, but those are inviolable.
Greg
Sent from Mail for Windows 10
No, I won’t have that in the NuttX directory. I don’t want. That kind of stuff in in apps/ but never in nuttx/.
Please, if you do no not wish to follow the NuttX standards, do not pursue this. I will no cooperate in any way and will refuse any attempt to include this in the OS because I do not want it there unless it is 100% native and conforming to the NuttX standard.
None of the things you suggest will ever happen. Never!
There are certain things I am flexible on and there things that I am not flexible on. I am not flexible on this and I can promise you that the code will never come into the repository if it does not conform.
I will no bend. I will not compromise. That is an absolute.
From: Gregory Nutt
Sent: Sunday, September 16, 2018 9:20 PM
To: nu...@googlegroups.com
Subject: RE: [nuttx] Reorganisation of the STM32 directories
No, I won’t have that in the NuttX directory. I don’t want. That kind of stuff in in apps/ but never in nuttx/.
Please, if you do no not wish to follow the NuttX standards, do not pursue this. I will no cooperate in any way and will refuse any attempt to include this in the OS because I do not want it there unless it is 100% native and conforming to the NuttX standard.
None of the things you suggest will ever happen. Never!
Greg
Sent from Mail for Windows 10
From: Xiang Xiao
Sent: Sunday, September 16, 2018 9:10 PM
To: NuttX
Subject: Re: [nuttx] Reorganisation of the STM32 directories
Greg,
If we follow the integration style like apps/graphics/littlevgl:
1.README.txt or script to instruct where to download the external package
2.All other integration code follow NuttX coding sytle
3.The integration layer strictly follow the VFS design and POSIX interface
Is this approach acceptable?
On Monday, September 17, 2018 at 10:52:08 AM UTC+8, patacongo wrote:
I will not accept any code the NuttX repositories that does not follow the NuttX coding style 100% under any and condition. That is absolute and inflexible.
Nor do I accept forks for active projects into NuttX ever.
If you want to include this file system, the you must take a frozen snapshot and adapt to the NuttX coding style. Otherwise I will decline the change and that is not at all negotiable.
The are NuttX values that I never compromise:
1. All code must conform to the portable POSIX interface for applications.
2. All code must follow good architecture rules for modularity and must respect the layer architecture.
3. All code must conform to the NuttX coding style.
Ok, we will keep the change in our private git. If anyone is interesting, we could share the patch to him directly.
It doesn't look like there is very much activity on littlefs. I see a big fix two weeks ago. But there was nothing prior to that since August 27. I think it is safe to make a proper port.