feat: Add lilygo_t_display_p4 board support#56
Conversation
|
sha=fd45798d41c1b8f9e4d133fb0797041fa0853ebc |
|
Thank you for your PR! We are currently going through our internal merge process. |
@laride Currently, the ES8311 audio initialization on At the moment, when I would like to modify
This would allow ES8311 DAC to work with Would this approach be acceptable, or do you have a better suggestion? |
I noticed that this PR introduces a new Python file to handle a development board with a different configuration variant. We may need to discuss within this PR how similar scenarios should be handled going forward. |
@laride |
|
Thanks for the clarification. We would prefer to have a more generic solution for this kind of scenario, so that similar cases from other vendors can follow a unified approach and documentation in the future. In addition, if we customize this Python script for a specific board, it becomes difficult for us to add build coverage for the board in CI. This would also prevent these boards from being integrated into the online flashing workflow. The Board Manager engineers are currently discussing a suitable long-term solution for handling this type of board-specific customization. Because of that, this PR may need some more time before it can be merged. |
|
@laride I will patiently wait for the results of your discussion regarding the long-term generic solution. Once you have finalized the unified approach and clarified the required adjustments, please feel free to let me know, and I will modify or update the implementation accordingly based on the new requirements. |
|
Okay, thank you for the explanation. I will notify you once I have made the revisions on my end. |
|
@laride |
|
Hi @Llgok thanks again for the contribution. Splitting Before we merge, I'd like to discuss the LCD part with you. Right now Our suggestion is to keep everything LCD-related ( Before you start refactoring, we'd like to confirm one thing first: are there any current limitations on the Board Manager side that forced you to go with If it's a Board Manager capability gap, we'd rather fix it there directly, so future boards with similar hardware can use the standard path. Looking forward to your reply. |
|
@LiuCodee |
|
Hi @Llgok , thanks a lot for the detailed explanation. I spent some time reading Looking at A concrete reference is The XL9535 power-up sequence can also be expressed with the standard - name: gpio_expander_xl9535
chip: xl9535
type: gpio_expander
config:
max_pins: 18
output_io_mask: [0, 2, 3, 6, 10]
output_io_level_mask: [1, 1, 1, 1, 1]
peripherals:
- name: i2c_port0
i2c_addr: [0x20]
dependencies:
espressif/esp_io_expander_xl9535: "*"Then For backlight, Board Manager currently only has the Would you be open to refactoring along the |
|
@LiuCodee |
|
@LiuCodee |
|
Hi @Llgok , thanks for the substantial refactor! One note: the Hi8561 touch case (raw Minor non-blocking suggestion: From the Board Manager side I don't see anything else worth blocking on in this version. Deferring the final merge decision to the esp-claw maintainers. |
|
@LiuCodee |
|
sha=5006ff71ff394c53ad544c251081887b6f030881 |
|
sha=4a1ec98076fe9bcc6da09506ff0c6a54dc5d1117 |
Description
Adapt to the new board lilygo_t_display_p4
Refer to the lilygo_t_display_p4 README for usage instructions.
Related
N/A
Testing
Compiled successfully, flashed and tested, everything works properly. Packaged firmware file: [T-Display-P4][edge_agent]_firmware
Checklist
Before submitting a Pull Request, please ensure the following: