9 Commits

Author SHA1 Message Date
bbd5f70c3c fix: add explicit UTF-8 encoding to file operations for Windows compatibility (#1845)
On Windows, Python's default encoding is the system locale (e.g., cp1252,
gbk) rather than UTF-8. This causes UnicodeDecodeError when reading
sdkconfig files, CMakeLists.txt, or JSON configs that contain non-ASCII
characters (e.g., Chinese comments, UTF-8 BOM).

Fix: Add explicit encoding='utf-8' to all text file open() calls in:
- scripts/release.py (Path.open() for config.json, CMakeLists.txt, sdkconfig)
- scripts/build_default_assets.py (io.open() for sdkconfig, open() for headers/configs)
- scripts/versions.py (open() for info.json read/write)

Relates to #1792

Co-authored-by: Nicola Spieser <redbasecap@users.noreply.github.com>
2026-03-15 18:49:49 +08:00
3f54330ac9 Set minimal IDF version to 5.4.0 (#1339)
* version.py: not upload directory

* Downgrade IDF version to 5.4.0

---------

Co-authored-by: Xiaoxia <terrence.huang@tenclass.com>
2025-10-28 07:48:47 +08:00
a4fe4d8d99 fix firmware image size 2025-08-12 14:53:17 +08:00
e2777cc16b esp-hi special app partition 2025-06-12 15:06:31 +08:00
7fdf78408e Add v2.0 to versions.py 2025-04-28 17:05:56 +08:00
4c7e00630b fix sensecap watcher partition alignment 2025-03-26 23:07:58 +08:00
5be81638aa edit version upload 2025-02-01 23:09:40 +08:00
046ca3e0c9 fix upgrade icon 2025-01-25 12:44:31 +08:00
c2dd384ed1 add scripts folder 2025-01-23 22:45:26 +08:00