Commit Graph

3149 Commits

Author SHA1 Message Date
visualfc
b6d43ae88a internal/cabi: transformFuncBody check AttrWidthType(2) 2025-09-09 21:04:24 +08:00
visualfc
89e93f9e7a internal/cabi: transformCallInstr check AttrPointer 2025-09-09 21:04:24 +08:00
visualfc
0b6a558667 internal/cbi: replaceParamAlloc 2025-09-09 21:04:24 +08:00
visualfc
937f8339c7 internal/cabi: call optimization 2025-09-09 21:04:24 +08:00
xushiwei
b1d95bb73c Merge pull request #1284 from visualfc/valist_demo
cl/_testrt/vamethod: optimize code
2025-09-09 17:29:38 +08:00
visualfc
5dbf1a7561 cl/_testrt/vamethod: optimize code 2025-09-09 17:25:22 +08:00
xushiwei
0dbc686960 Merge pull request #1281 from goplus/dependabot/github_actions/actions/setup-go-6
build(deps): bump actions/setup-go from 5 to 6
2025-09-09 17:19:39 +08:00
xushiwei
4e7526d68e Merge pull request #1282 from visualfc/embed_vamethod
cl: embed struct / interface support __llgo_va_list
2025-09-09 17:19:16 +08:00
visualfc
fd17a43ade cl: interface support __llgo_va_list 2025-09-09 16:51:08 +08:00
visualfc
89af430329 cl: embed struct support __llgo_va_list 2025-09-09 16:14:25 +08:00
xushiwei
849b23079b Merge pull request #1279 from luoliwoshang/ci/refreshCacheKey
ci:update .sysroot cache key & catch docker exit
2025-09-09 14:12:48 +08:00
luoliwoshang
13b5f39125 ci:fail when docker start error 2025-09-09 09:52:22 +08:00
dependabot[bot]
2a022be510 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-09 00:44:54 +00:00
luoliwoshang
bb89ef5c5d ci:refresh ci .sysroot cache key 2025-09-08 17:44:46 +08:00
xushiwei
1556b29e0a Merge pull request #1271 from cpunion/embed-cmds
Embed cmds
2025-09-08 16:00:08 +08:00
Li Jie
d46a3f2f49 Merge commit '7de4137d4678a3bcbd735f887028489f97f1e479' into embed-cmds
# Conflicts:
#	internal/build/build.go
2025-09-08 15:22:48 +08:00
xushiwei
7de4137d46 Merge pull request #1261 from goplus/dependabot/go_modules/github.com/goplus/gogen-1.19.2
build(deps): bump github.com/goplus/gogen from 1.19.1 to 1.19.2
2025-09-08 14:43:53 +08:00
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
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