Commit Graph

51 Commits

Author SHA1 Message Date
734b5b410a Support both esp_video and esp32_camera (#1671)
* Update project version to 2.2.1 and refactor camera component handling

- Incremented project version from 2.2.0 to 2.2.1 in CMakeLists.txt.
- Removed legacy esp32_camera component and replaced it with esp_video for ESP32-S3 and ESP32-P4 boards.
- Updated board implementations to utilize the new esp_video component, ensuring compatibility and improved functionality.
- Cleaned up Kconfig options related to camera selection, streamlining the configuration process.
- Enhanced camera initialization logic across various board files to support the new component structure.

* Refactor camera handling in AtomS3R CAM/M12 EchoBase board

- Replaced the legacy EspVideo component with the new Esp32Camera class for improved camera functionality.
- Updated camera initialization logic to utilize a more structured configuration approach, enhancing clarity and maintainability.
- Removed outdated comments and code related to the previous camera implementation in the README file.

* Update camera configuration for atoms3r-cam-m12-echo-base

- Removed outdated camera configuration options from config.json to streamline the setup.
- Retained essential partition table configuration for improved clarity.

* Enhance Esp32Camera functionality and memory management

- Added esp_timer.h for improved timing functionality.
- Streamlined camera initialization by removing redundant frame buffer setup and logging.
- Improved memory allocation for JPEG encoding and added error handling for unsupported pixel formats.
- Updated comments for clarity and consistency, ensuring better understanding of the code flow.
2026-01-20 22:44:37 +08:00
1e8fefbede feat: update emote display (#1629) 2026-01-07 20:39:17 +08:00
b7db68457c v2.1.0: Upgrade esp-wifi-connect to 3.0; New device state machine (#1528)
* Upgrade component version

* update fonts component version

* Handle OTA error code

* Update project version to 2.1.0 and add device state machine implementation

- Upgrade  esp-wifi-connect to 3.0.0, allowing reconfiguring wifi without rebooting
- Introduce device state machine with state change notification in new files
- Remove obsolete device state event files
- Update application logic to utilize new state machine
- Minor adjustments in various board implementations for state handling

* fix compile errors

* Refactor power saving mode implementation to use PowerSaveLevel enumeration

- Updated Application class to replace SetPowerSaveMode with SetPowerSaveLevel, allowing for LOW_POWER and PERFORMANCE settings.
- Modified various board implementations to align with the new power save level structure.
- Ensured consistent handling of power save levels across different board files, enhancing code maintainability and clarity.

* Refactor power save level checks across multiple board implementations

- Updated the condition for power save level checks in various board files to ensure that the power save timer only wakes up when the level is not set to LOW_POWER.
- Improved consistency in handling power save levels, enhancing code clarity and maintainability.

* Refactor EnterWifiConfigMode calls in board implementations

- Updated calls to EnterWifiConfigMode to use the appropriate instance reference (self or board) across multiple board files.
- Improved code consistency and clarity in handling device state during WiFi configuration mode entry.

* Add cellular modem event handling and improve network status updates

- Introduced new network events for cellular modem operations, including detecting, registration errors, and timeouts.
- Enhanced the Application class to handle different network states and update the display status accordingly.
- Refactored Ml307Board to implement a callback mechanism for network events, improving modularity and responsiveness.
- Updated dual_network_board and board headers to support new network event callbacks, ensuring consistent handling across board implementations.

* update esp-wifi-connect version

* Update WiFi configuration tool messages across multiple board implementations to clarify user actions
2025-12-09 09:24:56 +08:00
43ef2f4e7f feat: Add emote support for lichuang-dev (#1337) 2025-10-28 14:33:05 +08:00
c62ab7b239 Fix lichuang-dev camera (#1290)
* Fixatk-dnesp32s3 camera

* Update bread s3cam README

* Fix  lichuang-dev camera
2025-10-14 20:44:44 +08:00
60ad1c5afc Refactor: Use esp_video component (#1245)
* refactor: migrate camera module to esp-video library

* refactor: migrate boards to esp-video API (1/2)

* refactor: migrate boards to esp-video API (2/2)

* fix: use ESP-IDF 5.5

* refactor: migrate the JPEG encoder to `esp_new_jpeg`

* feat: add YUV422 support

* feat: improve pixelformat and device selection process

* feat: use ESP32-P4 Hardware JPEG Encoder
2025-10-14 10:44:45 +08:00
911fee2d85 Update README (#1251)
* Upgrade to the latest ml307 component

* update README
2025-10-02 03:29:16 +08:00
a1e1f73886 fix: Corrected the inverted touch screen parameter configuration of lichuang_S3_dev, which caused touch offset. (#1209) 2025-09-17 01:18:22 +08:00
d04b08133f Move fonts / assets definition from main/boards to CMakeLists.txt (#1174)
* update surfer-c3-1.14tft font size

* Move fonts / assets definition from main/boards to CMakeLists.txt

* fix c3 compiling errors

---------

Co-authored-by: Xiaoxia <terrence.huang@tenclass.com>
2025-09-08 17:30:18 +08:00
83f6f8c703 Switch to 2.0 branch (#1152)
* Adapt boards to v2 partition tables

* fix esp log error

* fix display style

* reset emotion after download assets

* fix compiling

* update assets default url

* Add user only tools

* Add image cache

* smaller cache and buffer, more heap

* use MAIN_EVENT_CLOCK_TICK to avoid audio glitches

* bump to 2.0.0

* fix compiling errors

---------

Co-authored-by: Xiaoxia <terrence.huang@tenclass.com>
2025-09-04 15:41:28 +08:00
3c71558a5f v1.8.0: Audio 代码重构与低功耗优化 (#943)
* Reconstruct Audio Code

* Remove old IoT implementation

* Add MQTT-UDP documentation

* OTA升级失败时,可以继续使用
2025-07-19 22:45:22 +08:00
b3ab3d0920 在S3芯片上使用更多的PSRAM,解决立创开发板拍照时可能出现内存不足的问题 2025-06-24 04:59:00 +08:00
504e694caa 先在lichuang-dev上测试NSNet降噪 2025-06-08 02:52:23 +08:00
d80f94387a v1.6.6: Set MCP as default IoT Protocol (#690) 2025-05-27 14:58:49 +08:00
3a2e6875b6 Add audio_send_queue to synchronize timestamp 2025-05-27 05:44:46 +08:00
249d12ac25 feat: Add camera functions (lichuang-dev) 2025-05-25 17:07:07 +08:00
be18c1aa04 Add server AEC option 2025-05-09 14:00:26 +08:00
a0ad3e6dc3 Default realtime chat for esp-box-3, lichuang-dev 2025-05-08 02:32:24 +08:00
7d5237a604 add lcd touch for lichuang_dev (#531)
* add lcd touch for lichuang_dev

* Update lichuang_dev_board.cc

---------

Co-authored-by: zk <982145@qq.com>
Co-authored-by: Xiaoxia <terrence@tenclass.com>
2025-04-23 15:00:17 +08:00
fcd886c217 移除长按对话,改为单击多轮对话 2025-04-04 15:53:50 +08:00
6bb1ab7583 Add theme switch to all LCD boards 2025-03-20 03:00:07 +08:00
61cc1a236b add iot command for theme switch (#364) 2025-03-18 21:00:54 +08:00
cead024698 Add Backlight and PowerSaveTimer 2025-03-05 09:37:13 +08:00
b0f0f4d4db 增加LCD屏幕类型\RGB屏参考\增加鱼鹰3.13寸LCD开发板 (#191)
* 增加LCD屏幕类型\RGB屏参考\增加鱼鹰3.13寸LCD开发板

1、增加LCD屏幕类型判断,lvgl port对不同屏幕初始化不一样
2、增加RGB屏使用参考
3、增加鱼鹰3.13寸LCD开发板

* Update lcd_display.h

* 修改xingzhi两个board为SpiLcdDisplay
2025-02-24 11:07:28 +08:00
93915cd624 add config.json to boards for auto building 2025-02-18 00:52:37 +08:00
9b8db4a551 iot增加屏幕背光亮度调节 (#150) 2025-02-14 00:21:46 +08:00
4aef3d2a4e update version to 1.1.2 2025-02-08 13:56:36 +08:00
c36e25ce3f upgrade to LVGL 9 2025-02-03 23:43:07 +08:00
ce26b8d3a1 toggle and hold mode cannot work together 2025-01-28 09:31:13 +08:00
ef69840907 move fonts configuration to boards 2025-01-24 03:00:56 +08:00
84f5674359 add more fonts for version 1.0.0 2025-01-23 13:50:22 +08:00
a4a06cf76d add toggle mode to lichuang dev boards 2025-01-20 10:48:07 +08:00
b19f6498b8 remove default sound volume 2025-01-19 03:57:07 +08:00
6be4cdc559 add terrence c3 board 2025-01-06 16:14:07 +08:00
b94c8a6e8b rename St7789 to LCD 2025-01-05 21:20:30 +08:00
c7c5b74d37 reconstruct led control 2025-01-05 19:36:00 +08:00
2e6a278b0d feat: add led strip class 2025-01-05 19:35:38 +08:00
051a0ba483 add iot speaker for boards 2024-12-07 06:19:59 +08:00
d31901e9e5 add iot framework 2024-12-06 11:09:17 +08:00
43a0cbeebc Add configurable offset to SPI screen 2024-11-30 19:00:05 +08:00
436ff2b906 fit the memory usage for esp32c3 2024-11-29 11:06:05 +08:00
b07ec1a148 连接wifi时按下boot重置wifi 2024-11-25 02:27:21 +08:00
a494c41367 adjust board structure 2024-11-16 03:25:55 +08:00
35cd80feb7 fixbug: internal memory not enough 2024-11-06 22:48:21 +08:00
20deb2b777 add st7789 2024-11-06 10:06:05 +08:00
3575448373 move all hardware init to boards 2024-11-06 06:18:56 +08:00
55ff4e1f74 move wifi/ml307 to boards folder 2024-11-06 03:40:49 +08:00
82030d003d rename CreateAudioDevice to GetAudioDevice 2024-11-05 21:17:56 +08:00
458ac2c999 rename files 2024-11-05 20:15:00 +08:00
bc4b0a0bb1 move audio enable/disable in ws connect/discconect 2024-11-05 16:50:29 +08:00