[Snek] [keith-packard/snek] f880e5: chips/atmega: Strip out ^S/^Q from output to seria...

Keith Packard noreply at github.com
Tue Nov 12 23:05:04 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/keith-packard/snek
  Commit: f880e57fe686e9b292c99e7f8aa35e67f1c22aaf
      https://github.com/keith-packard/snek/commit/f880e57fe686e9b292c99e7f8aa35e67f1c22aaf
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-11-12 (Tue, 12 Nov 2019)

  Changed paths:
    M chips/atmega/snek-atmega-serial.c

  Log Message:
  -----------
  chips/atmega: Strip out ^S/^Q from output to serial port

Keep these from confusing the xon/xoff logic in the receiver

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


  Commit: 06a895e8279f0709724e5c099a9c8d15a0b7640b
      https://github.com/keith-packard/snek/commit/06a895e8279f0709724e5c099a9c8d15a0b7640b
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-11-12 (Tue, 12 Nov 2019)

  Changed paths:
    M ports/mega/snek-mega.c

  Log Message:
  -----------
  ports/mega: Don't smash 'power' while clearning 'pull_pins'

Using the wrong size in the pull_pins memset left most of the power
array cleared.

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


  Commit: bc1c9000dd0f01c46cf71d18dde2cc4f752b49d8
      https://github.com/keith-packard/snek/commit/bc1c9000dd0f01c46cf71d18dde2cc4f752b49d8
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-11-12 (Tue, 12 Nov 2019)

  Changed paths:
    M chips/atmega/snek-atmega-serial.c
    M ports/mega/snek-mega.builtin

  Log Message:
  -----------
  ports/mega: Run Arduino Mega 2560 serial at 38400

This triggers our custom serial driver to enable XON/XOFF flow
control so that communication with the board is reliable.

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


  Commit: 3d706e95f685b268630c178df9cd91ac8d343c5c
      https://github.com/keith-packard/snek/commit/3d706e95f685b268630c178df9cd91ac8d343c5c
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-11-12 (Tue, 12 Nov 2019)

  Changed paths:
    M snekde/snekde.py

  Log Message:
  -----------
  snekde: Talk to Arduino Mega devices at 38400 baud

This is the speed used by these boards as they trigger
XON/XOFF flow control when run at this speed.

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


Compare: https://github.com/keith-packard/snek/compare/8c9f40114310...3d706e95f685


More information about the Snek mailing list