3390 Commits

Author SHA1 Message Date
xushiwei
16b3473f52 Merge pull request #1274 from luoliwoshang/fix/ldl
fix:ldflags -ldl for earlier glibc version
2025-09-08 14:43:15 +08:00
xushiwei
1f7883654a Merge pull request #1269 from luoliwoshang/ci/dependbot
ci:avoid dependbot trigger reduant push event
2025-09-08 14:42:30 +08:00
xushiwei
fb94329c87 Merge pull request #1259 from luoliwoshang/test/refine
CI: Release Testing
2025-09-08 14:40:20 +08:00
xushiwei
2f3c322076 Merge pull request #1233 from cpunion/optional-esp-clang
Optional esp clang
2025-09-08 14:38:25 +08:00
luoliwoshang
922d174402 fix yml conflict 2025-09-08 14:33:40 +08:00
Haolan
d9a20e8000 fix: stdio and typo 2025-09-08 14:13:25 +08:00
luoliwoshang
d2a021ceae test:with esp-clang version 2025-09-08 10:02:27 +08:00
luoliwoshang
66bf801fd6 internal/crosscompile:update clang with older glibc & more same size 2025-09-08 09:40:43 +08:00
Li Jie
20ce823b68 fix: targets tests 2025-09-07 16:37:42 +08:00
Li Jie
3ecf9b35f3 refine: safe shell cmd line parse 2025-09-07 16:37:38 +08:00
Li Jie
dba719a8d7 doc: update embeded doc of llgo cmds 2025-09-07 16:37:38 +08:00
Li Jie
806b16c2c8 refine: reduce duplicated env expand funcs 2025-09-07 16:37:38 +08:00
Li Jie
9eeb14ae31 feat: support generic bin and intel hex firmware 2025-09-07 16:37:37 +08:00
Li Jie
df07513a37 refine: reduce unnecessary format conversion 2025-09-07 16:37:34 +08:00
Li Jie
16c8402065 refactor: multi format generation and llgo build flags 2025-09-07 16:23:31 +08:00
Li Jie
c0afe199c2 refactor: move device types definition into flash 2025-09-07 16:23:31 +08:00
Li Jie
1c2aea10f0 feat: add Arduino 1200bps reset support before flashing
- Add touchSerialPortAt1200bps function from TinyGo for Arduino bootloader reset
- Update Flash function to trigger 1200bps reset when flash-1200-bps-reset is true
- Add 2-second wait after reset for device to enter bootloader mode
- Support retry mechanism with Windows-specific error handling

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-07 16:23:31 +08:00
Li Jie
4e590d42be feat: auto guess port for monitoring 2025-09-07 16:23:30 +08:00
Li Jie
228d7cee31 feat: make -port optional 2025-09-07 16:23:30 +08:00
Li Jie
c6676917b3 refine: check msd paths 2025-09-07 16:23:30 +08:00
Li Jie
88e0844ada ignore codecov from internal/{monitor,flash} 2025-09-07 16:23:30 +08:00
Li Jie
a2c9c7f10a feat: llgo run -target target -port port auto start monitor 2025-09-07 16:23:30 +08:00
Li Jie
9a5b231c88 feat: llgo monitor -target target -port port 2025-09-07 16:23:27 +08:00
Li Jie
519faabfe1 feat: ignore firmware files 2025-09-06 20:54:39 +08:00
Li Jie
1a3bca40bc feat: implement flash functionality 2025-09-06 20:53:28 +08:00
Li Jie
549beeb101 test output format for all target/emuator/flash-method 2025-09-06 19:46:33 +08:00
Li Jie
7cad146013 refactor build/install/run pipeline 2025-09-06 19:45:48 +08:00
luoliwoshang
054591c279 fix:ldflags -ldl for earlier glibc version 2025-09-06 18:56:58 +08:00
Li Jie
da9865104f export flash, openocd, msd 2025-09-06 16:21:15 +08:00
Li Jie
1033452e8f extract run from linkMainPkg, add flash scaffold 2025-09-06 16:16:04 +08:00
luoliwoshang
82ed8468e7 ci:avoid dependbot trigger reduant push event 2025-09-06 10:57:16 +08:00
Li Jie
5e5d5c2a83 Build and run for embeded 2025-09-06 10:35:58 +08:00
Li Jie
df8f67db5a remove debug log 2025-09-06 10:35:58 +08:00
Li Jie
e9170e4cef feat: add -file-format flag for flexible output formats
Add support for -file-format flag to llgo build command allowing users to specify output format independently of target configuration.

Changes:
- Add -file-format flag supporting bin, hex, elf, uf2, zip formats
- Implement two-stage conversion: firmware format → file format
- Add ConvertOutput function with hex format conversion support
- Update build logic to handle different modes (build vs run/install)
- Add verbose logging for conversion operations

For build command: only convert firmware when -file-format is specified
For run/install commands: always convert firmware when target requires it

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-06 10:35:58 +08:00
xushiwei
f41badde20 Merge pull request #1266 from goplus/dependabot/github_actions/actions/setup-node-5
build(deps): bump actions/setup-node from 4 to 5
2025-09-06 10:14:00 +08:00
xushiwei
ac753070fa Merge pull request #1267 from goplus/dependabot/github_actions/actions/setup-go-6
build(deps): bump actions/setup-go from 5 to 6
2025-09-06 10:13:02 +08:00
xushiwei
e6768584d7 Merge pull request #1263 from luoliwoshang/ci/cancel-before
ci:concurrency config added & timeout at 30min
2025-09-06 10:12:21 +08:00
Haolan
7ca8abc788 fix: println 2025-09-05 19:00:53 +08:00
Haolan
e444c4b6ac fix: typo 2025-09-05 16:55:38 +08:00
Haolan
0d02a7273e fix: rethrow in baremental 2025-09-05 16:41:58 +08:00
Haolan
0c418073b3 revert unix 2025-09-05 16:29:58 +08:00
Haolan
2d1120bf69 fix: symbol not found when building in baremental environment 2025-09-05 16:27:38 +08:00
luoliwoshang
22c26c1aaa ci:every job settimeout 30min 2025-09-05 11:26:29 +08:00
dependabot[bot]
c97d541936 build(deps): bump actions/setup-go from 5 to 6
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5 to 6.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-05 00:11:41 +00:00
dependabot[bot]
f6bb1d9922 build(deps): bump actions/setup-node from 4 to 5
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-05 00:11:37 +00:00
luoliwoshang
7ae6686f6b ci:concurrency config added 2025-09-04 19:09:30 +08:00
luoliwoshang
5a602830a6 ci(release test):restore other ci 2025-09-04 17:36:36 +08:00
luoliwoshang
00dbc91745 ci(release test):cache with sh & gh yml 2025-09-04 17:07:55 +08:00
luoliwoshang
1684512308 ci(release test):cache key to env 2025-09-04 16:49:10 +08:00
luoliwoshang
40b142f947 ci(release test):hello check cpp & todo build 2025-09-04 15:36:06 +08:00