[Snek] [keith-packard/snek] 180982: snek-duino: Add makefile target to set ATmega328P ...

Keith Packard noreply at github.com
Wed Feb 13 23:15:47 PST 2019

  Branch: refs/heads/master
  Home:   https://github.com/keith-packard/snek
  Commit: 1809827c8a6b028af0d6cf5b7bd41809d51f9fa5
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-02-13 (Wed, 13 Feb 2019)

  Changed paths:
    M snek-duino/Makefile
    M snek-duino/snek-duino-serial.c

  Log Message:
  snek-duino: Add makefile target to set ATmega328P fuses correctly

Need to reset the boot mode as there's no boot loader now, and we want
to preserve eeprom contents across chip erase so re-loading snek
doesn't erase any user program in place. Take this opportunity to just
program all three fuse bytes with reasonable values.

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

More information about the Snek mailing list