[riot-notifications] [RIOT-OS/RIOT] cpu/stm32l1: fix issue when writing NULL bytes to eeprom (#11314)

Francisco Acosta notifications at github.com
Thu Apr 18 15:14:49 CEST 2019


I just ran it on a lobaro-lorabox and works properly on master:

```console
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
facosta at meryl:~/git/RIOT-OS/RIOT$ BOARD=lobaro-lorabox make -C tests/periph_eeprom/ flash test
make: Entering directory '/home/facosta/git/RIOT-OS/RIOT/tests/periph_eeprom'
Building application "tests_periph_eeprom" for "lobaro-lorabox" with MCU "stm32l1".

"make" -C /home/facosta/git/RIOT-OS/RIOT/boards/lobaro-lorabox
"make" -C /home/facosta/git/RIOT-OS/RIOT/core
"make" -C /home/facosta/git/RIOT-OS/RIOT/cpu/stm32l1
"make" -C /home/facosta/git/RIOT-OS/RIOT/cpu/cortexm_common
"make" -C /home/facosta/git/RIOT-OS/RIOT/cpu/cortexm_common/periph
"make" -C /home/facosta/git/RIOT-OS/RIOT/cpu/stm32_common
"make" -C /home/facosta/git/RIOT-OS/RIOT/cpu/stm32_common/periph
"make" -C /home/facosta/git/RIOT-OS/RIOT/cpu/stm32l1/periph
"make" -C /home/facosta/git/RIOT-OS/RIOT/drivers
"make" -C /home/facosta/git/RIOT-OS/RIOT/drivers/periph_common
"make" -C /home/facosta/git/RIOT-OS/RIOT/sys
"make" -C /home/facosta/git/RIOT-OS/RIOT/sys/auto_init
"make" -C /home/facosta/git/RIOT-OS/RIOT/sys/isrpipe
"make" -C /home/facosta/git/RIOT-OS/RIOT/sys/newlib_syscalls_default
"make" -C /home/facosta/git/RIOT-OS/RIOT/sys/pm_layered
"make" -C /home/facosta/git/RIOT-OS/RIOT/sys/shell
"make" -C /home/facosta/git/RIOT-OS/RIOT/sys/shell/commands
"make" -C /home/facosta/git/RIOT-OS/RIOT/sys/stdio_uart
"make" -C /home/facosta/git/RIOT-OS/RIOT/sys/tsrb
   text	   data	    bss	    dec	    hex	filename
  13300	    140	   2676	  16116	   3ef4	/home/facosta/git/RIOT-OS/RIOT/tests/periph_eeprom/bin/lobaro-lorabox/tests_periph_eeprom.elf
/home/facosta/git/RIOT-OS/RIOT/dist/tools/stm32loader/stm32loader.py -p /dev/ttyUSB0 -e -u -S -l 0x1ff -w /home/facosta/git/RIOT-OS/RIOT/tests/periph_eeprom/bin/lobaro-lorabox/tests_periph_eeprom.bin
Bootloader version 0x31
Chip id 0x429, STM32L1
Writing binary
test
/home/facosta/git/RIOT-OS/RIOT/dist/tools/pyterm/pyterm -p "/dev/ttyUSB0" -b "115200" --set-rts 0
Twisted not available, please install it if you want to use pyterm's JSON capabilities
2019-04-18 15:11:59,948 - INFO # Connect to serial port /dev/ttyUSB0
Welcome to pyterm!
Type '/exit' to exit.
2019-04-18 15:12:00,955 - INFO # �main(): This is RIOT! (Version: 2019.04-devel-930-g98ed4)
2019-04-18 15:12:00,956 - INFO # EEPROM read write test
2019-04-18 15:12:00,956 - INFO # 
2019-04-18 15:12:00,958 - INFO # Please refer to the README.md for more details
2019-04-18 15:12:00,958 - INFO # 
2019-04-18 15:12:00,959 - INFO # EEPROM start addr:	0x08080000
2019-04-18 15:12:00,960 - INFO # EEPROM size:		4096
> 2019-04-18 15:12:02,892 - INFO #  test
2019-04-18 15:12:03,060 - INFO # SUCCESS

make: Leaving directory '/home/facosta/git/RIOT-OS/RIOT/tests/periph_eeprom'
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11314#issuecomment-484502575
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190418/e1cfd3f0/attachment.html>


More information about the notifications mailing list