[Snek] [keith-packard/snek] ff6519: chips/samd21: Turn off built-in neopixels at init

Keith Packard noreply at github.com
Sat May 16 14:29:18 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/keith-packard/snek
  Commit: ff65190e67620b87d9c0233633dc653a79384b62
      https://github.com/keith-packard/snek/commit/ff65190e67620b87d9c0233633dc653a79384b62
  Author: Keith Packard <keithp at keithp.com>
  Date:   2020-05-13 (Wed, 13 May 2020)

  Changed paths:
    M chips/samd21/ao-neopixel.c
    M chips/samd21/ao-snek.h
    M chips/samd21/snek-gpio.c
    M ports/crickit/ao-pins.h
    M ports/feather/ao-pins.h
    M ports/metrom0/ao-pins.h
    M ports/playground/ao-pins.h
    M ports/snekboard/ao-pins.h

  Log Message:
  -----------
  chips/samd21: Turn off built-in neopixels at init

This makes sure any built-in neopixels are turned off when the board
starts up, in case they were left on across reset, or if the chips
don't power up in an 'off' state (sigh). This means that any GPIOs
with built-in neopixels are going to get some traffic at startup.

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


  Commit: b8c5192255d1eedca0b7edd3911bee293d4c06e2
      https://github.com/keith-packard/snek/commit/b8c5192255d1eedca0b7edd3911bee293d4c06e2
  Author: Keith Packard <keithp at keithp.com>
  Date:   2020-05-14 (Thu, 14 May 2020)

  Changed paths:
    M ports/snekboard/Makefile
    R ports/snekboard/bootloader-snekboard-v3.7.0.bin
    A ports/snekboard/bootloader-snekboard-v3.9.0.bin
    M ports/snekboard/snek-board-install.in

  Log Message:
  -----------
  ports/snekboard: Update bootloader to v3.9.0

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


  Commit: eb052d75f223c3206d174b6b6181e663868e8a99
      https://github.com/keith-packard/snek/commit/eb052d75f223c3206d174b6b6181e663868e8a99
  Author: Keith Packard <keithp at keithp.com>
  Date:   2020-05-14 (Thu, 14 May 2020)

  Changed paths:
    A ports/snekboard/snek-board-test.py
    A ports/snekboard/turnon-snekboard

  Log Message:
  -----------
  ports/snekboard: Add hw tests and turnon script

These tests are designed to check hardware functionality, not verify
that snek operates correctly on the board. For now, that means making
sure the neopixels and motor controllers work.

The turnon script runs
snek-board-install and then the tests.

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


  Commit: 922850f0c68ee75fc6cbc6ba0a90edac9b064f2c
      https://github.com/keith-packard/snek/commit/922850f0c68ee75fc6cbc6ba0a90edac9b064f2c
  Author: Keith Packard <keithp at keithp.com>
  Date:   2020-05-14 (Thu, 14 May 2020)

  Changed paths:
    M ports/snekboard/Makefile

  Log Message:
  -----------
  ports/snekboard: Install snek .elf file

The .elf file is used by snek-board-install, so it's important to
actually install it.

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


  Commit: 76c474d3bd8f1a51be32e26f87b099066687e273
      https://github.com/keith-packard/snek/commit/76c474d3bd8f1a51be32e26f87b099066687e273
  Author: Keith Packard <keithp at keithp.com>
  Date:   2020-05-16 (Sat, 16 May 2020)

  Changed paths:
    M ports/snekboard/snek-board-install.in

  Log Message:
  -----------
  ports/snekboard: snek-board-install: Enable flash write to bootloader

If the bootloader has locked it's area, unlock it before replacing.

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


  Commit: 903272724dc6ea6c4780cc454f770b3a3f24d792
      https://github.com/keith-packard/snek/commit/903272724dc6ea6c4780cc454f770b3a3f24d792
  Author: Keith Packard <keithp at keithp.com>
  Date:   2020-05-16 (Sat, 16 May 2020)

  Changed paths:
    M ports/snekboard/Makefile
    R ports/snekboard/bootloader-snekboard-v3.9.0.bin
    A ports/snekboard/bootloader-snekboard.bin
    M ports/snekboard/snek-board-install.in
    M snek-install.defs

  Log Message:
  -----------
  ports/snekboard: Remove version number from bootloader file

Tracking the version in the filename is a pain.

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


  Commit: eb21eb898b69f4f1e26c2d0c1e042d8ef60b645f
      https://github.com/keith-packard/snek/commit/eb21eb898b69f4f1e26c2d0c1e042d8ef60b645f
  Author: Keith Packard <keithp at keithp.com>
  Date:   2020-05-16 (Sat, 16 May 2020)

  Changed paths:
    M ports/hifive1revb/metal/machine.h
    M ports/hifive1revb/metal/machine/inline.h
    M ports/hifive1revb/metal/machine/platform.h

  Log Message:
  -----------
  ports/hifive1revb: Update metal headers to match current bits

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


  Commit: f108fdcbeb4b4221a88167fd86d839e2de264504
      https://github.com/keith-packard/snek/commit/f108fdcbeb4b4221a88167fd86d839e2de264504
  Author: Keith Packard <keithp at keithp.com>
  Date:   2020-05-16 (Sat, 16 May 2020)

  Changed paths:
    M doc/snek.adoc

  Log Message:
  -----------
  doc: Avoid 'source' mode when using bold attribute

Source disables attribute parsing in blocks, so disable that when
using bold/regular to demonstrate input/output in snek session.

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


  Commit: af11b4fce18b56fe3bdb0d3d4a3bb0e000ef02f7
      https://github.com/keith-packard/snek/commit/af11b4fce18b56fe3bdb0d3d4a3bb0e000ef02f7
  Author: Keith Packard <keithp at keithp.com>
  Date:   2020-05-16 (Sat, 16 May 2020)

  Changed paths:
    M doc/Makefile

  Log Message:
  -----------
  doc: remove circular make dependency

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


  Commit: 6ea583d72dbf81c1bdcc26160f21fc20f3cd6e99
      https://github.com/keith-packard/snek/commit/6ea583d72dbf81c1bdcc26160f21fc20f3cd6e99
  Author: Keith Packard <keithp at keithp.com>
  Date:   2020-05-16 (Sat, 16 May 2020)

  Changed paths:
    M .github/Dockerfile
    M .github/workflows/snek.yml

  Log Message:
  -----------
  Enable tests on ARM and RISC-V now that we have qemu available

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


  Commit: a3b9a122702345e0892a364ad15f7487371f7934
      https://github.com/keith-packard/snek/commit/a3b9a122702345e0892a364ad15f7487371f7934
  Author: Keith Packard <keithp at keithp.com>
  Date:   2020-05-16 (Sat, 16 May 2020)

  Changed paths:
    M README.md

  Log Message:
  -----------
  Update README.md to note recent timer work

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


  Commit: f72468c85c6de240ee025c69585b6812f38b3fda
      https://github.com/keith-packard/snek/commit/f72468c85c6de240ee025c69585b6812f38b3fda
  Author: Keith Packard <keithp at keithp.com>
  Date:   2020-05-16 (Sat, 16 May 2020)

  Changed paths:
    M snek.defs

  Log Message:
  -----------
  Version 1.4

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


Compare: https://github.com/keith-packard/snek/compare/055fe2c9657d...f72468c85c6d


More information about the Snek mailing list