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

Keith Packard noreply at github.com
Thu Oct 3 06:06:32 PDT 2019


  Branch: refs/heads/master
  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>


Compare: https://github.com/keith-packard/snek/compare/3ab75cacc267...9d4db5efa39e


More information about the Snek mailing list