mirror of https://github.com/ARMmbed/mbed-os.git
`rtc_write` must start the RTC. `time()` uses `rtc_write(0)` to start
the RTC if it is not already enabled, but this check made that not
work.
There's no point trying to optimise this case in a HAL - if we wanted
`set_time()` to protect against users making pointless adjustments, the
implementation should be there. But even then, you might want different
levels of hysteresis depending on application, so it's probably best
left to applications.
This reverts commit
|
||
---|---|---|
.. | ||
TARGET_STM32F0 | ||
TARGET_STM32F1 | ||
TARGET_STM32F2 | ||
TARGET_STM32F3 | ||
TARGET_STM32F4 | ||
TARGET_STM32F7 | ||
TARGET_STM32L0 | ||
TARGET_STM32L1 | ||
TARGET_STM32L4 | ||
PeripheralPins.h | ||
PinNamesTypes.h | ||
PortNames.h | ||
README.md | ||
analogin_api.c | ||
analogout_api.c | ||
can_api.c | ||
gpio_api.c | ||
gpio_irq_api.c | ||
gpio_object.h | ||
hal_tick_overrides.c | ||
i2c_api.c | ||
lp_ticker.c | ||
mbed_crc_api.c | ||
mbed_overrides.c | ||
mbed_rtx.h | ||
nvic_addr.h | ||
pinmap.c | ||
port_api.c | ||
pwmout_api.c | ||
qspi_api.c | ||
rtc_api.c | ||
rtc_api_hal.h | ||
serial_api.c | ||
serial_api_hal.h | ||
sleep.c | ||
stm32_assert.h | ||
stm_spi_api.c | ||
trng_api.c | ||
us_ticker.c |
README.md
README for mbed-os STM32 targets
MBED Wiki pages
https://os.mbed.com/teams/ST/wiki/
STM32 Cube
https://www.st.com/en/embedded-software/stm32cube-mcu-packages.html
This table summarizes the STM32Cube versions currently used :
STM32 Serie | Cube version |
---|---|
F0 | 1.9.0 |
F1 | 1.6.1 |
F2 | 1.6.0 |
F3 | 1.9.0 |
F4 | 1.19.0 |
F7 | 1.10.0 |
L0 | 1.10.0 |
L1 | 1.8.1 |
L4 | 1.11.0 |