[riot-notifications] [RIOT-OS/RIOT] cpu/esp_common: fix boot issue on ESP8266 [backport 2021.07] (#16642)

Marian Buschsieweke notifications at github.com
Wed Jul 14 10:22:17 CEST 2021


# Backport of #16639

### Contribution description

This fixes an issue that prevents ESP8266 from booting.

### Testing procedure

```
make BOARD=esp8266-esp-12x flash test BUILD_IN_DOCKER=1 -C tests/malloc_thread_safety
[...]
Type '/exit' to exit.
READY
s
START
main(): This is RIOT! (Version: 2021.10-devel-139-ga53e1)
Test Application for multithreaded use of malloc()
==================================================

This test will run duelling threads allocating and freeing memory.
The running thread is interrupted every millisecond and the other
threads gets scheduled. Eventually, this should yield to memory
corruption unless proper guards are in place preventing them. After
ca. two seconds without crash, the test is considered as passing.

Testing: malloc()/free()
Testing: realloc()/free()
TEST PASSED
```

### Issues/PRs references

Bug introduced in https://github.com/RIOT-OS/RIOT/pull/16443 alternative to https://github.com/RIOT-OS/RIOT/pull/16638
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/16642

-- Commit Summary --

  * cpu/esp_common: fix bootloop on ESP8266

-- File Changes --

    M cpu/esp_common/Makefile.include (2)
    M cpu/esp_common/syscalls.c (4)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/16642.patch
https://github.com/RIOT-OS/RIOT/pull/16642.diff

-- 
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/16642
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210714/f2ef7c16/attachment-0001.htm>


More information about the notifications mailing list