Norimasa Okamoto
/
pymite
python-on-a-chip online compiler
- http://pymbed.appspot.com/
- https://code.google.com/p/python-on-a-chip/
- http://www.youtube.com/watch?v=Oyqc2bFRW9I
- https://bitbucket.org/va009039/pymbed/
more info: python-on-a-chip
Diff: platform/mbed/main.cpp
- Revision:
- 15:94ca5c8003e5
- Parent:
- 14:5abe76ac7caf
diff -r 5abe76ac7caf -r 94ca5c8003e5 platform/mbed/main.cpp --- a/platform/mbed/main.cpp Thu Apr 14 11:36:03 2016 +0000 +++ b/platform/mbed/main.cpp Thu Apr 14 22:32:57 2016 +0000 @@ -19,17 +19,17 @@ #define HEAP_SIZE 0x7000 #define USRLIB_IMG (uint8_t*)77824 -#elif defined(TARGET_LPC1549) -#define HEAP_SIZE 0x8000 -#define USRLIB_IMG (uint8_t*)61440 +#elif defined(TARGET_LPC1549)||defined(TARGET_LPC11U68) +#define HEAP_SIZE 0x7000 +#define USRLIB_IMG (uint8_t*)65536 #elif defined(TARGET_KL46Z) #define HEAP_SIZE 0x7000 -#define USRLIB_IMG (uint8_t*)73728 +#define USRLIB_IMG (uint8_t*)77824 #elif defined(TARGET_KL25Z) #define HEAP_SIZE 0x3400 -#define USRLIB_IMG (uint8_t*)73728 +#define USRLIB_IMG (uint8_t*)77824 #elif defined(TARGET_LPC4088) #define HEAP_SIZE 0xf000 @@ -37,11 +37,7 @@ #elif defined(TARGET_NUCLEO_F401RE) #define HEAP_SIZE 0x15000 -#define USRLIB_IMG (uint8_t*)69632 - -#elif defined(TARGET_LPC11U68) -#define HEAP_SIZE 0x7000 -#define USRLIB_IMG (uint8_t*)61440 +#define USRLIB_IMG (uint8_t*)73728 #elif defined(TARGET_NUCLEO_F411RE) #define HEAP_SIZE 0x1e000 @@ -53,7 +49,7 @@ #elif defined(TARGET_NUCLEO_F103RB) #define HEAP_SIZE 0x4000 -#define USRLIB_IMG (uint8_t*)69632 +#define USRLIB_IMG (uint8_t*)73728 #elif defined(TARGET_NUCLEO_L152RE) #define HEAP_SIZE 0x12000