Conversation
Add support for the M5Stack StickS3 (ESP32-S3, ST7789P3 135x240, M5PM1 PMIC). The StickS3 is configured through the existing custom-board option with the new CONFIG_HAS_M5PM1 flag selecting the M5PM1 power driver. The M5PM1's PYG2 output (active high) gates the L3B rail that powers the LCD, so the driver asserts it in power_init() and exposes it via m5pm1_set_lcd_power(). Adds: - main/Kconfig.projbuild: HAS_M5PM1 option (depends on BOARD_TYPE_CUSTOM) - main/power.c: dispatch to power/m5pm1.inc when CONFIG_HAS_M5PM1 - main/power/m5pm1.inc: M5PM1 driver (I2C 0x6E, SDA=G47/SCL=G48) - configs/sdkconfig_display_m5sticks3.defaults: build profile
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
Adds support for the M5Stack M5StickS3 (ESP32-S3, N8R8, ST7789P3 135x240 IPS LCD, two buttons, 120mAh battery) as a DIY board, using the existing CUSTOM board option.
What changed
Notes
Testing
Verified on hardware: display (ST7789P3 135x240), both buttons, USB wallet pairing with Blockstream Green and Sparrow, BLE pairing with the iPhone Blockstream Green app. Boot logs confirm M5PM1 registers (DEVICE_ID 0x50, MODE 0x0c, OUT 0x04 = PYG2 high/L3B on).