Skip to content

Posix build - lots of cleanup, and fixes pendant files problem#1673

Merged
MitchBradley merged 12 commits intomainfrom
PosixBuild
Feb 5, 2026
Merged

Posix build - lots of cleanup, and fixes pendant files problem#1673
MitchBradley merged 12 commits intomainfrom
PosixBuild

Conversation

@MitchBradley
Copy link
Collaborator

No description provided.

The Posix build can serve as a base for automated tests.

The vast majority of the changes were extant problems caught
by a pickier compiler, including

* Use snprintf instead of sprintf for safety
* Missing or spurious "override" on virtual methods
* A couple of buffer safety issues
* Nonportable use of variable length arrays
* Case-correct spelling of freertos Task.H and Queue.h
* Type mismatches in printf arguments

I had to change the way that undefinedPin and errorPin were defined
to ensure that they are initialized prior to being used, which
showed up with a different compiler.

The changes that were directly related to Posix were quite
small.  A WinConsole.cpp and ExceptionHelper.cpp were moved
from capture/ to (new) windows-x86/, and posix/Console.cpp
was created to handle keyboard input.
Including a VFD simulator for the Huanyang protocol
@MitchBradley MitchBradley merged commit f09188e into main Feb 5, 2026
4 checks passed
@MitchBradley MitchBradley deleted the PosixBuild branch February 7, 2026 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant