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:
Thu Apr 14 11:36:03 2016 +0000
Parent:
13:4ad84e922efd
Child:
15:94ca5c8003e5
Commit message:
added Nucleo-F446RE(head:120Kbytes)

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	Thu Apr 14 10:14:46 2016 +0000
+++ b/platform/mbed/PinNameTable.h	Thu Apr 14 11:36:03 2016 +0000
@@ -167,7 +167,7 @@
 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_3),P(P2_4),P(P2_5),P(P2_6),P(P2_7),P(P2_8),P(P2_9),P(SCL),P(SDA),P(USBRX),
 P(USBTX),
-#elif defined(TARGET_NUCLEO_F411RE)
+#elif defined(TARGET_NUCLEO_F411RE)||defined(TARGET_NUCLEO_F446RE)
 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(I2C_SCL),P(I2C_SDA),P(LED1),
 P(LED2),P(LED3),P(LED4),P(NC),P(PA_0),P(PA_1),P(PA_10),P(PA_11),P(PA_12),P(PA_13),
--- a/platform/mbed/main.cpp	Thu Apr 14 10:14:46 2016 +0000
+++ b/platform/mbed/main.cpp	Thu Apr 14 11:36:03 2016 +0000
@@ -33,7 +33,7 @@
 
 #elif defined(TARGET_LPC4088)
 #define HEAP_SIZE 0xf000
-#define USRLIB_IMG (uint8_t*)73728
+#define USRLIB_IMG (uint8_t*)77824
 
 #elif defined(TARGET_NUCLEO_F401RE)
 #define HEAP_SIZE 0x15000
@@ -44,8 +44,12 @@
 #define USRLIB_IMG (uint8_t*)61440
 
 #elif defined(TARGET_NUCLEO_F411RE)
-#define HEAP_SIZE 0x1f000
-#define USRLIB_IMG (uint8_t*)69632
+#define HEAP_SIZE 0x1e000
+#define USRLIB_IMG (uint8_t*)73728
+
+#elif defined(TARGET_NUCLEO_F446RE)
+#define HEAP_SIZE 0x1e000
+#define USRLIB_IMG (uint8_t*)77824
 
 #elif defined(TARGET_NUCLEO_F103RB)
 #define HEAP_SIZE 0x4000
@@ -53,7 +57,7 @@
 
 #elif defined(TARGET_NUCLEO_L152RE)
 #define HEAP_SIZE 0x12000
-#define USRLIB_IMG (uint8_t*)69632
+#define USRLIB_IMG (uint8_t*)73728
 
 #else
 #error "target error"