commit | 0e1ffc7bebb80d55ed5cd4b4cc22c221a2c36298 | [log] [tgz] |
---|---|---|
author | Fabrice DJIATSA <fabrice.djiatsa-ext@st.com> | Fri Mar 21 11:36:52 2025 +0100 |
committer | Benjamin Cabé <kartben@gmail.com> | Tue Mar 25 22:15:07 2025 +0100 |
tree | b8994ede4498515f8179d24fb5fdfc4c9aa7e59f | |
parent | c77587a76b69772d0882e4de314583f5b33d6f85 [diff] |
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: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>