Open cracksalad opened 3 months ago
Yep, that's exactly what it is. The examples are general, while this lib supports many STM32 variants. So, you'll have to modify the peripherals used as required based on which you have, and which are wired up.
@David-OConnor thanks for confirming! Do you have any documentation about how to configure this?
@David-OConnor is it as easy as adding a not(feature = "h7b3")
to those snippets:
Nice!
I am new to Rust for STM32, so please excuse any stupid mistakes.
When I cloned the quickstart and configured it, the following errors show up during compilation:
Refering to the device coverage of stm32-rs there is no
ADC3
,SAI3
andSAI4
.My quickstart config looks like this:
hal = { package = "stm32-hal2", version = "^1.6.4", features = ["h7b3", "h7rt"]}
runner = "probe-rs run --chip git STM32H7A3ZITxQ"
andtarget = "thumbv7em-none-eabihf"
FLASH : ORIGIN = 0x08000000, LENGTH = 1953K
andRAM : ORIGIN = 0x20000000, LENGTH = 1367K
(really not sure if this is correct, but should not be the problem here)There seems to be a mismatch between the target chip and the code somehow. Any hints?