Preliminary main mbed library for nexpaq development

libraries/tests/mbed/serial_complete/main.cpp

Committer:
nexpaq
Date:
2016-11-04
Revision:
0:6c56fb4bc5f0

File content as of revision 0:6c56fb4bc5f0:

#include "mbed.h"
#include "test_env.h"

Serial *pc = new Serial(USBTX, USBRX);

int main() {
    MBED_HOSTTEST_TIMEOUT(20);
    MBED_HOSTTEST_SELECT(serial_complete_auto);
    MBED_HOSTTEST_DESCRIPTION(Serial Complete);
    MBED_HOSTTEST_START("MBED_39");

    pc->printf("123456789\n");

    while (1) {
        deepsleep();
    }
}