IPS(Interpreter for Process Structures) for mbed
Dependencies: ConfigFile FATFileSystem mbed
IPS port from linux/unix version.
mbed_blinky.ips
0 VAR led1 " LED1 " DigitalOut led1 ! : main ANFANG 1 JA? 1 led1 @ write 200 wait_ms 0 led1 @ write 200 wait_ms DANN/NOCHMAL ; main
- ips-02.tgz - ips for linux/unix
- ipsdoc.zip - document
- https://bitbucket.org/va009039/ips/
Diff: main.cpp
- Revision:
- 4:b62b40563944
- Parent:
- 3:9f526f0d9720
--- a/main.cpp Sat May 23 09:14:47 2015 +0000 +++ b/main.cpp Sun May 24 21:29:48 2015 +0900 @@ -7,13 +7,17 @@ #include "IPS-Mmbed_bin.h" #include "mbedAPI.h" #include "ConfigFile.h" +#include "SDFileSystem.h" const char* CFG_FILE = "/local/ips.cfg"; #if defined(TARGET_MBED_LPC1768) -LocalFileSystem local("local"); +#if defined(TOOLCHAIN_GCC)||defined(TOOLCHAIN_GCC_ARM) +SDFileSystem local(MBED_SPI0, "local"); // mosi, miso, sclk, cs, name #else -#include "SDFileSystem.h" +LocalFileSystem local("local"); +#endif +#else SDFileSystem local(D11, D12, D13, D4, "local"); // mosi, miso, sclk, cs, name #endif