29 Commits (ffe807f349294b67de15f63e113972251cd3901c)

Author SHA1 Message Date
Damien George a3320e7811 stmhal/i2c: Remove use of legacy I2C_NOSTRETCH_DISABLED option. 8 years ago
Damien George d49d81b167 stmhal: Refactor pin usage to use mp_hal_pin API. 8 years ago
Krzysztof Blazewicz 06a1194300 stmhal/{accel,lcd}: use GPIO_{set,clear}_pin 8 years ago
Damien George 12c61ddddd stmhal/accel: Raise an exception if the accel couldn't be initialised. 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 6f70283909 stmhal: Make accel AVDD pin configurable via mpconfigboard.h. 9 years ago
Dave Hylands ea8bf81058 stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H. 9 years ago
Damien George 2cf6dfa280 stmhal: Prefix includes with py/; remove need for -I../py. 10 years ago
Damien George ecc88e949c Change some parts of the core API to use mp_uint_t instead of uint/int. 10 years ago
Damien George fa1ecda3fd stmhal, accel: Increase start-up times to 30ms; add extra 30ms delay. 10 years ago
Damien George f1dbd78b30 stmhal: Document pyb.Accel() constructor, that it takes time to start. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Paul Sokolovsky 9b71b16a94 unix,stmhal: Make "mpconfig.h" be first included, as other headers depend on it. 11 years ago
Damien George 8d09640b22 stmhal: Add documentation in comments, and script to generate HTML. 11 years ago
Damien George b97c2f4c14 stmhal, accel: Add TODO comment. 11 years ago
Damien George eb8bdf4df3 stmhal, SPI and I2C: Improvements to functionality and consistency. 11 years ago
Damien George ff91156d34 stmhal: Improved configurability for I2C and SPI busses. 11 years ago
Damien George 57e415859a stmhal: Tidy up and improve consistency across modules. 11 years ago
Damien George d689430e79 stmhal: Add SPI class. 11 years ago
Damien George 15d18069c5 py: Remove old "run time" functions that were 1 liners. 11 years ago
Damien George df6567e634 Merge map.h into obj.h. 11 years ago
Damien George d17926db71 Rename rt_* to mp_*. 11 years ago
Damien George eed6f26bed stmhal: Use rt_check_nargs to check number of arguments. 11 years ago
Damien George 9b196cddab Remove mp_obj_type_t.methods entry and use .locals_dict instead. 11 years ago
Damien George c12b2213c1 Change mp_method_t.name from const char * to qstr. 11 years ago
Damien George 6cfda3084d stmhal: Add I2C support; change accel driver to use new I2C. 11 years ago
Damien George 0e9d96f18f stmhal: Make Led, Servo and Accel their class, not a function. 11 years ago
Damien George 9050b2ee33 stmhal: Improved interface to accelerometer. 11 years ago
Damien George f78d9b1a72 stmhal: Add accelerometer driver; fix bug with LFN. 11 years ago