aboutsummaryrefslogtreecommitdiff
path: root/teensy
AgeCommit message (Collapse)Author
2014-02-15Implement proper exception type hierarchy.Damien George
Each built-in exception is now a type, with base type BaseException. C exceptions are created by passing a pointer to the exception type to make an instance of. When raising an exception from the VM, an instance is created automatically if an exception type is raised (as opposed to an exception instance). Exception matching (RT_BINARY_OP_EXCEPTION_MATCH) is now proper. Handling of parse error changed to match new exceptions. mp_const_type renamed to mp_type_type for consistency.
2014-02-15Change mp_obj_type_t.name from const char * to qstr.Damien George
Ultimately all static strings should be qstr. This entry in the type structure is only used for printing error messages (to tell the type of the bad argument), and printing objects that don't supply a .print method.
2014-02-12Remove mp_obj_new_exception_msg_1_arg and _2_arg.Damien George
2014-02-10Bah - Removed a couple of warnings for teensy that I didn't notice before.Dave Hylands
2014-02-10stm: Remove unused, useless and not-to-be-used strndup.Damien George
Addresses issue #275.
2014-02-10Merge pull request #271 from dhylands/teensy-2014-02-10Damien George
Updated teensy to work with latest on master
2014-02-10Updated teensy to work with latest on masterDave Hylands
Added analogRead, analogWriteXxx and servo support for teensy.
2014-02-10Get rid of calloc().Paul Sokolovsky
If there's malloc and memset, then there's no need for calloc, especially if we need to implement it ourselves.
2014-01-24Rework makefiles. Add proper dependency checking.Dave Hylands
2014-01-18Add source file name and line number to error messages.Damien George
Byte code has a map from byte-code offset to source-code line number, used to give better error messages.
2014-01-13made DEBUG control CFLAGS in Makefiles oter than stm as well.John R. Lenton
2014-01-11Added memzip filesystem support for teensyDave Hylands
You can now append a zipfile (containining uncomressed python sources) to the micropython.hex file. Use MEMZIP_DIR=directory when you call make, or set that in your environment to include a different tree of source files. Added sample /boot.py, /src/main.py, /test.py and /src/test.py files. Added run command so that you can execute scripts from REPL (until import is implemented). Added build directory to .gitignore
2014-01-08Make build output quieter.Dave Hylands
Use make V=1e make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. This should fix issue #117
2014-01-08Update teemsy/Makefile to use py.mkDave Hylands
I also fixed main.c to compile with the new str lexer
2014-01-08Move lexerstr to main py directory (everyone uses it).Damien George
2014-01-08Updated teensy to use common code from stm directory.Dave Hylands
Updated mconfigport.h to enable GC
2014-01-06Initial support for Teensy 3.1Dave Hylands