Skip to content

Commit 9b588e3

Browse files
committed
Merge branch 'master' of https://github.com/mbedmicro/mbed
2 parents 66a93be + 7c21ce5 commit 9b588e3

File tree

9 files changed

+13
-5
lines changed

9 files changed

+13
-5
lines changed

libraries/mbed/common/pinmap_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,4 @@ uint32_t pinmap_function(PinName pin, const PinMap* map) {
8686
if ((uint32_t)NC == function) // no mapping available
8787
error("pinmap not found for function");
8888
return function;
89-
}
89+
}

libraries/mbed/targets/hal/TARGET_Maxim/TARGET_MAX32600/PeripheralPins.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@
4545
* the pointers to the "function" data members.
4646
*/
4747

48+
#ifdef TOOLCHAIN_ARM_STD
49+
#pragma diag_suppress 1296
50+
#endif
51+
4852
/************I2C***************/
4953
const PinMap PinMap_I2C_SDA[] = {
5054
{ P2_4, I2C_0, (int)&((pin_function_t){&MXC_IOMAN->i2cm0_req, &MXC_IOMAN->i2cm0_ack, ((uint32_t)MXC_E_IOMAN_MAPPING_A | MXC_F_IOMAN_I2CM_CORE_IO), (MXC_F_IOMAN_I2CM_MAPPING | MXC_F_IOMAN_I2CM_CORE_IO)}) },

libraries/mbed/targets/hal/TARGET_Maxim/TARGET_MAX32610/PeripheralPins.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@
4545
* the pointers to the "function" data members.
4646
*/
4747

48+
#ifdef TOOLCHAIN_ARM_STD
49+
#pragma diag_suppress 1296
50+
#endif
51+
4852
/************I2C***************/
4953
const PinMap PinMap_I2C_SDA[] = {
5054
{ P0_4, I2C_0, (int)&((pin_function_t){&MXC_IOMAN->i2cm0_req, &MXC_IOMAN->i2cm0_ack, ((uint32_t)MXC_E_IOMAN_MAPPING_D | MXC_F_IOMAN_I2CM_CORE_IO), (MXC_F_IOMAN_I2CM_MAPPING | MXC_F_IOMAN_I2CM_CORE_IO)}) },

workspace_tools/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python
1+
#! /usr/bin/env python2
22
"""
33
mbed SDK
44
Copyright (c) 2011-2013 ARM Limited

workspace_tools/build_travis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python2
22

33
"""
44
Travis-CI build script

workspace_tools/make.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python
1+
#! /usr/bin/env python2
22
"""
33
mbed SDK
44
Copyright (c) 2011-2013 ARM Limited

workspace_tools/singletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python2
22

33
"""
44
mbed SDK

0 commit comments

Comments
 (0)