Commit Graph

3218 Commits

Author SHA1 Message Date
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
luoliwoshang
e5c86fe936 ci(release test):lookup cache 2025-09-04 14:41:46 +08:00
luoliwoshang
9d7664373e ci(release test):setup releaser 2025-09-04 14:32:05 +08:00
luoliwoshang
825f0bd83f ci(release test):cache linux & set qemu 2025-09-04 11:12:55 +08:00
luoliwoshang
bedb454427 ci(release test):cache linux & check file 2025-09-04 10:43:32 +08:00
dependabot[bot]
a9f74b7e55 build(deps): bump github.com/goplus/gogen from 1.19.1 to 1.19.2
Bumps [github.com/goplus/gogen](https://github.com/goplus/gogen) from 1.19.1 to 1.19.2.
- [Release notes](https://github.com/goplus/gogen/releases)
- [Commits](https://github.com/goplus/gogen/compare/v1.19.1...v1.19.2)

---
updated-dependencies:
- dependency-name: github.com/goplus/gogen
  dependency-version: 1.19.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-03 22:16:23 +00:00
luoliwoshang
002a68009e ci(release test):cache macos 2025-09-03 22:17:31 +08:00
luoliwoshang
23b5e77dcc ci(release test):test cache macos tarball 2025-09-03 21:33:35 +08:00
luoliwoshang
b8b0ae00d0 ci(release test):revert to cache linux 2025-09-03 20:48:16 +08:00
luoliwoshang
b58cce09ab ci(release test):cache with tar -xzvf 2025-09-03 20:20:14 +08:00
luoliwoshang
a1f9afc88f debug 2025-09-03 20:00:14 +08:00
luoliwoshang
6ba182afc7 ci(release test):output sysroot 2025-09-03 19:34:56 +08:00
luoliwoshang
da319e2a7c ci(release test):use cache .sysroot both for test & release 2025-09-03 19:11:37 +08:00
luoliwoshang
5e32a15146 ci(release test):set go dep 2025-09-03 18:21:30 +08:00
luoliwoshang
07d69295b9 ci(release test):test with hello 2025-09-03 18:07:50 +08:00
luoliwoshang
740a260708 ci(release test):with dependency 2025-09-03 17:26:26 +08:00
luoliwoshang
96cd52dccc ci(release test):use macos13 instead macos-latest-large try to resolve action bug 2025-09-03 17:16:05 +08:00
luoliwoshang
8650952145 ci(release test):with macos/arm macos/amd linux/arm linux/amd 2025-09-03 17:06:51 +08:00
luoliwoshang
58e5f5e4a1 release:check upload 2025-09-03 16:32:25 +08:00
luoliwoshang
7c792e8ca6 release:check artifact 2025-09-03 16:08:51 +08:00
luoliwoshang
d3ded9f861 release:cache .sysroot 2025-09-03 16:03:01 +08:00
luoliwoshang
7f05aa54c2 release:upload goreleaser result to artifact & test it 2025-09-03 15:35:13 +08:00
luoliwoshang
77a7d9e549 release:with --snapshot for release test 2025-09-03 15:04:08 +08:00