+34
−1
+1
−5
Loading
The previous c/rust ffi functions were hardcoding the values of align
and erased_val before each run through static globals. This adds new sim
flash functions that get the align/erased_val from the sim flash device
that is being run on, allowing that later multiple flash devices can
each use its own params.
Signed-off-by:
Fabio Utzig <utzig@apache.org>
CRA Git | Maintained and supported by SUSTech CRA and CCSE