Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manually point Arduino IDE to Compatibility Table location #21

Merged
merged 5 commits into from
Jun 2, 2023

Conversation

ZZ-Cat
Copy link
Owner

@ZZ-Cat ZZ-Cat commented Jun 2, 2023

Overview

This Pull Request fixes #20 (as discussed in #19).

What's changed

I had to add in some preprocessor statements to differentiate between how PlatformIO sees files & how the Arduino IDE sees files. This results in two seperate includes for the Compatibility Table, based on what is being used to build a project that uses CRSF for Arduino.
This is completely transparent to the developer.

Additional

I also added in two more preprocessor statements to provide appropriate warnings in the compiler, when CRSF for Arduino is being compiled for incompatible hardware.

This warning will not flag as a compilation error.

@ZZ-Cat ZZ-Cat linked an issue Jun 2, 2023 that may be closed by this pull request
@ZZ-Cat ZZ-Cat self-assigned this Jun 2, 2023
@ZZ-Cat ZZ-Cat added Bug Fix 👋💥🐞 Bug meet swatter! Compiler 💻 This happens during compiling/building/verifying Arduino IDE ♾️ This is specific to the Arduino IDE labels Jun 2, 2023
@ZZ-Cat ZZ-Cat added this to the Version 0.4.0 milestone Jun 2, 2023
@ZZ-Cat ZZ-Cat marked this pull request as ready for review June 2, 2023 21:50
@ZZ-Cat ZZ-Cat merged commit e60975b into Main-Trunk Jun 2, 2023
@ZZ-Cat ZZ-Cat deleted the ZZ-Cat/issue20 branch June 2, 2023 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arduino IDE ♾️ This is specific to the Arduino IDE Bug Fix 👋💥🐞 Bug meet swatter! Compiler 💻 This happens during compiling/building/verifying
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fatal error: CompatibilityTable.h: No such file or directory
1 participant