Skip to content

Commit

Permalink
refactor(compatibility table): Permissive Incompatibility
Browse files Browse the repository at this point in the history
CRSF for Arduino will now attempt to run, if it's flashed on an unknown development board and/or chipset.  
Additionally, you now have instructions in the Serial Monitor that provide you with information on how to go about requesting support for your development board.

This brings in two configuration defines in `CFA_Config.hpp`:  

| Pre-processor define | Description |
| --- | --- |
| `CRSF_DEBUG_ENABLED` | When set to `1`, this allows debug outputs from CRSF for Arduino to appear in the Serial Monitor. |
| `CRSF_DEBUG_ENABLE_COMPATIBILITY_TABLE_OUTPUT` |  If the Compatibility Table pings you for something, set _this_ to `1` to find out why. |
  • Loading branch information
ZZ-Cat authored Jan 18, 2024
1 parent 86af1e1 commit d80d6f9
Show file tree
Hide file tree
Showing 5 changed files with 192 additions and 74 deletions.
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ body:
- Adafruit Metro M0 Express
- Adafruit Metro M4 Express
- Adafruit Metro M4 AirLift Lite
- Adafruit QtPy ESP32
- Adafruit QtPy ESP32 Pico
- Adafruit QtPy ESP32-C3
- Adafruit QtPy ESP32-S2
Expand All @@ -65,16 +64,17 @@ body:
- Arduino MKR WiFi 1010
- Arduino MKR ZERO
- Arduino Nano 33 IoT
- Arduino Nano ESP32
- Arduino Zero
- Espressif ESP32-C3 DevKitC-02
- Espressif ESP32-C3 DevKitM-1
- Espressif ESP32-S3 DevKitC-1-N8
- Seeed Studio Xiao ESP32-C3
- Seeed Studio Xiao ESP32-S3
- Seeed Studio XIAO SAMD21
- SparkFun ESP32 RedBoard IoT
- SparkFun ESP32 Thing
- SparkFun ESP32 Thing Plus
- SparkFun ESP32-S2 Thing Plus
- Seeed Studio XIAO SAMD21
- Teensy 3.0
- Teensy 3.1/3.2
- Teensy 3.5
Expand Down
9 changes: 6 additions & 3 deletions src/CRSFforArduino/src/CFA_Config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,12 @@ information back to your controller. */
#define CRSF_TELEMETRY_GPS_ENABLED 1

/* Debug Options
- DEBUG_ENABLED: Enables or disables debug output over the selected serial port. */
#define CRSF_DEBUG_ENABLED 0
#define CRSF_DEBUG_SERIAL_PORT Serial
- DEBUG_ENABLED: Enables or disables debug output over the selected serial port.
- CRSF_DEBUG_SERIAL_PORT: The serial port to use for debug output. Usually the native USB port.
- CRSF_DEBUG_ENABLE_COMPATIBILITY_TABLE_OUTPUT: Enables or disables debug output from the compatibility table. */
#define CRSF_DEBUG_ENABLED 0
#define CRSF_DEBUG_SERIAL_PORT Serial
#define CRSF_DEBUG_ENABLE_COMPATIBILITY_TABLE_OUTPUT 0

/* All warnings and asserts below this point are to ensure that the configuration is valid. */

Expand Down
Loading

0 comments on commit d80d6f9

Please sign in to comment.