97 Commits (cdad2b6f4d2ef7488b763a11da10cf0d6647a342)

Author SHA1 Message Date
Paul Sokolovsky d3b1f0b627 py/runtime: mp_stack_ctrl_init() should be called immediately on startup. 9 years ago
Damien George 5b3f0b7f39 py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 9 years ago
Damien George 84b245f187 lib/utils: Add pyexec_frozen_module to load and execute frozen module. 9 years ago
Ryan Shaw f99491cbf7 stmhal: uart.any() function now returns number of bytes available. 9 years ago
Paul Sokolovsky 73ff0687f2 lib/utils/printf: Move from stmhal/ . 9 years ago
Damien George 40274fec9c lib/pyexec: Move header pyexec.h from stmhal directory. 9 years ago
Dave Hylands 53ea2b5ce2 teensy: Switch over to using frozen modules instead of memzip 9 years ago
Dave Hylands 074d713bfb lib/memzip: Factor out memzip from teensy/ into lib/memzip. 9 years ago
Paul Sokolovsky 0ec51441de stmhal: pyexec.c is common module, move to lib/utils/ . 9 years ago
Damien George 731f359292 all: Add py/mphal.h and use it in all ports. 9 years ago
Paul Sokolovsky eb099b9893 teensy: Switch from HAL_* to mp_hal_* functions. 9 years ago
Paul Sokolovsky 0dbd928cee Makefiles: Remove duplicate object files when linking. 9 years ago
Damien George 4078336d38 teensy: Update to compile with latest changes to stmhal Pin class. 9 years ago
Paul Sokolovsky e0f5df579b all: Make netutils.h available to all ports by default. 9 years ago
Damien George 0334058fa4 Rename "Micro Python" to "MicroPython" in REPL, help, readme's and misc. 9 years ago
Paul Sokolovsky 1b586f3a73 py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 9 years ago
Damien George 0851751615 stmhal: Factor GPIO clock enable logic into mp_hal_gpio_clock_enable. 9 years ago
Damien George 1db3577bcb teensy: Add readinto and readlines qstrs. 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Paul Sokolovsky 2192824ad8 teensy: Fix function prototype. 10 years ago
Paul Sokolovsky 3a84c8b58d string0.c: Move from stmhal/ to lib/. 10 years ago
Damien George 0b32e50365 stmhal: Make pybstdio usable by other ports, and use it. 10 years ago
Li lin b276cf1977 fix type error 10 years ago
Damien George 827b0f747b py: Change vstr_null_terminate -> vstr_null_terminated_str, returns str. 10 years ago
Damien George 0d3cb6726d py: Change vstr so that it doesn't null terminate buffer by default. 10 years ago
Paul Sokolovsky 708574b082 teensy: Update for readline module moved to lib/. 10 years ago
Damien George 4a5895c4eb py: Disable stack checking by default; enable on most ports. 10 years ago
Damien George 3b51b3e90f stmhal: Collect all root pointers together in 1 place. 10 years ago
Damien George b4b10fd350 py: Put all global state together in state structures. 10 years ago
Damien George b68d98d61c teensy: Prefix includes with py/; remove need for -I../py. 10 years ago
Paul Sokolovsky 3b74c91684 Makefiles: Support py/*.h includes per #1022. 10 years ago
Paul Sokolovsky 46c3ab2004 modsys: Add sys.print_exception(exc, file=sys.stdout) function. 10 years ago
Damien George 3b603f29ec Use MP_DEFINE_CONST_DICT macro to define module dicts. 10 years ago
Damien George 5cbc9e0db0 stmhal: Reduce coupling between USB driver and readline. 10 years ago
Paul Sokolovsky 91386eee26 ports: Define mp_off_t. 10 years ago
stijn 4e54c876a7 Add -Wpointer-arith flag to prevent problems with pointer arithmetic on void* 10 years ago
Damien George 481d714bd5 stmhal: Overhaul UART class to use read/write, and improve it. 10 years ago
Damien George f042d7a4d7 stmhal: Fix edge case for timer PWM of 100%. 10 years ago
Dave Hylands a21f56b2d5 Added pyb.elapsed_millis and pyb.elapsed_micros 10 years ago
Dave Hylands ada691e704 teensy: Enable 8-byte stack alignment for IRQ Handlers. 10 years ago
Dave Hylands 39296b40d4 Fix timer overflow code. 10 years ago
Damien George e8ea0724da stmhal, timer: Factor code to compute PWM percent; improve 32bit case. 10 years ago
Dave Hylands 53d5fa641f Add pulse_width_percent to teensy. 10 years ago
Dave Hylands becbc87fd7 Add Timer support (PWM, OC, IC) for stmhal and teensy 10 years ago
Damien George b92cbe6129 py: Move definition of mp_sys_exit to core. 10 years ago
Dave Hylands 76dd7e180f Update teensy README.md file 10 years ago
Damien George 3475b04101 teensy: Fix multiple definition of irq functions. 10 years ago
Damien George 29c92a407c stmhal: Use MP_OBJ_NEW_SMALL_INT directly in pyb.micros/millis. 10 years ago
Dave Hylands 8c0add4eee Add save/restore_irq 10 years ago
Damien George e5cbb70328 stmhal: Make enable_irq and disable_irq inline functions. 10 years ago