mbed library sources
Fork of mbed-src by
Revision 142:7f2b6c44bbe3, committed 2014-04-01
- Comitter:
- mbed_official
- Date:
- Tue Apr 01 17:00:08 2014 +0100
- Parent:
- 141:706f8dea204a
- Child:
- 143:d037f9fa688d
- Commit message:
- Synchronized with git revision 0617b11a5c56e3beae0eac17cf1129be8329c906
Full URL: https://github.com/mbedmicro/mbed/commit/0617b11a5c56e3beae0eac17cf1129be8329c906/
[GCC_ARM][DISCO]: Modified compilatin error and silent warning.
Changed in this revision
--- a/targets/hal/TARGET_STM/TARGET_DISCO_F051R8/i2c_api.c Tue Apr 01 16:45:06 2014 +0100 +++ b/targets/hal/TARGET_STM/TARGET_DISCO_F051R8/i2c_api.c Tue Apr 01 17:00:08 2014 +0100 @@ -86,7 +86,7 @@ void i2c_frequency(i2c_t *obj, int hz) { I2C_TypeDef *i2c = (I2C_TypeDef *)(obj->i2c); I2C_InitTypeDef I2C_InitStructure; - uint32_t tim; + uint32_t tim = 0; // Values calculated with I2C_Timing_Configuration_V1.0.1.xls file (see AN4235) // with Rise time = 100ns and Fall time = 10ns
--- a/targets/hal/TARGET_STM/TARGET_DISCO_F051R8/pinmap.c Tue Apr 01 16:45:06 2014 +0100 +++ b/targets/hal/TARGET_STM/TARGET_DISCO_F051R8/pinmap.c Tue Apr 01 17:00:08 2014 +0100 @@ -27,6 +27,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ******************************************************************************* */ +#include "device.h" #include "pinmap.h" #include "error.h"
--- a/targets/hal/TARGET_STM/TARGET_DISCO_F100RB/pinmap.c Tue Apr 01 16:45:06 2014 +0100 +++ b/targets/hal/TARGET_STM/TARGET_DISCO_F100RB/pinmap.c Tue Apr 01 17:00:08 2014 +0100 @@ -27,6 +27,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ******************************************************************************* */ +#include "device.h" #include "pinmap.h" #include "error.h"
--- a/targets/hal/TARGET_STM/TARGET_DISCO_F407VG/pinmap.c Tue Apr 01 16:45:06 2014 +0100 +++ b/targets/hal/TARGET_STM/TARGET_DISCO_F407VG/pinmap.c Tue Apr 01 17:00:08 2014 +0100 @@ -27,6 +27,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ******************************************************************************* */ +#include "device.h" #include "pinmap.h" #include "error.h" #include "stm32f4xx_hal.h"