1
0
Fork 0
forked from nuttx/nuttx-update
local-nuttx-update/arch
Michal Lenc 9fbb81e8a4 samv7: fix bytes to words calculation in user signature read
EEFC read sequence requires read length in words instead of bytes,
therefore bytes given by the user has to be recalculated to words.
The calculation however had a mistake in brackets and was just adding
1 to buflen instead of recalculating it to 4 byte words. This caused
global array g_page_buffer to overflow for some reads.

This fixes the calculation.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2024-12-02 19:47:43 +08:00
..
arm samv7: fix bytes to words calculation in user signature read 2024-12-02 19:47:43 +08:00
arm64 arm64: change some format 2024-11-30 03:15:54 +08:00
avr arch: remove up_current_regs in common code 2024-11-15 18:25:35 +08:00
ceva arch: remove up_current_regs in common code 2024-11-15 18:25:35 +08:00
dummy
hc arch: remove up_current_regs in common code 2024-11-15 18:25:35 +08:00
mips arch: remove up_current_regs in common code 2024-11-15 18:25:35 +08:00
misoc arch: remove up_current_regs in common code 2024-11-15 18:25:35 +08:00
or1k arch: remove up_current_regs in common code 2024-11-15 18:25:35 +08:00
renesas arch/renesas: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
risc-v risc-v: remove g_running_tasks[this_cpu()] = NULL 2024-12-02 17:41:16 +08:00
sim arch/sim: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
sparc arch/sparc: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
tricore arch/tricore: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
x86 arch/x86: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
x86_64 arch/x86_64: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
z16 arch/z16: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
z80 arch/z80: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
CMakeLists.txt arch/z80: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
Kconfig nuttx/arch: remove the custom board check in up_testset implementation 2024-11-28 15:06:57 +08:00