Li Jie
d46a3f2f49
Merge commit '7de4137d4678a3bcbd735f887028489f97f1e479' into embed-cmds
...
# Conflicts:
# internal/build/build.go
2025-09-08 15:22:48 +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
4e590d42be
feat: auto guess port for monitoring
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
549beeb101
test output format for all target/emuator/flash-method
2025-09-06 19:46:33 +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
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
Li Jie
11e1348a2c
add force-espclang to force using esp-clang for dev mode
2025-08-24 17:31:57 +08:00
visualfc
96c7afcf3a
build: dev support checkLinkArgs/CheckLLFiles/GenLLFiles
2025-08-21 17:26:20 +08:00
visualfc
a11a71eb93
llgo flags -abi enable in build tags dev
2025-08-21 11:09:13 +08:00
visualfc
843dd03553
cmd: llgo -abi flag (default 2)
2025-08-12 09:43:47 +08:00
Li Jie
daf0d7e56e
feat(cmd): enable -target parameter for build, run, and test commands
...
- Update build command: llgo build -target platform
- Update run command: llgo run -target platform
- Update test command: llgo test -target platform
- Wire target flag to build configuration
- Update usage documentation for new parameter
Examples:
- llgo build -target rp2040 ./firmware
- llgo run -target wasi ./main.go
- llgo test -target cortex-m ./tests
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-30 20:16:29 +08:00
Li Jie
0136344282
feat(cmd): add -target flag support for build commands
...
- Add Target flag variable to support -target parameter
- Update AddBuildFlags to include target platform option
- Enable syntax: -target platform (e.g., rp2040, wasi)
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-30 20:16:29 +08:00
xushiwei
3d53b12dea
rm llgo.old
2025-06-23 15:45:07 +08:00
luoliwoshang
f48b37a218
chore(xgo):gop_autogen => xgo_autogen
2025-06-12 18:49:17 +08:00
tsingbx
a971b93994
fix gop run . flag provided but not defined: -ldflags
2025-05-16 00:44:37 +08:00
xushiwei
1693942cee
rm xtool/{cppkg,cpgithubpkg}
2025-05-12 03:50:07 +08:00
tsingbx
975b0b74ee
panic err => return
2025-05-10 07:15:48 +08:00
tsingbx
3bf28f52c4
add usage for llgo
2025-05-09 12:59:11 +08:00
xushiwei
3edbde0839
cmd/llog: main_cmd.gox => main_app.gox
2025-05-08 09:34:01 +08:00
xushiwei
2301a4834d
cmd/llog: main cmd
2025-05-07 22:30:54 +08:00
xushiwei
8455ee8226
xtool/cppkg: support latest version
2025-05-04 17:34:02 +08:00
xushiwei
2e19c2013c
llgo cppkg: remove unused import
2025-05-04 16:43:07 +08:00
xushiwei
beee018287
cmd: llgo cppkg install
2025-05-04 16:01:58 +08:00
xushiwei
f26127ce98
llgo.next => llgo
2025-05-04 15:34:32 +08:00
xushiwei
355721c47a
llgo.next: support build, run, cmptest
2025-05-04 15:18:49 +08:00
xushiwei
cc08195cf2
cmd: llgo.next
2025-05-04 14:04:43 +08:00
Li Jie
489a0069aa
extract common cmd flags
2025-04-18 13:12:05 +08:00
Li Jie
e6c7627ee8
cross compilation
2025-04-08 10:46:14 +08:00
Li Jie
a85d937482
enable command tests
2025-04-08 09:38:00 +08:00
Li Jie
ed366568b4
move out c/cpp/py
2025-04-03 16:26:11 +08:00
Li Jie
1172e5bdce
build: separate compiler and libs
2025-01-08 14:59:01 +08:00
xushiwei
282125a84b
llgo get: todo
2024-12-30 21:16:22 +08:00
Li Jie
d879d0d924
build: make llgen, cltest, gentests call build.Do
2024-11-26 13:17:36 +08:00
xushiwei
6c72846d63
llgo cmptest -gen
2024-08-14 09:47:40 +08:00
Aofei Sheng
200fe07473
cmptest: add support for comparison with llgo.expect files
...
Fixes #671
2024-08-12 13:52:20 +08:00
xushiwei
e0e3664fdb
cmptest: regexdemo (todo)
2024-07-29 11:44:49 +08:00
Aofei Sheng
1ed180887d
cmd: add "llgo version" command
2024-07-10 15:36:17 +08:00
xushiwei
cd6d4021b1
llgo cmptest ( #391 )
2024-06-23 00:48:38 +08:00
xushiwei
bf0148e047
canSkipToBuild
2024-06-17 05:33:07 +08:00
xushiwei
c455f6e730
SkipFlagArgs
2024-04-27 06:41:24 +08:00
xushiwei
3cc83b8ec4
llgo build/install/run: SkipArgs bugfix
2024-04-27 06:39:09 +08:00
xushiwei
2ad2873278
llgo clean
2024-04-26 20:06:54 +08:00
xushiwei
3f49fe9e98
llgo run
2024-04-25 01:41:44 +08:00
xushiwei
a2c6e5d7fc
llgo install: /appName
2024-04-25 00:53:42 +08:00
xushiwei
2cbcc53c54
llgo build/install
2024-04-24 07:55:51 +08:00
xushiwei
edb7a4e1a5
ssadump
2024-04-23 18:57:46 +08:00
xushiwei
67af68ae10
llgo gen: todo
2024-04-23 00:47:38 +08:00