14 Commits (3ea0862a6e3c97f6224548c41a225f270df4d205)

Author SHA1 Message Date
Damien George a03e6c1e05 stm32/irq: Define IRQ priorities directly as encoded hardware values. 7 years ago
Damien George a7ebac2eae stm32/can: Allow CAN pins to be configured per board. 7 years ago
Damien George 0abbafd424 stm32/can: Add "list" param to CAN.recv() to receive data inplace. 7 years ago
Damien George 06aa13c350 stm32/can: Use explicit byte extraction instead of casting to word ptr. 7 years ago
Damien George a25e6c6b65 stm32/can: Add CAN.info() method to retrieve error and tx/rx buf info. 7 years ago
Damien George d7e67fb1b4 stm32/can: Add CAN.state() method to get the state of the controller. 7 years ago
Damien George 1272c3c65d stm32/can: Add CAN.restart() method so controller can leave bus-off. 7 years ago
Damien George 823ca03008 stm32/can: Add "auto_restart" option to constructor and init() method. 7 years ago
Damien George 1608c4f5be stm32/can: Use enums to index keyword arguments, for clarity. 7 years ago
Damien George 2036196d71 stm32/can: Improve can.recv() so it checks for events, eg ctrl-C. 7 years ago
Damien George 3eb0694b97 stm32: Update HAL macro and constant names to use newer versions. 7 years ago
Damien George 4e35d10829 stm32/can: Support MCUs without a CAN2 peripheral. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Damien George 01dd7804b8 ports: Make new ports/ sub-directory and move all ports there. 7 years ago
Damien George 71c9cfb028 all: Convert remaining "mp_uint_t n_args" to "size_t n_args". 7 years ago
Damien George 8388ec4e35 stmhal: Update to new STM Cube HAL library. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 2bf5a947b2 stmhal: Make error messages more consistent across peripherals. 8 years ago
Damien George 48d867b4a6 all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers. 8 years ago
Damien George 0986675451 stmhal: Convert all module and method tables to use MP_ROM macros. 8 years ago
Damien George ca06fac4a1 stmhal: Update to use size_t for tuple/list accessors. 8 years ago
Damien George a5159edc20 stmhal: Enable micropython.schedule(). 8 years ago
Paul Sokolovsky eac22e29a5 all: Consistently update signatures of .make_new and .call methods. 8 years ago
Damien George 304cfda8c4 py/stream: Move ad-hoc ioctl constants to stream.h and rename them. 8 years ago
Krzysztof Blazewicz 7604de3fc2 stmhal/can: clear FIFO flags in IRQ handler 8 years ago
Paul Sokolovsky 07209f8592 all: Rename mp_obj_type_t::stream_p to protocol. 9 years ago
Damien George 5ab98d5c41 stmhal: Convert to use internal errno symbols; enable uerrno module. 9 years ago
Henrik Sölver c4587e2426 stmhal/can: Allow to get existing CAN obj if constructed without args. 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
Henrik Sölver 35e7d9c0f1 stmhal/can: Fix a bug in filter handling. 9 years ago
Dave Curtis 32b3549cce stmhal: Add symbolic #defines for interrupt levels in irq.h. 9 years ago
Damien George 731f359292 all: Add py/mphal.h and use it in all ports. 9 years ago
Damien George 1775b65e07 stmhal: Remove PYBVxx defines and use config vars for UART/CAN names. 10 years ago
Henrik e3cd154317 stmhal: Add support for sending and receiving CAN RTR messages. 10 years ago
Damien George 7d5e34287c stmhal: Allow sending CAN messages with timeout=0. 10 years ago
blmorris 4c45921349 stmhal: Use new %q format to print qstr's in a few more places. 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Henrik Sölver f80f1a7077 stmhal: Add support for CAN rx callbacks. 10 years ago
Damien George 05005f679e py: Remove mp_obj_str_builder and use vstr instead. 10 years ago
Damien George 2cf6dfa280 stmhal: Prefix includes with py/; remove need for -I../py. 10 years ago
Henrik Sölver acb92c186c Adding CAN filter management 10 years ago
Paul Sokolovsky f4a6a577ab stream: Convert .ioctl() to take fixed number of args. 10 years ago
Damien George d1b42d7b51 stmhal: Improve CAN init so that it can take sjw, bs1, bs2 args. 10 years ago
Damien George 1a8573ed0e stmhal: Update some inlined docs for network and CAN. 10 years ago
Damien George efc49c5591 stmhal: Improve CAN print function. 10 years ago
Henrik Sölver 504636815e stmhal: Added support for extended CAN frames. 10 years ago
Damien George 185cb0d943 stmhal: Use OSError with POSIX error code for HAL errors. 10 years ago
Damien George 6dba992182 stmhal: Add config option to disable/enable CAN driver. 10 years ago
Damien George 3550de4ebe stmhal: Add basic CAN bus support. 10 years ago