[Snek] [keith-packard/snek] 043e0b: chips/samd21: Use picolibc instead of newlib-nano

Keith Packard noreply at github.com
Tue Oct 22 16:59:27 PDT 2019


  Branch: refs/heads/riscv
  Home:   https://github.com/keith-packard/snek
  Commit: 043e0b2b76104f529d731921b29fa22b6ba45977
      https://github.com/keith-packard/snek/commit/043e0b2b76104f529d731921b29fa22b6ba45977
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-10-22 (Tue, 22 Oct 2019)

  Changed paths:
    M chips/samd21/ao-interrupt.c
    M chips/samd21/ao-snek.c
    M chips/samd21/snek-samd21.defs
    M chips/samd21/snek-samd21.ld
    M ports/snekboard/Makefile
    M snek-math.c

  Log Message:
  -----------
  chips/samd21: Use picolibc instead of newlib-nano

Change which C library snek uses on this arm platform. This uses the
picolibc startup code so that any library-specific initialization can
be done.

Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: 8687791ccb372d5eff9cee2474e55e203464b12d
      https://github.com/keith-packard/snek/commit/8687791ccb372d5eff9cee2474e55e203464b12d
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-10-22 (Tue, 22 Oct 2019)

  Changed paths:
    M snek.defs

  Log Message:
  -----------
  Allow source files to be assembly as well as C

Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: f9305d685cb246235d87d5e93ef0a4a7f46948ed
      https://github.com/keith-packard/snek/commit/f9305d685cb246235d87d5e93ef0a4a7f46948ed
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-10-22 (Tue, 22 Oct 2019)

  Changed paths:
    A chips/fe310/fe310.h
    A chips/fe310/snek-fe310.defs
    A chips/fe310/snek-metal.c
    A chips/fe310/snek-metal.h
    A ports/qemu-sifive-e31/Makefile
    A ports/qemu-sifive-e31/e31.ld
    A ports/qemu-sifive-e31/inline.c
    A ports/qemu-sifive-e31/metal-inline.h
    A ports/qemu-sifive-e31/metal-platform.h
    A ports/qemu-sifive-e31/metal.h
    A ports/qemu-sifive-e31/metal/machine.h
    A ports/qemu-sifive-e31/metal/machine/inline.h
    A ports/qemu-sifive-e31/metal/machine/platform.h
    A ports/qemu-sifive-e31/qemu.cfg
    A ports/qemu-sifive-e31/run-riscv
    A ports/qemu-sifive-e31/snek-e31.builtin

  Log Message:
  -----------
  Add port to RISCV-V qemu-sifive-e31 target

This target runs under qemu to test running Snek on RISC-V

Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: 28a463948d3290aaf875c73295520ba2986c324c
      https://github.com/keith-packard/snek/commit/28a463948d3290aaf875c73295520ba2986c324c
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-10-22 (Tue, 22 Oct 2019)

  Changed paths:
    M chips/fe310/snek-fe310.defs
    M chips/fe310/snek-metal.c
    M ports/qemu-sifive-e31/Makefile
    R ports/qemu-sifive-e31/inline.c
    R ports/qemu-sifive-e31/metal-inline.h
    R ports/qemu-sifive-e31/metal-platform.h
    R ports/qemu-sifive-e31/metal.h
    R ports/qemu-sifive-e31/metal/machine.h
    R ports/qemu-sifive-e31/metal/machine/inline.h
    R ports/qemu-sifive-e31/metal/machine/platform.h
    M ports/qemu-sifive-e31/run-riscv
    M ports/qemu-sifive-e31/snek-e31.builtin

  Log Message:
  -----------
  save riscv bits


  Commit: 4af6e971244ad430212d0d7f594996fbf743ed0f
      https://github.com/keith-packard/snek/commit/4af6e971244ad430212d0d7f594996fbf743ed0f
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-10-22 (Tue, 22 Oct 2019)

  Changed paths:
    M chips/samd21/ao-interrupt.c

  Log Message:
  -----------
  chips/samd21: Adjust interrupt_vector to live in the .init section

Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: 4718a2f0c0da284fa7fbcff1746f24d1b84182cf
      https://github.com/keith-packard/snek/commit/4718a2f0c0da284fa7fbcff1746f24d1b84182cf
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-10-22 (Tue, 22 Oct 2019)

  Changed paths:
    A chips/qemu/snek-qemu.builtin
    A chips/qemu/snek-qemu.c
    A chips/qemu/snek-qemu.defs
    A chips/qemu/snek-qemu.h
    A ports/qemu-arm/Makefile
    A ports/qemu-arm/run-arm
    A ports/qemu-arm/snek-qemu-arm.ld
    A ports/qemu-riscv/Makefile
    A ports/qemu-riscv/run-riscv
    A ports/qemu-riscv/snek-qemu-riscv.ld
    M snek-install.defs

  Log Message:
  -----------
  ports: Add snek-qemu-riscv and snek-qemu-arm ports

These configure snek to run on riscv and arm chips, but through qemu
using semihosting for console I/O.

Signed-off-by: Keith Packard <keithp at keithp.com>


Compare: https://github.com/keith-packard/snek/compare/5b4f7352110d...4718a2f0c0da


More information about the Snek mailing list