Commit Graph

3081 Commits

Author SHA1 Message Date
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
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
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
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
xushiwei
6588f36123 Merge pull request #1246 from MeteorsLiu/esp-libc
feat: support libc/compiler-rt for small places
2025-09-03 07:05:51 +08:00
Haolan
977806affc test: add more libc test 2025-09-02 22:35:08 +08:00
Haolan
dd3c1f923d test: fix _embdemo write test 2025-09-02 22:25:27 +08:00
Haolan
1bd9ceb444 test: fix _embdemo 2025-09-02 20:06:48 +08:00
Haolan
5a4c83ef85 test: add _embdemo print test 2025-09-02 18:27:59 +08:00
Haolan
82bb6e84d0 test: add rt test 2025-09-02 18:23:28 +08:00
Haolan
b99c073cca test: add test for compile options 2025-09-02 18:04:35 +08:00
Haolan
4b383b179a ci: revert 2025-09-02 17:18:25 +08:00
Haolan
a8bc617e18 test: skip llgo test 2025-09-02 17:16:55 +08:00
xushiwei
656a2a43b5 Merge pull request #1247 from goplus/dependabot/go_modules/github.com/goplus/lib-0.3.0
build(deps): bump github.com/goplus/lib from 0.2.0 to 0.3.0
2025-09-02 15:15:44 +08:00
xushiwei
7e01f69d7e Merge pull request #1255 from cpunion/fix-llgo-root-check
Check LLGO_ROOT with pkg github.com/goplus/llgo/runtime
2025-09-02 15:15:06 +08:00
Haolan
f875347ad9 test: fix compile test
test: add asm test

test: add libc.go test

test: add DownloadAndExtractLibInternalDir test

test: fix checkDownload test

test: fix asm test

fix: check isCompile

fix: remove debug

fix: remove debug
2025-09-02 13:42:23 +08:00
Haolan
1d3ecb287a fix: export libc cflags for compiler-rt
fix: libc include dir

fix: xtensa internal src dir

fix: xtensa internal src dir

fix: ignore wasm target

fix: export libc cflags to global cflags

fix: rtlib libc include dir

fix: ignore some errors for libc

fix: don's search system path for libc

fix: adjust compiling options

ci: add libc

fix: libc cflags

fix: test path

fix: libc cflags

fix: libc cflags
2025-09-02 13:40:42 +08:00
Li Jie
0cac1c8a9d fix #1252 check LLGO_ROOT with pkg github.com/goplus/llgo/runtime 2025-09-01 20:18:31 +08:00
Haolan
cb2fa5dd2d fix: picolibc.h 2025-09-01 17:19:32 +08:00
Haolan
5997a296c2 fix: update url 2025-09-01 16:54:12 +08:00
Haolan
96c5ce90e4 fix: compiler rt file path 2025-09-01 16:36:58 +08:00
Haolan
8ecbfe9ade feat: support arm/risc64/avr for compiler rt 2025-09-01 16:33:19 +08:00
Haolan
012a5d7d69 fix: remove unused file 2025-09-01 14:49:37 +08:00
Haolan
997ea2849b feat: support riscv32 2025-09-01 14:48:54 +08:00
Haolan
1b3889ebc9 feat: add target name design 2025-08-29 19:25:09 +08:00
Haolan
53e22488c8 fix: remove debug compiler options 2025-08-29 17:54:08 +08:00
Haolan
19ddee0241 test: add compile test 2025-08-29 17:48:34 +08:00
Haolan
61143a6ff0 fix: newlib url and rt url 2025-08-29 16:27:23 +08:00
Haolan
3f2fe83718 fix: check needStart by libc name 2025-08-29 16:02:23 +08:00
Haolan
4639ee13e7 feat: support compiler-rt 2025-08-29 11:30:25 +08:00
dependabot[bot]
5810b29372 build(deps): bump github.com/goplus/lib from 0.2.0 to 0.3.0
Bumps [github.com/goplus/lib](https://github.com/goplus/lib) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/goplus/lib/releases)
- [Commits](https://github.com/goplus/lib/compare/v0.2.0...v0.3.0)

---
updated-dependencies:
- dependency-name: github.com/goplus/lib
  dependency-version: 0.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-29 00:12:37 +00:00
Haolan
f3ecce86ee feat: support libc for small devices 2025-08-28 20:11:13 +08:00
xushiwei
2160710884 Merge pull request #1243 from luoliwoshang/llgo/safesplit
xtool/safesplit:properly handle consecutive short flags
2025-08-28 11:50:06 +08:00
xushiwei
71353baf59 Merge pull request #1245 from luoliwoshang/llgo/targetsdir
internal/target:read targets consist use LLGoROOT
2025-08-28 11:48:48 +08:00
xushiwei
6144987f06 Merge pull request #1224 from luoliwoshang/instr/asmfull
cl(feat): llgo.asm implement tinygo.AsmFull
2025-08-28 11:41:31 +08:00
luoliwoshang
b68686e542 internal/target:read targets use LLGoROOT 2025-08-28 11:12:26 +08:00