Closed CamelShoko closed 2 years ago
Try updating your rustc version, this only supports rust 1.60+ at the moment. If you are using rustup
this is just rustup update
when i do rustup update then use $ cd examples $ cargo build
LLVM ERROR: Global variable '__INTERRUPTS' has an invalid section specifier '.vector_table.interrupts': mach-o section specifier requires a segment and section separated by a comma. error: could not compile
stm32wl warning: build failed, waiting for other jobs to finish... error: build failed
DEFMT_LOG=trace cargo run-ex gpio-blink
Finished dev [optimized + debuginfo] target(s) in 0.04s
Running `probe-run --chip STM32WLE5JCIx --connect-under-reset /Users/zhangxiang/embedded-worksapce/DLB/Code/stm32wlxx-hal/target/thumbv7em-none-eabi/debug/examples/gpio-blink`
(HOST) INFO flashing program (11 pages / 11.00 KiB)
(HOST) INFO success!
────────────────────────────────────────────────────────────────────────────────
INFO Starting blinky
└─ gpio_blink::__cortex_m_rt_main @ examples/gpio-blink.rs:33
the 'rustup update' useful, thank you.
Hi, i clone this code, but it can not build successful.