13 Commits (4ada56d4cb4c518d2a78f7d7a600a4537188310a)

Author SHA1 Message Date
Jim Mussared def76fe4d9 all: Use MP_ERROR_TEXT for all error messages. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George 69b238ec63 stm32/accel: Fix Accel.read() method so it does read a byte. 5 years ago
Frederic.Pierson 28062b5108 stm32/accel: Add support for KXTJ3. 5 years ago
Damien George 3105207aff stm32/accel: Rename MMA I2C macro constants to make it generic. 5 years ago
Andrew Leech ed2b6ea0a8 stm32/i2c: Make timeout for hardware I2C configurable. 6 years ago
Damien George e1ae9939ac stm32: Support compiling with object representation D. 6 years ago
Damien George a0f7b4c678 stm32/accel: Switch pyb.Accel to use new C-level I2C API. 7 years ago
Damien George 0c54d0c288 stm32: Rename legacy pyb.I2C helper functions to start with pyb_i2c_. 7 years ago
Damien George 2dca693c24 stm32: Change pin_X and pyb_pin_X identifiers to be pointers to objects. 7 years ago
Damien George 6b51eb22c8 stm32: Consolidate include of genhdr/pins.h to single location in pin.h. 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
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 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 6ab5512132 stmhal: Use mp_hal_delay_ms instead of HAL_Delay. 8 years ago
Paul Sokolovsky eac22e29a5 all: Consistently update signatures of .make_new and .call methods. 8 years ago
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