do i know anybody who has done an #embedded #rust project? could use another pair of eyes on mine

i got a bootloader onto my atsamd21-based custom board, got my blink-a-single-led with custom bsp code to compile

but when i load it onto the chip, from what i'm seeing in gdb, it seems like it's stuck in a loop somewhere in peripheral initialization (cortex-m/src/peripheral/mod.rs) never even reaching my main function

frustrated 😕

Follow

@pho4cexa could you elaborate on what was wrong? Whenever I've tried embedded rust I end up giving up because stuff just doesn't work. Even when following the original discovery embedded book there were tons of stuff that didn't work even when following instructions so... Deff an area where rust can improve in general.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.