[Snek] [keith-packard/snek] c526fe: chips/samd21: Clean up 'objcopy' usage

Keith Packard noreply at github.com
Thu Oct 3 04:35:46 PDT 2019


  Branch: refs/heads/riscv
  Home:   https://github.com/keith-packard/snek
  Commit: c526fe7336e96e11ef906bd68727825ede394912
      https://github.com/keith-packard/snek/commit/c526fe7336e96e11ef906bd68727825ede394912
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-09-18 (Wed, 18 Sep 2019)

  Changed paths:
    M chips/samd21/snek-samd21.defs

  Log Message:
  -----------
  chips/samd21: Clean up 'objcopy' usage

Instead of explicitly listing sections to include in the bin file, just strip
out all symbol info. This leaves all initialized data and code.

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


  Commit: 9d4db5efa39e4bd1e5c30e2f1d6044a8ae429733
      https://github.com/keith-packard/snek/commit/9d4db5efa39e4bd1e5c30e2f1d6044a8ae429733
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-09-18 (Wed, 18 Sep 2019)

  Changed paths:
    M snek-input.c
    M snek-io.c

  Log Message:
  -----------
  Don't display snek prompt for input() on embedded targets

Make the prompt that snek-io displays conditional based on whether
it is being called from 'input'. There might be a cleaner way to manage
this, but that probably means doing the prompt from snek-lex, which gets
messy.

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


  Commit: 0a7fed99dad1ec8cbceed50ef2414b1ddec3cf96
      https://github.com/keith-packard/snek/commit/0a7fed99dad1ec8cbceed50ef2414b1ddec3cf96
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-09-26 (Thu, 26 Sep 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: 3a3565864d4cc3c692adca9cd1ac9f38b48b8232
      https://github.com/keith-packard/snek/commit/3a3565864d4cc3c692adca9cd1ac9f38b48b8232
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-09-29 (Sun, 29 Sep 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: 5b4f7352110d8ed6a99f765f35473089f4c45f6f
      https://github.com/keith-packard/snek/commit/5b4f7352110d8ed6a99f765f35473089f4c45f6f
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-10-03 (Thu, 03 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>


Compare: https://github.com/keith-packard/snek/compare/c526fe7336e9%5E...5b4f7352110d


More information about the Snek mailing list