42 Commits (8f5bc3ffc0603bbc338f9a24bd7d278b72d5c9d7)

Author SHA1 Message Date
Matt Brejza 5af6184e72 stmhal: Make ADC channel 16 available on L4 MCUs. 8 years ago
Tobias Badertscher af9889f99a stmhal/adc.c: Get ADC working on STM32L4 MCUs. 8 years ago
Tobias Badertscher d49a547064 stmhal: L4: Modify adc.c to add support for STM32L4 series. 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 731f359292 all: Add py/mphal.h and use it in all ports. 9 years ago
Damien George 0851751615 stmhal: Factor GPIO clock enable logic into mp_hal_gpio_clock_enable. 9 years ago
Dave Hylands 92d4b51ad5 stmhal: Add STM32F7DISC and associated changes. 9 years ago
Dave Hylands ea8bf81058 stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H. 9 years ago
Damien George 7693ef3bd6 stmhal: Allow ADC.read_timed to take Timer object in place of freq. 9 years ago
Kaspar Schleiser f5dd6f7f37 py/binary: Make return type of mp_binary_get_size size_t instead of int. 10 years ago
Damien George b42a5050fb stmhal: Add support for STM32F411 MCU. 10 years ago
Damien George c92c7a69fd stmhal: Exclude code for those timers that don't exist in the hardware. 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
Damien George dfad7f471a stmhal: Optimise ADC.read_timed() so that it can sample up to 750kHz. 10 years ago
Damien George ac4f6b804f stmhal: Fix adc.read_timed so buffer store respects element size. 10 years ago
Damien George 91fc4a9ce1 stmhal: Fix ADC multiplier from 4096 to 4095; optimise fp operation. 10 years ago
blmorris 97f14606f5 stmhal/adc.c: Fix calculation of read_core_vref() 10 years ago
Damien George 2cf6dfa280 stmhal: Prefix includes with py/; remove need for -I../py. 10 years ago
Dave Hylands 39296b40d4 Fix timer overflow code. 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 b0accc8571 stmhal: Fix printing of pin name in error message. 10 years ago
Paul Sokolovsky 5813efd634 stmhal: pyb.adc: Clarify that buffer with elements of any size can be used. 11 years ago
Dave Hylands 535b88133c Fix problem with ADC reads and multiple channels 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 d689430e79 stmhal: Add SPI class. 11 years ago
Paul Sokolovsky 206dd2a905 stmhal: Update for mp_binary_get_size() refactor. 11 years ago
Damien George 38ae014e42 stmhal: Update ADC, DAC and I2C objects to use new buffer protocol. 11 years ago
Damien George c66d86c5ce stmhal: Big cleanup; merge gpio into Pin; make names consistent. 11 years ago
Damien George d553be5982 build: Simplify build directory layout by putting all headers in genhdr. 11 years ago
Damien George 4d7f4eb6a9 stmhal: Add ADC function to read data at a given frequency. 11 years ago
Damien George ea13f407a3 py: Change nlr_jump to nlr_raise, to aid in debugging. 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
Dave Hylands f0729b19ad Fix netduino to build 11 years ago
Damien George da5e269e51 stmhal: Make pyb.ADC the ADC class (not a function). 11 years ago
Dave Hylands 1403298a65 stmhal - fixed up adc stuff 11 years ago