| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-08-04 | stmhal: Fix I2C mappings for STM32F429DISC board. | David Siorpaes | |
| 2016-07-30 | stmhal: Make SPI NSS pin definition optional. | Dave Hylands | |
| Some boards (like the GHI Electronics G30 Dev Board) don't use NSS at all and rather just use GPIO chip selects. | |||
| 2016-07-30 | stmhal: fixing malloc when used with external libraries | Matt Brejza | |
| 2016-06-29 | stmhal: Enable SD card on L4 MCUs. | dpslwk | |
| 2016-06-29 | stmhal: Correct DMA to allow SD card on L4 MCUs. | dpslwk | |
| 2016-06-29 | stmhal: Update HALCOMMITS due to change to hal | dpslwk | |
| 2016-06-29 | stmhal: Port of f4 hal commit 1d7fb82 to l4 hal | dpslwk | |
| 2016-06-18 | all: Rename mp_obj_type_t::stream_p to protocol. | Paul Sokolovsky | |
| It's now used for more than just stream protocol (e.g. pin protocol), so don't use false names. | |||
| 2016-06-06 | stmhal: Add board definition files for Olimex STM32-E407. | Stefan Hölzl | |
| 2016-06-03 | stmhal/uart.c: Fix wrong baudrate calculation for stm32l4 series. | Tobias Badertscher | |
| 2016-05-31 | stmhal/dac: DAC deinit() method added. | Peter Hinch | |
| 2016-05-29 | stmhal/moduos: getcwd(): Use mp_obj_new_exception_arg1(). | Paul Sokolovsky | |
| Argument types were converted, but old function call of mp_obj_new_exception_msg_varg() remained. | |||
| 2016-05-26 | extmod/machine_i2c: Redo mp_hal_pin macros to use open_drain and od_low. | Damien George | |
| mp_hal_pin_config_od is renamed mp_hal_pin_open_drain, and mp_hal_pin_low is mp_hal_pin_od_low. | |||
| 2016-05-23 | stmhal: Support frozen packages using .mpy files. | Damien George | |
| See issue #1814. | |||
| 2016-05-13 | stmhal/sdcard: Allow to do unaligned read-from/write-to SD card. | Damien George | |
| For example, the following code now works with a file on the SD card: f = open('test', 'rb') # test must be 1024 bytes or more in size f.seek(511) f.read(513) Also works for writing. Fixes issue #1863. | |||
| 2016-05-13 | stmhal/i2c: Expose I2CHandle3 for use by custom C code. | Damien George | |
| If custom C code uses the I2C busses then it needs access to these structures for i2c_init(). | |||
| 2016-05-13 | stmhal/led: Allow LEDs to be in PWM mode with TIM1 and channels 1-4. | Damien George | |
| This allows PYBv3 to use PWM for LED(1) and LED(2). | |||
| 2016-05-10 | stmhal: For network drivers, convert to use MP_Exxx errno symbols. | Damien George | |
| 2016-05-10 | stmhal: Convert to use internal errno symbols; enable uerrno module. | Damien George | |
| 2016-05-10 | stmhal: Fix clock configuration for STM32L476-discovery; also add I2C2. | Tobias Badertscher | |
| 2016-05-08 | stmhal/can: Allow to get existing CAN obj if constructed without args. | Henrik Sölver | |
| Initialisation of CAN objects should now behave as other peripheral objects. Fixes issue #2001. | |||
| 2016-05-06 | stmhal/sdcard: Fix initialisation of DMA TX so that writes work. | Damien George | |
| Addresses issue #2034. | |||
| 2016-05-06 | stmhal/dma: Fix builds for boards with an F4 or F7 but no DAC. | Dave Hylands | |
| 2016-05-05 | stmhal: For LIMIFROG board, add early-init function to get to DFU mode. | Damien George | |
| 2016-05-05 | stmhal: Add board files for LIMIFROG board. | Tobias Badertscher | |
| 2016-05-05 | stmhal/dma: Make DAC DMA descriptors conditional on having a DAC. | Damien George | |
| 2016-05-05 | stmhal: L4: Add support for machine.sleep on STM32L4 MCUs. | Tobias Badertscher | |
| Also raise an exception for machine.freq and machine.deepsleep on this MCU, since they are not yet implemented. | |||
| 2016-05-05 | stmhal: L4: Make CCM/DTCM RAM start-up conditional on MCU type. | Tobias Badertscher | |
| 2016-05-05 | stmhal: L4: Adapt startup code, clock configuration and interrupts. | Tobias Badertscher | |
| 2016-05-05 | stmhal: L4: Adapt DMA to be able to support STM32L4 MCU series. | Tobias Badertscher | |
| The main thing is to change the DMA code in a way that the structure DMA_Stream_TypeDef (which is similar to DMA_Channel_TypeDef on stm32l4) is no longer used outside of dma.c, as this structure only exists for the F4 series. Therefore I introduced a new structure (dma_descr_t) which handles all DMA specific stuff for configuration. Further the periphery (spi, i2c, sdcard, dac) does not need to know the internals of the dma. | |||
| 2016-05-02 | stmhal, cc3200: Change i2c.scan() method to scan addresses 0x08-0x77. | Damien George | |
| A standard I2C address is 7 bits but addresses 0b0000xxx and 0b1111xxx are reserved. The scan() method is changed to reflect this, along with the docs. | |||
| 2016-04-29 | stmhal/accel: Raise an exception if the accel couldn't be initialised. | Damien George | |
| On PYBLITEv1.0 there is no accelerometer and in this case the Accel() constructor should not silently succeed. | |||
| 2016-04-26 | extmod, stmhal: Fix typo of macro that detects if float is enabled. | Damien George | |
| 2016-04-25 | cc3200, stmhal, teensy: Use pyhelp_print_obj function. | Colin Hogben | |
| Update the help() implementations in the cc3200, stmhal and teensy ports to use the pyhelp_print_obj function. | |||
| 2016-04-22 | extmod/machine_i2c: Allow mp_hal_pin_obj_t to be any type, not a ptr. | Damien George | |
| 2016-04-21 | stmhal: L4: Add support for external interrupts/events. | Tobias Badertscher | |
| The L4 MCU supports 40 Events/IRQs lines of the type configurable and direct. But this L4 port only supports configurable line types which are already supported by uPy. For details see page 330 of RM0351, Rev 1. The USB_FS_WAKUP event is a direct type and there is no support for it. | |||
| 2016-04-21 | stmhal: L4: Modify flash.c and storage.c to support L4 MCU. | Tobias Badertscher | |
| The way to lookup the flash sector now uses a much simpler table for all MCUs. | |||
| 2016-04-21 | stmhal: L4: Modify mphalport to support L4 MCU. | Tobias Badertscher | |
| __GPIOI_CLK_ENABLE is defined in hal/l4/inc/Legacy/stm32_hal_legacy.h as __HAL_RCC_GPIOI_CLK_ENABLE, and that latter macro is not defined anywhere else (because the L4 does not have port GPIOI). So the test for GPIOI is needed, along with the test for the CLK_ENABLE macro. | |||
| 2016-04-19 | stmhal: Update Makefile dependencies. | Paul Sokolovsky | |
| 2016-04-17 | stmhal: Fix machine.unique_id() function to work for all MCUs. | Damien George | |
| 2016-04-17 | stmhal: L4: Modify timer.c to support L4 MCU. | Tobias Badertscher | |
| 2016-04-17 | stmhal: L4: Modify rtc.c to support L4 MCU. | Tobias Badertscher | |
| 2016-04-17 | stmhal: L4: Modify usbd_conf.c to support L4 MCU. | Damien George | |
| Original patch was authored by Tobias Badertscher / @tobbad, but it was reworked to split UART edits from USB edits. | |||
| 2016-04-17 | stmhal: L4: Modify uart.c to support L4 MCU. | Damien George | |
| L4 does not have UART6, and has similar registers to the F7. Original patch was authored by Tobias Badertscher / @tobbad, but it was reworked to split UART edits from USB edits. | |||
| 2016-04-16 | stmhal: L4: Modify adc.c to add support for STM32L4 series. | Tobias Badertscher | |
| 2016-04-16 | stmhal: L4: Add line to Makefile for building L4 series. | Tobias Badertscher | |
| 2016-04-16 | stmhal: L4: Add board definition files for STM32L476DISC. | Tobias Badertscher | |
| 2016-04-16 | stmhal: Update HALCOMMITS due to change to hal. | Damien George | |
| 2016-04-16 | stmhal: L4: Adapt UART HAL to avoid 64-bit integer division. | Tobias Badertscher | |
| 64-bit integer division brings a dependency on library functions. It is avoided here by dividing fck and baud by a common divisior. The error is the better (1/(2*0x300)) as with 64 bit division (1/(0x300)). | |||
| 2016-04-16 | stmhal: L4: Add basic STM32L4xx HAL files. | Tobias Badertscher | |
| These files come from STM32Cube_FW_L4_V1.3.0, with Windows line endings converted to unix. Only basic HAL files are added. In addition the QSPI support is included to support later external QSPI flash as mass storage. | |||
