python-on-a-chip online compiler

Dependencies:   mbed TSI

/media/uploads/va009039/p14p-f446re.png

more info: python-on-a-chip

Files at this revision

API Documentation at this revision

Comitter:
va009039
Date:
Mon Apr 14 03:30:39 2014 +0000
Parent:
5:19bd98307341
Child:
7:71a6f45bc563
Commit message:
add EA LPC4088

Changed in this revision

platform/mbed/PinNameTable.h Show annotated file Show diff for this revision Revisions of this file
platform/mbed/main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/platform/mbed/PinNameTable.h	Fri Apr 11 12:18:37 2014 +0000
+++ b/platform/mbed/PinNameTable.h	Mon Apr 14 03:30:39 2014 +0000
@@ -1,4 +1,11 @@
-// PinNameTable.h 2014/4/11
+/*
+ * by pinname.py on
+ * Mon Apr 14 11:56:30 2014
+ *
+ * DO NOT EDIT THIS FILE.
+ * ANY CHANGES WILL BE LOST.
+ */ 
+
 #include "mbed.h"
 #pragma once
 
@@ -9,9 +16,11 @@
 
 #define P(A) {#A, A}
 const struct pinNameStr pinname_table[] = {
-#if defined(TARGET_LPC1768)
+#if 0
+
+#elif defined(TARGET_LPC1768)
 P(A0),P(A1),P(A2),P(A3),P(A4),P(A5),P(D0),P(D1),P(D10),P(D11),P(D12),P(D13),P(D14),
-P(D15),P(D2),P(D3),P(D4),P(D5),P(D6),P(D7),P(D8),P(D9),P(LED1),
+P(D15),P(D2),P(D3),P(D4),P(D5),P(D6),P(D7),P(D8),P(D9),P(I2C_SCL),P(I2C_SDA),P(LED1),
 P(LED2),P(LED3),P(LED4),P(NC),P(P0_0),P(P0_1),P(P0_10),P(P0_11),P(P0_12),P(P0_13),
 P(P0_14),P(P0_15),P(P0_16),P(P0_17),P(P0_18),P(P0_19),P(P0_2),P(P0_20),P(P0_21),
 P(P0_22),P(P0_23),P(P0_24),P(P0_25),P(P0_26),P(P0_27),P(P0_28),P(P0_29),P(P0_3),
@@ -89,8 +98,30 @@
 P(PTE25),P(PTE26),P(PTE27),P(PTE28),P(PTE29),P(PTE3),P(PTE30),P(PTE31),P(PTE4),P(PTE5),
 P(PTE6),P(PTE7),P(PTE8),P(PTE9),P(SW1),P(SW3),P(TSI_ELEC0),P(TSI_ELEC1),P(USBRX),
 P(USBTX),
+#elif defined(TARGET_LPC4088)
+P(LED1),P(LED2),P(LED3),P(LED4),P(NC),P(P0_0),P(P0_1),P(P0_10),P(P0_11),P(P0_12),
+P(P0_13),P(P0_14),P(P0_15),P(P0_16),P(P0_17),P(P0_18),P(P0_19),P(P0_2),P(P0_20),
+P(P0_21),P(P0_22),P(P0_23),P(P0_24),P(P0_25),P(P0_26),P(P0_27),P(P0_28),P(P0_29),
+P(P0_3),P(P0_30),P(P0_31),P(P0_4),P(P0_5),P(P0_6),P(P0_7),P(P0_8),P(P0_9),P(P1_0),
+P(P1_1),P(P1_10),P(P1_11),P(P1_12),P(P1_13),P(P1_14),P(P1_15),P(P1_16),P(P1_17),
+P(P1_18),P(P1_19),P(P1_2),P(P1_20),P(P1_21),P(P1_22),P(P1_23),P(P1_24),P(P1_25),
+P(P1_26),P(P1_27),P(P1_28),P(P1_29),P(P1_3),P(P1_30),P(P1_31),P(P1_4),P(P1_5),P(P1_6),
+P(P1_7),P(P1_8),P(P1_9),P(P2_0),P(P2_1),P(P2_10),P(P2_11),P(P2_12),P(P2_13),P(P2_14),
+P(P2_15),P(P2_16),P(P2_17),P(P2_18),P(P2_19),P(P2_2),P(P2_20),P(P2_21),P(P2_22),
+P(P2_23),P(P2_24),P(P2_25),P(P2_26),P(P2_27),P(P2_28),P(P2_29),P(P2_3),P(P2_30),
+P(P2_31),P(P2_4),P(P2_5),P(P2_6),P(P2_7),P(P2_8),P(P2_9),P(P3_0),P(P3_1),P(P3_10),
+P(P3_11),P(P3_12),P(P3_13),P(P3_14),P(P3_15),P(P3_16),P(P3_17),P(P3_18),P(P3_19),
+P(P3_2),P(P3_20),P(P3_21),P(P3_22),P(P3_23),P(P3_24),P(P3_25),P(P3_26),P(P3_27),
+P(P3_28),P(P3_29),P(P3_3),P(P3_30),P(P3_31),P(P3_4),P(P3_5),P(P3_6),P(P3_7),P(P3_8),
+P(P3_9),P(P4_0),P(P4_1),P(P4_10),P(P4_11),P(P4_12),P(P4_13),P(P4_14),P(P4_15),P(P4_16),
+P(P4_17),P(P4_18),P(P4_19),P(P4_2),P(P4_20),P(P4_21),P(P4_22),P(P4_23),P(P4_24),
+P(P4_25),P(P4_26),P(P4_27),P(P4_28),P(P4_29),P(P4_3),P(P4_30),P(P4_31),P(P4_4),P(P4_5),
+P(P4_6),P(P4_7),P(P4_8),P(P4_9),P(P5_0),P(P5_1),P(P5_2),P(P5_3),P(P5_4),P(USBRX),
+P(USBTX),P(p10),P(p11),P(p12),P(p13),P(p14),P(p15),P(p16),P(p17),P(p18),P(p19),P(p20),
+P(p23),P(p24),P(p25),P(p26),P(p27),P(p28),P(p29),P(p30),P(p31),P(p32),P(p33),P(p34),
+P(p37),P(p38),P(p39),P(p5),P(p6),P(p7),P(p8),P(p9),
+
 #else
 #error "target error"
 #endif
-
 };
--- a/platform/mbed/main.cpp	Fri Apr 11 12:18:37 2014 +0000
+++ b/platform/mbed/main.cpp	Mon Apr 14 03:30:39 2014 +0000
@@ -28,6 +28,8 @@
 #define HEAP_SIZE 0x7000
 #elif defined(TARGET_KL25Z)
 #define HEAP_SIZE 0x3400
+#elif defined(TARGET_LPC4088)
+#define HEAP_SIZE 0xf000
 #else
 #error "target error"
 #endif