Li Jie
16709411a0
defer: enable loop lowering
2025-11-13 15:48:46 +08:00
xushiwei
9e1b321ce6
Merge pull request #1308 from visualfc/cabi_riscv
...
internal/cabi: support risc-v specific target-abi
2025-09-26 16:30:43 +08:00
luoliwoshang
bbcbddfcad
internal/crosscompile:ld -S to ensure emit-reloc correct
2025-09-18 15:45:25 +08:00
luoliwoshang
cc5c1144a7
internal/crosscompile:Oz optimize level for embed target
2025-09-16 16:40:45 +08:00
visualfc
db28648d29
internal/cabi: support riscv64/riscv32 target-abi
2025-09-16 12:42:30 +08:00
visualfc
8bfe133bee
internal/cabi: support target esp32c3
2025-09-14 20:50:13 +08:00
xushiwei
d0962d8adc
Merge pull request #1264 from MeteorsLiu/libc-version
...
Fix xtensa newlib `stdio` stuck and support libc version
2025-09-10 13:46:36 +08:00
Haolan
073e79d03b
chore: rename ArchiveSrcDir
2025-09-10 11:47:02 +08:00
Haolan
8ce6c3b9ab
chore: fix commets and format
...
Update internal/crosscompile/compile/rtlib/rt_test.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Update internal/crosscompile/compile/libc/libc_test.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Update internal/crosscompile/compile/libc/libc_test.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
chore: format contents
2025-09-09 18:23:31 +08:00
Haolan
d4474be921
chore: fix some wrong commets
2025-09-09 18:23:31 +08:00
Haolan
6aa63121ff
chore: upgrade newlib
2025-09-09 18:23:31 +08:00
Haolan
b239494a9f
test: add test for getting config
2025-09-09 18:23:31 +08:00
Haolan
95bd495d7b
feat: support libc version
2025-09-09 18:23:31 +08:00
luoliwoshang
68623f0b27
env:find crosscompile llvm
2025-09-09 10:22:43 +08:00
luoliwoshang
a19011897c
install with esp-clang & new cache key
2025-09-08 22:52:51 +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
16b3473f52
Merge pull request #1274 from luoliwoshang/fix/ldl
...
fix:ldflags -ldl for earlier glibc version
2025-09-08 14:43:15 +08:00
Li Jie
806b16c2c8
refine: reduce duplicated env expand funcs
2025-09-07 16:37:38 +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
549beeb101
test output format for all target/emuator/flash-method
2025-09-06 19:46:33 +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
5e5d5c2a83
Build and run for embeded
2025-09-06 10:35:58 +08:00
Li Jie
62fc21e22b
Merge commit '6588f36123eababf6e24564b49e5af374285d2b5' into optional-esp-clang
...
# Conflicts:
# internal/crosscompile/crosscompile.go
# internal/crosscompile/crosscompile_test.go
2025-09-03 09:32:38 +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
a8bc617e18
test: skip llgo test
2025-09-02 17:16:55 +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
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
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
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
Haolan
f3ecce86ee
feat: support libc for small devices
2025-08-28 20:11:13 +08:00
Haolan
5587fd2885
feat: add libc
2025-08-25 19:05:30 +08:00
Li Jie
ca30338066
optional use esp clang for non-cross-compilation
2025-08-24 17:28:42 +08:00
Li Jie
ddc61adc63
test compiler downloading of crosscompile
2025-08-23 18:33:20 +08:00
Li Jie
96001ce9b1
disable incompatible tests for llgo test
2025-08-23 18:01:16 +08:00
Li Jie
e40bdc196b
binary-format supports uf2, nrf-dfu
2025-08-23 17:45:20 +08:00
Li Jie
508b23a584
refine and test internal/crosscompile
2025-08-23 17:45:20 +08:00
Li Jie
b7181592a9
hide unused arguments warnings
2025-08-23 17:45:20 +08:00
Li Jie
ecaf7c8ac6
supports binary-format, only esp* supported for now
2025-08-22 21:05:29 +08:00