[Snek] [keith-packard/snek] d4c338: chips/atmega: Move atmega code from duemilanove an...

Keith Packard noreply at github.com
Sun Jul 28 19:55:35 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/keith-packard/snek
  Commit: d4c33869db6668463ec5cbdae5b24134dd35c8b4
      https://github.com/keith-packard/snek/commit/d4c33869db6668463ec5cbdae5b24134dd35c8b4
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-07-28 (Sun, 28 Jul 2019)

  Changed paths:
    A chips/atmega/ef_acosh.c
    A chips/atmega/ef_atanh.c
    A chips/atmega/ef_remainder.c
    A chips/atmega/erf_gamma.c
    A chips/atmega/erf_lgamma.c
    A chips/atmega/exp2.c
    A chips/atmega/fdlibm.h
    A chips/atmega/kf_cos.c
    A chips/atmega/kf_sin.c
    A chips/atmega/math_config.h
    A chips/atmega/sf_asinh.c
    A chips/atmega/sf_erf.c
    A chips/atmega/sf_exp.c
    A chips/atmega/sf_exp2.c
    A chips/atmega/sf_log1p.c
    A chips/atmega/sf_log2.c
    A chips/atmega/sf_log2_data.c
    M chips/atmega/snek-atmega-eeprom.c
    A chips/atmega/snek-atmega-math.c
    A chips/atmega/snek-atmega-math.h
    A chips/atmega/snek-atmega.builtin
    A chips/atmega/snek-atmega.defs
    A chips/atmega/wf_tgamma.c
    M ports/duemilanove/Makefile
    M ports/duemilanove/snek-duemilanove.builtin
    M ports/mega/Makefile
    R ports/mega/ef_acosh.c
    R ports/mega/ef_atanh.c
    R ports/mega/ef_remainder.c
    R ports/mega/erf_gamma.c
    R ports/mega/erf_lgamma.c
    R ports/mega/exp2.c
    R ports/mega/fdlibm.h
    R ports/mega/kf_cos.c
    R ports/mega/kf_sin.c
    R ports/mega/math_config.h
    R ports/mega/sf_asinh.c
    R ports/mega/sf_erf.c
    R ports/mega/sf_exp.c
    R ports/mega/sf_exp2.c
    R ports/mega/sf_log1p.c
    R ports/mega/sf_log2.c
    R ports/mega/sf_log2_data.c
    R ports/mega/snek-mega-math.c
    R ports/mega/snek-mega-math.h
    M ports/mega/snek-mega.builtin
    R ports/mega/wf_tgamma.c
    A snek-eeprom.builtin
    A snek-gpio.builtin

  Log Message:
  -----------
  chips/atmega: Move atmega code from duemilanove and mega ports

This brings all of the atmega-specific code into the chips/atmega
directory instead of having it spread between the duemilanove and mega
ports.

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


  Commit: 5349dd1194313d56f0cd5a81670b38a1b13dd652
      https://github.com/keith-packard/snek/commit/5349dd1194313d56f0cd5a81670b38a1b13dd652
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-07-28 (Sun, 28 Jul 2019)

  Changed paths:
    A chips/avr/snek-avr.builtin
    M chips/avr/snek-avr.defs
    M ports/itsybitsy3v/snek-itsybitsy3v.builtin
    M ports/itsybitsy5v/snek-itsybitsy5v.builtin

  Log Message:
  -----------
  chips/avr: Move common options from itsybitsy ports

This shares the builtin configuration files for all avr ports.

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


  Commit: 541cc73a1fcfacdfc09ab334e0f5f4d6327caeff
      https://github.com/keith-packard/snek/commit/541cc73a1fcfacdfc09ab334e0f5f4d6327caeff
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-07-28 (Sun, 28 Jul 2019)

  Changed paths:
    M chips/atmega/snek-atmega.h
    M chips/avr/ao-snek-avr.c
    M chips/avr/snek-avr.h
    M chips/samd21/ao-arch-funcs.h
    M chips/samd21/ao-snek.c
    M chips/samd21/ao-snek.h
    M chips/samd21/snek-altos.builtin
    M chips/samd21/snek-eeprom.c
    M chips/samd21/snek-gpio.c
    M chips/samd21/snek-samd21.defs
    M ports/duemilanove/snek-duemilanove.c
    M ports/mega/snek-mega.c
    M ports/snekboard/Makefile
    M snek-gpio.builtin

  Log Message:
  -----------
  Add pulldown, pullup and pullnone GPIO builtins

Applications can use these to configure I/O pins for input devices.
When in pullup or pulldown mode, I/O pins are in digital mode, not
analog mode.

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


  Commit: 5f29e353346238c8f0ee53432dd0068d568cb4f3
      https://github.com/keith-packard/snek/commit/5f29e353346238c8f0ee53432dd0068d568cb4f3
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-07-28 (Sun, 28 Jul 2019)

  Changed paths:
    M doc/snek.adoc

  Log Message:
  -----------
  doc: Document pullnone, pullup and pulldown functions

pullnone and pullup are provided on all targets. pulldown is provided
on chips that can do this.

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


  Commit: b57d8a3b5bdf6b990b3c89c13a8b427e90e013dc
      https://github.com/keith-packard/snek/commit/b57d8a3b5bdf6b990b3c89c13a8b427e90e013dc
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-07-28 (Sun, 28 Jul 2019)

  Changed paths:
    M doc/snek.adoc

  Log Message:
  -----------
  doc: Add docs for snekboard

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


  Commit: 44222b03b3d3229b9dc77a5280052f44a3371399
      https://github.com/keith-packard/snek/commit/44222b03b3d3229b9dc77a5280052f44a3371399
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-07-28 (Sun, 28 Jul 2019)

  Changed paths:
    M doc/snek.adoc

  Log Message:
  -----------
  doc: Add per-board info on pullnone/pullup/pulldown usage

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


  Commit: a4a1f0a81bd59259dea69db2629bd3d07faba5cb
      https://github.com/keith-packard/snek/commit/a4a1f0a81bd59259dea69db2629bd3d07faba5cb
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-07-28 (Sun, 28 Jul 2019)

  Changed paths:
    M ports/snekboard/snek-board.builtin

  Log Message:
  -----------
  ports/snekboard: Use shorter names for the pins

No sense making people type 'ANALOG1' when they could use A1 instead.

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


Compare: https://github.com/keith-packard/snek/compare/95733219baf2...a4a1f0a81bd5


More information about the Snek mailing list