mbed-src updated for BMD-200 evaluation board. Just pin numbers are updated.
Dependents: mbed_blinky-bmd-200 bmd-200_accel_demo firstRig
Fork of mbed-src by
Replacement for the "mbed" or "mbed-src" library when using the BMD-200 Evaluation kit. This library only remaps the pin names (i.e. LED1 points to p0.01 instead of p0.18, etc) as used by the BMD-200 Evaluation board (select the nRF51822_mkit platform). All other code is untouched.
Diff: targets/hal/TARGET_STM/TARGET_STM32F4/spi_api.c
- Revision:
- 546:6693aa6d3ba3
- Parent:
- 444:d916d321e60f
- Child:
- 556:a1b9575155a3
--- a/targets/hal/TARGET_STM/TARGET_STM32F4/spi_api.c Thu May 14 07:00:08 2015 +0100 +++ b/targets/hal/TARGET_STM/TARGET_STM32F4/spi_api.c Tue May 19 08:00:08 2015 +0100 @@ -214,7 +214,7 @@ void spi_frequency(spi_t *obj, int hz) { -#if defined(TARGET_STM32F401RE) || defined(TARGET_STM32F401VC) || defined(TARGET_F407VG) +#if defined(TARGET_STM32F401RE) || defined(TARGET_STM32F401VC) || defined(TARGET_STM32F407VG) // Note: The frequencies are obtained with SPI1 clock = 84 MHz (APB2 clock) if (hz < 600000) { obj->br_presc = SPI_BAUDRATEPRESCALER_256; // 330 kHz