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

Add the M5Stack M5Stick C Plus2 board #9939

Merged
merged 4 commits into from
Jan 7, 2025

Conversation

bootc
Copy link

@bootc bootc commented Jan 6, 2025

This is a port to the M5Stack M5StickC PLUS2 ESP32 Mini IoT Development Kit.

It's based on the predecessor board's port (m5stack_stick_c_plus); I'm standing on the shoulders of giants here.

The Creation ID is pending creationid/creators#81.

It's not entirely ready to go yet as I need to fully test all the peripherals and deal with the HOLD pin for battery operation, but it's nearly there. The screen works (with backlight) and so does i2c.

I have tested all the peripherals except the IR blaster which shares a pin with the red status LED.

Comments appreciated!

@bootc bootc force-pushed the add_m5stick_c_plus2 branch from d511f47 to 5c14052 Compare January 6, 2025 21:11
tannewt
tannewt previously approved these changes Jan 6, 2025
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Thank you!

bootc added 4 commits January 6, 2025 23:46
In order to stay on the board must set HOLD(GPIO4) high early during
boot.

When running off battery the power-on button must be held for 2s to
power things on, but if it's held for too long the board powers off. We
need to disable the 1s safe mode timer in order to give the user a long
enough window to set the pins up so the button can be released and the
board stay powered on. Safe mode can be entered by holding BTN_A during
boot.
@bootc bootc force-pushed the add_m5stick_c_plus2 branch from 5c14052 to cbab23e Compare January 6, 2025 23:46
@bootc bootc marked this pull request as ready for review January 6, 2025 23:49
@bootc bootc requested a review from tannewt January 6, 2025 23:49
@bootc
Copy link
Author

bootc commented Jan 7, 2025

@tannewt This is ready to go now.

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@tannewt tannewt merged commit 422681b into adafruit:main Jan 7, 2025
226 checks passed
@bootc bootc deleted the add_m5stick_c_plus2 branch January 7, 2025 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants