summaryrefslogtreecommitdiffstatshomepage
path: root/teensy/qstrdefsport.h
Commit message (Collapse)AuthorAge
* py: Add rules for automated extraction of qstrs from sources.Jan Čapek2016-04-16
| | | | | | | | | | | | | | | | | | | | | - add template rule that converts a specified source file into a qstring file - add special rule for generating a central header that contains all extracted/autogenerated strings - defined by QSTR_DEFS_COLLECTED variable. Each platform appends a list of sources that may contain qstrings into a new build variable: SRC_QSTR. Any autogenerated prerequisities are should be appened to SRC_QSTR_AUTO_DEPS variable. - remove most qstrings from py/qstrdefs, keep only qstrings that contain special characters - these cannot be easily detected in the sources without additional annotations - remove most manual qstrdefs, use qstrdef autogen for: py, cc3200, stmhal, teensy, unix, windows, pic16bit: - remove all micropython generic qstrdefs except for the special strings that contain special characters (e.g. /,+,<,> etc.) - remove all port specific qstrdefs except for special strings - append sources for qstr generation in platform makefiles (SRC_QSTR)
* teensy: Update to compile with latest changes to stmhal Pin class.Damien George2015-10-19
|
* teensy: Add readinto and readlines qstrs.Damien George2015-05-13
|
* Added pyb.elapsed_millis and pyb.elapsed_microsDave Hylands2014-09-28
| | | | | | tested using: stmhal: https://github.com/dhylands/upy-examples/blob/master/elapsed.py teensy: https://github.com/dhylands/upy-examples/blob/master/teensy/elapsed.py
* Add pulse_width_percent to teensy.Dave Hylands2014-09-23
| | | | | | Fix stmhal and teensy print routines to report actual prescaler an period. Fix teensy build to use soft-float Add USE_ARDUINO_TOOLCHAIN option to teensy build
* Add Timer support (PWM, OC, IC) for stmhal and teensyDave Hylands2014-09-19
|
* Add support for selecting pin alternate functions from python.Dave Hylands2014-08-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Converts generted pins to use qstrs instead of string pointers. This patch also adds the following functions: pyb.Pin.names() pyb.Pin.af_list() pyb.Pin.gpio() dir(pyb.Pin.board) and dir(pyb.Pin.cpu) also produce useful results. pyb.Pin now takes kw args. pyb.Pin.__str__ now prints more useful information about the pin configuration. I found the following functions in my boot.py to be useful: ```python def pins(): for pin_name in dir(pyb.Pin.board): pin = pyb.Pin(pin_name) print('{:10s} {:s}'.format(pin_name, str(pin))) def af(): for pin_name in dir(pyb.Pin.board): pin = pyb.Pin(pin_name) print('{:10s} {:s}'.format(pin_name, str(pin.af_list()))) ```
* Updated teensy to build.Dave Hylands2014-06-15
| | | | Refactored some stmhal files which are shared with teensy.
* Updated teensy to work with latest on masterDave Hylands2014-02-10
Added analogRead, analogWriteXxx and servo support for teensy.