[Snek] [keith-packard/snek] b7427b: snekde: Support 57600 and 115200 baud

Keith Packard noreply at github.com
Sat Feb 12 10:54:46 PST 2022


  Branch: refs/heads/lilypad
  Home:   https://github.com/keith-packard/snek
  Commit: b7427b871fd7f71077b69e80df09d776c49dfda4
      https://github.com/keith-packard/snek/commit/b7427b871fd7f71077b69e80df09d776c49dfda4
  Author: Keith Packard <keithp at keithp.com>
  Date:   2022-02-12 (Sat, 12 Feb 2022)

  Changed paths:
    M snekde/snekde.py

  Log Message:
  -----------
  snekde: Support 57600 and 115200 baud

8MHz atmega devices cannot use 115200 baud because the clock
resolution isn't fine enough to get a close match in bit rate. So,
those devices will run at 57600 baud instead. Support this by adding a
baud rate selection key (F8) which switches between 115200 and 57600
baud. Display this in the status bar along with the device name.

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


  Commit: 182236ed0f6e5a54db1671370d248a39c9f65453
      https://github.com/keith-packard/snek/commit/182236ed0f6e5a54db1671370d248a39c9f65453
  Author: Keith Packard <keithp at keithp.com>
  Date:   2022-02-12 (Sat, 12 Feb 2022)

  Changed paths:
    M ports/duemilanove/Makefile
    M ports/duemilanove/snek-duemilanove-install.in
    A ports/lilypad/Makefile
    M ports/uno/Makefile
    M snek-install.defs

  Log Message:
  -----------
  Add port to standard LilyPad

This is an ATMega 328P running at 8MHz because of the 3.3V power supply.

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


Compare: https://github.com/keith-packard/snek/compare/cc12e1c0a538...182236ed0f6e


More information about the Snek mailing list