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
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