#include #include #include #include const AP_HAL::HAL& hal = AP_HAL_PX4_Instance; void loop (void) { hal.console->println("."); } void setup (void) { hal.console->println("Hello World"); } extern "C" { int main (void) { hal.init(NULL); setup(); for(;;) loop(); return 0; } }