micropython/ports
hahmadi 266146ad64 stm32/system_stm32: Support selection of HSE and LSI on L4 MCUs.
This commit adds the option to use HSE or MSI system clock, and LSE or LSI
RTC clock, on L4 MCUs.

Note that prior to this commit the default clocks on an L4 part were MSI
and LSE.  The defaults are now MSI and LSI.

In mpconfigboard.h select the clock source via:

    #define MICROPY_HW_RTC_USE_LSE (0) or (1)
    #define MICROPY_HW_CLK_USE_HSE (0) or (1)

and the PLLSAI1 N,P,Q,R settings:

    #define MICROPY_HW_CLK_PLLSAIN (12)
    #define MICROPY_HW_CLK_PLLSAIP (RCC_PLLP_DIV7)
    #define MICROPY_HW_CLK_PLLSAIQ (RCC_PLLQ_DIV2)
    #define MICROPY_HW_CLK_PLLSAIR (RCC_PLLR_DIV2)
2019-10-04 16:09:06 +10:00
..
bare-arm bare-arm, minimal: Set CSUPEROPT=-Os to get minimal firmware size. 2019-09-17 11:43:52 +10:00
cc3200 ports: Provide mp_hal_stdio_poll for sys.stdio polling where needed. 2019-07-01 17:10:12 +10:00
esp32 esp32/Makefile: Fix printing of supported git hash. 2019-09-20 14:37:53 +10:00
esp8266 esp8266/machine_adc: Add read_u16 method and refactor. 2019-09-05 22:13:04 +10:00
javascript py: Add global default_emit_opt variable to make emit kind persistent. 2019-08-28 12:47:58 +10:00
minimal minimal/frozentest.mpy: Update due to change in bytecode. 2019-10-01 12:26:22 +10:00
nrf nrf/main: Update the way the LED is used on startup. 2019-10-02 22:17:54 +02:00
pic16bit ports: Provide mp_hal_stdio_poll for sys.stdio polling where needed. 2019-07-01 17:10:12 +10:00
qemu-arm py: Add global default_emit_opt variable to make emit kind persistent. 2019-08-28 12:47:58 +10:00
samd samd: Add minimum config for Atmel SAMD21-XPLAINED-PRO board. 2019-08-20 21:30:36 +10:00
stm32 stm32/system_stm32: Support selection of HSE and LSI on L4 MCUs. 2019-10-04 16:09:06 +10:00
teensy ports: Provide mp_hal_stdio_poll for sys.stdio polling where needed. 2019-07-01 17:10:12 +10:00
unix py/bc: Change mp_code_state_t.exc_sp to exc_sp_idx. 2019-10-01 12:26:22 +10:00
windows mpy-cross,windows: Add msvc build of mpy-cross. 2019-09-18 22:16:36 +10:00
zephyr zephyr: Switch back to enabling I2C in board-specific configs. 2019-05-24 15:33:02 +10:00