Still much work to do, but at least it links with most
of the pieces in place.
Signed-off-by: Keith Packard <keithp@keithp.com>
ao_dma_samd21.c \
ao_spi_samd21.c \
ao_cc1200.c \
- ao_fec_tx.c \
- ao_fec_rx.c \
ao_data.c \
ao_ms5607.c \
ao_adxl375.c \
ao_adc_samd21.c \
- ao_beep_stm.c \
+ ao_beep_samd21.c \
ao_storage.c \
ao_m25.c \
ao_usb_samd21.c \
#define HAS_EEPROM 1
#define USE_INTERNAL_FLASH 0
-#define USE_EEPROM_CONFIG 1
-#define USE_STORAGE_CONFIG 0
+#define USE_EEPROM_CONFIG 0
+#define USE_STORAGE_CONFIG 1
#define HAS_USB 1
#define USE_USB_STDIO 1
#define HAS_BEEP 1
ao_ms5607_init();
ao_adxl375_init();
- ao_eeprom_init();
-
ao_storage_init();
ao_flight_init();
#include <ao.h>
#include <ao_led.h>
+#include <ao_dma_samd21.h>
+#include <ao_exti.h>
int main(void)
{
ao_clock_init();
ao_task_init();
ao_timer_init();
+ ao_dma_init();
+ ao_exti_init();
+ ao_spi_init();
+ ao_serial_init();
ao_usb_init();
ao_cmd_init();
ao_start_scheduler();