Skip to content

update platform T5AI#365

Merged
shiliu-yang merged 4 commits intotuya:devfrom
huatuo-dr:update/t5ai
Sep 17, 2025
Merged

update platform T5AI#365
shiliu-yang merged 4 commits intotuya:devfrom
huatuo-dr:update/t5ai

Conversation

@huatuo-dr
Copy link
Copy Markdown
Contributor

PR 描述/PR description

[在此详细描述 PR 的内容]/[Describe the PR content in detail here]

代码质量/Code Quality:

在本次拉取请求中,我已考虑以下事项 As part of this pull request, I've considered the following:

  • 确保代码注释和文档清晰,并使用英文注释以保证代码可读性。Ensure that the code comments and documentation are clear, and use English for comments to ensure code readability.
  • 确保文件头遵循文件头格式。Ensure that the file header follows the File Header Format.
  • 确保函数头遵循 Doxygen 格式。Ensure that function headers follow the Doxygen format as specified in Comments.
  • 已查阅 编码风格指南,并核查代码风格合规性,包括缩进、空格、命名规范及其他风格要求。 Reviewed the Coding Style Guide and verified code style compliance, including indentation, spacing, naming conventions, and other style guidelines.
  • 已使用代码格式化工具确保符合 TuyaOpen 编码规范。Have used the code-formatting source code formatting tool to ensure compliance with TuyaOpen coding standards.

@shiliu-yang shiliu-yang merged commit 859408c into tuya:dev Sep 17, 2025
1 check passed
flyingcys added a commit that referenced this pull request Sep 22, 2025
* update platform T5AI (#365)

* update platform T5AI

* config country code

* use git-action country code

* release use country code

---------

Co-authored-by: denglk <denglk@tuya.com>

* Yj/feat add ai monitor (#367)

* feat: tal_memory add support for external RAM

* feat: support tyutools webdebug

* feat: remove ai_audio_debug

* fix: remove redundant attribute check in __ai_get_send_attr_len

* Atk 8080lcd (#368)

* yt/fix:fix mcu8080 lcd

* yt/feature:atk t5ai mini board support spi/ mcu8080 2.4in lcd

* yt/refactor:rename camera ov2640 init seq table

* yt/feature:support display swap rgb565 pixel

* yt/feature:add ATK_T5AI_MINI_BOARD_CAMERA_8080_LCD_2.4.config to example camera

* yt/feature:add display/pitcture example

* yt/fix:fix audio_recorder example complie fix

* yt/refactor:delect unused file

* yt/refactor:delect unused file

* yt/fix:fix use default config complie error

* Esp32/s3 lvgl example enable (#370)

* fix: Replace SRAM with PSRAM to avoid crashes caused by insufficient memory. (#347)

* fix: free allocated memory in BLE event callback to prevent memory leaks (#349)

* Yj/feat examples (#352)

* fix: mp3 decode use minimp3

* fix: format code for consistency and readability

* fix: windows not found python3 (#353)

* yt/featur:adapt new platform (#354)

* add games app (#355)

* feature: save dist at apps (#357)

* add leds_pixel driver && example (#358)

* add leds_pixel driver && example

* yt/fix:fix spi baudrate

* yt/fix:fix spi baudrate

---------

Co-authored-by: zhouss@tuya.com <zhouss@tuya.com>

* add esp32 board lvgl

* add esp32 and esp32s3 board lvgl example

* fix app config

* fix app config

* fix app config

---------

Co-authored-by: YangJie <yangjie6759@163.com>
Co-authored-by: KyleDeng <55138677+KyleDeng@users.noreply.github.com>
Co-authored-by: yingtao450 <144092910+yingtao450@users.noreply.github.com>
Co-authored-by: flyingcys <flyingcys@163.com>
Co-authored-by: zhouss@tuya.com <zhouss@tuya.com>

* Yj/fix chatbot (#371)

* feat: initialize time service in user_main and include it in tal_api.h

* fix: improve event_id handling in ai_audio_agent_msg_cb

* fix: update memory allocation methods in ai_monitor to use OS_MALLOC and OS_FREE

* fix: add null check for memory allocation

* fix: improve error handling and fix the issue that may cause disorder in the event status of AI_CLOUD_ASR when interrupted.

* feat: add AI_AUDIO_EVT_AI_REPLIES_TEXT_INTERUPT event and handle UI streaming interruption

* fix: The playback of the new reply failed after the conversation was interrupted.

* fix: update T5AI commit reference to the latest version

* feat: add waveshare t5ai board (#373)

* fix: update T5AI commit reference to the latest version (#374)

* fix: update T5AI commit reference to the latest version

* fix: update T5AI commit reference to the latest version

* fix t5ai: clean cmd (#375)

Co-authored-by: denglk <denglk@tuya.com>

* fix dev some code bug (#376)

---------

Co-authored-by: KyleDeng <55138677+KyleDeng@users.noreply.github.com>
Co-authored-by: denglk <denglk@tuya.com>
Co-authored-by: YangJie <yangjie6759@163.com>
Co-authored-by: yingtao450 <144092910+yingtao450@users.noreply.github.com>
Co-authored-by: maidang-xing <maidang.xing@tuya.com>
Co-authored-by: zhouss@tuya.com <zhouss@tuya.com>
shiliu-yang added a commit that referenced this pull request Sep 23, 2025
* update platform T5AI (#365)

* update platform T5AI

* config country code

* use git-action country code

* release use country code

---------

Co-authored-by: denglk <denglk@tuya.com>

* Yj/feat add ai monitor (#367)

* feat: tal_memory add support for external RAM

* feat: support tyutools webdebug

* feat: remove ai_audio_debug

* fix: remove redundant attribute check in __ai_get_send_attr_len

* Atk 8080lcd (#368)

* yt/fix:fix mcu8080 lcd

* yt/feature:atk t5ai mini board support spi/ mcu8080 2.4in lcd

* yt/refactor:rename camera ov2640 init seq table

* yt/feature:support display swap rgb565 pixel

* yt/feature:add ATK_T5AI_MINI_BOARD_CAMERA_8080_LCD_2.4.config to example camera

* yt/feature:add display/pitcture example

* yt/fix:fix audio_recorder example complie fix

* yt/refactor:delect unused file

* yt/refactor:delect unused file

* yt/fix:fix use default config complie error

* Esp32/s3 lvgl example enable (#370)

* fix: Replace SRAM with PSRAM to avoid crashes caused by insufficient memory. (#347)

* fix: free allocated memory in BLE event callback to prevent memory leaks (#349)

* Yj/feat examples (#352)

* fix: mp3 decode use minimp3

* fix: format code for consistency and readability

* fix: windows not found python3 (#353)

* yt/featur:adapt new platform (#354)

* add games app (#355)

* feature: save dist at apps (#357)

* add leds_pixel driver && example (#358)

* add leds_pixel driver && example

* yt/fix:fix spi baudrate

* yt/fix:fix spi baudrate

---------

Co-authored-by: zhouss@tuya.com <zhouss@tuya.com>

* add esp32 board lvgl

* add esp32 and esp32s3 board lvgl example

* fix app config

* fix app config

* fix app config

---------

Co-authored-by: YangJie <yangjie6759@163.com>
Co-authored-by: KyleDeng <55138677+KyleDeng@users.noreply.github.com>
Co-authored-by: yingtao450 <144092910+yingtao450@users.noreply.github.com>
Co-authored-by: flyingcys <flyingcys@163.com>
Co-authored-by: zhouss@tuya.com <zhouss@tuya.com>

* Yj/fix chatbot (#371)

* feat: initialize time service in user_main and include it in tal_api.h

* fix: improve event_id handling in ai_audio_agent_msg_cb

* fix: update memory allocation methods in ai_monitor to use OS_MALLOC and OS_FREE

* fix: add null check for memory allocation

* fix: improve error handling and fix the issue that may cause disorder in the event status of AI_CLOUD_ASR when interrupted.

* feat: add AI_AUDIO_EVT_AI_REPLIES_TEXT_INTERUPT event and handle UI streaming interruption

* fix: The playback of the new reply failed after the conversation was interrupted.

* fix: update T5AI commit reference to the latest version

* feat: add waveshare t5ai board (#373)

* fix: update T5AI commit reference to the latest version (#374)

* fix: update T5AI commit reference to the latest version

* fix: update T5AI commit reference to the latest version

* fix t5ai: clean cmd (#375)

Co-authored-by: denglk <denglk@tuya.com>

* fix dev some code bug (#376)

* Initial commit

* Add ENABLE_AUDIO_CHAT define

---------

Co-authored-by: KyleDeng <55138677+KyleDeng@users.noreply.github.com>
Co-authored-by: denglk <denglk@tuya.com>
Co-authored-by: YangJie <yangjie6759@163.com>
Co-authored-by: yingtao450 <144092910+yingtao450@users.noreply.github.com>
Co-authored-by: flyingcys <flyingcys@163.com>
Co-authored-by: zhouss@tuya.com <zhouss@tuya.com>
flyingcys added a commit that referenced this pull request Oct 15, 2025
* feat: add AI text APIs and Demos (#377)

* update platform T5AI (#365)

* update platform T5AI

* config country code

* use git-action country code

* release use country code

---------

Co-authored-by: denglk <denglk@tuya.com>

* Yj/feat add ai monitor (#367)

* feat: tal_memory add support for external RAM

* feat: support tyutools webdebug

* feat: remove ai_audio_debug

* fix: remove redundant attribute check in __ai_get_send_attr_len

* Atk 8080lcd (#368)

* yt/fix:fix mcu8080 lcd

* yt/feature:atk t5ai mini board support spi/ mcu8080 2.4in lcd

* yt/refactor:rename camera ov2640 init seq table

* yt/feature:support display swap rgb565 pixel

* yt/feature:add ATK_T5AI_MINI_BOARD_CAMERA_8080_LCD_2.4.config to example camera

* yt/feature:add display/pitcture example

* yt/fix:fix audio_recorder example complie fix

* yt/refactor:delect unused file

* yt/refactor:delect unused file

* yt/fix:fix use default config complie error

* Esp32/s3 lvgl example enable (#370)

* fix: Replace SRAM with PSRAM to avoid crashes caused by insufficient memory. (#347)

* fix: free allocated memory in BLE event callback to prevent memory leaks (#349)

* Yj/feat examples (#352)

* fix: mp3 decode use minimp3

* fix: format code for consistency and readability

* fix: windows not found python3 (#353)

* yt/featur:adapt new platform (#354)

* add games app (#355)

* feature: save dist at apps (#357)

* add leds_pixel driver && example (#358)

* add leds_pixel driver && example

* yt/fix:fix spi baudrate

* yt/fix:fix spi baudrate

---------

Co-authored-by: zhouss@tuya.com <zhouss@tuya.com>

* add esp32 board lvgl

* add esp32 and esp32s3 board lvgl example

* fix app config

* fix app config

* fix app config

---------

Co-authored-by: YangJie <yangjie6759@163.com>
Co-authored-by: KyleDeng <55138677+KyleDeng@users.noreply.github.com>
Co-authored-by: yingtao450 <144092910+yingtao450@users.noreply.github.com>
Co-authored-by: flyingcys <flyingcys@163.com>
Co-authored-by: zhouss@tuya.com <zhouss@tuya.com>

* Yj/fix chatbot (#371)

* feat: initialize time service in user_main and include it in tal_api.h

* fix: improve event_id handling in ai_audio_agent_msg_cb

* fix: update memory allocation methods in ai_monitor to use OS_MALLOC and OS_FREE

* fix: add null check for memory allocation

* fix: improve error handling and fix the issue that may cause disorder in the event status of AI_CLOUD_ASR when interrupted.

* feat: add AI_AUDIO_EVT_AI_REPLIES_TEXT_INTERUPT event and handle UI streaming interruption

* fix: The playback of the new reply failed after the conversation was interrupted.

* fix: update T5AI commit reference to the latest version

* feat: add waveshare t5ai board (#373)

* fix: update T5AI commit reference to the latest version (#374)

* fix: update T5AI commit reference to the latest version

* fix: update T5AI commit reference to the latest version

* fix t5ai: clean cmd (#375)

Co-authored-by: denglk <denglk@tuya.com>

* fix dev some code bug (#376)

* Initial commit

* Add ENABLE_AUDIO_CHAT define

---------

Co-authored-by: KyleDeng <55138677+KyleDeng@users.noreply.github.com>
Co-authored-by: denglk <denglk@tuya.com>
Co-authored-by: YangJie <yangjie6759@163.com>
Co-authored-by: yingtao450 <144092910+yingtao450@users.noreply.github.com>
Co-authored-by: flyingcys <flyingcys@163.com>
Co-authored-by: zhouss@tuya.com <zhouss@tuya.com>

* yt/feat:support atk 2.8in 8080 16bit lcd (#378)

* feat: add led pixel effect (#380)

Co-authored-by: Hsuan Han Lai <huate.lai@tuya.com>

* Support bmi270 (#381)

* Add imu bmi270 driver in /src for T5 pocket

* Support bmi270 get acc and gyro

* Support bmi270 get acc and gyro in T5 pocket

* Support i2c scan example (#385)

* Support T5 and ESP32/S3 i2c scan example

* Support T5 and ESP32/S3 i2c scan example

* support micropython REPL (#386)

* support micropython REPL

* update micropython doc

---------

Co-authored-by: denglk <denglk@tuya.com>

* change release name (#388)

Co-authored-by: denglk <denglk@tuya.com>

* Add bmi270 read accl and gyro example (#387)

* feat: restart ai client when the link type changes (#389)

* Update display and camera (#393)

* feat:update t5ai platform

* yt/feat:support display rotate and draw api

* yt/feat:support part flush

* yt/fix:dvp crash

* yt feat: atk t5ai board support 2.4/2.8/7 inch lcd and pocket support camera

* feat: update example and support new board

* Pocket sdcard (#395)

* fix: camera cb called when camera open successfully

* feat:t5ai pocket board support sdcard

* feat:add camera output sdcard example

* feat:porting add sdio pinmux type

* feat: more matrix 2D effects (#384)

* feat: more matrix 2D effects

* fix COLOR_RESOLUION typo

---------

Co-authored-by: Hsuan Han Lai <huate.lai@tuya.com>

* Fix disp spi (#397)

* feat:Remove the SPI DMA length limitation on T5AI

* feat:Optimize the YUV to 422 conversion algorithm

* feat:pocket support config lcd rotation

* feat: new encoder demo (#394)

Co-authored-by: Hsuan Han Lai <huate.lai@tuya.com>

---------

Co-authored-by: maidang-xing <maidang.xing@tuya.com>
Co-authored-by: KyleDeng <55138677+KyleDeng@users.noreply.github.com>
Co-authored-by: denglk <denglk@tuya.com>
Co-authored-by: YangJie <yangjie6759@163.com>
Co-authored-by: yingtao450 <144092910+yingtao450@users.noreply.github.com>
Co-authored-by: zhouss@tuya.com <zhouss@tuya.com>
Co-authored-by: Hsuan Han Lai <hsuan.han.lai@gmail.com>
Co-authored-by: Hsuan Han Lai <huate.lai@tuya.com>
AlexsandroKrzjzaniack pushed a commit to AlexsandroKrzjzaniack/TuyaOpen-sdk that referenced this pull request Nov 21, 2025
* update platform T5AI (tuya#365)

* update platform T5AI

* config country code

* use git-action country code

* release use country code

---------

Co-authored-by: denglk <denglk@tuya.com>

* Yj/feat add ai monitor (tuya#367)

* feat: tal_memory add support for external RAM

* feat: support tyutools webdebug

* feat: remove ai_audio_debug

* fix: remove redundant attribute check in __ai_get_send_attr_len

* Atk 8080lcd (tuya#368)

* yt/fix:fix mcu8080 lcd

* yt/feature:atk t5ai mini board support spi/ mcu8080 2.4in lcd

* yt/refactor:rename camera ov2640 init seq table

* yt/feature:support display swap rgb565 pixel

* yt/feature:add ATK_T5AI_MINI_BOARD_CAMERA_8080_LCD_2.4.config to example camera

* yt/feature:add display/pitcture example

* yt/fix:fix audio_recorder example complie fix

* yt/refactor:delect unused file

* yt/refactor:delect unused file

* yt/fix:fix use default config complie error

* Esp32/s3 lvgl example enable (tuya#370)

* fix: Replace SRAM with PSRAM to avoid crashes caused by insufficient memory. (tuya#347)

* fix: free allocated memory in BLE event callback to prevent memory leaks (tuya#349)

* Yj/feat examples (tuya#352)

* fix: mp3 decode use minimp3

* fix: format code for consistency and readability

* fix: windows not found python3 (tuya#353)

* yt/featur:adapt new platform (tuya#354)

* add games app (tuya#355)

* feature: save dist at apps (tuya#357)

* add leds_pixel driver && example (tuya#358)

* add leds_pixel driver && example

* yt/fix:fix spi baudrate

* yt/fix:fix spi baudrate

---------

Co-authored-by: zhouss@tuya.com <zhouss@tuya.com>

* add esp32 board lvgl

* add esp32 and esp32s3 board lvgl example

* fix app config

* fix app config

* fix app config

---------

Co-authored-by: YangJie <yangjie6759@163.com>
Co-authored-by: KyleDeng <55138677+KyleDeng@users.noreply.github.com>
Co-authored-by: yingtao450 <144092910+yingtao450@users.noreply.github.com>
Co-authored-by: flyingcys <flyingcys@163.com>
Co-authored-by: zhouss@tuya.com <zhouss@tuya.com>

* Yj/fix chatbot (tuya#371)

* feat: initialize time service in user_main and include it in tal_api.h

* fix: improve event_id handling in ai_audio_agent_msg_cb

* fix: update memory allocation methods in ai_monitor to use OS_MALLOC and OS_FREE

* fix: add null check for memory allocation

* fix: improve error handling and fix the issue that may cause disorder in the event status of AI_CLOUD_ASR when interrupted.

* feat: add AI_AUDIO_EVT_AI_REPLIES_TEXT_INTERUPT event and handle UI streaming interruption

* fix: The playback of the new reply failed after the conversation was interrupted.

* fix: update T5AI commit reference to the latest version

* feat: add waveshare t5ai board (tuya#373)

* fix: update T5AI commit reference to the latest version (tuya#374)

* fix: update T5AI commit reference to the latest version

* fix: update T5AI commit reference to the latest version

* fix t5ai: clean cmd (tuya#375)

Co-authored-by: denglk <denglk@tuya.com>

* fix dev some code bug (tuya#376)

---------

Co-authored-by: KyleDeng <55138677+KyleDeng@users.noreply.github.com>
Co-authored-by: denglk <denglk@tuya.com>
Co-authored-by: YangJie <yangjie6759@163.com>
Co-authored-by: yingtao450 <144092910+yingtao450@users.noreply.github.com>
Co-authored-by: maidang-xing <maidang.xing@tuya.com>
Co-authored-by: zhouss@tuya.com <zhouss@tuya.com>
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.

3 participants