-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Support StickC-Plus2 #90448
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
base: main
Are you sure you want to change the base?
Support StickC-Plus2 #90448
Conversation
Hello @letanphuc, and thank you very much for your first pull request to the Zephyr project! |
Hello, Thank you. For supply pin, do not modify the display driver since this is specific to this board, instead, add a CMakelists.txt and relevant code in your board's folder. |
355b71a
to
3da3203
Compare
From my view point, the pin is belong to the display. If we do not use the display, I do not want to turn the pin on anyway. |
Please retry analysis of this Pull-Request directly on SonarQube Cloud |
Hello, thank you for your work! |
@@ -411,6 +412,15 @@ static int st7789v_init(const struct device *dev) | |||
} | |||
|
|||
k_sleep(K_TIMEOUT_ABS_MS(config->ready_time_ms)); | |||
|
|||
if (config->supply_gpio.port) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't the display's driver, it's the panel controller's driver, so pins should not be dealt with here.
full_name: M5StickC PLUS2 | ||
vendor: m5stack | ||
socs: | ||
- name: esp32 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this be esp32_pico_d4?
|
||
/ { | ||
model = "M5StickC Plus APPCPU"; | ||
compatible = "espressif,esp32"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the board's compatible
compatible = "espressif,esp32"; | |
compatible = "m5stack,m5stickc_plus2"; |
@@ -0,0 +1,30 @@ | |||
/* | |||
* Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
put your own copyright everywhere
supported: | ||
- uart | ||
testing: | ||
ignore_tags: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why!?
Sysbuild | ||
======== | ||
|
||
The sysbuild makes possible to build and flash all necessary images needed to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The sysbuild makes possible to build and flash all necessary images needed to | |
The sysbuild makes it possible to build and flash all necessary images needed to |
The sysbuild makes possible to build and flash all necessary images needed to | ||
bootstrap the board with the ESP32 SoC. | ||
|
||
To build the sample application using sysbuild use the command: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To build the sample application using sysbuild use the command: | |
To build the sample application using sysbuild, use the command: |
|
||
.. note:: | ||
|
||
With ``--sysbuild`` option the bootloader will be re-build and re-flash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With ``--sysbuild`` option the bootloader will be re-build and re-flash | |
With ``--sysbuild`` option the bootloader will be re-built and re-flashed |
Manual build | ||
============ | ||
|
||
During the development cycle, it is intended to build & flash as quickly possible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
During the development cycle, it is intended to build & flash as quickly possible. | |
During the development cycle, it is intended to build & flash as quickly as possible. |
|
||
.. note:: | ||
|
||
Remember that bootloader (MCUboot) needs to be flash at least once. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remember that bootloader (MCUboot) needs to be flash at least once. | |
Remember that bootloader (MCUboot) needs to be flashed at least once. |
Commits need squashing, merge commits need removing |
Support StickC-Plus2
![Uploading image.png…]()
https://docs.m5stack.com/en/core/M5StickC%20PLUS2
Anything works well for now.
Build with board name is
m5stickc_plus2