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

refactor(compatibility table): Permissive Incompatibility #68

Merged
merged 18 commits into from
Jan 18, 2024

Conversation

ZZ-Cat
Copy link
Owner

@ZZ-Cat ZZ-Cat commented Jan 17, 2024

Overview

This implements #67 by allowing CRSF for Arduino to initialise successfully on unknown development boards with unknown chipsets, provided that the overall architecture (EG ESP32, SAMD, TEENSY etc) is known.

Details

When CRSF for Arduino is flashed onto a development board that is not supported and it has a microcontroller that is also not supported, but the overall architecture is supported, you will be met with instructions on how to request support in the Serial Monitor when CRSF_DEBUG_ENABLED is set to 1.

If your device shows up as completely incompatible (but compilation succeeds), you can set CRSF_DEBUG_ENABLE_COMPATIBILITY_TABLE_OUTPUT to 1 to find out why.

This will help me out a lot with diagnosing bugs during compilation, flashing, and initialising - particularly when you guys submit issues surrounding the Compatibility Table, as this seems to be the thing that is tripping a lot of people up now.

So, if your target has one of CRSF for Arduino's supported architectures, but the board itself isn't known, you can still use my library. But, keep in mind that you will still need to ask me to add compatibility at some point.

@ZZ-Cat ZZ-Cat added the ...in progress 🚧 Development on this is in progress label Jan 17, 2024
@ZZ-Cat ZZ-Cat added this to the Version 1.0.0 milestone Jan 17, 2024
@ZZ-Cat ZZ-Cat self-assigned this Jan 17, 2024
@ZZ-Cat ZZ-Cat linked an issue Jan 17, 2024 that may be closed by this pull request
@ZZ-Cat ZZ-Cat added the Compiler 💻 This happens during compiling/building/verifying label Jan 18, 2024
… in permissive incompatibility statements

EG `The target board is unknown. CRSF for Arduino will attempt to run on this board, but it may not work properly.`, followed by instructions on how to request compatibility with your development board.
…ibility to the unknown board and chipset permissive incompatibility statement
…" message.

This is now handled in the Compatibility Table
@ZZ-Cat ZZ-Cat removed the ...in progress 🚧 Development on this is in progress label Jan 18, 2024
@ZZ-Cat ZZ-Cat merged commit d80d6f9 into Main-Trunk Jan 18, 2024
4 checks passed
@ZZ-Cat ZZ-Cat deleted the ZZ-Cat/issue67 branch January 18, 2024 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compiler 💻 This happens during compiling/building/verifying
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Refactor Compatibility Table
1 participant