Open
Description
Description
It seems that periph_flashpage
does not work for stm32l475ve
based on tests results in #17259.
Steps to reproduce the issue
Run tests/periph_flashpage
and tests/mtd_flashpage
, both should pass.
Expected results
Passing.
Actual results
INFO:alientek-pandora.tests/periph_flashpage:Board supported: True
INFO:alientek-pandora.tests/periph_flashpage:Board has enough memory: True
INFO:alientek-pandora.tests/periph_flashpage:Application has test: True
INFO:alientek-pandora.tests/periph_flashpage:Run compilation
INFO:alientek-pandora.tests/periph_flashpage:Run test
INFO:alientek-pandora.tests/periph_flashpage:Run test.flash
WARNING:alientek-pandora.tests/periph_flashpage:make RIOT_CI_BUILD=1 CC_NOCOLOR=1 --no-print-directory -C ./tests/periph_flashpage test
/home/luojia/RIOT/dist/tools/pyterm/pyterm -p "/dev/ttyACM0" -b "115200" --no-reconnect --noprefix --no-repeat-command-on-empty-line
Connect to serial port /dev/ttyACM0
Welcome to pyterm!
Type '/exit' to exit.
on: buildtest)
ROM flash read write test
Please refer to the README.md for further information
Flash start addr: 0x08000000
Page size: 2048
Number of pages
>
> test_last_raw
> test_last_raw
error verifying the content of last page
> Timeout in expect script at "child.expect_exact('wrote raw short buffer to last flash page')" (tests/periph_flashpage/tests/01-run.py:20)
make: *** [/home/luojia/RIOT/makefiles/tests/tests.inc.mk:22: test] Error 1
Return value: 2
INFO:alientek-pandora.tests/mtd_flashpage:Board supported: True
INFO:alientek-pandora.tests/mtd_flashpage:Board has enough memory: True
INFO:alientek-pandora.tests/mtd_flashpage:Application has test: True
INFO:alientek-pandora.tests/mtd_flashpage:Run compilation
INFO:alientek-pandora.tests/mtd_flashpage:Run test
INFO:alientek-pandora.tests/mtd_flashpage:Run test.flash
WARNING:alientek-pandora.tests/mtd_flashpage:make RIOT_CI_BUILD=1 CC_NOCOLOR=1 --no-print-directory -C ./tests/mtd_flashpage test
r
/home/luojia/RIOT/dist/tools/pyterm/pyterm -p "/dev/ttyACM0" -b "115200" --no-reconnect --noprefix --no-repeat-command-on-empty-line
Connect to serial port /dev/ttyACM0
Welcome to pyterm!
Type '/exit' to exit.
t test, r to print it is ready
Help: Press s to start test, r to print it is ready
READY
s
START
main(): This is RIOT! (Version: buildtest)
...
mtd_flashpage_tests.test_mtd_write_erase (tests/mtd_flashpage/main.c 109) exp 0 was 255
.
mtd_flashpage_tests.test_mtd_write_read (tests/mtd_flashpage/main.c 131) exp 0 was 65
run 4 failures 2
Timeout in expect script at "child.expect(r'OK \((\d+) tests\)', timeout=timeout)" (dist/pythonlibs/testrunner/__init__.py:57)
make: *** [/home/luojia/RIOT/makefiles/tests/tests.inc.mk:22: test] Error 1
Return value: 2
ERROR:alientek-pandora.tests/mtd_flashpage:Error during test, writing to results/alientek-pandora/tests/mtd_flashpage/test.failed
ERROR:alientek-pandora.tests/mtd_flashpage:Failed during: test
Versions
RIOT de32f3a