[riot-commits] [RIOT-OS/RIOT] 14ec52: cpu/mips: Integrate better with RIOT newlib layer

Joakim Nohlgård joakim.nohlgard at eistec.se
Thu Jul 20 00:27:53 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 14ec5237a147a66bae82a3f3847689216e7420fb
      https://github.com/RIOT-OS/RIOT/commit/14ec5237a147a66bae82a3f3847689216e7420fb
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2017-06-02 (Fri, 02 Jun 2017)

  Changed paths:
    M cpu/mips32r2_common/Makefile
    M cpu/mips32r2_common/Makefile.include
    M cpu/mips32r2_common/cpu.c
    A cpu/mips32r2_common/newlib_syscalls_mips_uhi/Makefile
    A cpu/mips32r2_common/newlib_syscalls_mips_uhi/syscalls.c
    M cpu/mips_pic32mx/Makefile.include
    M cpu/mips_pic32mz/Makefile.include
    M makefiles/arch/mips.inc.mk

  Log Message:
  -----------
  cpu/mips: Integrate better with RIOT newlib layer

 - Copied the relevant parts of mipshal.mk from the toolchain
 - Cleaned up CFLAGS and more in Makefile.include
 - Added empty syscalls implementation which can be used to interface
   with the UHI system
 - Added a note on why -std=gnu99 is necessary for this CPU presently


  Commit: b59a9cb66712e22d1e63b78ae83e28c0e9b1c5bf
      https://github.com/RIOT-OS/RIOT/commit/b59a9cb66712e22d1e63b78ae83e28c0e9b1c5bf
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2017-06-02 (Fri, 02 Jun 2017)

  Changed paths:
    M makefiles/arch/mips.inc.mk

  Log Message:
  -----------
  cpu/mips32r2_common: Use GCC for assembler files if TOOLCHAIN=llvm

Some headers in the tool chain cause compilation errors with Clang in
assembly mode.


  Commit: 91d930c5749107af7406c0fecefc88fe343cbcd1
      https://github.com/RIOT-OS/RIOT/commit/91d930c5749107af7406c0fecefc88fe343cbcd1
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2017-06-02 (Fri, 02 Jun 2017)

  Changed paths:
    M cpu/mips32r2_common/thread_arch.c
    M makefiles/arch/mips.inc.mk
    M sys/posix/include/fcntl.h
    M sys/posix/include/sys/statvfs.h

  Log Message:
  -----------
  cpu/mips32r2_common: ifdef __attribute__((optimize))

Causes compilation error on Clang


  Commit: 9d736dc4eb03f61265916917ba11af9a06d298f2
      https://github.com/RIOT-OS/RIOT/commit/9d736dc4eb03f61265916917ba11af9a06d298f2
  Author: Neil Jones <neil.jones at imgtec.com>
  Date:   2017-06-28 (Wed, 28 Jun 2017)

  Changed paths:
    M cpu/mips32r2_common/Makefile.include
    M cpu/mips32r2_common/newlib_syscalls_mips_uhi/syscalls.c

  Log Message:
  -----------
  cpu/mips32r2: Add UHI sycalls implementation.


  Commit: 6c54360baeae295d4893ae407eb871406a4c2be2
      https://github.com/RIOT-OS/RIOT/commit/6c54360baeae295d4893ae407eb871406a4c2be2
  Author: Neil Jones <neil.jones at imgtec.com>
  Date:   2017-06-28 (Wed, 28 Jun 2017)

  Changed paths:
    M makefiles/arch/mips.inc.mk
    M makefiles/libc/newlib.mk

  Log Message:
  -----------
  makefiles: Don't link libnosys for mips and put back -fdata-sections


  Commit: 7b824fe7fef2c458dd499c76284f0777d3340151
      https://github.com/RIOT-OS/RIOT/commit/7b824fe7fef2c458dd499c76284f0777d3340151
  Author: Neil Jones <neil.jones at imgtec.com>
  Date:   2017-06-28 (Wed, 28 Jun 2017)

  Changed paths:
    M sys/newlib_syscalls_default/syscalls.c

  Log Message:
  -----------
  sys/newlib: Allow building default syscall implementation for mips

We can either use the UHI syscall implementation or the RIOT default
one (targeted at VFS, uart-stdio will be added once uart rx is added
to pic32).


  Commit: af70c0844c5622aef2fd89b75f5ed96adfda47d0
      https://github.com/RIOT-OS/RIOT/commit/af70c0844c5622aef2fd89b75f5ed96adfda47d0
  Author: Neil Jones <neil.jones at imgtec.com>
  Date:   2017-06-28 (Wed, 28 Jun 2017)

  Changed paths:
    M boards/mips-malta/Makefile.include
    M boards/mips-malta/include/periph_conf.h
    M boards/pic32-clicker/Makefile.include
    M boards/pic32-wifire/Makefile.include
    M cpu/mips32r2_common/Makefile.include
    M cpu/mips32r2_common/newlib_syscalls_mips_uhi/syscalls.c
    M cpu/mips_pic32mx/Makefile.include
    M cpu/mips_pic32mz/Makefile.include
    M makefiles/arch/mips.inc.mk

  Log Message:
  -----------
  mips: Clean-up makefiles


  Commit: 54eb49af4d87e6fb4657297aa41b5ac978b8f442
      https://github.com/RIOT-OS/RIOT/commit/54eb49af4d87e6fb4657297aa41b5ac978b8f442
  Author: Neil Jones <neil.jones at imgtec.com>
  Date:   2017-07-17 (Mon, 17 Jul 2017)

  Changed paths:
    M cpu/mips32r2_common/newlib_syscalls_mips_uhi/syscalls.c

  Log Message:
  -----------
  mips: syscalls: supress ccpcheck error


  Commit: da4f2f6e6e95b380fd64ba30339c491b42ef5435
      https://github.com/RIOT-OS/RIOT/commit/da4f2f6e6e95b380fd64ba30339c491b42ef5435
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2017-07-20 (Thu, 20 Jul 2017)

  Changed paths:
    M boards/mips-malta/Makefile.include
    M boards/mips-malta/include/periph_conf.h
    M boards/pic32-clicker/Makefile.include
    M boards/pic32-wifire/Makefile.include
    M cpu/mips32r2_common/Makefile
    M cpu/mips32r2_common/Makefile.include
    M cpu/mips32r2_common/cpu.c
    A cpu/mips32r2_common/newlib_syscalls_mips_uhi/Makefile
    A cpu/mips32r2_common/newlib_syscalls_mips_uhi/syscalls.c
    M cpu/mips32r2_common/thread_arch.c
    M cpu/mips_pic32mx/Makefile.include
    M cpu/mips_pic32mz/Makefile.include
    M makefiles/arch/mips.inc.mk
    M makefiles/libc/newlib.mk
    M sys/newlib_syscalls_default/syscalls.c
    M sys/posix/include/fcntl.h
    M sys/posix/include/sys/statvfs.h

  Log Message:
  -----------
  Merge pull request #6892 from neiljay/pr/mips-newlib-v2

cpu/mips: Integrate better with RIOT newlib layer (v2)


Compare: https://github.com/RIOT-OS/RIOT/compare/ab9b0fd48ba6...da4f2f6e6e95


More information about the commits mailing list