Skip to content

Thoughts on adding macros/defines or a config header file that can be used to override fake classes for Teensy, ESP etc. #64

@mattbaker-digital

Description

@mattbaker-digital

From my understanding, the Fake instances and mocks are fixed and not easily overridable to another type which has different methods than the Arduino core library. For example, the Teensy Arduino library has Print::printf methods.

Instead of having to create a new library for other board types (as they are so similar to ArduinoFake) it would be nice if you could specify another class using defines, either directly in the build flags or in a custom ArduinoFake config header file.

Additional options might be the ARDUINO definition as a first class member for version overrides.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions