Closed fmaggi closed 1 year ago
First, build.zig is trying to access a non-existing field (see #24 ). After fixing this though, compilation fails with a weird error. Output of running zig build:
zig build-exe STM32F429.minimal Debug thumb-freestanding-none: error: the following command terminated unexpectedly: /home/fran/.zig/zig build-exe /home/fran/Documents/stmicro-stm32/deps/microzig/src/start.zig -fno-strip --cache-dir /home/fran /Documents/stmicro-stm32/zig-cache --global-cache-dir /home/fran/.cache/zig --name STM32F429.minimal -fcompiler-rt -fsingle-th readed -target thumb-freestanding-none -mcpu cortex_m4 --script /home/fran/Documents/stmicro-stm32/zig-cache/microzig/9eaf9c0e 5ae93f43e508a2a8b6abb0a6/STM32F429_ARM Cortex-M4.ld --mod cpu:microzig:/home/fran/Documents/stmicro-stm32/deps/microzig/src/mo dules/cpus/cortex-m.zig --mod chip:microzig:/home/fran/Documents/stmicro-stm32/src/chips/STM32F429.zig --mod microzig:config,c hip,cpu,hal:/home/fran/Documents/stmicro-stm32/deps/microzig/src/microzig.zig --mod hal:microzig:/home/fran/Documents/stmicro- stm32/src/hals/STM32F429.zig --mod config::/home/fran/Documents/stmicro-stm32/zig-cache/microzig/config-94b727d09a5e61986629e2 266c040a6a.zig --mod app:microzig:/home/fran/Documents/stmicro-stm32/test/programs/minimal.zig --deps app,microzig --listen=- ... (All boards fail the same way) Build Summary: 8/25 steps succeeded; 8 failed (disable with --summary none) install transitive failure ├─ install STM32F3DISCOVERY.minimal transitive failure │ └─ zig build-exe STM32F3DISCOVERY.minimal Debug thumb-freestanding-none failure ├─ install STM32F4DISCOVERY.minimal transitive failure │ └─ zig build-exe STM32F4DISCOVERY.minimal Debug thumb-freestanding-none failure ├─ install STM3240G_EVAL.minimal transitive failure │ └─ zig build-exe STM3240G_EVAL.minimal Debug thumb-freestanding-none failure ├─ install STM32F429IDISCOVERY.minimal transitive failure │ └─ zig build-exe STM32F429IDISCOVERY.minimal Debug thumb-freestanding-none failure ├─ install STM32F103.minimal transitive failure │ └─ zig build-exe STM32F103.minimal Debug thumb-freestanding-none failure ├─ install STM32F303.minimal transitive failure │ └─ zig build-exe STM32F303.minimal Debug thumb-freestanding-none failure ├─ install STM32F407.minimal transitive failure │ └─ zig build-exe STM32F407.minimal Debug thumb-freestanding-none failure └─ install STM32F429.minimal transitive failure └─ zig build-exe STM32F429.minimal Debug thumb-freestanding-none failure error: the following build command failed with exit code 1: /home/fran/Documents/stmicro-stm32/zig-cache/o/cf9b1829ca48e4a32cb2a3193eecd0f2/build /home/fran/.zig/zig /home/fran/Documents /stmicro-stm32 /home/fran/Documents/stmicro-stm32/zig-cache /home/fran/.cache/zig
I'm running this with zig version 0.11.0
I guess this issue is fixed with the recent changes, right @MasterQ32, @fmaggi ?
Yeah! I think so
First, build.zig is trying to access a non-existing field (see #24 ). After fixing this though, compilation fails with a weird error. Output of running zig build:
I'm running this with zig version 0.11.0