13 Commits (993ab6aa2c2e8eadcfdf64371bfddaa8304f26cb)

Author SHA1 Message Date
iabdalkader 20f8ce1982 stm32/pyb_can: Add ability to calculate CAN bit timing from baudrate. 4 years ago
Damien George 1e4e2644ec stm32: Add support for a board to reserve certain peripherals. 4 years ago
iabdalkader c299cc94e3 stm32/pyb_can: Handle timeout arg for FDCAN in pyb_can_send. 4 years ago
stijn 84fa3312cf all: Format code to add space after C++-style comment start. 5 years ago
Jim Mussared def76fe4d9 all: Use MP_ERROR_TEXT for all error messages. 5 years ago
Damien George 1a3e386c67 all: Remove spaces inside and around parenthesis. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George ad7213d3c3 py: Add mp_raise_msg_varg helper and use it where appropriate. 5 years ago
Damien George d980d51807 stm32: Fix to build in nanbox mode. 5 years ago
Damien George 09376f0e47 py: Introduce MP_ROM_NONE macro for ROM to refer to None object. 5 years ago
Damien George ca8ff99e8c stm32: Use mp_printf with MICROPY_ERROR_PRINTER for uncaught exceptions. 5 years ago
iabdalkader f7a07b3605 stm32: Add support for FDCAN peripheral, exposed as pyb.CAN. 5 years ago
Damien George d06fd384c2 stm32/can: Factor CAN driver into low-level and Python bindings. 5 years ago
Chris Mason 1b956ec817 stm32: Add support for F413 MCUs. 6 years ago
Damien George 6e30f96b0b ports: Convert legacy uppercase macro names to lowercase. 6 years ago
Damien George e1ae9939ac stm32: Support compiling with object representation D. 6 years ago
Damien George 338af99a7f stm32/can: Use MP_OBJ_ARRAY_TYPECODE_FLAG_RW where appropriate. 6 years ago
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