[Snek] [keith-packard/snek] 9365f5: atmega: Add support for ATmega2560 serial port

Keith Packard noreply at github.com
Tue Apr 30 23:53:15 PDT 2019


  Branch: refs/heads/snek-mega
  Home:   https://github.com/keith-packard/snek
  Commit: 9365f595ae7c747e6931b5b0516ec73b0f56d46a
      https://github.com/keith-packard/snek/commit/9365f595ae7c747e6931b5b0516ec73b0f56d46a
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-04-30 (Tue, 30 Apr 2019)

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

  Log Message:
  -----------
  atmega: Add support for ATmega2560 serial port

This port has different names for the registers than the ATmega328P

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


  Commit: 454dd8cc015324ca9a1bcf2b2bcfeebe812f069d
      https://github.com/keith-packard/snek/commit/454dd8cc015324ca9a1bcf2b2bcfeebe812f069d
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-04-30 (Tue, 30 Apr 2019)

  Changed paths:
    M snek-install.defs
    A snek-mega/.gitignore
    A snek-mega/Makefile
    A snek-mega/snek-mega-install.1
    A snek-mega/snek-mega-install.in
    A snek-mega/snek-mega-math.builtin
    A snek-mega/snek-mega-math.c
    A snek-mega/snek-mega.builtin
    A snek-mega/snek-mega.c
    M windows/snek.cfg.in

  Log Message:
  -----------
  snek-mega: Start adding support for Arduino Mega

This has an ATmega2560 SoC and a lot of pins, plus way more
memory than a stock Arduino.

PWM outputs are not working yet, otherwise this is pretty complete.

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


Compare: https://github.com/keith-packard/snek/compare/9365f595ae7c%5E...454dd8cc0153


More information about the Snek mailing list