Preliminary main mbed library for nexpaq development

Committer:
nexpaq
Date:
Fri Nov 04 20:54:50 2016 +0000
Revision:
1:d96dbedaebdb
Parent:
0:6c56fb4bc5f0
Removed extra directories for other platforms

Who changed what in which revision?

UserRevisionLine numberNew contents of line
nexpaq 0:6c56fb4bc5f0 1 #include "mbed.h"
nexpaq 0:6c56fb4bc5f0 2 #include "test_env.h"
nexpaq 0:6c56fb4bc5f0 3
nexpaq 0:6c56fb4bc5f0 4 Serial *pc = new Serial(USBTX, USBRX);
nexpaq 0:6c56fb4bc5f0 5
nexpaq 0:6c56fb4bc5f0 6 int main() {
nexpaq 0:6c56fb4bc5f0 7 MBED_HOSTTEST_TIMEOUT(20);
nexpaq 0:6c56fb4bc5f0 8 MBED_HOSTTEST_SELECT(serial_complete_auto);
nexpaq 0:6c56fb4bc5f0 9 MBED_HOSTTEST_DESCRIPTION(Serial Complete);
nexpaq 0:6c56fb4bc5f0 10 MBED_HOSTTEST_START("MBED_39");
nexpaq 0:6c56fb4bc5f0 11
nexpaq 0:6c56fb4bc5f0 12 pc->printf("123456789\n");
nexpaq 0:6c56fb4bc5f0 13
nexpaq 0:6c56fb4bc5f0 14 while (1) {
nexpaq 0:6c56fb4bc5f0 15 deepsleep();
nexpaq 0:6c56fb4bc5f0 16 }
nexpaq 0:6c56fb4bc5f0 17 }