[Snek] [keith-packard/snek] e57069: snek-duino: Add optional argument to eeprom.show t...

Keith Packard noreply at github.com
Mon Feb 11 20:11:23 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/keith-packard/snek
  Commit: e5706925603e4c8e3a96144f56f5a5bd1ce99b9c
      https://github.com/keith-packard/snek/commit/e5706925603e4c8e3a96144f56f5a5bd1ce99b9c
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-02-11 (Mon, 11 Feb 2019)

  Changed paths:
    M snek-duino/snek-duino-eeprom.c
    M snek-duino/snek-duino.builtin

  Log Message:
  -----------
  snek-duino: Add optional argument to eeprom.show to go into 'hosted' mode

In this special mode, the eeprom contents start with ^B and end with
^C so that the hosting code can easily identify eeprom contents in the
serial stream

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


  Commit: 9c59f5b38c34df7e0bc30171a9d169adf08411b6
      https://github.com/keith-packard/snek/commit/9c59f5b38c34df7e0bc30171a9d169adf08411b6
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-02-11 (Mon, 11 Feb 2019)

  Changed paths:
    M snek-duino/snek-duino-serial.c

  Log Message:
  -----------
  snek-duino: Add 'raw' mode to serial driver

In this mode, input is not echoed back to the host. Right now, it's
actually just disabling echo and not performing per-character reads,
but that was a lot smaller than doing a full raw mode. At least for now.

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


  Commit: 383621ff89097743654014a747c20dfc472f62f4
      https://github.com/keith-packard/snek/commit/383621ff89097743654014a747c20dfc472f62f4
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-02-11 (Mon, 11 Feb 2019)

  Changed paths:
    M snek-duino/snek-duino.c

  Log Message:
  -----------
  snek-duino: Bounds check setpower values. Fix off() to only turn off one pin

The off() function was using the wrong mask to turn off the pin.

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


  Commit: 715a37dfda0d807eda34c05764401159bc43d037
      https://github.com/keith-packard/snek/commit/715a37dfda0d807eda34c05764401159bc43d037
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-02-11 (Mon, 11 Feb 2019)

  Changed paths:
    A snekde/snekde.py

  Log Message:
  -----------
  snekde: Start creating host-side curses-based helper application

This is a python app designed to edit programs stored on snek devices
and interact with the REPL. It offers to panes in a terminal window,
one for editing code and the other for interacting with the device,
and it can read and write the contents of the eeprom on the target.

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


Compare: https://github.com/keith-packard/snek/compare/95d61b51d9c4...715a37dfda0d


More information about the Snek mailing list