nkjnm

Dependencies:   MAX44000 nexpaq_mdk

Fork of LED_Demo by Maxim nexpaq

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "greentea-client/test_env.h"
00002 
00003 namespace {
00004     bool mbed_main_called = false;
00005 }
00006 
00007 extern "C" void mbed_main() {
00008     printf("MBED: mbed_main() call before main()\r\n");
00009     mbed_main_called = true;
00010 }
00011 
00012 int main() {
00013     GREENTEA_SETUP(5, "default_auto");
00014     printf("MBED: main() starts now!\r\n");
00015     GREENTEA_TESTSUITE_RESULT(mbed_main_called);
00016 }