[Snek] [keith-packard/snek] 66d39d: doc/lessons/lesson-3: Fix missing element close

Keith Packard noreply at github.com
Fri Apr 17 22:48:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/keith-packard/snek
  Commit: 66d39dbadd0fb74856fa6e011bbf9f3e980a6633
      https://github.com/keith-packard/snek/commit/66d39dbadd0fb74856fa6e011bbf9f3e980a6633
  Author: Keith Packard <keithp at keithp.com>
  Date:   2020-03-03 (Tue, 03 Mar 2020)

  Changed paths:
    M doc/lessons/lesson-3/lesson-3-bumper-car.adoc

  Log Message:
  -----------
  doc/lessons/lesson-3: Fix missing element close

There was a missing closing mark after an example.

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


  Commit: ba4de1b7685e30e75d86795b4cd62f033912ed15
      https://github.com/keith-packard/snek/commit/ba4de1b7685e30e75d86795b4cd62f033912ed15
  Author: Keith Packard <keithp at keithp.com>
  Date:   2020-04-17 (Fri, 17 Apr 2020)

  Changed paths:
    M snek.defs

  Log Message:
  -----------
  Use --gc-sections to reduce memory usage

Also include -ffunction-sections and -fdata-sections which are
required for --gc-sections to do anything useful.

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


  Commit: 9b6497c55cc7080ef6c3fb7d54a8eac902d70099
      https://github.com/keith-packard/snek/commit/9b6497c55cc7080ef6c3fb7d54a8eac902d70099
  Author: Keith Packard <keithp at keithp.com>
  Date:   2020-04-17 (Fri, 17 Apr 2020)

  Changed paths:
    M chips/avr/snek-avr.defs

  Log Message:
  -----------
  chips/avr: avr doesn't use ao_panic at all

Remove from SRC

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


  Commit: e72ebf2307763b197e063b261323beee80744c34
      https://github.com/keith-packard/snek/commit/e72ebf2307763b197e063b261323beee80744c34
  Author: Keith Packard <keithp at keithp.com>
  Date:   2020-04-17 (Fri, 17 Apr 2020)

  Changed paths:
    M ports/duemilanove/Makefile

  Log Message:
  -----------
  ports/duemilanove: Leave space for a tiny boot loader

Optiboot only takes 512 bytes, so let's leave space for that
to allow upgrading snek without needing a dongle.

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


  Commit: f1d4c6e5079d810104042e0ffeabc887769de688
      https://github.com/keith-packard/snek/commit/f1d4c6e5079d810104042e0ffeabc887769de688
  Author: Keith Packard <keithp at keithp.com>
  Date:   2020-04-17 (Fri, 17 Apr 2020)

  Changed paths:
    M snek.h

  Log Message:
  -----------
  Re-order snek_variable to save code space

This saves four bytes on the duemilanove :-)

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


  Commit: b537b2f2989fd3b96181b3919fce6a3f130cb5af
      https://github.com/keith-packard/snek/commit/b537b2f2989fd3b96181b3919fce6a3f130cb5af
  Author: Keith Packard <keithp at keithp.com>
  Date:   2020-04-17 (Fri, 17 Apr 2020)

  Changed paths:
    M ports/qemu-riscv/Makefile

  Log Message:
  -----------
  ports/qemu-riscv: Use -msave-restore to save code space

This is a RISC-V specific compiler switch which replaces explicit
push/pop register save/restore sequences with calls to functions which
do the same thing. The result is a nice savings of ROM space.

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


  Commit: 01941c19e7b142a69402e156dca73f98994f886e
      https://github.com/keith-packard/snek/commit/01941c19e7b142a69402e156dca73f98994f886e
  Author: Keith Packard <keithp at keithp.com>
  Date:   2020-04-17 (Fri, 17 Apr 2020)

  Changed paths:
    M doc/lessons/lesson-5/pid-bug-one.py

  Log Message:
  -----------
  doc/lessons/lesson-5: Update example with real code

The real code needed setleft/setright swapped.

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


Compare: https://github.com/keith-packard/snek/compare/5dbfa54f02e8...01941c19e7b1


More information about the Snek mailing list