64 Commits (799d88818232a1c73095e848c116170d7db1852e)

Author SHA1 Message Date
Jim Mussared 8b27482692 top: Update Python formatting to black "2023 stable style". 2 years ago
Damien George 71344c15f4 tests/pyb: Update CAN tests to match revised CAN API. 3 years ago
David P f365025c9c stm32: Replace master/slave with controller/peripheral in I2C and SPI. 3 years ago
David Lechner 3dc324d3f1 tests: Format all Python code with black, except tests in basics subdir. 5 years ago
Damien George 39bc430e44 tests/pyb: Adjust UART and Timer tests to work on PYBD_SF6. 5 years ago
Damien George 4b184d1281 tests/pyb: Refactor pyboard tests to work on PYBv1, PYBLITEv1 and PYBD. 5 years ago
Damien George 9ec73aedb4 stm32/timer: Fix Timer.freq() calc so mult doesn't overflow uint32_t. 5 years ago
Damien George 38cb95710a tests/pyb: Update UART expected output now that default timeout is 0. 6 years ago
Damien George 8007d0bd16 stm32/uart: Add rxbuf keyword arg to UART constructor and init method. 6 years ago
Damien George 9262f54138 stm32/uart: Always show the flow setting when printing a UART object. 6 years ago
Damien George a12d046c42 tests/pyb: Make i2c and pyb1 pyboard tests run again. 7 years ago
Damien George db2bdad8a2 tests/pyb: Update tests to run correctly on PYBv1.0. 7 years ago
Damien George d12483d936 tests/pyb: Add test for pyb.ADCAll class. 7 years ago
Damien George b30e0d2f26 stm32/dac: Add buffering argument to constructor and init() method. 7 years ago
Peter Hinch 4f40fa5cf4 stm32/adc: Add read_timed_multi() static method, with docs and tests. 7 years ago
Damien George 0096a4bd00 tests/pyb/adc.py: Fix test so that it really does test ADC values. 7 years ago
Damien George 22c693aa6f tests/pyb/can: Update to test pyb.CAN restart, state, info, inplace recv 7 years ago
Damien George 9600a1f207 tests/pyb: Update CAN test to expect that auto_restart is printed. 7 years ago
Paul Sokolovsky 85d809d1f4 tests: Convert remaining "sys.exit()" to "raise SystemExit". 8 years ago
Ville Skyttä ca16c38210 various: Spelling fixes 8 years ago
Damien George d3bb3e38df tests/pyb: Adjust tests so they can run on PYB and PYBLITE. 8 years ago
Damien George 27c149efe0 stmhal: Add pyb.fault_debug() function, to control hard-fault behaviour. 8 years ago
Damien George 54ea10a76a tests/pyb/uart: Update test to match recent change to UART timeout_char. 8 years ago
Damien George c4e58eaa98 stmhal/i2c: Add option to I2C to enable/disable use of DMA transfers. 8 years ago
Damien George b236b1974b tests/pyb: Update exp file for previously updated extint test. 8 years ago
Damien George 2f02960607 tests/pyb: Add test for ExtInt when doing swint while disabled. 8 years ago
Damien George 97ce5d1d77 tests/pyb/rtc: Make RTC test on pyboard more reliable by calling init(). 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 f7e5e677df tests/pyb: Add simple test for stm module on pyboard. 9 years ago
Damien George ef5f2669dc tests: For pyboard, add test for I2C error handling and recovery. 9 years ago
Damien George 3cfb15cf4d tests: Update pyboard LED test. 9 years ago
Damien George 0d9b450701 stmhal: Make uart.write() function correctly for timeout=0. 9 years ago
Ryan Shaw f99491cbf7 stmhal: uart.any() function now returns number of bytes available. 9 years ago
Henrik Sölver 35e7d9c0f1 stmhal/can: Fix a bug in filter handling. 9 years ago
Peter Hinch 0e87bc7be6 tests: In pyb RTC tests, check wakeup register values. 9 years ago
Damien George 526dd54252 tests: Add test for pyboard SPI in slave mode, recv with no master. 9 years ago
Damien George 6d1ff7e966 tests: Add tests to create valid and invalid UART, I2C, SPI, CAN busses. 10 years ago
Dave Hylands a3a14b9db7 lib: Fix some issues in timeutils 10 years ago
blmorris 5df81de7af sthmal/rtc.c: Add calibration() method to get/set RTC fine-tuning value. 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
Damien George 7a6dbaa89b stmhal: Make LED object print LED(x) for consistency with constructor. 10 years ago
Damien George db80b65402 tests: Make pyb/timer test check callback timing properly. 10 years ago
Damien George ac4f6b804f stmhal: Fix adc.read_timed so buffer store respects element size. 10 years ago
Damien George b67253e96f tests: Update pyb/uart.py test since baudrate of 1200 is too low. 10 years ago
Damien George 626ee90ce1 tests: Add more tests for pyb.Timer class. 10 years ago
Henrik Sölver f80f1a7077 stmhal: Add support for CAN rx callbacks. 10 years ago
Damien George baafb290ad stmhal: Add uart.sendbreak() method, to send a break condition. 10 years ago
Damien George 6936f4626c tests: Get misc/print_exception and pyb/spi working on pyboard. 10 years ago