Skip to content
Commit 0e1ffc7b authored by Fabrice DJIATSA's avatar Fabrice DJIATSA Committed by Benjamin Cabé
Browse files

samples: code_relocation_nocopy: update macro to get flash size



The flash size is the second part (size) of the first reg value,

not the first part (address) of a nonexistent second reg value.

DT_REG_SIZE get a node's (only) register block size instead
DT_REG_ADDR_BY_IDX .

Signed-off-by: default avatarFabrice DJIATSA <fabrice.djiatsa-ext@st.com>
parent c77587a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment