[Snek] [keith-packard/snek] b93a44: ports: Rename embedded ports to snek-, remove snek...

Keith Packard noreply at github.com
Fri Jun 7 17:36:20 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/keith-packard/snek
  Commit: b93a44195c0f06c50428f0aea4efbe4f09cb3f32
      https://github.com/keith-packard/snek/commit/b93a44195c0f06c50428f0aea4efbe4f09cb3f32
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-06-06 (Thu, 06 Jun 2019)

  Changed paths:
    M doc/snek.adoc
    M hosts/linux/Makefile
    R ports/crickit-snek/.gitignore
    R ports/crickit-snek/Makefile
    R ports/crickit-snek/ao-pins.h
    R ports/crickit-snek/crickit-snek.builtin
    A ports/crickit/.gitignore
    A ports/crickit/Makefile
    A ports/crickit/ao-pins.h
    A ports/crickit/snek-crickit.builtin
    A ports/duemilanove/.gitignore
    A ports/duemilanove/Makefile
    A ports/duemilanove/snek-duemilanove-install.1
    A ports/duemilanove/snek-duemilanove-install.in
    A ports/duemilanove/snek-duemilanove.builtin
    A ports/duemilanove/snek-duemilanove.c
    R ports/feather-snek/.gitignore
    R ports/feather-snek/Makefile
    R ports/feather-snek/ao-pins.h
    R ports/feather-snek/feather-snek.builtin
    A ports/feather/.gitignore
    A ports/feather/Makefile
    A ports/feather/ao-pins.h
    A ports/feather/snek-feather.builtin
    R ports/itsybitsy3v-snek/.gitignore
    R ports/itsybitsy3v-snek/Makefile
    R ports/itsybitsy3v-snek/ao-pins.h
    R ports/itsybitsy3v-snek/itsybitsy3v.builtin
    A ports/itsybitsy3v/.gitignore
    A ports/itsybitsy3v/Makefile
    A ports/itsybitsy3v/ao-pins.h
    A ports/itsybitsy3v/snek-itsybitsy3v.builtin
    R ports/itsybitsy5v-snek/.gitignore
    R ports/itsybitsy5v-snek/Makefile
    R ports/itsybitsy5v-snek/ao-pins.h
    R ports/itsybitsy5v-snek/itsybitsy5v.builtin
    R ports/itsybitsy5v-snek/snek-itsybitsy-install.1
    R ports/itsybitsy5v-snek/snek-itsybitsy-install.in
    A ports/itsybitsy5v/.gitignore
    A ports/itsybitsy5v/Makefile
    A ports/itsybitsy5v/ao-pins.h
    A ports/itsybitsy5v/snek-itsybitsy-install.1
    A ports/itsybitsy5v/snek-itsybitsy-install.in
    A ports/itsybitsy5v/snek-itsybitsy5v.builtin
    A ports/mega/.gitignore
    A ports/mega/Arduino-usbserial-atmega16u2-Mega2560-Rev3.hex
    A ports/mega/Makefile
    A ports/mega/ef_acosh.c
    A ports/mega/ef_atanh.c
    A ports/mega/ef_remainder.c
    A ports/mega/erf_gamma.c
    A ports/mega/erf_lgamma.c
    A ports/mega/exp2.c
    A ports/mega/fdlibm.h
    A ports/mega/kf_cos.c
    A ports/mega/kf_sin.c
    A ports/mega/machine/ieeefp.h
    A ports/mega/math_config.h
    A ports/mega/sf_asinh.c
    A ports/mega/sf_erf.c
    A ports/mega/sf_exp.c
    A ports/mega/sf_exp2.c
    A ports/mega/sf_log1p.c
    A ports/mega/sf_log2.c
    A ports/mega/sf_log2_data.c
    A ports/mega/snek-mega-install.1
    A ports/mega/snek-mega-install.in
    A ports/mega/snek-mega-math.builtin
    A ports/mega/snek-mega-math.c
    A ports/mega/snek-mega-math.h
    A ports/mega/snek-mega.builtin
    A ports/mega/snek-mega.c
    A ports/mega/wf_tgamma.c
    R ports/metro-snek/.gitignore
    R ports/metro-snek/Makefile
    R ports/metro-snek/ao-pins.h
    R ports/metro-snek/metro-snek.builtin
    A ports/metrom0/.gitignore
    A ports/metrom0/Makefile
    A ports/metrom0/ao-pins.h
    A ports/metrom0/snek-metrom0.builtin
    R ports/playground-snek/.gitignore
    R ports/playground-snek/Makefile
    R ports/playground-snek/ao-pins.h
    R ports/playground-snek/playground-snek.builtin
    A ports/playground/.gitignore
    A ports/playground/Makefile
    A ports/playground/ao-pins.h
    A ports/playground/snek-playground.builtin
    R ports/snek-duino/.gitignore
    R ports/snek-duino/Makefile
    R ports/snek-duino/snek-duino-install.1
    R ports/snek-duino/snek-duino-install.in
    R ports/snek-duino/snek-duino.builtin
    R ports/snek-duino/snek-duino.c
    R ports/snek-mega/.gitignore
    R ports/snek-mega/Arduino-usbserial-atmega16u2-Mega2560-Rev3.hex
    R ports/snek-mega/Makefile
    R ports/snek-mega/ef_acosh.c
    R ports/snek-mega/ef_atanh.c
    R ports/snek-mega/ef_remainder.c
    R ports/snek-mega/erf_gamma.c
    R ports/snek-mega/erf_lgamma.c
    R ports/snek-mega/exp2.c
    R ports/snek-mega/fdlibm.h
    R ports/snek-mega/kf_cos.c
    R ports/snek-mega/kf_sin.c
    R ports/snek-mega/machine/ieeefp.h
    R ports/snek-mega/math_config.h
    R ports/snek-mega/sf_asinh.c
    R ports/snek-mega/sf_erf.c
    R ports/snek-mega/sf_exp.c
    R ports/snek-mega/sf_exp2.c
    R ports/snek-mega/sf_log1p.c
    R ports/snek-mega/sf_log2.c
    R ports/snek-mega/sf_log2_data.c
    R ports/snek-mega/snek-mega-install.1
    R ports/snek-mega/snek-mega-install.in
    R ports/snek-mega/snek-mega-math.builtin
    R ports/snek-mega/snek-mega-math.c
    R ports/snek-mega/snek-mega-math.h
    R ports/snek-mega/snek-mega.builtin
    R ports/snek-mega/snek-mega.c
    R ports/snek-mega/wf_tgamma.c
    M snek-install.defs

  Log Message:
  -----------
  ports: Rename embedded ports to snek-, remove snek from directory name

Makes the source tree simpler while also using consistent names for the binaries.

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


  Commit: 287af7fa97982663a9938f8d3735bc70795d3e81
      https://github.com/keith-packard/snek/commit/287af7fa97982663a9938f8d3735bc70795d3e81
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-06-07 (Fri, 07 Jun 2019)

  Changed paths:
    A chips/samd21/ao-apa102.c
    M chips/samd21/ao-snek.h
    M chips/samd21/snek-gpio.c
    M chips/samd21/snek-samd21.defs

  Log Message:
  -----------
  chips/samd21: Add APA102 driver

This is another programmable full-color LED, but uses a two-wire
SPI-ish protocol. I've hooked it into the existing neopixel code and
use it when the user has provide two different pins to the talkto
function, the first is data, the second is clock.

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


  Commit: 325c0282eb83c04833f1476b6ee2114c1960dba8
      https://github.com/keith-packard/snek/commit/325c0282eb83c04833f1476b6ee2114c1960dba8
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-06-07 (Fri, 07 Jun 2019)

  Changed paths:
    M ao/ao-led.c
    M chips/samd21/ao-snek.c
    M chips/samd21/ao-snek.h

  Log Message:
  -----------
  chips/samd21: Make LED run indicator conditional

Disable the running indicator LED when the target doesn't define
AO_LED_TX. Disable the LED support when LEDS_AVAILABLE is not defined.

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


  Commit: ed158dcfbf0781fea49a6ab84b91be0fa050b90b
      https://github.com/keith-packard/snek/commit/ed158dcfbf0781fea49a6ab84b91be0fa050b90b
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-06-07 (Fri, 07 Jun 2019)

  Changed paths:
    M doc/snek.adoc

  Log Message:
  -----------
  doc: anyplace → any place

Two words looks better to me

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


  Commit: 3d70626f3be7881a7f0c72916d198b5261bad914
      https://github.com/keith-packard/snek/commit/3d70626f3be7881a7f0c72916d198b5261bad914
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-06-07 (Fri, 07 Jun 2019)

  Changed paths:
    M doc/snek.adoc

  Log Message:
  -----------
  doc: Describe neopixels support for APA102 chips

AP102 chips have two pins for data/clock, so we can overload the
neopixel functionn to talk to them when Power and Direction are
different.

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


  Commit: f1e57859636fed9e490a3d7cf312ca08fc4760b4
      https://github.com/keith-packard/snek/commit/f1e57859636fed9e490a3d7cf312ca08fc4760b4
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-06-07 (Fri, 07 Jun 2019)

  Changed paths:
    M doc/snek.adoc
    A ports/itsybitsym0/.gitignore
    A ports/itsybitsym0/Makefile
    A ports/itsybitsym0/ao-pins.h
    A ports/itsybitsym0/snek-itsybitsym0.builtin
    M snek-install.defs

  Log Message:
  -----------
  ports/itsybitsym0: Add Adafruit ItsyBitsy M0 support

This is another SAMD21 board with an APA102 device instead of a
NeoPixel. It also lacks a 32kHz xtal, so it runs off the internal
RC osc instead. The schematic has D6 and D8 labeled, but I can't see any
place they're available on the circuit board.

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


Compare: https://github.com/keith-packard/snek/compare/6fe0b0c60a12...f1e57859636f


More information about the Snek mailing list