Fix M5Stack Unit C6L: correct pin config and add IO expander support#1884
Open
TheRealHaoLiu wants to merge 1 commit intomeshcore-dev:mainfrom
Open
Fix M5Stack Unit C6L: correct pin config and add IO expander support#1884TheRealHaoLiu wants to merge 1 commit intomeshcore-dev:mainfrom
TheRealHaoLiu wants to merge 1 commit intomeshcore-dev:mainfrom
Conversation
…support The initial C6L port (meshcore-dev#1578) had several incorrect hardware configurations. Fixes verified against the Meshtastic variant (meshtastic/firmware variants/ esp32c6/m5stack_unitc6l/variant.h) and tested on actual hardware. Pin corrections: - I2C: SDA=10, SCL=8 (was SDA=16, SCL=17) - TCXO voltage: 3.0V (was 1.8V) - TX indicator: NeoPixel on GPIO 2 (was P_LORA_TX_LED=15) - Remove SX126X_RXEN=5 (LNA enable is on PI4IO expander P5, not GPIO 5) - Add ARDUINO_USB_CDC_ON_BOOT and ARDUINO_USB_MODE for USB serial Add PI4IO I2C GPIO expander support (addr 0x43): - P0: Button input (active low) - P5: LNA Enable output - P6: RF Switch output - P7: LoRa Reset output - Proper initialization sequence for RF control Fix ESP32-C6 BLE companion build: - Add missing #include <esp_mac.h> for esp_efuse_mac_get_default() Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
This was referenced Mar 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes several incorrect hardware configurations in the M5Stack Unit C6L variant introduced in #1578. All corrections verified against the Meshtastic official variant and tested on actual hardware.
#include <esp_mac.h>foresp_efuse_mac_get_default()Test plan
🤖 Generated with Claude Code