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

Keith Packard noreply at github.com
Sat Feb 12 10:47:01 PST 2022


  Branch: refs/heads/lilypad
  Home:   https://github.com/keith-packard/snek
  Commit: 5789770ff389095c61f1d66dba999d5d698091b0
      https://github.com/keith-packard/snek/commit/5789770ff389095c61f1d66dba999d5d698091b0
  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: cc12e1c0a538e2dcf20c296fc2e1dd3e08d45361
      https://github.com/keith-packard/snek/commit/cc12e1c0a538e2dcf20c296fc2e1dd3e08d45361
  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/5789770ff389%5E...cc12e1c0a538


More information about the Snek mailing list