Beispiel #1
0
void
main(void)
{
	ao_clock_init();

	/* Turn on the red LED until the system is stable */
	ao_led_init(LEDS_AVAILABLE);
	ao_led_on(AO_LED_RED);

	ao_task_init();

	ao_timer_init();
	ao_adc_init();
	ao_beep_init();
	ao_cmd_init();
	ao_spi_init();
	ao_storage_init();
	ao_usb_init();
	ao_radio_init();
#if HAS_DBG
	ao_dbg_init();
#endif
	ao_aes_init();
	ao_launch_init();
	ao_config_init();
	ao_start_scheduler();
}
Beispiel #2
0
int
main(void)
{
	ao_clock_init();

	PORTE |= (1 << 6);
	DDRE |= (1 << 6);

	ao_task_init();

	ao_avr_stdio_init();
	ao_timer_init();
	ao_cmd_init();
	ao_spi_init();
	ao_spi_slave_init();
	ao_storage_init();
	ao_usb_init();
	ao_adc_init();
	ao_log_single_init();
#if HAS_ICP3_COUNT
	ao_pwmin_init();
#endif
	ao_start_scheduler();
	return 0;
}
Beispiel #3
0
void
main(void)
{
	ao_clock_init();
	ao_task_init();
	ao_timer_init();

	ao_usb_init();

	ao_serial_init();

	ao_led_init(LEDS_AVAILABLE);

	ao_relay_init();

	// initialize to default output
	relay_output = 0;
	ao_relay_control(relay_output);

	ao_cmd_init();

	ao_cmd_register(ao_relay_cmds);

	ao_start_scheduler();
}
Beispiel #4
0
void
main(void)
{
	ao_clock_init();

//	ao_add_task(&blink_0_task, blink_0);
//	ao_add_task(&blink_1_task, blink_1);
//	ao_add_task(&wakeup_task, wakeup);
//	ao_add_task(&beep_task, beep);
	ao_add_task(&echo_task, echo);
	ao_timer_init();
	ao_adc_init();
	ao_beep_init();
	ao_led_init();
	ao_usb_init();

	ao_start_scheduler();
}
Beispiel #5
0
int
main(void)
{
	ao_clock_init();

#if HAS_STACK_GUARD
	ao_mpu_init();
#endif

	ao_task_init();
	ao_timer_init();


	ao_spi_init();
	ao_exti_init();

	ao_storage_init();

	ao_serial_init();

	ao_cmd_init();

	ao_usb_init();
	ao_radio_init();

	ao_gps_init();
#if HAS_LOG
	ao_log_init();
#endif

	ao_tracker_init();

	ao_telemetry_init();

#if HAS_SAMPLE_PROFILE
	ao_sample_profile_init();
#endif
	ao_config_init();

	ao_start_scheduler();
	return 0;
}
void
main(void)
{
	ao_clock_init();

	/* Turn on the LED until the system is stable */
	ao_led_init(LEDS_AVAILABLE);
	ao_led_on(AO_LED_RED);
	ao_timer_init();
	ao_cmd_init();
	ao_usb_init();
	ao_monitor_init(AO_LED_GREEN, TRUE);
	ao_rssi_init(AO_LED_RED);
	ao_radio_init();
	ao_packet_master_init();
#if HAS_DBG
	ao_dbg_init();
#endif
	ao_config_init();
	ao_start_scheduler();
}
Beispiel #7
0
int
main(void)
{
	ao_clock_init();
	
	ao_led_init(LEDS_AVAILABLE);
	ao_led_on(AO_LED_GREEN);
	ao_task_init();

	ao_timer_init();

	ao_spi_init();
	ao_dma_init();
	ao_exti_init();

	ao_beep_init();
	ao_cmd_init();

	ao_lcd_stm_init();
	ao_seven_segment_init();
	ao_quadrature_init();
	ao_button_init();

	ao_storage_init();
	
	ao_radio_init();

	ao_usb_init();

	ao_config_init();
	
	ao_quadrature_init();
	ao_button_init();
	ao_lco_init();
	ao_lco_cmd_init();
//	ao_radio_cmac_cmd_init();
	
	ao_start_scheduler();
	return 0;
}
Beispiel #8
0
int
main(void)
{
	ao_clock_init();

	PORTE |= (1 << 6);
	DDRE |= (1 << 6);

	ao_task_init();

	ao_avr_stdio_init();
	ao_timer_init();
	ao_cmd_init();
	ao_spi_slave_init();
	ao_usb_init();
	ao_adc_init();
	ao_storage_init();
	ao_config_init();
	ao_pyro_init();
	ao_start_scheduler();
	return 0;
}
Beispiel #9
0
void
main(void)
{
	ao_clock_init();
	ao_task_init();
	ao_timer_init();

	ao_spi_init();
	ao_usb_init();

	ao_serial_init();

	ao_led_init(LEDS_AVAILABLE);

	ao_led_on(AO_LED_GREEN);

	ao_cmd_init();

	ao_cmd_register(ao_trng_cmds);

	ao_start_scheduler();
}
Beispiel #10
0
int
main(void)
{
	ao_clock_init();
	
#if HAS_STACK_GUARD
	ao_mpu_init();
#endif

	ao_task_init();
	ao_serial_init();
	ao_led_init(LEDS_AVAILABLE);
	ao_led_on(AO_LED_GREEN);
	ao_timer_init();

	ao_i2c_init();
	ao_spi_init();
	ao_dma_init();
	ao_exti_init();

	ao_adc_init();
#if HAS_BEEP
	ao_beep_init();
#endif
	ao_cmd_init();

#if HAS_MS5607
	ao_ms5607_init();
#endif
#if HAS_HMC5883
	ao_hmc5883_init();
#endif
#if HAS_MPU6000
	ao_mpu6000_init();
#endif
#if HAS_MMA655X
	ao_mma655x_init();
#endif

	ao_eeprom_init();
	ao_storage_init();
	
	ao_flight_init();
	ao_log_init();
	ao_report_init();

	ao_usb_init();
	ao_gps_init();
	ao_gps_report_mega_init();
	ao_telemetry_init();
	ao_radio_init();
	ao_packet_slave_init(FALSE);
	ao_igniter_init();
	ao_companion_init();
	ao_pyro_init();

	ao_config_init();
#if AO_PROFILE
	ao_profile_init();
#endif
#if HAS_SAMPLE_PROFILE
	ao_sample_profile_init();
#endif
	
	ao_start_scheduler();
	return 0;
}