You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
360 B

#include <AP_Common.h>
#include <AP_Progmem.h>
#include <AP_HAL.h>
#include <AP_HAL_PX4.h>
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;
}
}