mirror of https://github.com/ARMmbed/mbed-os.git
Add RZ_A1H in RPC.
parent
020975119c
commit
bb4d569cfd
|
|
@ -13,6 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
#include "mbed.h"
|
||||||
#include "Arguments.h"
|
#include "Arguments.h"
|
||||||
#include "pinmap.h"
|
#include "pinmap.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ PinName parse_pins(const char *str) {
|
||||||
, NC, NC, NC, NC, NC, NC, NC, NC, p41, p42, p43, p44, p45, p46};
|
, NC, NC, NC, NC, NC, NC, NC, NC, p41, p42, p43, p44, p45, p46};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(TARGET_LPC1768) || defined(TARGET_LPC11U24) || defined(TARGET_LPC2368) || defined(TARGET_LPC812) || defined(TARGET_LPC4088) || defined(TARGET_LPC4088_DM) || defined(TARGET_LPC1114)
|
#if defined(TARGET_LPC1768) || defined(TARGET_LPC11U24) || defined(TARGET_LPC2368) || defined(TARGET_LPC812) || defined(TARGET_LPC4088) || defined(TARGET_LPC4088_DM) || defined(TARGET_LPC1114) || defined(TARGET_RZ_A1H)
|
||||||
if (str[0] == 'P') { // Pn_n
|
if (str[0] == 'P') { // Pn_n
|
||||||
uint32_t port = str[1] - '0';
|
uint32_t port = str[1] - '0';
|
||||||
uint32_t pin = str[3] - '0'; // Pn_n
|
uint32_t pin = str[3] - '0'; // Pn_n
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue