[Snek] [keith-packard/snek] f3877e: Add 'pin' argument to read(), remove listento()
Keith Packard
noreply at github.com
Fri May 3 22:54:54 PDT 2019
Branch: refs/heads/master
Home: https://github.com/keith-packard/snek
Commit: f3877e6e110c633e5aa5a6611a45908029259251
https://github.com/keith-packard/snek/commit/f3877e6e110c633e5aa5a6611a45908029259251
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-01 (Wed, 01 May 2019)
Changed paths:
M doc/snek.adoc
M examples/snek-car.py
M examples/track-light.py
M samd21/snek-altos.builtin
M samd21/snek-gpio.c
M snek-duino/snek-duino.builtin
M snek-duino/snek-duino.c
Log Message:
-----------
Add 'pin' argument to read(), remove listento()
Instead of having separate listento and read functions, just
pass the pin to read directly.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 0870ba524276c5adcbe0994efa0f2766c0af3560
https://github.com/keith-packard/snek/commit/0870ba524276c5adcbe0994efa0f2766c0af3560
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-01 (Wed, 01 May 2019)
Changed paths:
M Makefile
Log Message:
-----------
Use $(FIRMWARE) to list firmware in top-level Makefile
Replaces a duplicate list of firmware files.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 43bfb14c1a7d465add739f49f76048d00d853115
https://github.com/keith-packard/snek/commit/43bfb14c1a7d465add739f49f76048d00d853115
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-01 (Wed, 01 May 2019)
Changed paths:
M atmega/snek-atmega-serial.c
Log Message:
-----------
atmega: Add support for ATmega2560 serial port
This port has different names for the registers than the ATmega328P
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 191b792095d8b2f08af13498cbb4e733326ffa82
https://github.com/keith-packard/snek/commit/191b792095d8b2f08af13498cbb4e733326ffa82
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-01 (Wed, 01 May 2019)
Changed paths:
M snek-install.defs
A snek-mega/.gitignore
A snek-mega/Makefile
A snek-mega/ef_acosh.c
A snek-mega/ef_atanh.c
A snek-mega/ef_remainder.c
A snek-mega/erf_gamma.c
A snek-mega/erf_lgamma.c
A snek-mega/exp2.c
A snek-mega/fdlibm.h
A snek-mega/kf_cos.c
A snek-mega/kf_sin.c
A snek-mega/machine/ieeefp.h
A snek-mega/math_config.h
A snek-mega/sf_asinh.c
A snek-mega/sf_erf.c
A snek-mega/sf_exp.c
A snek-mega/sf_exp2.c
A snek-mega/sf_log1p.c
A snek-mega/sf_log2.c
A snek-mega/sf_log2_data.c
A snek-mega/snek-mega-install.1
A snek-mega/snek-mega-install.in
A snek-mega/snek-mega-math.builtin
A snek-mega/snek-mega-math.c
A snek-mega/snek-mega-math.h
A snek-mega/snek-mega.builtin
A snek-mega/snek-mega.c
A snek-mega/wf_tgamma.c
M windows/snek.cfg.in
Log Message:
-----------
snek-mega: Add support for Arduino Mega
This has an ATmega2560 SoC and a lot of pins, plus way more
memory than a stock Arduino.
PWM on pins D2-D13 and D44-D46, just like Arduino.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: e39edbcd83bea5fca7dd1b992d3f7e2fa7da722a
https://github.com/keith-packard/snek/commit/e39edbcd83bea5fca7dd1b992d3f7e2fa7da722a
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-01 (Wed, 01 May 2019)
Changed paths:
M doc/snek.adoc
Log Message:
-----------
doc: Add section about Arduino Mega board
Describe the pin mappings, PWM functionality and how to flash a device
with firmware.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: b4888b8dd399ac80a71145975ed493fca442c3ea
https://github.com/keith-packard/snek/commit/b4888b8dd399ac80a71145975ed493fca442c3ea
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-01 (Wed, 01 May 2019)
Changed paths:
M snek-builtin.py
M snek-name.c
Log Message:
-----------
Remove 'id' value from builtin names
As the builtin names are listed in-order, the id can be
computed by keeping a counter as the builtin array is
walked. This shrinks the builtin array while also
allowing more than 128 builtin names (which snek-mega
violates).
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 363a764ba45c0a894d2bd798281058184027e818
https://github.com/keith-packard/snek/commit/363a764ba45c0a894d2bd798281058184027e818
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-01 (Wed, 01 May 2019)
Changed paths:
M atmega/snek-atmega-serial.c
Log Message:
-----------
atmega: Use U2X usart mode if possible
This changes how the clocking works and gives us more bits
in the baud number at high baud rates.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: ea462d97c4804d50abe50e95d7630dac0d2614de
https://github.com/keith-packard/snek/commit/ea462d97c4804d50abe50e95d7630dac0d2614de
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-01 (Wed, 01 May 2019)
Changed paths:
M atmega/snek-atmega.h
M snek-duino/snek-duino.builtin
M snek-mega/snek-mega.builtin
Log Message:
-----------
atmega: Move SNEK_POOL defines to be per-product
This lets snek-mega offer a 6k pool while snek-duino has only 1k
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 1c052f82742a2c5ae03d8bf258caacb6bed69825
https://github.com/keith-packard/snek/commit/1c052f82742a2c5ae03d8bf258caacb6bed69825
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-03 (Fri, 03 May 2019)
Changed paths:
M linux/Makefile
M macosx/Makefile
M snek-install.defs
A snek-mega/Arduino-usbserial-atmega16u2-Mega2560-Rev3.hex
M snek-mega/Makefile
M windows/Makefile
M windows/snek.cfg.in
Log Message:
-----------
snek-mega: Ship Arduino-usbserial binary
This binary changes the USB controller on the Arduino Mega so that it
provides XON/XOFF flow control support.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 5c2f8b912d594c40c2e334c874ac4770bdb75a18
https://github.com/keith-packard/snek/commit/5c2f8b912d594c40c2e334c874ac4770bdb75a18
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-03 (Fri, 03 May 2019)
Changed paths:
M snek-mega/snek-mega-install.1
M snek-mega/snek-mega-install.in
Log Message:
-----------
snek-mega: Add ability to flash ATmega16u2 to snek-mega-install
This requires a Atmel programming puck to replace the ATmega16u2
firmware so that it supports XON/XOFF flow control which Snek requires
for use with Snekde.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 84ace7f123182d906fccbda670732fcc2b8c56e2
https://github.com/keith-packard/snek/commit/84ace7f123182d906fccbda670732fcc2b8c56e2
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-03 (Fri, 03 May 2019)
Changed paths:
M doc/snek.adoc
Log Message:
-----------
doc: Explain that Arduino Mega usbserial bits need replacing
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: b9f4a5ca4ebbcfe8c890de59eb68afbc6fc88111
https://github.com/keith-packard/snek/commit/b9f4a5ca4ebbcfe8c890de59eb68afbc6fc88111
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-03 (Fri, 03 May 2019)
Changed paths:
M snek-duino/snek-duino-install.in
Log Message:
-----------
snek-duino: Remove -F and -V options from avrdude invocations
-F means ignore the target device type
-V means don't verify the program load
Both of these might be nice for development, but less useful for
normal usage.
Signed-off-by: Keith Packard <keithp at keithp.com>
Compare: https://github.com/keith-packard/snek/compare/770a7ec59ca8...b9f4a5ca4ebb
More information about the Snek
mailing list