[riot-commits] [RIOT-OS/RIOT] 87cd18: cpu/esp32: use always newlib_syscalls_default

Kaspar Schleiser noreply at github.com
Mon Aug 19 17:27:21 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 87cd181f5620d63d4d8e2f072ec7109b6d82391e
      https://github.com/RIOT-OS/RIOT/commit/87cd181f5620d63d4d8e2f072ec7109b6d82391e
  Author: Gunar Schorcht <gunar at schorcht.net>
  Date:   2019-08-19 (Mon, 19 Aug 2019)

  Changed paths:
    M cpu/esp32/Makefile.include
    M cpu/esp32/startup.c
    M cpu/esp32/syscalls.c

  Log Message:
  -----------
  cpu/esp32: use always newlib_syscalls_default

Modules newlib and newlib_syscalls_default are now used by default. Conditional compilations for MODULE_NEWLIB_SYSCALLS_DEFAULT as well as alternative code are removed completely.


  Commit: bf331bd54b51d58a071e67fb1d9664c70b590fd4
      https://github.com/RIOT-OS/RIOT/commit/bf331bd54b51d58a071e67fb1d9664c70b590fd4
  Author: Gunar Schorcht <gunar at schorcht.net>
  Date:   2019-08-19 (Mon, 19 Aug 2019)

  Changed paths:
    M cpu/esp32/Makefile.include
    M cpu/esp32/include/syscalls.h
    M cpu/esp32/log_module.c
    M cpu/esp32/startup.c
    M cpu/esp32/syscalls.c
    M cpu/esp32/vendor/esp-idf/esp_funcs.c

  Log Message:
  -----------
  cpu/esp32: use printf/puts from newlib

Initializing the stdio file descriptors in global reent structure with newlib fake stdio file descriptors led to the problem that newlib stdio functions printf and puts were not working since they can't operate on these fake stdio file descriptors. Therefore, this initialization was removed. Now, the real stdio file descriptors as created automatically by newlib are used. Specific functions `printf`, `puts`, `getchar`and `putchar` are not required any longer and are removed now.


  Commit: 552e425b66373f1eb0948ca4f0c93a698646db7b
      https://github.com/RIOT-OS/RIOT/commit/552e425b66373f1eb0948ca4f0c93a698646db7b
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2019-08-19 (Mon, 19 Aug 2019)

  Changed paths:
    M cpu/esp32/Makefile.include
    M cpu/esp32/include/syscalls.h
    M cpu/esp32/log_module.c
    M cpu/esp32/startup.c
    M cpu/esp32/syscalls.c
    M cpu/esp32/vendor/esp-idf/esp_funcs.c

  Log Message:
  -----------
  Merge pull request #12029 from gschorcht/cpu/esp32/newlib_fix

cpu/esp32: fix newlib usage for stdio functions


Compare: https://github.com/RIOT-OS/RIOT/compare/f483988ae96b...552e425b6637


More information about the commits mailing list