[riot-notifications] [RIOT-OS/RIOT] stm32l1/vendor: update vendor files to v2.3.0 (#11489)

Alexandre Abadie notifications at github.com
Mon May 13 11:20:36 CEST 2019


I ran `python3 dist/tools/compile_and_test_for_board/compile_and_test_for_board.py --jobs 4 . nucleo-l152re` and there are problems with the ISR stack size apparently. A lot of tests are failing, for example with `test_usleep_short` I have the following:
```
python3 ./dist/tools/compile_and_test_for_board/compile_and_test_for_board.py . nucleo-l152re --jobs=4 --applications="tests/xtimer_usleep_short"
INFO:nucleo-l152re:Saving toolchain
INFO:nucleo-l152re.tests/xtimer_usleep_short:Board supported: True
INFO:nucleo-l152re.tests/xtimer_usleep_short:Board has enough memory: True
INFO:nucleo-l152re.tests/xtimer_usleep_short:Run compilation
INFO:nucleo-l152re.tests/xtimer_usleep_short:Run test
INFO:nucleo-l152re.tests/xtimer_usleep_short:Run test.flash
WARNING:nucleo-l152re.tests/xtimer_usleep_short:make RIOT_CI_BUILD=1 CC_NOCOLOR=1 --no-print-directory -C ./tests/xtimer_usleep_short test
/home/aabadie/softs/src/riot/RIOT/dist/tools/pyterm/pyterm -p "/dev/ttyACM0" -b "115200"
Twisted not available, please install it if you want to use pyterm's JSON capabilities
2019-05-13 11:16:18,988 - INFO # Connect to serial port /dev/ttyACM0
Welcome to pyterm!
Type '/exit' to exit.
2019-05-13 11:16:21,121 - INFO # 
2019-05-13 11:16:21,122 - INFO # Context before hardfault:
2019-05-13 11:16:21,127 - INFO #    r0: 0x00000001
2019-05-13 11:16:21,128 - INFO #    r1: 0x00000001
2019-05-13 11:16:21,128 - INFO #    r2: 0x08000401
2019-05-13 11:16:21,129 - INFO #    r3: 0x00000010
2019-05-13 11:16:21,133 - INFO #   r12: 0x00000000
2019-05-13 11:16:21,133 - INFO #    lr: 0x0800065f
2019-05-13 11:16:21,133 - INFO #    pc: 0x07822d5e
2019-05-13 11:16:21,139 - INFO #   psr: 0x61000000
2019-05-13 11:16:21,139 - INFO # 
2019-05-13 11:16:21,139 - INFO # FSR/FAR:
2019-05-13 11:16:21,139 - INFO #  CFSR: 0x00000100
2019-05-13 11:16:21,139 - INFO #  HFSR: 0x40000000
2019-05-13 11:16:21,140 - INFO #  DFSR: 0x00000008
2019-05-13 11:16:21,145 - INFO #  AFSR: 0x00000000
2019-05-13 11:16:21,151 - INFO # Misc
2019-05-13 11:16:21,151 - INFO # EXC_RET: 0xfffffffd
2019-05-13 11:16:21,152 - INFO # Attempting to reconstruct state for debugging...
2019-05-13 11:16:21,152 - INFO # In GDB:
2019-05-13 11:16:21,153 - INFO #   set $pc=0x7822d5e
2019-05-13 11:16:21,153 - INFO #   frame 0
2019-05-13 11:16:21,156 - INFO #   bt
2019-05-13 11:16:21,157 - INFO # 
2019-05-13 11:16:21,158 - INFO # ISR stack overflowed by at least 16 bytes.
2019-05-13 11:16:22,046 - INFO # �main(): This is RIOT! (Version: buildtest)
2019-05-13 11:16:25,044 - INFO # 
2019-05-13 11:16:25,051 - INFO # Context before hardfault:
2019-05-13 11:16:25,052 - INFO #    r0: 0x00000001
2019-05-13 11:16:25,057 - INFO #    r1: 0x00000001
2019-05-13 11:16:25,057 - INFO #    r2: 0x08000401
2019-05-13 11:16:25,058 - INFO #    r3: 0x00000010
2019-05-13 11:16:25,058 - INFO #   r12: 0x00000000
2019-05-13 11:16:25,059 - INFO #    lr: 0x0800065f
2019-05-13 11:16:25,063 - INFO #    pc: 0x07822d5e
2019-05-13 11:16:25,063 - INFO #   psr: 0x61000000
2019-05-13 11:16:25,063 - INFO # 
2019-05-13 11:16:25,064 - INFO # FSR/FAR:
2019-05-13 11:16:25,064 - INFO #  CFSR: 0x00000100
2019-05-13 11:16:25,068 - INFO #  HFSR: 0x40000000
2019-05-13 11:16:25,069 - INFO #  DFSR: 0x00000008
2019-05-13 11:16:25,069 - INFO #  AFSR: 0x00000000
2019-05-13 11:16:25,069 - INFO # Misc
2019-05-13 11:16:25,074 - INFO # EXC_RET: 0xfffffffd
2019-05-13 11:16:25,081 - INFO # Attempting to reconstruct state for debugging...
2019-05-13 11:16:25,081 - INFO # In GDB:
2019-05-13 11:16:25,082 - INFO #   set $pc=0x7822d5e
2019-05-13 11:16:25,082 - INFO #   frame 0
2019-05-13 11:16:25,082 - INFO #   bt
2019-05-13 11:16:25,082 - INFO # 
2019-05-13 11:16:25,086 - INFO # ISR stack overflowed by at least 16 bytes.
Timeout in expect script at "child.expect(u"This test will call xtimer_usleep for values from \\d+ down to \\d+\r\n")" (tests/xtimer_usleep_short/tests/01-run.py:15)

make: *** [/home/aabadie/softs/src/riot/RIOT/tests/xtimer_usleep_short/../../Makefile.include:576: test] Error 1

Return value: 2

ERROR:nucleo-l152re.tests/xtimer_usleep_short:Error during test, writing to results/nucleo-l152re/tests/xtimer_usleep_short/test.failed
ERROR:nucleo-l152re.tests/xtimer_usleep_short:Failed during: test
ERROR:nucleo-l152re:Tests failed: 1
Failures during test:
- [tests/xtimer_usleep_short](tests/xtimer_usleep_short/test.failed)
```

Here is the gdb output:
```
Remote debugging using :3333
hard_fault_handler (sp=0x0, corrupted=8, exc_return=11, r4_to_r11_stack=0xa)
    at /home/aabadie/softs/src/riot/RIOT/cpu/cortexm_common/vectors_cortexm.c:341
341	    __BKPT(1);
(gdb) set $pc=0x7822d5e
(gdb) frame 0
#0  0x07822d5e in ?? ()
(gdb) bt
#0  0x07822d5e in ?? ()
#1  0x0800065e in irq_restore (state=1) at /home/aabadie/softs/src/riot/RIOT/cpu/cortexm_common/irq_arch.c:50
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
```

-- 
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/11489#issuecomment-491745164
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190513/12508685/attachment.html>


More information about the notifications mailing list