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

Keith Packard noreply at github.com
Wed May 1 11:33:28 PDT 2019


  Branch: refs/heads/master
  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: 47348f113efbb05591117fd377c31fbd29373ae2
      https://github.com/keith-packard/snek/commit/47348f113efbb05591117fd377c31fbd29373ae2
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-05-01 (Wed, 01 May 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: Add support for Arduino Mega

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

PWM on pins D2-D13 and D44-D46, just like Arduino.

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


Compare: https://github.com/keith-packard/snek/compare/6f8d89851bc7...47348f113efb


More information about the Snek mailing list