I like your idea of less integer types. I assume you would use a feature branch to start anyways, so we could see what problems crop up and assess.
Chris ________________________________ From: andy pugh <bodge...@gmail.com> Sent: October 11, 2023 7:44 PM To: EMC developers <emc-developers@lists.sourceforge.net> Subject: Re: [Emc-developers] RFC: Reduce number of HAL pin types. On Wed, 11 Oct 2023 at 20:33, Rod Webster <r...@vehiclemods.net.au> wrote: > Look, I am only a casual programmer that dabbles on the fringes. You > guys are going to do what you want to do. But the point I wanted to > make is there are likely many cases you have not considered that could > break and some of them won't have an active maintainer. I still don't > understand why you want to give up one of C's strengths when > interfacing with hardware and that is the rich variety of type > definitions available. I am sure that there will be things that I have not considered, but I feel that the use of 4 different types of integer HAL pins just leads to unnecessary type conversions and inconvenience. If lcec has no active maintainer, then where do folk get packages from? If they are building from source then I currently expect my proposed changes (_at_this_point_) to be pretty much transparent. Please consider that HAL pins themselves only provide links between HAL components, they do not themselves interface with any hardware. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers