<dirbaio[m]>
perhaps that's why the confusing name? "I need a symbol to check the reset vector exists, so I'll name it __reset_vector"
<JamesMunns[m]>
yeah, I don't think this is likely to cause any real problems, it's mostly confusing IMO
<dirbaio[m]>
perhaps rename it __exceptions
<JamesMunns[m]>
esp since we have both __RESET_VECTOR and __reset_vector and they have different values lol
<JamesMunns[m]>
dirbaio[m]: I'll add that as a comment
<dirbaio[m]>
or perhaps remove it and make the assert ASSERT(__EXCEPTIONS == ADDR(.vector_table) + 0x8, "
<JamesMunns[m]>
or move it to above the KEEP, so it actually points there
<dirbaio[m]>
but then you're not checking that there's a reset vector with the assert
<JamesMunns[m]>
Yeah, probably good to discuss on Tuesday in the meeting and pick something, I think there are lots of "right" options, the goal is to just make it not confusing
<JamesMunns[m]>
if it hasn't bothered anyone in 5 years tho, I doubt it's urgent lol
AdamHott[m] has joined #rust-embedded
<AdamHott[m]>
hey all, just wanted to introduce myself. I'm Adam Hott. I've been programming web and cloud (AWS) for quite some time. Started studying Rust about 6 months ago and really love it. I'm down the rabbit hole now and decided I want to focus on embedded systems. I'm not sure I'll have much to contribute at this point, I'd like to help if I can.
<AdamHott[m]>
If there are any small tasks that could be helpful, or research needed, I'd be happy to assist.
<thejpster[m]>
I would go to where you installed arm gcc and grep for those functions
<firefrommoonligh>
Thank you. I don't think I did that, to my knowledge
<firefrommoonligh>
My understanding is, on Linux, the install is apt install build-essential, and on Windows, it's install VisualStudioCommunity 2022, and enable Windows11SDK + v143 C/C++ build tools. And maybe LLVM, with the LIBCLANG_PATH environment variable pointing to its bin folder
<firefrommoonligh>
* My understanding is, on Linux, the install is apt install build-essential, and on Windows, it's install VisualStudioCommunity 2022, and enable Windows11SDK + v143 C/C++ build tools. And maybe download/install LLVM, with the LIBCLANG_PATH environment variable pointing to its bin folder
<firefrommoonligh>
Ok, solved. (Coincidence?) after comparing my tablet where it compiles to Desktop: LLVM needs to be version=15. 17 doesn't work. I don't know about 16
<firefrommoonligh>
Hey so, moment to contrast the biggest thing I love about Rust (When pure rust, I guess). Great user experience. cargo build just works. C/C++/linker errors always seem to be long and inscrutable.
<firefrommoonligh>
Like, why can't it just say "Incompatible LLVM version installed. Please downgrade to LLVM v15.x"
<firefrommoonligh>
Adding an error about sqrt is orthogonal to the problem
<firefrommoonligh>
And don't get me started in blocks and blocks of text followed by LINK ERROR 69
sigmaris has quit [Ping timeout: 255 seconds]
sigmaris has joined #rust-embedded
PhilMarkgraf[m] has quit [Quit: Idle timeout reached: 172800s]
Guest7221 has left #rust-embedded [Error from remote client]
Guest7221 has joined #rust-embedded
jamwaffles[m] has quit [Quit: Idle timeout reached: 172800s]
HumanG33k has quit [Ping timeout: 240 seconds]
kenny has quit [Ping timeout: 240 seconds]
sourcebox[m] has quit [Quit: Idle timeout reached: 172800s]
kenny has joined #rust-embedded
barafael[m] has quit [Quit: Idle timeout reached: 172800s]
neceve has quit [Ping timeout: 240 seconds]
diondokter[m] has quit [Quit: Idle timeout reached: 172800s]
JonatanMagnusson has joined #rust-embedded
<JonatanMagnusson>
Hi! I wonder if anyone is familiar with STM32F030 using the stm32f0xx-hal crate? I have a device with SPI, but the device is MOSI only - there's no MISO pin. There was a PR that added support for `NoMiso`, as there are in some other HAL's, but it was rejected.
<JonatanMagnusson>
Any idea how to initialize SPI with MOSI only with this HAL?