Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: STM32L452_Nucleo_ticker
Fork of mbed-dev by
Diff: targets/TARGET_STM/stm_spi_api.c
- Revision:
- 160:d5399cc887bb
- Parent:
- 159:612c381a210f
- Child:
- 165:e614a9f1c9e2
--- a/targets/TARGET_STM/stm_spi_api.c Tue Feb 28 17:13:35 2017 +0000 +++ b/targets/TARGET_STM/stm_spi_api.c Tue Mar 14 16:40:56 2017 +0000 @@ -308,7 +308,7 @@ /* In case maximum pre-scaler still gives too high freq, raise an error */ if (spi_hz > hz) { - error("Couldn't set suitable spi freq: request:%d, lowest:%d\r\n", hz, spi_hz); + DEBUG_PRINTF("WARNING: lowest SPI freq (%d) higher than requested (%d)\r\n", spi_hz, hz); } DEBUG_PRINTF("spi_frequency, request:%d, select:%d\r\n", hz, spi_hz);