60 Commits
Author SHA1 Message Date
ForairaaaaaandGitHub b72b3ede38 Merge pull request #100 from m5stack/firmware-dev
Bump firmware version
2026-07-02 10:20:37 +08:00
Forairaaaaa d01549aba8 bump version 2026-07-02 10:19:34 +08:00
ForairaaaaaandGitHub 803fd1709c Merge pull request #99 from m5stack/firmware-dev
Add fragmented BLE JSON transfer support
2026-07-02 10:17:30 +08:00
Forairaaaaa 7d82315c70 add fragmented BLE JSON transfer support 2026-07-02 10:15:48 +08:00
小袁andGitHub 0286f72707 Merge pull request #97 from m5stack/server-dev
fix(server): stabilize device bootstrap and default dance initializationServer dev
2026-06-24 10:00:10 +08:00
yuanzhihong 6ae34a072e Merge remote-tracking branch 'origin/server-dev' into server-dev
# Conflicts:
#	server/README.MD
#	server/api/admin/admin.go
#	server/api/appstore/appstore.go
#	server/api/pano/pano.go
#	server/api/stackchandevice/stackchandevice.go
#	server/api/user/user.go
#	server/api/xiaozhi/xiaozhi.go
#	server/go.mod
#	server/go.sum
#	server/internal/cmd/cmd.go
#	server/internal/controller/admin/admin_v1_delete_app.go
#	server/internal/controller/dance/dance_v1_get_list.go
#	server/internal/controller/dance/dance_v2_get_list.go
#	server/internal/controller/device/device_v2_agent_restore_default.go
#	server/internal/controller/device/device_v2_bind_device.go
#	server/internal/service/user.go
#	server/utility/rsa.go
2026-06-24 09:58:07 +08:00
yuanzhihong 2291d4cc01 fix(server): stabilize device bootstrap and default dance initialization
- create missing device records safely with insert-ignore
- seed default dance data transactionally to avoid duplicate rows
- restore real default-agent reset behavior with MAC validation
- bind devices inside a transaction after ensuring the device exists
2026-06-24 09:57:23 +08:00
JiangyyandGitHub 6ffb35f51b Merge pull request #96 from m5stack/remote-dev
remote: Modify the screen backlight settings
2026-06-17 18:58:32 +08:00
jyy 3a8dc37b9b Modify the screen backlight settings 2026-06-17 18:57:32 +08:00
ForairaaaaaandGitHub fd09a7441a Merge pull request #89 from Forairaaaaa/v1.4.2-firmware-update
update firmware v1.4.2
2026-06-11 10:48:21 +08:00
Forairaaaaa 893ee38651 - Added current monitoring and stall protection for the Y-axis servo
- Optimized the screen touch debouncing under AI.Agent mode
- Bump version
2026-06-11 10:45:02 +08:00
ForairaaaaaandGitHub 80810f4777 Merge pull request #86 from jun76/guard-invalid-servo-position
fix(firmware): guard invalid servo position reads
2026-06-08 15:26:36 +08:00
jun76 65193e8a09 Guard invalid servo position reads 2026-06-08 00:10:06 +09:00
ForairaaaaaandGitHub 88cbe895c2 Merge pull request #24 from Flo5k5/feat/sdkconfig-local-overlay
feat(firmware): auto-load sdkconfig.defaults.local overlay when present
2026-06-03 18:16:20 +08:00
ForairaaaaaandGitHub bdbda2d18a Merge pull request #21 from Flo5k5/feat/kconfig-server-url
feat(firmware): add CONFIG_STACKCHAN_SERVER_URL Kconfig option
2026-06-03 17:52:27 +08:00
ForairaaaaaandGitHub a1778ec1fe Merge pull request #20 from Flo5k5/feat/secret-logic-routing
refactor(firmware): route account and app_center URLs through secret_logic
2026-06-03 17:51:33 +08:00
ForairaaaaaandGitHub a2ca769953 Merge pull request #84 from unixtreme/ai-agent-autostart
Add configurable AI Agent boot option
2026-06-03 17:46:57 +08:00
ForairaaaaaandGitHub 8c1ce805da Merge pull request #74 from Spitfire-Cowboy/rowan/upstream-motion-test-coverage
test: add firmware motion math coverage
2026-06-03 17:39:02 +08:00
unixtreme 5e16422732 Add configurable AI Agent boot option 2026-06-03 01:58:58 +00:00
John Malone 0243584307 test: add firmware motion math coverage 2026-05-19 06:39:07 -05:00
ForairaaaaaandGitHub da156e1fa0 Merge pull request #66 from m5stack/firmware-dev
update firmware v1.4.1
2026-05-13 17:50:09 +08:00
ForairaaaaaandGitHub a457934da9 Merge pull request #65 from Forairaaaaa/update-firmware-v1.4.1
update firmware v1.4.1
2026-05-13 17:48:49 +08:00
Forairaaaaa b7a2ee9c1c update firmware v1.4.1 2026-05-13 17:46:43 +08:00
ForairaaaaaandGitHub ad6105b676 Merge pull request #60 from m5stack/firmware-dev
update firmware v1.4.0
2026-05-12 16:09:41 +08:00
ForairaaaaaandGitHub 27acb6a4ee Merge pull request #59 from Forairaaaaa/update-firmware-v1.4.0
update firmware v1.4.0
2026-05-12 16:07:26 +08:00
Forairaaaaa 741f43cd56 update firmware v1.4.0 2026-05-12 16:00:41 +08:00
ForairaaaaaandGitHub ea96a40bdc Merge pull request #58 from m5stack/firmware-dev
update firmware v1.3.1
2026-05-12 10:39:17 +08:00
ForairaaaaaandGitHub 88064673c1 Merge pull request #57 from Forairaaaaa/main
update firmware v1.3.1
2026-05-12 10:37:06 +08:00
Forairaaaaa 263b1d5302 update firmware v1.3.1 2026-05-12 10:34:39 +08:00
JiangyyandGitHub f99d95eb1d Merge pull request #56 from m5stack/remote-dev
Remote dev: Add MIT License
2026-05-12 10:14:58 +08:00
jyy f71b5ccdd6 add MIT License 2026-05-12 10:10:00 +08:00
JiangyyandGitHub 8ba3252677 Merge pull request #55 from m5stack/main
update branch
2026-05-12 09:14:36 +08:00
ForairaaaaaandGitHub f8bbb9084d Merge pull request #45 from m5stack/firmware-dev
update firmware v1.3.0
2026-05-07 16:38:45 +08:00
ForairaaaaaandGitHub 150983bdba Merge pull request #44 from Forairaaaaa/update-firmware-v1.3.0
update firmware v1.3.0
2026-05-07 16:36:30 +08:00
Forairaaaaa 0b078f141f update firmware v1.3.0 2026-05-07 16:33:29 +08:00
ForairaaaaaandGitHub 672c4e1976 Merge pull request #43 from m5stack/firmware-dev
update firmware v1.2.6
2026-05-07 09:45:18 +08:00
ForairaaaaaandGitHub 25950b4263 Merge pull request #42 from Forairaaaaa/update-firmware-v1.2.6
update firmware v1.2.6
2026-05-07 09:43:16 +08:00
Forairaaaaa afd7260cf2 update firmware v1.2.6 2026-05-07 09:38:14 +08:00
Harrison XuandGitHub 51a06177f7 Update readme (#40) 2026-04-29 18:50:21 +08:00
小袁andGitHub e8b9973544 prepare v1.1.4 release with native bridge and stability cleanups (#38) 2026-04-29 18:50:10 +08:00
小袁andGitHub d7ae8564c1 feat(server): deliver major backend expansion with v2 APIs, AI integration, and realtime infrastructure (#36) 2026-04-29 18:49:54 +08:00
袁智鸿 d990e6d3b3 feat(server): deliver major backend expansion with v2 APIs, AI integration, and realtime infrastructure 2026-04-28 14:23:43 +08:00
JiangyyandGitHub f0fa33cd67 Merge pull request #32 from m5stack/remote-dev
fix(remote):Open backlight manually.
2026-04-24 11:56:36 +08:00
jyy 5e84ee2bbe Merge main into remote-dev 2026-04-24 11:21:34 +08:00
jyy 922bc33584 Fix error of backlight 2026-04-24 11:06:05 +08:00
Nourrisse Florian 5bda3e436c feat(firmware): auto-load sdkconfig.defaults.local overlay when present
Detect firmware/sdkconfig.defaults.local at configure time and feed it
into ESP-IDF's SDKCONFIG_DEFAULTS list alongside sdkconfig.defaults.

This gives self-hosted and downstream builds a first-class way to pin
per-deployment values (CONFIG_STACKCHAN_SERVER_URL, CONFIG_OTA_URL,
CONFIG_USE_EZDATA, ...) without patching committed defaults and
without needing contributors to remember the
  SDKCONFIG_DEFAULTS="sdkconfig.defaults;sdkconfig.defaults.local"
invocation.

The file is ignored by the repo's .gitignore, so it never leaks
upstream. When it does not exist, behaviour is unchanged.

A status message ("StackChan: detected sdkconfig.defaults.local,
applying overlay") makes the override visible in the idf.py configure
output so it's obvious when a build is using custom defaults.
2026-04-22 15:50:56 +02:00
Nourrisse Florian 0bbef0e445 feat(firmware): add CONFIG_STACKCHAN_SERVER_URL Kconfig option
Expose the StackChan backend base URL as a Kconfig string so it can be
overridden via menuconfig or sdkconfig.defaults.local without patching
source files. This follows the same pattern as the existing
CONFIG_OTA_URL option used by the Xiaozhi Assistant pipeline.

The weak-linked secret_logic::get_server_url() now returns
CONFIG_STACKCHAN_SERVER_URL when defined, and keeps the previous
localhost:3000 stub as a fallback for builds that omit the config.

The default value equals the current production server, so firmware
builds without an explicit override keep talking to the same backend
they do today (no regression).

Intended usage with this option relies on hal_account.cpp and
hal_app_center.cpp going through secret_logic::get_server_url() as well
(see the companion refactor). Until that lands, only hal_ws_avatar.cpp
honours the override.
2026-04-22 14:57:28 +02:00
Nourrisse Florian 04936806dd refactor(firmware): route account and app_center URLs through secret_logic
Align hal_account.cpp and hal_app_center.cpp with hal_ws_avatar.cpp:66,
which already builds the StackChan server URL by composing
secret_logic::get_server_url() with the route path.

Before this change, the four remaining HTTP endpoints were hard-coded to
the production IP (http://47.113.125.164:12800), preventing custom
server-url overrides from taking effect on three of the four services.
Now all four HAL call sites go through the same weak-linked
secret_logic::get_server_url() extension point.

No functional change intended: the default return of get_server_url()
still resolves to the server URL configured at build time via the
secret_logic override (or the stub localhost:3000 when no override is
provided).
2026-04-22 14:56:03 +02:00
0cb413697b add remote source code (#12)
Co-authored-by: jyy <jiangyeying@m5stack.com>
2026-04-20 16:27:57 +08:00
ForairaaaaaandGitHub dd34f9e0ec update firmware v1.2.4 (#16) 2026-04-20 16:27:36 +08:00