[Snek] [keith-packard/snek] b6989e: chips/atmega: Clock was off by *2 after tone changes

Keith Packard noreply at github.com
Mon May 10 23:58:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/keith-packard/snek
  Commit: b6989eebaed20f2c6c3a424263de7903c3fc5f40
      https://github.com/keith-packard/snek/commit/b6989eebaed20f2c6c3a424263de7903c3fc5f40
  Author: Keith Packard <keithp at keithp.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    M chips/atmega/snek-328p.c

  Log Message:
  -----------
  chips/atmega: Clock was off by *2 after tone changes

The patch adding tone support introduced an error in the clock timer
configuration that left it running twice as fast as desired.

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


  Commit: 7382c774cafdb3d3934a567cc614d9c992423764
      https://github.com/keith-packard/snek/commit/7382c774cafdb3d3934a567cc614d9c992423764
  Author: Keith Packard <keithp at keithp.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    M chips/atmega/snek-atmega-eeprom.c

  Log Message:
  -----------
  chips/atmega: Use unsigned value for eeprom offset

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


  Commit: 79fae8d0d19c484980537ceb9fe98b160a62efaf
      https://github.com/keith-packard/snek/commit/79fae8d0d19c484980537ceb9fe98b160a62efaf
  Author: Keith Packard <keithp at keithp.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

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

  Log Message:
  -----------
  chips/atmega: Add support for ATmega4809

This is the SoC used in the Nano-Every

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


  Commit: 8aa27be0c34b1aa44f3426f5a496c6445ad49a72
      https://github.com/keith-packard/snek/commit/8aa27be0c34b1aa44f3426f5a496c6445ad49a72
  Author: Keith Packard <keithp at keithp.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    M ports/duemilanove/snek-duemilanove-install.in

  Log Message:
  -----------
  ports/duemilanove: Set default programming port from Makefile

Instead of forcing to /dev/ttyUSB0, let each target using this script
pick their own default.

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


  Commit: 7da3cc8e4bbc71c748197ce8601e6e1904375b2e
      https://github.com/keith-packard/snek/commit/7da3cc8e4bbc71c748197ce8601e6e1904375b2e
  Author: Keith Packard <keithp at keithp.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    A ports/nano-every/.gitignore
    A ports/nano-every/Makefile
    A ports/nano-every/snek-nano-every-install.1.in
    A ports/nano-every/snek-nano-every-install.in
    A ports/nano-every/snek-nano-every-reset-port.c
    A ports/nano-every/snek-nano-every.builtin
    A ports/nano-every/snek-nano-every.c

  Log Message:
  -----------
  ports/nano-every: Add port for Arduino Nano Every board

This board has the ATmega 4809 SoC.

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


Compare: https://github.com/keith-packard/snek/compare/a7eadabf673a...7da3cc8e4bbc


More information about the Snek mailing list