diff options
| author | hathach <[email protected]> | 2026-06-20 08:22:45 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-06-20 08:22:45 +0700 |
| commit | 6b2845beba3938dd350a889f8d918f7473f8c6ff (patch) | |
| tree | 41f2a5329c9ab4ff05168d14e999acc1ec0cf714 /examples/device/hid_multiple_interface/src | |
| parent | 2b205526d3a07aac19364f00165f491b83146d17 (diff) | |
hw/bsp/ch58x: put linker flags in LDFLAGS so the make build links
family.mk listed -nostartfiles and the nano/nosys specs under LDFLAGS_GCC, a variable
the make build system never reads (only LDFLAGS / LDFLAGS_CLANG are consumed by
gcc_rules.mk). So the make build linked the toolchain's crt0.o alongside the SDK's
startup_CH583.S and failed with "multiple definition of _start" + an undefined
__bss_start, and also pulled in full newlib (RAM blew up). Rename it to LDFLAGS,
matching ch32v20x/family.mk. The cmake build was unaffected (it sets these via
target_link_options). Fixes the CircleCI one-random-make-ch58x build.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'examples/device/hid_multiple_interface/src')
0 files changed, 0 insertions, 0 deletions
