This repository was archived by the owner on Apr 11, 2022. It is now read-only.

Description
Hi @MabezDev,
Thank you for your effort to bring xtensa arch to Rust!
I am in process to port our bare-metal SW written in Rust+C mix from Cortex-M device to ESP32.
Currently I able to blink by LED on the board :)
Now I trying to output some text (&str) into UART. I encountered to following error on linking:
target/xtensa-none-elf/release/deps/esp32_hello-53491af6071c1b49.esp32_hello.wtaa4xj7-cgu.0.rcgu.o:(.literal._ZN11esp32_hello10rust_blink17he8ce6b3bf0257d54E+0x8): undefined reference to `.L'
collect2: error: ld returned 1 exit status
But, I fixed it (occasionally) by adding "-C", "save-temps" to rustflags table in .cargo/config.
So, I think it will be useful, if you add comment about such trick somewhere in Readme file.