63 Commits (ffb13cc63366a4356a3a26df8e4b27632fd71f76)

Author SHA1 Message Date
Damien George 2bf5a947b2 stmhal: Make error messages more consistent across peripherals. 8 years ago
Damien George 0986675451 stmhal: Convert all module and method tables to use MP_ROM macros. 8 years ago
Damien George 22e2f4a0e8 stmhal/spi: Increase SPI transfer timeout, proportional to num bytes. 8 years ago
Damien George ff927cb106 stmhal/spi: Clean and/or invalidate D-cache before SPI DMA transfers. 8 years ago
Paul Sokolovsky eac22e29a5 all: Consistently update signatures of .make_new and .call methods. 8 years ago
Damien George 1b6d94bccd stmhal: Refactor to use extmod implementation of software SPI class. 8 years ago
Damien George 1375c52772 stmhal: Rename mp_hal_pin_set_af to _config_alt, to simplify alt config. 8 years ago
Damien George d49d81b167 stmhal: Refactor pin usage to use mp_hal_pin API. 8 years ago
Damien George bd925b59c3 stmhal/spi: Enable use of fast software SPI. 8 years ago
Damien George b932b2dd1f extmod/machine_spi: Use delay_half, not baudrate, for internal timing. 8 years ago
Damien George 9f1e395c16 stmhal/spi: Use software SPI if no periph id given, even if pins given. 8 years ago
Damien George d4a5ca5056 stmhal/spi: Make machine.SPI class conform to correct API. 8 years ago
Damien George a22a67661a stmhal/spi: Simplify spi_transfer function to take only one buf len arg. 8 years ago
Damien George 5bb28c7f10 extmod/machine_spi: Simplify SPI xfer function to only take one buf len. 8 years ago
Damien George 49406b0ac6 stmhal/spi: Support new machine SPI methods in legacy SPI object. 8 years ago
Damien George 9b64d1966b stmhal/spi: Factor out SPI transfer code to a single function. 8 years ago
Dave Hylands 460bceca39 stmhal: Make SPI NSS pin definition optional. 8 years ago
Tobias Badertscher e64032d6fd stmhal: L4: Adapt DMA to be able to support STM32L4 MCU series. 9 years ago
Dave Hylands 0edfb7a115 stmhal: Make spi use mp_hal_gpio_set_af 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
Tobias Badertscher c5d8ffef58 stmhal: Extend SPI support to fully support all SPI devices on STM32F429. 9 years ago
Damien George f7c4f9a640 stmhal: For SPI config, use HW_SPIx_SCK instead of HW_ENABLE_SPIx. 9 years ago
Dave Hylands 0077958ad0 stmhal: Put all DMA channel & stream definitions in dma.h 9 years ago
Damien George 731f359292 all: Add py/mphal.h and use it in all ports. 9 years ago
Damien George d80174d7c3 stmhal: Use polling, not DMA, for 1 byte SPI transfers. 9 years ago
Dave Hylands 8a1a5c236d stmhal: Fix hardfault when configured as a SPI slave 9 years ago
Dave Hylands 5e11d2b349 stmhal: Enable SPI support for F7 MCUs. 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
blmorris c5175526dd stmhal/dma.c: Modify dma_init() to accept init struct as an argument 10 years ago
Damien George 3d30d605f5 stmhal: Factor out DMA initialisation code from spi.c. 10 years ago
Damien George 53a8aeb6e7 stmhal: Fix slow SPI DMA transfers by removing wfi from DMA wait loop. 10 years ago
Damien George 17d9b5006d stmhal: Fix off-by-one error when checking for valid I2C and SPI bus. 10 years ago
Damien George 70446f46c2 stmhal: Allow to name SPI busses, and give them names for pyboard. 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Damien George 05005f679e py: Remove mp_obj_str_builder and use vstr instead. 10 years ago
Dave Hylands d7f199465f stmhal: Add support for FEZ Cerb40 II board from ghielectronics.com. 10 years ago
Damien George 2cf6dfa280 stmhal: Prefix includes with py/; remove need for -I../py. 10 years ago
Damien George b66a31c42c stmhal: Allow SPI.init to specify prescaler directly; improve SPI docs. 10 years ago
Damien George 9de6773237 stmhal: Make SPI bus use DMA for transfers. 10 years ago
Damien George 480a7ce58f stmhal: Change SPI phase spec to 0,1 to match standard conventions. 10 years ago
Damien George 185cb0d943 stmhal: Use OSError with POSIX error code for HAL errors. 10 years ago
Damien George bfa7b480a7 stmhal: For spi_init, add argument to select if NSS pin is enabled. 10 years ago
Damien George b766e79510 stmhal: Initial implementation of cc3k module and driver. 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 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 5fc400ccdb stmhal: Document physical pins for SPI, I2C, UART busses. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George baa2afbb58 stmhal: Fix typos in class documentation. 11 years ago