[Snek] [keith-packard/snek] 20b174: avr: Make atmega32u4 init code sharable
Keith Packard
noreply at github.com
Tue May 28 00:27:20 PDT 2019
Branch: refs/heads/master
Home: https://github.com/keith-packard/snek
Commit: 20b174da71ba4c9afd55ba804f65fe7812e4a737
https://github.com/keith-packard/snek/commit/20b174da71ba4c9afd55ba804f65fe7812e4a737
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-27 (Mon, 27 May 2019)
Changed paths:
A avr/ao-snek-avr.c
M itsybitsy-snek/Makefile
M itsybitsy-snek/ao-pins.h
R itsybitsy-snek/ao-snek-itsybitsy.c
Log Message:
-----------
avr: Make atmega32u4 init code sharable
Move platform-specific definitions to ao-pins.h so that we can build
more atmega 32u4 targets.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: d03561da79c99f00f976cc69bef91e6aea4e6d1a
https://github.com/keith-packard/snek/commit/d03561da79c99f00f976cc69bef91e6aea4e6d1a
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-27 (Mon, 27 May 2019)
Changed paths:
M doc/snek.adoc
M itsybitsy-snek/snek-itsybitsy-install.1
M itsybitsy-snek/snek-itsybitsy-install.in
A itsybitsy3v-snek/.gitignore
A itsybitsy3v-snek/Makefile
A itsybitsy3v-snek/ao-pins.h
A itsybitsy3v-snek/itsybitsy3v.builtin
M snek-install.defs
Log Message:
-----------
itsybitsy3v-snek: Add 3v itsybitsy target
This is the same as the regular 5v itsybitsy, except that it runs at 3V and at 8MHz
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: ca601a5aa260bcf817c924be999a2aced6007d17
https://github.com/keith-packard/snek/commit/ca601a5aa260bcf817c924be999a2aced6007d17
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-27 (Mon, 27 May 2019)
Changed paths:
M Makefile
R atmega/snek-atmega-eeprom.c
R atmega/snek-atmega-serial.c
R atmega/snek-atmega.h
R avr/ao-adc-avr.c
R avr/ao-arch-funcs.h
R avr/ao-arch.h
R avr/ao-snek-avr.c
R avr/ao-usb-avr.c
R avr/snek-avr-eeprom.c
R avr/snek-avr.defs
R avr/snek-avr.h
R avr/snek-avr51.x
A chips/atmega/snek-atmega-eeprom.c
A chips/atmega/snek-atmega-serial.c
A chips/atmega/snek-atmega.h
A chips/avr/ao-adc-avr.c
A chips/avr/ao-arch-funcs.h
A chips/avr/ao-arch.h
A chips/avr/ao-snek-avr.c
A chips/avr/ao-usb-avr.c
A chips/avr/snek-avr-eeprom.c
A chips/avr/snek-avr.defs
A chips/avr/snek-avr.h
A chips/avr/snek-avr51.x
A chips/samd21/ao-adc-samd21.c
A chips/samd21/ao-adc-samd21.h
A chips/samd21/ao-arch-funcs.h
A chips/samd21/ao-arch.h
A chips/samd21/ao-dma-samd21.c
A chips/samd21/ao-dma-samd21.h
A chips/samd21/ao-flash-samd21.c
A chips/samd21/ao-flash.h
A chips/samd21/ao-interrupt.c
A chips/samd21/ao-neopixel.c
A chips/samd21/ao-serial-samd21.c
A chips/samd21/ao-serial.h
A chips/samd21/ao-snek.c
A chips/samd21/ao-snek.h
A chips/samd21/ao-stdio.c
A chips/samd21/ao-tc-samd21.c
A chips/samd21/ao-tc-samd21.h
A chips/samd21/ao-tcc-samd21.c
A chips/samd21/ao-tcc-samd21.h
A chips/samd21/ao-timer.c
A chips/samd21/ao-usb-samd21.c
A chips/samd21/registers.ld
A chips/samd21/samd21.h
A chips/samd21/snek-altos.builtin
A chips/samd21/snek-altos.c
A chips/samd21/snek-eeprom.c
A chips/samd21/snek-gpio.c
A chips/samd21/snek-samd21.defs
A chips/samd21/snek-samd21.ld
A chips/samd21/uf2conv.py
R crickit-snek/.gitignore
R crickit-snek/Makefile
R crickit-snek/ao-pins.h
R crickit-snek/crickit-snek.builtin
R feather-snek/.gitignore
R feather-snek/Makefile
R feather-snek/ao-pins.h
R feather-snek/feather-snek.builtin
A hosts/linux/.gitignore
A hosts/linux/Makefile
A hosts/linux/linux-install.sh
A hosts/macosx/.gitignore
A hosts/macosx/Info.plist.in
A hosts/macosx/Makefile
A hosts/macosx/ReadMe-Mac.rtf
A hosts/macosx/build-mac
A hosts/macosx/install-macosx
A hosts/macosx/runsnek
A hosts/macosx/runsnekde
A hosts/macosx/snek-Info.plist.in
A hosts/macosx/snek-script
A hosts/macosx/snekde-Info.plist.in
A hosts/macosx/snekde-script
A hosts/windows/.gitignore
A hosts/windows/Instdrv/NSIS/Contrib/InstDrv/Example.nsi
A hosts/windows/Instdrv/NSIS/Contrib/InstDrv/InstDrv-Test.exe
A hosts/windows/Instdrv/NSIS/Contrib/InstDrv/InstDrv.c
A hosts/windows/Instdrv/NSIS/Contrib/InstDrv/InstDrv.dsp
A hosts/windows/Instdrv/NSIS/Contrib/InstDrv/InstDrv.dsw
A hosts/windows/Instdrv/NSIS/Contrib/InstDrv/Readme.txt
A hosts/windows/Instdrv/NSIS/Contrib/InstDrv/ircomm2k.inf
A hosts/windows/Instdrv/NSIS/Contrib/InstDrv/ircomm2k.sys
A hosts/windows/Instdrv/NSIS/Includes/java.nsh
A hosts/windows/Instdrv/NSIS/Includes/refresh-sh.nsh
A hosts/windows/Instdrv/NSIS/Plugins/InstDrv.dll
A hosts/windows/Makefile
A hosts/windows/altusmetrum.cat
A hosts/windows/altusmetrum.inf
A hosts/windows/pyapp_snek.nsi
A hosts/windows/snek-windows.builtin
A hosts/windows/snek-windows.c
A hosts/windows/snek-windows.h
A hosts/windows/snek.cfg.in
R itsybitsy-snek/.gitignore
R itsybitsy-snek/Makefile
R itsybitsy-snek/ao-pins.h
R itsybitsy-snek/itsybitsy.builtin
R itsybitsy-snek/snek-itsybitsy-install.1
R itsybitsy-snek/snek-itsybitsy-install.in
R itsybitsy3v-snek/.gitignore
R itsybitsy3v-snek/Makefile
R itsybitsy3v-snek/ao-pins.h
R itsybitsy3v-snek/itsybitsy3v.builtin
R linux/.gitignore
R linux/Makefile
R linux/linux-install.sh
R macosx/.gitignore
R macosx/Info.plist.in
R macosx/Makefile
R macosx/ReadMe-Mac.rtf
R macosx/build-mac
R macosx/install-macosx
R macosx/runsnek
R macosx/runsnekde
R macosx/snek-Info.plist.in
R macosx/snek-script
R macosx/snekde-Info.plist.in
R macosx/snekde-script
R metro-snek/.gitignore
R metro-snek/Makefile
R metro-snek/ao-pins.h
R metro-snek/metro-snek.builtin
R playground-snek/.gitignore
R playground-snek/Makefile
R playground-snek/ao-pins.h
R playground-snek/playground-snek.builtin
A ports/crickit-snek/.gitignore
A ports/crickit-snek/Makefile
A ports/crickit-snek/ao-pins.h
A ports/crickit-snek/crickit-snek.builtin
A ports/feather-snek/.gitignore
A ports/feather-snek/Makefile
A ports/feather-snek/ao-pins.h
A ports/feather-snek/feather-snek.builtin
A ports/itsybitsy-snek/.gitignore
A ports/itsybitsy-snek/Makefile
A ports/itsybitsy-snek/ao-pins.h
A ports/itsybitsy-snek/itsybitsy.builtin
A ports/itsybitsy-snek/snek-itsybitsy-install.1
A ports/itsybitsy-snek/snek-itsybitsy-install.in
A ports/itsybitsy3v-snek/.gitignore
A ports/itsybitsy3v-snek/Makefile
A ports/itsybitsy3v-snek/ao-pins.h
A ports/itsybitsy3v-snek/itsybitsy3v.builtin
A ports/metro-snek/.gitignore
A ports/metro-snek/Makefile
A ports/metro-snek/ao-pins.h
A ports/metro-snek/metro-snek.builtin
A ports/playground-snek/.gitignore
A ports/playground-snek/Makefile
A ports/playground-snek/ao-pins.h
A ports/playground-snek/playground-snek.builtin
A ports/posix/.gitignore
A ports/posix/Makefile
A ports/posix/snek-curses.c
A ports/posix/snek-main.c
A ports/posix/snek-posix.builtin
A ports/posix/snek-posix.c
A ports/posix/snek-posix.h
A ports/posix/snek.1
A ports/posix/snek.desktop.in
A ports/snek-duino/.gitignore
A ports/snek-duino/Makefile
A ports/snek-duino/snek-duino-install.1
A ports/snek-duino/snek-duino-install.in
A ports/snek-duino/snek-duino.builtin
A ports/snek-duino/snek-duino.c
A ports/snek-mega/.gitignore
A ports/snek-mega/Arduino-usbserial-atmega16u2-Mega2560-Rev3.hex
A ports/snek-mega/Makefile
A ports/snek-mega/ef_acosh.c
A ports/snek-mega/ef_atanh.c
A ports/snek-mega/ef_remainder.c
A ports/snek-mega/erf_gamma.c
A ports/snek-mega/erf_lgamma.c
A ports/snek-mega/exp2.c
A ports/snek-mega/fdlibm.h
A ports/snek-mega/kf_cos.c
A ports/snek-mega/kf_sin.c
A ports/snek-mega/machine/ieeefp.h
A ports/snek-mega/math_config.h
A ports/snek-mega/sf_asinh.c
A ports/snek-mega/sf_erf.c
A ports/snek-mega/sf_exp.c
A ports/snek-mega/sf_exp2.c
A ports/snek-mega/sf_log1p.c
A ports/snek-mega/sf_log2.c
A ports/snek-mega/sf_log2_data.c
A ports/snek-mega/snek-mega-install.1
A ports/snek-mega/snek-mega-install.in
A ports/snek-mega/snek-mega-math.builtin
A ports/snek-mega/snek-mega-math.c
A ports/snek-mega/snek-mega-math.h
A ports/snek-mega/snek-mega.builtin
A ports/snek-mega/snek-mega.c
A ports/snek-mega/wf_tgamma.c
R posix/.gitignore
R posix/Makefile
R posix/snek-curses.c
R posix/snek-main.c
R posix/snek-posix.builtin
R posix/snek-posix.c
R posix/snek-posix.h
R posix/snek.1
R posix/snek.desktop.in
R samd21/ao-adc-samd21.c
R samd21/ao-adc-samd21.h
R samd21/ao-arch-funcs.h
R samd21/ao-arch.h
R samd21/ao-dma-samd21.c
R samd21/ao-dma-samd21.h
R samd21/ao-flash-samd21.c
R samd21/ao-flash.h
R samd21/ao-interrupt.c
R samd21/ao-neopixel.c
R samd21/ao-serial-samd21.c
R samd21/ao-serial.h
R samd21/ao-snek.c
R samd21/ao-snek.h
R samd21/ao-stdio.c
R samd21/ao-tc-samd21.c
R samd21/ao-tc-samd21.h
R samd21/ao-tcc-samd21.c
R samd21/ao-tcc-samd21.h
R samd21/ao-timer.c
R samd21/ao-usb-samd21.c
R samd21/registers.ld
R samd21/samd21.h
R samd21/snek-altos.builtin
R samd21/snek-altos.c
R samd21/snek-eeprom.c
R samd21/snek-gpio.c
R samd21/snek-samd21.defs
R samd21/snek-samd21.ld
R samd21/uf2conv.py
R snek-duino/.gitignore
R snek-duino/Makefile
R snek-duino/snek-duino-install.1
R snek-duino/snek-duino-install.in
R snek-duino/snek-duino.builtin
R snek-duino/snek-duino.c
M snek-install.defs
R snek-mega/.gitignore
R snek-mega/Arduino-usbserial-atmega16u2-Mega2560-Rev3.hex
R snek-mega/Makefile
R snek-mega/ef_acosh.c
R snek-mega/ef_atanh.c
R snek-mega/ef_remainder.c
R snek-mega/erf_gamma.c
R snek-mega/erf_lgamma.c
R snek-mega/exp2.c
R snek-mega/fdlibm.h
R snek-mega/kf_cos.c
R snek-mega/kf_sin.c
R snek-mega/machine/ieeefp.h
R snek-mega/math_config.h
R snek-mega/sf_asinh.c
R snek-mega/sf_erf.c
R snek-mega/sf_exp.c
R snek-mega/sf_exp2.c
R snek-mega/sf_log1p.c
R snek-mega/sf_log2.c
R snek-mega/sf_log2_data.c
R snek-mega/snek-mega-install.1
R snek-mega/snek-mega-install.in
R snek-mega/snek-mega-math.builtin
R snek-mega/snek-mega-math.c
R snek-mega/snek-mega-math.h
R snek-mega/snek-mega.builtin
R snek-mega/snek-mega.c
R snek-mega/wf_tgamma.c
M snek.defs
R windows/.gitignore
R windows/Instdrv/NSIS/Contrib/InstDrv/Example.nsi
R windows/Instdrv/NSIS/Contrib/InstDrv/InstDrv-Test.exe
R windows/Instdrv/NSIS/Contrib/InstDrv/InstDrv.c
R windows/Instdrv/NSIS/Contrib/InstDrv/InstDrv.dsp
R windows/Instdrv/NSIS/Contrib/InstDrv/InstDrv.dsw
R windows/Instdrv/NSIS/Contrib/InstDrv/Readme.txt
R windows/Instdrv/NSIS/Contrib/InstDrv/ircomm2k.inf
R windows/Instdrv/NSIS/Contrib/InstDrv/ircomm2k.sys
R windows/Instdrv/NSIS/Includes/java.nsh
R windows/Instdrv/NSIS/Includes/refresh-sh.nsh
R windows/Instdrv/NSIS/Plugins/InstDrv.dll
R windows/Makefile
R windows/altusmetrum.cat
R windows/altusmetrum.inf
R windows/pyapp_snek.nsi
R windows/snek-windows.builtin
R windows/snek-windows.c
R windows/snek-windows.h
R windows/snek.cfg.in
Log Message:
-----------
Restructure tree
The top-level directory is getting crowded. Make some subdirs:
ports: Snek ports. All of these build snek for some device
chips: SoC-specific code. To be used in building snek for some device
hosts: Snek hosts. Targets for installers and places to run snekde
Signed-off-by: Keith Packard <keithp at keithp.com>
Compare: https://github.com/keith-packard/snek/compare/3c3c8bafa6e6...ca601a5aa260
More information about the Snek
mailing list