nuttx-update/arch/arm
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
..
include arm/isr: move up_set_interrupt_context() to chip define 2024-11-29 18:37:08 +08:00
src samv7: fix bytes to words calculation in user signature read 2024-12-02 19:47:43 +08:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig nuttx/arch: remove the custom board check in up_testset implementation 2024-11-28 15:06:57 +08:00