41 Commits (8f5bc3ffc0603bbc338f9a24bd7d278b72d5c9d7)

Author SHA1 Message Date
Peter Hinch ef47a67cf4 stmhal/dac: Fix DAC (re-)initialisation by resetting DMA. 9 years ago
Peter Hinch 641300dccb stmhal/dac: DAC deinit() method added. 9 years ago
Tobias Badertscher e64032d6fd stmhal: L4: Adapt DMA to be able to support STM32L4 MCU 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
Dave Hylands 0077958ad0 stmhal: Put all DMA channel & stream definitions in dma.h 9 years ago
Damien George b5c43be135 stmhal: Allow to set bits resolution for DAC; 8 is default, can have 12. 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
Damien George abc24c1876 stmhal: Allow DAC.write_timed to take Timer object in place of freq. 9 years ago
Damien George 6f5e0fe955 stmhal: Clean up DAC code a little. 9 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 2cf6dfa280 stmhal: Prefix includes with py/; remove need for -I../py. 10 years ago
Damien George e4e52f5370 stmhal: Allow DAC object to be initialised from a pin. 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 3ef911345c stmhal: Update STM32Cube F4 HAL driver to V1.3.0. 10 years ago
Damien George 7cc20e7e99 stmhal: Wrap DAC module and os.urandom in relevant #if's. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Emmanuel Blot f6932d6506 Prefix ARRAY_SIZE with micropython prefix MP_ 11 years ago
Damien George eee31288dd stmhal: Fix DAC documentation: need to convert float to int for buf. 11 years ago
Damien George 2de4d59171 stmhal: Fix write_timed function for DAC(2). 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 3eb8163b16 stmhal: Add documentation for DAC and Timer classes. 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 dbc81df5d4 Simplify names for argcheck.c / arg parsing. 11 years ago
Damien George 6d3c5e4301 Add ARRAY_SIZE macro, and use it where possible. 11 years ago
Damien George 764af4b7c5 stmhal: Make DAC dynamically allocate instances; rename dma->write_timed. 11 years ago
Damien George d689430e79 stmhal: Add SPI class. 11 years ago
Damien George 38ae014e42 stmhal: Update ADC, DAC and I2C objects to use new buffer protocol. 11 years ago
Damien George 4d7f4eb6a9 stmhal: Add ADC function to read data at a given frequency. 11 years ago
Damien George 8a1cab952f py: Fix mp_get_buffer, and use it in more places. 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
Damien George 6609d636d0 stmhal: Add comment to DAC driver for function to implement. 11 years ago
Damien George b13492f8ad stmhal: Add DAC driver. 11 years ago