[Snek] [keith-packard/snek] 578b1a: Add --mu mode to snek-builtin.py
Keith Packard
noreply at github.com
Sun Aug 4 23:57:55 PDT 2019
Branch: refs/heads/master
Home: https://github.com/keith-packard/snek
Commit: 578b1a4b899afcd5d78eaa7d77744a1c3379a59a
https://github.com/keith-packard/snek/commit/578b1a4b899afcd5d78eaa7d77744a1c3379a59a
Author: Keith Packard <keithp at keithp.com>
Date: 2019-07-31 (Wed, 31 Jul 2019)
Changed paths:
M Makefile
M snek-builtin.py
Log Message:
-----------
Add --mu mode to snek-builtin.py
This generates a list of defined names for mu-editor so it doesn't
complain about them being undefined.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: c50c4c474667e06d971ff06596a851a189ce4f1a
https://github.com/keith-packard/snek/commit/c50c4c474667e06d971ff06596a851a189ce4f1a
Author: Keith Packard <keithp at keithp.com>
Date: 2019-08-03 (Sat, 03 Aug 2019)
Changed paths:
M chips/samd21/ao-timer.c
Log Message:
-----------
chips/samd21: Run timer interrupt at lowest priority
And allow other interrupts to run during timer interrupt
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 2ebae018cd852adbf2be93504efd9630ff2580f5
https://github.com/keith-packard/snek/commit/2ebae018cd852adbf2be93504efd9630ff2580f5
Author: Keith Packard <keithp at keithp.com>
Date: 2019-08-03 (Sat, 03 Aug 2019)
Changed paths:
M ao/ao.h
Log Message:
-----------
ao: Renumber AO_PANIC_CRASH from 14 to 1
No reason to use a huge panic value for this case
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: c4a783e23a318181b22393894af8ef989a6c28c4
https://github.com/keith-packard/snek/commit/c4a783e23a318181b22393894af8ef989a6c28c4
Author: Keith Packard <keithp at keithp.com>
Date: 2019-08-03 (Sat, 03 Aug 2019)
Changed paths:
M chips/samd21/ao-usb-samd21.c
Log Message:
-----------
chips/samd21: Delay USB running until we see data from the host
This avoids sending data to the host while the tty is in echo mode,
which only generates sadness.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: cdbfd889ada3a33f418ca601306efcc4f8771a1c
https://github.com/keith-packard/snek/commit/cdbfd889ada3a33f418ca601306efcc4f8771a1c
Author: Keith Packard <keithp at keithp.com>
Date: 2019-08-03 (Sat, 03 Aug 2019)
Changed paths:
M chips/samd21/ao-usb-samd21.c
Log Message:
-----------
chips/samd21: Make sure in_wait is called before in_send
ao_usb_flush was calling in_send without making sure that in_wait
had been called first; this could cause a pending packet to get
smashed if the new packet was empty
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: e674370a1e3cfaff6802d6addadefadce4fbc95a
https://github.com/keith-packard/snek/commit/e674370a1e3cfaff6802d6addadefadce4fbc95a
Author: Keith Packard <keithp at keithp.com>
Date: 2019-08-03 (Sat, 03 Aug 2019)
Changed paths:
M chips/samd21/ao-usb-samd21.c
Log Message:
-----------
chips/samd21: Follow sample code for USB reset
Make sure the SWRST bit toggles off and then on during reset
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 05f86880b3a5422223f6491fb02a8deaab2c187d
https://github.com/keith-packard/snek/commit/05f86880b3a5422223f6491fb02a8deaab2c187d
Author: Keith Packard <keithp at keithp.com>
Date: 2019-08-03 (Sat, 03 Aug 2019)
Changed paths:
M chips/samd21/ao-usb-samd21.c
Log Message:
-----------
chips/samd21: Make USB interrupt priority higher than timer.
Make sure we process USB interrupts even during timer interrupt
processing.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 613b52fa5744c1f8f60d8c20e7b03afd4927c11d
https://github.com/keith-packard/snek/commit/613b52fa5744c1f8f60d8c20e7b03afd4927c11d
Author: Keith Packard <keithp at keithp.com>
Date: 2019-08-03 (Sat, 03 Aug 2019)
Changed paths:
M chips/samd21/samd21.h
Log Message:
-----------
chips/samd21: Clear error status bits when setting ep bank ready
This is what the sample code does, so we'll just play along.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 9c895abcb0f3cdda212ec3d79247d34e25ed3368
https://github.com/keith-packard/snek/commit/9c895abcb0f3cdda212ec3d79247d34e25ed3368
Author: Keith Packard <keithp at keithp.com>
Date: 2019-08-03 (Sat, 03 Aug 2019)
Changed paths:
M chips/avr/snek-avr.defs
Log Message:
-----------
chips/avr: Adjust compiler optimization flags for code size reductions
Switch to -funsigned-char, add -frename-registers
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 4786a89b157bd2d710d6d418c9f7809f693ca2ae
https://github.com/keith-packard/snek/commit/4786a89b157bd2d710d6d418c9f7809f693ca2ae
Author: Keith Packard <keithp at keithp.com>
Date: 2019-08-03 (Sat, 03 Aug 2019)
Changed paths:
M chips/avr/strtod.c
Log Message:
-----------
chips/avr: Use *10 instead of two shifts and add in strtod
This may be slower, but it's smaller.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: a9b53470f88154fdc3fe2aa543aa8270f5465c94
https://github.com/keith-packard/snek/commit/a9b53470f88154fdc3fe2aa543aa8270f5465c94
Author: Keith Packard <keithp at keithp.com>
Date: 2019-08-03 (Sat, 03 Aug 2019)
Changed paths:
M snek-lex.c
M snek.h
Log Message:
-----------
Pack more enums
This shrinks code on 8-bit processors.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: aafd742f3d125e5eb935bba5ef50c5c23fac459c
https://github.com/keith-packard/snek/commit/aafd742f3d125e5eb935bba5ef50c5c23fac459c
Author: Keith Packard <keithp at keithp.com>
Date: 2019-08-03 (Sat, 03 Aug 2019)
Changed paths:
M ports/duemilanove/Makefile
Log Message:
-----------
ports/duemilanove: Adjust compiler flags to shrink code
Add -frename-registers and -funsigned char
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: d6330265221e78c1e386523a081aac7b0916a3a9
https://github.com/keith-packard/snek/commit/d6330265221e78c1e386523a081aac7b0916a3a9
Author: Keith Packard <keithp at keithp.com>
Date: 2019-08-03 (Sat, 03 Aug 2019)
Changed paths:
M snek-code.c
M snek-string.c
Log Message:
-----------
Implement string * number
String * number replicates string number times
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 122beba14563f6a13085f55cf2de8c375c0e4f23
https://github.com/keith-packard/snek/commit/122beba14563f6a13085f55cf2de8c375c0e4f23
Author: Keith Packard <keithp at keithp.com>
Date: 2019-08-04 (Sun, 04 Aug 2019)
Changed paths:
M chips/samd21/ao-arch.h
M chips/samd21/ao-timer.c
M chips/samd21/ao-usb-samd21.c
M chips/samd21/samd21.h
M ports/snekboard/ao-pins.h
Log Message:
-----------
chips/samd21: Use dfll48m for USB even when we have xosc
For unknown reasons, running USB off the dpll96m generates garbage on
the USB bus, ending up dropping packets or getting us kicked off
entirely. Give up trying to make that work and just light up the
dfll48m so that USB is reliable.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 21d7ecd3897fab5c5cc3f84f35a6a195a5f25c28
https://github.com/keith-packard/snek/commit/21d7ecd3897fab5c5cc3f84f35a6a195a5f25c28
Author: Keith Packard <keithp at keithp.com>
Date: 2019-08-04 (Sun, 04 Aug 2019)
Changed paths:
M ports/crickit/Makefile
M ports/feather/Makefile
M ports/itsybitsym0/Makefile
M ports/metrom0/Makefile
M ports/playground/Makefile
Log Message:
-----------
Use 'official' USB ids for Adafruit products
These are the IDs reported when running the Arduino stuff, so at least that
doesn't conflict with circuit python or the UF2 boot loader.
Signed-off-by: Keith Packard <keithp at keithp.com>
Compare: https://github.com/keith-packard/snek/compare/a4a1f0a81bd5...21d7ecd3897f
More information about the Snek
mailing list