- 10 May, 2016 3 commits
-
-
Damien George authored
-
Damien George authored
-
Tobias Badertscher authored
-
- 08 May, 2016 1 commit
-
-
Henrik Sölver authored
Initialisation of CAN objects should now behave as other peripheral objects. Fixes issue #2001.
-
- 06 May, 2016 2 commits
-
-
Damien George authored
Addresses issue #2034.
-
Dave Hylands authored
-
- 05 May, 2016 7 commits
-
-
Damien George authored
-
Tobias Badertscher authored
-
Damien George authored
-
Tobias Badertscher authored
Also raise an exception for machine.freq and machine.deepsleep on this MCU, since they are not yet implemented.
-
Tobias Badertscher authored
-
Tobias Badertscher authored
-
Tobias Badertscher authored
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.
-
- 02 May, 2016 1 commit
-
-
Damien George authored
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.
-
- 29 Apr, 2016 1 commit
-
-
Damien George authored
On PYBLITEv1.0 there is no accelerometer and in this case the Accel() constructor should not silently succeed.
-
- 26 Apr, 2016 1 commit
-
-
Damien George authored
-
- 25 Apr, 2016 1 commit
-
-
Colin Hogben authored
Update the help() implementations in the cc3200, stmhal and teensy ports to use the pyhelp_print_obj function.
-
- 22 Apr, 2016 1 commit
-
-
Damien George authored
-
- 21 Apr, 2016 3 commits
-
-
Tobias Badertscher authored
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.
-
Tobias Badertscher authored
The way to lookup the flash sector now uses a much simpler table for all MCUs.
-
Tobias Badertscher authored
__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.
-
- 19 Apr, 2016 1 commit
-
-
Paul Sokolovsky authored
-
- 17 Apr, 2016 5 commits
-
-
Damien George authored
-
Tobias Badertscher authored
-
Tobias Badertscher authored
-
Damien George authored
Original patch was authored by Tobias Badertscher / @tobbad, but it was reworked to split UART edits from USB edits.
-
Damien George authored
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.
-
- 16 Apr, 2016 9 commits
-
-
Tobias Badertscher authored
-
Tobias Badertscher authored
-
Tobias Badertscher authored
-
Damien George authored
-
Tobias Badertscher authored
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)).
-
Tobias Badertscher authored
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.
-
Tobias Badertscher authored
-
Damien George authored
-
Jan Čapek authored
- add template rule that converts a specified source file into a qstring file - add special rule for generating a central header that contains all extracted/autogenerated strings - defined by QSTR_DEFS_COLLECTED variable. Each platform appends a list of sources that may contain qstrings into a new build variable: SRC_QSTR. Any autogenerated prerequisities are should be appened to SRC_QSTR_AUTO_DEPS variable. - remove most qstrings from py/qstrdefs, keep only qstrings that contain special characters - these cannot be easily detected in the sources without additional annotations - remove most manual qstrdefs, use qstrdef autogen for: py, cc3200, stmhal, teensy, unix, windows, pic16bit: - remove all micropython generic qstrdefs except for the special strings that contain special characters (e.g. /,+,<,> etc.) - remove all port specific qstrdefs except for special strings - append sources for qstr generation in platform makefiles (SRC_QSTR)
-
- 14 Apr, 2016 1 commit
-
-
Paul Sokolovsky authored
These are *defined* per-port, but why redeclare them again and again.
-
- 13 Apr, 2016 3 commits
-
-
Damien George authored
-
Damien George authored
The config variable MICROPY_MODULE_FROZEN is now made of two separate parts: MICROPY_MODULE_FROZEN_STR and MICROPY_MODULE_FROZEN_MPY. This allows to have none, either or both of frozen strings and frozen mpy files (aka frozen bytecode).
-
Peter Hinch authored
Fixes issues #1912 and #1913. UART documentation is also updated.
-